/*
    ZAINEX Premium Design System
    Author: Antigravity
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700;800&display=swap');

:root {
    --purp: #a855f7;
    --purp-glow: rgba(168, 85, 247, 0.4);
    --bg: #030303;
    --card-bg: rgba(10, 10, 15, 0.6);
    --border: rgba(255, 255, 255, 0.05);
    --text-muted: #94a3b8;
    --status-green: #00ff88;
    --status-orange: #fb923c;
    --glass: rgba(255, 255, 255, 0.02);
    --nav-bg: rgba(10, 10, 10, 0.4);
    --anim-speed: 0.6s;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scroll reveal animations */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes revealScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes revealLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.1); }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.3); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(168, 85, 247, 0.15); }
    50% { border-color: rgba(168, 85, 247, 0.45); }
}

@keyframes auroraDrift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.55; }
    50% { transform: translate3d(4%, -3%, 0) rotate(180deg); opacity: 0.85; }
}

@keyframes shineSweep {
    from { transform: translateX(-130%) skewX(-18deg); }
    to { transform: translateX(130%) skewX(-18deg); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.glow-card { animation: pulseGlow 4s ease-in-out infinite; }
.animated-border { animation: borderGlow 3s ease-in-out infinite; }


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--purp) transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg) url('images/banner.png') no-repeat center top fixed;
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: -20%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 15%, rgba(168, 85, 247, 0.18), transparent 28%),
        radial-gradient(circle at 85% 35%, rgba(59, 130, 246, 0.12), transparent 26%),
        conic-gradient(from 180deg at 50% 50%, transparent, rgba(168, 85, 247, 0.08), transparent, rgba(34, 197, 94, 0.04), transparent);
    filter: blur(70px);
    animation: auroraDrift 18s ease-in-out infinite;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* Typography */
h1, h2, h3, .space-font {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }



@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: min(62vw, 820px);
    height: min(62vw, 820px);
    right: -18%;
    top: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 64%);
    filter: blur(18px);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 1s ease forwards;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--purp-glow);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--purp);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    transform: translateX(-130%) skewX(-18deg);
    pointer-events: none;
}

.btn:hover::before {
    animation: shineSweep 0.75s var(--ease-out-expo) forwards;
}

.btn-primary {
    background: var(--purp);
    color: white;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.35);
    filter: brightness(1.08);
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--border);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-mockup {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.mockup-header {
    background: #111;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #222;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    color: #fff;
}

.mockup-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #000;
}

.mockup-tabs span {
    padding: 10px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #666;
    cursor: pointer;
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    transition: 0.2s;
}

.mockup-tabs span.active {
    background: #fff;
    color: #000;
}

.mockup-tabs.sub-tabs {
    grid-template-columns: repeat(3, 1fr);
}

.mockup-body {
    padding: 20px;
    background: #080808;
}

.control-item {
    margin-bottom: 15px;
}

.control-item label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.mockup-slider {
    height: 4px;
    background: #222;
    border-radius: 2px;
    position: relative;
    margin-bottom: 4px;
}

.slider-fill {
    position: absolute;
    height: 100%;
    background: #fff;
    border-radius: 2px;
}

.slider-knob {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.control-item .val {
    font-size: 10px;
    color: #555;
    font-weight: 700;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.check-item i {
    font-size: 14px;
}

.check-item.active {
    color: #fff;
}

.check-item.active i {
    color: var(--purp);
}

.mockup-footer {
    padding: 10px;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.1);
    margin: 10px;
    border-radius: 6px;
    font-size: 10px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-footer i { color: var(--purp); }

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-tag {
    color: var(--purp);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.85;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 560px;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 24px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--purp-glow);
    background: rgba(168, 85, 247, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purp);
    font-size: 20px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: 0.4s;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.category-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-info img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--purp);
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Reliability Section */
.reliability-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.reliability-content {
    flex: 1.2;
}

.reliability-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rel-mini-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    backdrop-filter: blur(10px);
}

.rel-mini-card i {
    font-size: 24px;
    color: var(--purp);
}

.rel-mini-card h4 {
    margin-bottom: 4px;
}

.rel-mini-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.stars {
    color: var(--purp);
    font-size: 14px;
    margin-bottom: 20px;
}

.test-text {
    font-size: 15px;
    margin-bottom: 24px;
    color: #eee;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.test-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 14px;
}

.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer Styles */
.main-footer {
    padding: 80px 0 30px;
    background: rgba(5, 5, 5, 0.8);
    border-top: 1px solid var(--border);
    margin-top: 100px;
    backdrop-filter: blur(20px);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 24px;
}

.footer-brand .footer-logo img {
    height: 40px;
}

.footer-brand .footer-logo span {
    font-family: 'Space Grotesk';
    font-weight: 800;
    font-size: 24px;
    color: #fff;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.footer-links ul li a:hover {
    color: var(--purp);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy {
    font-size: 13px;
    color: var(--text-muted);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-green);
    box-shadow: 0 0 10px var(--status-green);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    max-width: 1360px;
    z-index: 10000;
    background: rgba(5, 5, 8, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s ease;
}

.navbar.scrolled {
    top: 12px;
    width: 92%;
    background: rgba(3, 3, 6, 0.8);
    padding: 9px 36px;
    border-color: rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 1100px) {
    .reliability-layout { flex-direction: column; }
    .hero { flex-direction: column; text-align: center; padding-top: 160px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { width: 100%; margin-top: 60px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 40px; }
    .footer-top { grid-template-columns: 1fr; }
    .navbar { border-radius: 20px; width: 95%; top: 10px; padding: 10px 15px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 992px) { 
    .custom-cursor, .cursor-dot { display: none !important; }
}

/* Durations Selection */
.dur-card {
    position: relative;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    overflow: hidden;
}

.dur-card * {
    pointer-events: none;
}

.dur-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(5px);
}

.dur-card.active, .pricing-card.selected {
    border-color: #fff !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(124, 58, 237, 0.4)) !important;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2);
    transform: scale(1.02) translateX(10px) !important;
    backdrop-filter: blur(5px);
}

.dur-card.active .dur-name, 
.dur-card.active .dur-price,
.dur-card.active .dur-stock,
.pricing-card.selected .pricing-duration,
.pricing-card.selected .pricing-price {
    color: #fff !important;
}

.dur-card.active::after, .pricing-card.selected::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--purp);
    opacity: 1;
    z-index: 5;
}





.dur-card.active .dur-name {
    color: var(--purp) !important;
}

.dur-card.active .dur-price {
    color: #fff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Modals & Overlays */
.modal {
    display: none !important;
    position: fixed;
    z-index: 100001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex !important;
    opacity: 1;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 80px rgba(0,0,0,0.9);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    color: #444;
    cursor: pointer;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Custom Cursor Base Styles */
@media (min-width: 993px) {
    body.custom-cursor-enabled * { cursor: none !important; }
    .custom-cursor {
        position: fixed; width: 30px; height: 30px; border: 2px solid var(--purp); border-radius: 50%;
        pointer-events: none; z-index: 1000000; transition: transform 0.1s ease-out, opacity 0.3s ease;
        transform: translate(-50%, -50%); opacity: 0; display: block;
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    }
    .custom-cursor.active { opacity: 1; }
    .custom-cursor.hover { transform: translate(-50%, -50%) scale(1.4); border-color: #fff; background: rgba(255, 255, 255, 0.1); }
    .custom-cursor.click { transform: translate(-50%, -50%) scale(0.9); }
    
    .cursor-dot {
        position: fixed; width: 6px; height: 6px; background: var(--purp); border-radius: 50%;
        pointer-events: none; z-index: 1000001; transform: translate(-50%, -50%); opacity: 0; display: block;
        box-shadow: 0 0 10px var(--purp);
    }
    .cursor-dot.active { opacity: 1; }
}

/* ============================================
   PREMIUM GLOBAL ENHANCEMENTS
   ============================================ */

/* --- Button Enhancements --- */
.btn, button[class*="btn"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn::after, .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after, .btn-primary:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purp), #7c3aed);
    border: none;
    color: #fff;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

/* --- Input Enhancements --- */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], textarea, select {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--purp) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12), 0 0 20px rgba(168, 85, 247, 0.08);
    transform: translateY(-1px);
}

/* --- Card Enhancements --- */
.glass-card, .feature-card, .stat-card, .pricing-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.glass-card:hover::before, .feature-card:hover::before {
    left: 100%;
}

/* --- Section Tag / Badge Animations --- */
.section-tag, .badge-main {
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 3s infinite;
}

/* --- Text Gradient Enhancement --- */
.text-gradient {
    background: linear-gradient(135deg, #a855f7, #c084fc, #e9d5ff, #a855f7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 6s ease infinite;
}

/* --- Link Hover Effects --- */
a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}

/* --- Page Transition --- */
body {
    animation: pageReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Floating Animation Utility --- */
.float-subtle {
    animation: floatSubtle 6s ease-in-out infinite;
}

@keyframes floatSubtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Glow Pulse for Active/Important Elements --- */
.glow-active {
    animation: glowPulseActive 2s ease-in-out infinite;
}

@keyframes glowPulseActive {
    0%, 100% { box-shadow: 0 0 5px rgba(168, 85, 247, 0.2); }
    50% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.1); }
}

/* --- Status Dot Animation --- */
.status-dot {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

/* --- Loading Skeleton --- */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Tooltip Enhancement --- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(10, 10, 18, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
    z-index: 999;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Footer Enhancements --- */
.main-footer {
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
}

.footer-logo img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-logo:hover img {
    transform: scale(1.1) rotate(-3deg);
}

/* --- Mobile Responsiveness for Animations --- */
@media (max-width: 768px) {
    .text-gradient {
        font-size: clamp(32px, 8vw, 48px) !important;
    }

    .reveal, .reveal-scale {
        transform: translateY(15px) !important;
    }

    .reveal.visible, .reveal-scale.visible {
        transform: translateY(0) !important;
    }

    .float-subtle {
        animation: none;
    }

    .btn-primary:hover {
        transform: none;
    }
}

/* --- Selection Styling --- */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(168, 85, 247, 0.3);
    color: #fff;
}
