/*==============================================
 *  NeonMatrix Pro - Multi-Purpose HTML Template with Matrix Effect
 * Version: 1.0.0.4
==============================================*/
        :root {
            --neon-green: #00ff88;
            --neon-lightblue: #00c8ff;
            --neon-yellow: #d9ff00ec;
            --neon-blue: #0080ff;
            --neon-purple: #b400ff;
            --neon-pink: #ff0080;
            --dark-bg: #0a0a0f;
            --glass-border: rgba(255, 255, 255, 0.1);
            --bg: #050718;
            --card-bg: #05071819;
            --text-main: #e5f1ff;
            --text-sub: #fff;
            --accent1: #00f5ff;
            --accent2: #00ff99;
            --accent3: #ff00ff;
            --glow-soft: 0 0 25px rgba(0,255,200,0.6);
            --glow-strong: 0 0 40px rgba(0,255,255,0.9);
            --grid: rgba(120,160,255,.08);
            --cyan:#29f7ff;
            --magenta:#ff3df2;
            --lime:#7dff5a;
            --blue:#4aa3ff;
            --text:#eaf0ff;
            --muted:#9fb0d0;
            --landing-header-height: 72px;
            --landing-header-top: calc(12px + env(safe-area-inset-top, 0px));
            --landing-header-inset: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
            --landing-menu-bottom-gap: max(12px, env(safe-area-inset-bottom, 0px));
        }

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

        body {
            font-family: 'Vazirmatn', sans-serif;
            background: var(--dark-bg);
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }



        .hero-landing {
            min-height: 70svh;
            display: flex;
            align-items: center;
            position: relative;
            padding: calc(var(--landing-header-top) + var(--landing-header-height) + 16px) 0 60px;
        }        
        .hero-container {
                position: relative;
                width: 100%;
                height: clamp(420px, 75svh, 780px);
                display: flex;
                margin-top: 0;
                transform: scale(1.0);                
                justify-content: center;
                align-items: center;
                overflow: hidden;
        }


        .bg-glow {
            position: absolute;
            inset: -10%;
            background:
                radial-gradient(circle at 15% 20%, rgba(0,255,204,0.1) 0, transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(0,140,255,0.2) 0, transparent 60%);

            backdrop-filter: blur(1px);
            pointer-events: none;
            z-index: 0;
        }

        .circle {
            position: absolute;
            inset: 0;
            margin: auto;
            padding-top: 18px;
            width: clamp(360px, 48svh, 480px);
            height: clamp(360px, 48svh, 480px);
            background: radial-gradient(circle at 30% 0%, #22401b14 0, #00f7ff0a 45%, #020308 100%);
            border-radius: 50%;
            box-shadow:
                0 0 0 1px rgba(255,255,255,0.02),
                0 25px 80px rgba(0,0,0,0.9),
                0 0 60px rgba(0, 255, 230, 0.18);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10;
            backdrop-filter: blur(18px);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .circle::before {
            content: "";
            position: absolute;
            inset: 18px;
            border-radius: inherit;
            border: 1px solid rgba(0, 255, 255, 0.28);
            box-shadow:
                0 0 25px rgba(0,255,255,0.55),
                0 0 50px rgba(0,255,153,0.4);
            opacity: 0.2;
            pointer-events: none;
        }

        .circle h1 {
            font-size: 17px;
            color: var(--accent1);
            margin: 0 0 6px 0;
            padding: 0 0 16px 0;
            letter-spacing: 0.5em;
            text-transform: uppercase;
            font-weight: 600;
            text-indent: 0.5em;
        }

        .circle h2 {
            font-size: 35px;
            margin: 0 0 8px 0;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            font-weight: 800;
            background: linear-gradient(120deg, #ffffff, #9dfdff, #00ffbf);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow:
                0 0 10px rgba(0,255,230,0.7),
                0 0 40px rgba(0,180,255,0.8);
        }

        .tagline {
            font-size: 11px;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: var(--text-sub);
            margin-bottom: 20px;
            text-indent: 0.35em;
        }

        .divider {
            width: 120px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent1), transparent);
            box-shadow: var(--glow-soft);
            margin-bottom: 18px;
            opacity: 0.85;
        }

        .circle p {
            color: var(--text-sub);
            font-size: 20px;
            margin: 4px 16px;
            text-align: center;
            line-height: 1.7;
            background: linear-gradient(90deg, transparent, #102f1131, transparent);
        }

        .badge {
            margin-top: 18px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            box-shadow:
                0 0 18px rgba(0,255,204,0.55),
                0 0 28px rgba(0,140,255,0.45);
            text-indent: 0.18em;
        }


        /* حلقه‌های کانسنتریک نئونی */
        .concentric-main {
            stroke: rgba(0, 255, 149, 0.4);
            stroke-width: 2;
            fill: none;
            filter: drop-shadow(0 0 12px rgba(0, 255, 225, 0.8));
        }
        .concentric-secondary {
            stroke: rgba(0, 255, 255, 0.2);
            stroke-width: 20;
            fill: none;
            stroke-dasharray: 1 15;
            opacity: 0.8;
            filter: drop-shadow(0 0 16px rgba(0,180,255,0.7));
        }

        /* لاین‌ها */
        .tech-lines {
            fill: none;
            stroke-linecap: round;
            stroke-width: 1.8;
            stroke: url(#gradLine);
            filter:
                drop-shadow(0 0 7px rgba(0,255,220,0.9))
                drop-shadow(0 0 18px rgba(0,120,255,0.9));
            stroke-dasharray: 2 8;
            animation: dashFlow 50s linear infinite;
        }

        .tech-lines-strong {
            stroke-width: 2.5;
            fill: none;
            stroke: url(#gradLineStrong);
            stroke-dasharray: 1200;
            stroke-dashoffset: 1200;
            stroke-linecap: round;

            opacity: 0.9;
            filter: drop-shadow(0 0 4px #00ffff);
            animation: trace 5s ease-out forwards, glowPulse 3.6s ease-in-out infinite;
        }
        

        /* نودهای نئونی */
        .node {
            fill: #02040c;
            stroke: rgba(0,255,255,0.9);
            stroke-width: 1.4;
            filter: drop-shadow(0 0 10px rgba(0,255,255,0.9));
        }
        .node-inner {
            fill: url(#nodeGrad);
            filter: drop-shadow(0 0 12px rgba(0,255,230,0.95));
        }

        /* پالس‌های کوچک روی مسیر */
        .pulse-dot {
            fill: #00fff2;
            filter: drop-shadow(0 0 10px rgba(0,255,242,1));
            animation: pulseDot 30s ease-in-out infinite;
            
        }

        /* افکت های متحرک */
        @keyframes dashFlow {
            to {
                stroke-dashoffset: -800;
            }
        }
        @keyframes trace {
            to {
                stroke-dashoffset: 0;
            }
        }
        @keyframes glowPulse {
            0%, 100% {
                filter:
                    drop-shadow(0 0 5px rgba(0,255,255,0.9))
                    drop-shadow(0 0 16px rgba(0,255,153,0.7));
            }
            50% {
                filter:
                    drop-shadow(0 0 12px rgba(0,255,255,1))
                    drop-shadow(0 0 30px rgba(0,255,153,0.9));
            }
        }
        @keyframes pulseDot {
           
            0%, 100% {
                transform: translate(-150%, 0) perspective(800px) rotateX(360deg);
                opacity: 0.63;
            }
            50% {
                transform: translate(100%, 0) perspective(800px) rotateY(360deg) rotateX(-180deg);
                opacity: 0.7;
            }
        }
        @keyframes rotateRing {
            to {
                transform: rotate(-360deg);
            }
        }


        .ring-rotate {
            transform-origin: 450px 300px;
            animation: rotateRing 40s linear infinite;
        }
        .ring-rotate.fast {
            animation-duration: 26s;
        }
        .product-img {
            width: 300px;
            height: auto;
            margin-top: -95px;
            justify-items: center;
            align-items: center;            
            border-radius: 50%;
            object-fit: contain;
            filter:
                drop-shadow(0 0 15px rgba(0,255,255,0.6))
                drop-shadow(0 0 30px rgba(0,255,153,0.4));
            transform: perspective(800px) rotateY(10deg) rotateX(5deg);
        }
        /* Matrix Rain Background */
        .matrix-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 102%;
            height: 100%;
            z-index: -1;
            opacity: 0.15;
        }

        /* Animated Grid Background */
        .grid-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background-image: 
                linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridMove 10s linear infinite;
        }

        @keyframes gridMove {
            0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
            100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
        }

        /* Floating Orbs */
        .orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
            animation: float 8s ease-in-out infinite;
        }

        .orb-1 {
            width: 400px;
            height: 400px;
            background: var(--neon-green);
            top: -100px;
            right: -100px;
            opacity: 0.2;
        }

        .orb-2 {
            width: 300px;
            height: 300px;
            background: var(--neon-purple);
            bottom: -50px;
            left: -50px;
            opacity: 0.15;
            animation-delay: -4s;
        }

        .orb-3 {
            width: 250px;
            height: 250px;
            background: var(--neon-blue);
            top: 50%;
            left: 50%;
            opacity: 0.1;
            animation-delay: -2s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -30px) scale(1.1); }
        }

        /* Header */
        .header {
            box-sizing: border-box;
            min-height: var(--landing-header-height);
            padding: 8px 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            position: fixed;
            width: min(1240px, calc(100% - var(--landing-header-inset) - var(--landing-header-inset)));
            top: var(--landing-header-top);
            left: 0;
            right: 0;
            margin-inline: auto;
            z-index: 1000;
            border: 1px solid rgba(96, 221, 193, .2);
            border-radius: 20px;
            background: #071512 linear-gradient(115deg, #09191b, #071210 70%);
            box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
            transition: border-color 180ms ease;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -1px;
            left: 22%;
            right: 22%;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, transparent, #48dfba, #54b9e0, transparent);
            opacity: .45;
            pointer-events: none;
            animation: landing-header-shimmer 6s ease-in-out infinite;
        }

        @keyframes landing-header-shimmer {
            0%, 100% { opacity: .3; transform: scaleX(.8); }
            50% { opacity: .65; transform: scaleX(1); }
        }

        .header.is-scrolled {
            border-color: rgba(96, 221, 193, .3);
        }
 
        .logo {
            display: flex;
            align-items: center;
            min-width: 0;
            gap: 10px;
            color: #eafff7;
            text-decoration: none;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
        }

        .logo-icon img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .landing-brand-copy {
            display: grid;
            min-width: 0;
            gap: 3px;
            line-height: 1.55;
        }

        .landing-brand-copy strong,
        .landing-brand-copy small {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .landing-brand-copy strong {
            color: #eafff7;
            font-size: 1rem;
            font-weight: 850;
        }

        .landing-brand-copy small {
            color: #a9c9be;
            font-size: .73rem;
        }

        .header .logo:focus-visible {
            outline: 2px solid #5cdfc0;
            outline-offset: 5px;
            border-radius: 8px;
        }

        .logo-text {
            font-size: 1.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        .nav-links a {
            color: #aaa;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--neon-green);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--neon-green);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .btn-buy {
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            color: #000;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: 700;
            transition: all 0.3s;
            box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
        }

        .btn-buy:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 40px rgba(0, 255, 136, 0.5);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 120px 20px 80px;
            position: relative;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 255, 136, 0.1);
            border: 1px solid rgba(0, 255, 136, 0.3);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--neon-green);
            margin-bottom: 30px;
            animation: fadeInUp 0.8s ease;
        }

        .badge-dot {
            width: 8px;
            height: 8px;
            background: var(--neon-green);
            border-radius: 50%;
            animation: blink 1.5s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 25px;
            animation: fadeInUp 0.8s ease 0.2s both;
        }

        .hero h1 span {
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% auto;
            animation: gradient-shift 3s ease infinite;
        }

        @keyframes gradient-shift {
            0%, 100% { background-position: 0% center; }
            50% { background-position: 100% center; }
        }

        .hero p {
            font-size: 1.2rem;
            color: #e5e9e9;
            max-width: 600px;
            line-height: 1.8;
            margin-bottom: 40px;
            animation: fadeInUp 0.8s ease 0.4s both;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 0.8s ease 0.6s both;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            color: #000;
            padding: 16px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s;
            box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 20px 60px rgba(0, 255, 136, 0.5);
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            padding: 16px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            border: 2px solid var(--glass-border);
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-secondary:hover {
            border-color: var(--neon-green);
            color: var(--neon-green);
            background: rgba(0, 255, 136, 0.1);
        }

        /* Stats */
        .stats {
            display: flex;
            gap: 60px;
            margin-top: 20px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 0.8s ease 0.8s both;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            color: #d3f8e0;
            font-size: 0.9rem;
            margin-top: 5px;
        }

        /* Features Section */        
        .feature-card:hover .feature-icon {
            background: var(--card-bg);
            color: var(--neon-blue);
            transform: scale(1.1) rotate(6deg);
        }
        .section-header {
            text-align: center;
            margin-top: -32px;
            margin-bottom: 20px;
        }

        .section-tag {
            color: var(--neon-green);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 15px;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            margin-bottom: 20px;
        }

        .section-desc {
            font-size: clamp(1rem, 1vw, 1rem);            
            color: #5bffe9;
            max-width: 600px;
            margin: 0 auto;
            margin-bottom: 53px;
            line-height: 1.8;
        }



        /* Demos Section */
        .demos {
            padding: 20px;
            background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.02), transparent);
        }

        .demos-container {
            max-width: 90%;
            margin: 0 auto;
        }

        .demos-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);  
            gap: 60px;
            max-width: 85%;
            margin: 0 auto;
            padding: 0 20px;
        }

        .demo-card {
            background: rgba(234, 234, 234, 0.03);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            border: 1px solid rgba(0, 255, 221, 0.322);
            border-radius: 28px;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            height: auto;
            padding: 10px;
            min-height: 580px;
        }

        .demo-card:nth-child(even) {
            direction: ltr;
        }

        .demo-card:nth-child(even) .demo-content {
            direction: rtl;
        }
        .demo-image-placeholder {
            width: 640px;                   
            height: 360px;                   
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(0, 255, 136, 0.15);
            transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .demo-image-placeholder img {
            width: 100%;
            height: auto;
            display: block;
            transform: translateY(0);
            transition: transform 5s ease-in;
            will-change: transform;
            image-rendering: -webkit-optimize-contrast; 
        }
        .demo-card:hover {
            border: 2px solid rgb(0, 255, 200);
            box-shadow: 0 12px 26px rgba(3, 238, 255, 0.6);
        }        
        .demo-card:hover .demo-image-placeholder img {
            transform: translateY(calc(-100% + 100vh - 120px)); 
            filter:  contrast(1.06) saturate(1.15);
        }

        .demo-card .browser-dots {
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .demo-card:hover .browser-dots {
            transform: translateY(-8px);
            
        }
    
        .demo-preview {
            position: relative;
            overflow: hidden;
            background: transparent;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 20px 14px;
        }
        .demo-image-placeholder .browser-dots {
            position: absolute;
            top: 12px;
            left: 15px;
            display: flex;
            gap: 8px;
        }

        .demo-image-placeholder .browser-dots span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .demo-image-placeholder .browser-dots span:nth-child(1) { background: #ff5f56; }
        .demo-image-placeholder .browser-dots span:nth-child(2) { background: #ffbd2e; }
        .demo-image-placeholder .browser-dots span:nth-child(3) { background: #27ca3f; }

        .placeholder-content {
            padding-top: 30px;
            text-align: center;
        }

        .placeholder-icon {
            font-size: 60px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .placeholder-text {
            color: #555;
            font-size: 0.9rem;
        }

        .demo-content {
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .demo-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            width: fit-content;
            margin-bottom: 20px;
        }

        .demo-badge.academy {
            background: rgba(255, 136, 0, 0.15);
            color: #ff8800;
            border: 1px solid rgba(255, 136, 0, 0.3);
        }

        .demo-badge.ai {
            background: rgba(0, 212, 255, 0.15);
            color: var(--neon-blue);
            border: 1px solid rgba(0, 212, 255, 0.3);
        }

        .demo-badge.pro {
            background: rgba(180, 0, 255, 0.15);
            color: var(--neon-purple);
            border: 1px solid rgba(180, 0, 255, 0.3);
        }

        .demo-number {
            font-size: 0.75rem;
            color: #979797;
            margin: 5px;
            letter-spacing: 2px;
            text-align: left;
        }

        .demo-title {
            font-size: 1.8rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 15px;
            margin-top: 15px;
            line-height: 1.4;
        }

        .demo-title span {
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .demo-description {
            color: #888;
            line-height: 1.8;
            margin-bottom: 25px;
            font-size: 1rem;
        }

        .demo-features {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }

        .demo-feature-tag {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: #aaa;
            transition: all 0.3s;
        }

        .demo-feature-tag:hover {
            border-color: var(--neon-green);
            color: var(--neon-green);
        }

        .demo-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .btn-demo {
            padding: 14px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-demo.primary {
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            color: #000;
            box-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
        }

        .btn-demo.primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
        }

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

        .btn-demo.secondary:hover {
            border-color: var(--neon-green);
            color: var(--neon-green);
        }

        /* Pricing Section */
        .pricing {
            padding: 100px 40px;
            max-width: 900px;
            margin: 0 auto;
        }

        .price-card {
            background: var(--card-bg);
            border: 2px solid var(--neon-green);
            border-radius: 30px;
            padding: 50px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 60px rgba(0, 255, 136, 0.15);
        }

        .price-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .price-tag {
            position: absolute;
            top: 25px;
            left: 25px;
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            color: #000;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .price-value {
            font-size: 3rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 30px 0 50px;
            position: relative;
        }

        .price-value span {
            font-size: 1.5rem;
            opacity: 0.8;
        }

        .price-original {
            color: #666;
            text-decoration: line-through;
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

        .price-desc {
            color: #888;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .price-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            text-align: right;
            margin-bottom: 40px;
            position: relative;
        }

        .price-feature {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #ccc;
            font-size: 0.95rem;
        }

        .price-feature i {
            color: var(--neon-green);
            font-size: 1.2rem;
        }

        .btn-purchase {
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            color: #000;
            padding: 20px 60px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 800;
            font-size: 1.2rem;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            transition: all 0.4s;
            box-shadow: 0 0 50px rgba(0, 255, 136, 0.4);
            position: relative;
        }

        .btn-purchase:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 20px 80px rgba(0, 255, 136, 0.5);
        }

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

        .scroll-animate {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-animate.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Mobile Menu */
        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            padding: 10px;
        }

        .mobile-toggle span {
            width: 28px;
            height: 3px;
            background: var(--neon-green);
            border-radius: 3px;
        }
        .svg-icon svg {
            width: 100%;
            height: 100%;
        }
        .svg-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 28px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        } 

        /* Features Section */
        .features {
            padding: 60px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }
        .features-grid2 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
        gap: var(--spacing-xl);
        justify-content: center;
        }

        .features-grid2::after {
        content: "";
        grid-column: 1 / -1;         
        min-height: 1px;               
        visibility: hidden;
        }        
        .feature-icon {
            width: 80px;
            height: 80px;
        }
        .feature-card2 {
            background: var(--bg-glass);
            backdrop-filter: blur(10px) brightness(1.7) saturate(141%); /* Blur behind for glassmorphism */
            -webkit-backdrop-filter: blur(14px);
            border: 1.5px solid rgba(0, 255, 255, 0.4);
            border-radius: 24px;
            padding: 2.5rem 2rem;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(0, 255, 255, 0.05);
        }

        .feature-card2::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(135deg, 
                rgba(0, 255, 255, 0.1) 0%, 
                rgba(0, 200, 255, 0.05) 100%
            );
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }                
        .feature-card2:hover .feature-icon {
            background: var(--card-bg);
            color: var(--neon-blue);
            transform: scale(1.1) rotate(6deg);
        }
        .feature-card2:hover::before {
            opacity: 0.;
        }

        .feature-title2 {
            font-size: 1.45rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0 0 1.75rem;
            margin-top: 2rem;
            letter-spacing: -0.3px;
            text-align: center;
            position: relative;
            z-index: 1;
            
            transform-style: preserve-3d;
            transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
            /* Smooth 3D-ready transition */
        }

        .feature-title2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #00ffff, #00ff88);
            border-radius: 2px;
            transition: all 0.4s ease;
            transform: translateX(-50%);
        }

        .feature-card2:hover .feature-title2::after {
            width: 70%;
        }        
        /* 3D Zoom + Perspective on Hover */
        .feature-card2:hover .feature-title2 {
            transform: 
                translateZ(20px) 
                scale(1.2) 
                rotateX(8deg);
            color: #00ffff;
            text-shadow: 
                0 0 10px rgba(0, 255, 255, 0.8),
                0 0 20px rgba(0, 255, 255, 0.6),
                0 0 30px rgba(0, 255, 255, 0.4);
            letter-spacing: 0.5px;
        }

        .feature-description2 {
            color: var(--text-secondary);
            line-height: 1.8;
        } 


        @media (prefers-reduced-motion: reduce){
        .neon, .ring, .node{ animation:none !important; }
        }        

      
        @media (max-width: 992px) {
            .products-grid { gap: 20px; }            
            .circle { width: 380px; height: 380px;}
            .product-img { width: 280px; }
            .circle { transform: scale(0.9);}
        }

        @media (max-width: 768px) {
            .products-grid {
                flex-direction: column;
                align-items: center;
            }
            .product-card {
                width: min(360px, 92vw);
                height: 540px;
            }
            .hero-landing { padding-bottom: 48px; }
            .circle { width: 360px; height: 360px; }
            .circle h2 { font-size: 36px; }
            .product-img { width: 240px; }
            .circle p { font-size: 14px; margin: 6px 24px; }
            .hero-container {
                    position: relative;
                    width: 100%;
                    height: clamp(380px, 52svh, 560px);}
            }
        @media (max-width: 576px) {
            .hero-landing { padding-bottom: 40px; }
            .hero-container { height: clamp(300px, 50svh, 480px); }
            .circle { width: 240px; height: 240px; }
            .circle h2 { font-size: 20px; }
            .circle h1 { font-size: 15px; }
            .product-img { width: 300px;  }
            .circle p { font-size: 13px; margin: 6px 20px; }
            .tagline { font-size: 10px; }
            .divider { width: 100px; }
            .badge { font-size: 11px; padding: 6px 16px; margin-bottom: -52px; }
        }

      
        @media (max-width: 768px) {
            .tech-lines,  .pulse-dot, .ring-rotate.fast {
                animation: none !important; /* غیرفعال کردن انیمیشن‌های SVG سنگین */
            }
            .features-grid {
                grid-template-columns: 1fr; /* تک ستونه برای ویژگی‌ها */
            }
            .team-cards-section {
                flex-direction: column; /* کارت‌های 3D تک تک نشان داده شوند */
            }
            .matrix-bg {
                display: none; /* مخفی کردن canvas در موبایل (از JS هم کنترل می‌شود) */
            }
        }
        
        
        /* Responsive */
       
        @media (max-width: 1024px) {
            .demo-card {
                grid-template-columns: 1fr;
            }
            .demos-grid {
                grid-template-columns: repeat(1, minmax(380px, 1fr));
                gap: 50px;
                padding: 0 30px;
            }            

            .demo-card:nth-child(even) {
                direction: rtl;
            }

            .demo-preview {
                min-height: 350px;
            }

            .price-features {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 992px) {
            .demos {
                margin-top: -120px;
            }               
            .demo-card {
                grid-template-columns: 1fr;
            }
            .demo-image-placeholder {
            width: 560px;                   
            height: 380px;  
            }            
            .section-header {
                text-align: center;
                margin-top: 20px;
                margin-bottom: 20px;
            }
        }

        @media (max-width: 768px) {
         
            .demos-container {
                max-width: 100%;
                margin: 0 auto;
            }            
            .demos-grid {
                grid-template-columns: 1fr;          
                gap: 50px;
                padding: 0 10px;
            }
            .demo-preview {
                min-height: 320px;
            }
            .demo-image-placeholder {
            width: 330px;                   
            height: 230px;  
            }
            .demo-card:hover .demo-image-placeholder img {
                transform: translateY(calc(-100% + 100vh - 160px));
                transition-duration: 5s;
            }
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(10, 10, 15, 0.98);
                flex-direction: column;
                padding: 30px;
                gap: 20px;
                border-bottom: 1px solid var(--glass-border);
            }

            .nav-links.active {
                display: flex;
            }

            .btn-buy {
                display: none;
            }

            .hero {
                padding: 140px 20px 60px;
            }

            .stats {
                gap: 30px;
            }

            .features, .demos, .pricing {
                padding: 60px 20px;
            }

            .demo-content {
                padding: 30px;
            }

            .demo-title {
                font-size: 1.4rem;
            }

            .price-card {
                padding: 30px 20px;
            }

            .price-value {
                font-size: 3rem;
            }
        }

        /* Scroll to top */
        .scroll-top {
            position: fixed;
            bottom: max(24px, env(safe-area-inset-bottom, 0px));
            left: max(20px, env(safe-area-inset-left, 0px));
            width: 50px;
            height: 50px;
            padding: 0;
            border: 0;
            background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
            z-index: 1000;
            box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            transform: translateY(-5px);
        }

        .scroll-top svg {
            display: block;
            flex: 0 0 24px;
            width: 24px;
            height: 24px;
            color: #000;
        }

        .scroll-top:focus-visible {
            outline: 2px solid #eafff7;
            outline-offset: 4px;
        }

/* Immediate visual fallback while the first matrix frame is being prepared. */
.matrix-bg {
    background:
        radial-gradient(circle at 18% 24%, rgba(0, 255, 136, .075), transparent 34%),
        radial-gradient(circle at 82% 72%, rgba(0, 128, 255, .06), transparent 38%),
        #0a0a0f;
    transition: opacity 180ms ease;
}

.matrix-bg.is-ready {
    background-color: #0a0a0f;
}

@media (prefers-reduced-motion: reduce) {
    .grid-bg,
    .orb {
        animation: none !important;
    }
}


/* =========================================================
   Landing performance pass
   Native reveal animations replace the AOS runtime.
========================================================= */
.landing-reveal-ready [data-aos="fade-up"] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 720ms ease var(--landing-reveal-delay, 0ms),
        transform 720ms cubic-bezier(.22, 1, .36, 1) var(--landing-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.landing-reveal-ready [data-aos="fade-up"].is-aos-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.features,
.rayen3d-section,
.timeline-section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.hero-landing,
.hero-container {
    contain: layout style;
}

.matrix-bg {
    contain: strict;
}

@media (prefers-reduced-motion: reduce) {
    .landing-reveal-ready [data-aos="fade-up"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Landing authentication actions ===== */

.nav-links a.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #03140f;
    white-space: nowrap;
}

.nav-links a.btn-buy::after {
    display: none;
}

.nav-links a.btn-buy--secondary {
    border: 1px solid rgba(0, 255, 136, .42);
    background: rgba(10, 20, 22, .72);
    color: var(--neon-green);
    box-shadow: none;
}

.nav-links a.btn-buy--secondary:hover {
    background: rgba(0, 255, 136, .10);
    color: #fff;
}

.mobile-toggle {
    border: 0;
    background: transparent;
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-toggle span {
    transition: transform .22s ease, opacity .22s ease;
}

@media (max-width: 768px) {
    .landing-auth-links {
        z-index: 50;
        align-items: stretch;
    }

    .nav-links .btn-buy,
    .nav-links a.btn-buy {
        display: inline-flex;
        width: 100%;
        min-height: 46px;
    }
}

/* =====================================================================
   Landing authentication actions
   Responsive, touch-friendly login / signup / dashboard actions.
   ===================================================================== */

.landing-auth-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-links a.landing-auth-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 9px 16px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #03140f;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        color .22s ease;
}

.nav-links a.landing-auth-button::after {
    display: none;
}

.nav-links a.landing-auth-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -80%;
    right: -35%;
    width: 42%;
    height: 250%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .28),
        transparent
    );
    transform: rotate(18deg) translateX(0);
    opacity: 0;
    transition: transform .5s ease, opacity .3s ease;
}

.nav-links a.landing-auth-button:hover::before {
    opacity: 1;
    transform: rotate(18deg) translateX(-250%);
}

.nav-links a.landing-auth-button:hover {
    transform: translateY(-2px);
}

.nav-links a.landing-auth-button:focus-visible {
    outline: 2px solid #eafff7;
    outline-offset: 3px;
}

.landing-auth-button--primary {
    background:
        linear-gradient(135deg, #20f6a4 0%, #00d9d1 48%, #27b7ff 100%);
    border-color: rgba(101, 255, 219, .56) !important;
    box-shadow:
        0 10px 28px rgba(0, 238, 193, .20),
        inset 0 1px 0 rgba(255, 255, 255, .38) !important;
}

.landing-auth-button--primary:hover {
    color: #001b16 !important;
    box-shadow:
        0 14px 38px rgba(0, 238, 193, .30),
        inset 0 1px 0 rgba(255, 255, 255, .45) !important;
}

.landing-auth-button--secondary {
    color: #d9fff3 !important;
    background:
        linear-gradient(145deg, rgba(10, 27, 30, .94), rgba(4, 15, 21, .92));
    border-color: rgba(63, 255, 190, .30) !important;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, .26),
        inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

.landing-auth-button--secondary:hover {
    color: #ffffff !important;
    border-color: rgba(63, 255, 190, .62) !important;
    background:
        linear-gradient(145deg, rgba(11, 45, 39, .96), rgba(4, 24, 30, .94));
    box-shadow:
        0 14px 36px rgba(0, 255, 176, .14),
        inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.landing-auth-button__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .11);
    font-size: .92rem;
}

.landing-auth-button--secondary .landing-auth-button__icon {
    color: var(--neon-green);
    background: rgba(0, 255, 136, .10);
    border: 1px solid rgba(0, 255, 136, .15);
}

.landing-auth-button__content {
    display: flex;
    align-items: center;
    min-width: 0;
}

.landing-auth-button__content strong {
    font-size: .88rem;
    font-weight: 900;
    line-height: 1.2;
}

.landing-auth-button__content small,
.landing-auth-button__arrow {
    display: none;
}

/* Prevent header crowding on notebooks / small tablets. */
@media (max-width: 1050px) and (min-width: 769px) {
    .header {
        padding-inline: 16px;
    }

    .landing-auth-links {
        gap: 8px;
    }

    .nav-links a.landing-auth-button {
        min-height: 44px;
        padding: 8px 12px;
        border-radius: 14px;
    }

    .landing-auth-button__icon {
        width: 28px;
        height: 28px;
    }

    .landing-auth-button__content strong {
        font-size: .82rem;
    }
}

/* Mobile / tablet dropdown. */
@media (max-width: 768px) {
    :root {
        --landing-header-height: 64px;
        --landing-header-top: calc(10px + env(safe-area-inset-top, 0px));
        --landing-header-inset: max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }

    .header {
        padding: 8px 12px;
        gap: 10px;
        border-radius: 17px;
    }

    .header .logo {
        flex: 1 1 auto;
        gap: 9px;
        overflow: hidden;
    }

    .header .logo-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .landing-brand-copy strong {
        font-size: .9rem;
    }

    .landing-brand-copy small {
        font-size: .7rem;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        padding: 0;
        gap: 5px;
        border: 1px solid rgba(74, 255, 196, .28);
        border-radius: 14px;
        background:
            linear-gradient(145deg, rgba(10, 31, 31, .94), rgba(4, 17, 24, .96));
        box-shadow:
            0 10px 28px rgba(0, 0, 0, .28),
            inset 0 1px 0 rgba(255, 255, 255, .05);
        transition:
            transform .2s ease,
            border-color .2s ease,
            background .2s ease,
            box-shadow .2s ease;
    }

    .mobile-toggle:hover,
    .mobile-toggle:focus-visible,
    .mobile-toggle.is-active {
        outline: none;
        border-color: rgba(75, 255, 196, .62);
        background:
            linear-gradient(145deg, rgba(11, 50, 41, .98), rgba(4, 24, 30, .98));
        box-shadow:
            0 12px 32px rgba(0, 255, 176, .14),
            inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .mobile-toggle:active {
        transform: scale(.96);
    }

    .mobile-toggle span {
        width: 23px;
        height: 2px;
        background: linear-gradient(90deg, #5affc3, #55dcff);
        box-shadow: 0 0 10px rgba(0, 255, 193, .28);
    }

    .nav-links.landing-auth-links {
        display: flex;
        visibility: hidden;
        position: absolute;
        z-index: 1100;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        opacity: 0;
        pointer-events: none;
        border: 1px solid rgba(82, 255, 205, .20);
        border-radius: 20px;
        background:
            radial-gradient(circle at 85% 0%, rgba(0, 255, 174, .10), transparent 34%),
            linear-gradient(160deg, rgba(7, 21, 24, .985), rgba(2, 10, 16, .985));
        box-shadow:
            0 24px 70px rgba(0, 0, 0, .52),
            inset 0 1px 0 rgba(255, 255, 255, .04);
        max-height: calc(100svh - var(--landing-header-top) - var(--landing-header-height) - 8px - var(--landing-menu-bottom-gap));
        overflow-y: auto;
        transform: translateY(-6px);
        transform-origin: top center;
        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;
    }

    .nav-links.landing-auth-links.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a.landing-auth-button {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 66px;
        padding: 10px 12px;
        gap: 12px;
        border-radius: 16px;
        white-space: normal;
        text-align: right;
    }

    .landing-auth-button__icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 1rem;
    }

    .landing-auth-button__content {
        flex: 1 1 auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
    }

    .landing-auth-button__content strong {
        font-size: .95rem;
        line-height: 1.25;
    }

    .landing-auth-button__content small {
        display: block;
        max-width: 100%;
        overflow: hidden;
        color: rgba(226, 255, 247, .70);
        font-size: .72rem;
        font-weight: 500;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .landing-auth-button--primary .landing-auth-button__content small {
        color: rgba(0, 37, 29, .72);
    }

    .landing-auth-button__arrow {
        display: block;
        flex: 0 0 auto;
        margin-right: auto;
        font-size: .78rem;
        opacity: .70;
        transition: transform .2s ease;
    }

    .nav-links a.landing-auth-button:hover .landing-auth-button__arrow {
        transform: translateX(-3px);
    }
}

/* Smaller phones: 320px–420px. */
@media (max-width: 420px) {
    :root {
        --landing-header-height: 62px;
        --landing-header-top: calc(8px + env(safe-area-inset-top, 0px));
        --landing-header-inset: max(8px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }

    .header {
        padding: 8px 10px;
    }

    .header .logo {
        gap: 7px;
    }

    .header .logo-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
    }

    .landing-brand-copy strong {
        font-size: .84rem;
    }

    .mobile-toggle {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .nav-links.landing-auth-links {
        padding: 10px;
        border-radius: 17px;
    }

    .nav-links a.landing-auth-button {
        min-height: 62px;
        padding: 9px 10px;
        gap: 10px;
        border-radius: 14px;
    }

    .landing-auth-button__icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .landing-auth-button__content strong {
        font-size: .88rem;
    }

    .landing-auth-button__content small {
        font-size: .68rem;
    }
}

/* Very narrow devices: keep the header readable instead of overflowing. */
@media (max-width: 350px) {
    .landing-brand-copy strong {
        font-size: .8rem;
    }

    .landing-brand-copy small {
        font-size: .65rem;
    }

    .nav-links a.landing-auth-button {
        min-height: 58px;
    }

    .landing-auth-button__content small {
        max-width: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header::before {
        animation: none;
    }

    .header,
    .nav-links a.landing-auth-button,
    .nav-links a.landing-auth-button::before,
    .landing-auth-button__arrow,
    .mobile-toggle,
    .mobile-toggle span,
    .scroll-top,
    .nav-links.landing-auth-links {
        transition: none !important;
    }
}

/* ===== Landing creators section v1.29.23 — neon feature-card aligned ===== */
.landing-creators-section {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 36px));
    margin: 24px auto 78px;
    padding: 24px 0 8px;
    isolation: isolate;
}

.landing-creators-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8% 10% auto;
    height: 62%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, .055), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
}

.landing-creators-section__header {
    max-width: 760px;
    margin: 0 auto 28px;
}

.landing-creators-section__header .section-subtitle {
    max-width: 660px;
    margin: 10px auto 0;
    color: rgba(223, 229, 245, .72);
    line-height: 1.85;
}

.landing-creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
    align-items: stretch;
    justify-content: center;
    max-width: 1160px;
    margin: 0 auto;
}

.landing-creator-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 304px;
    overflow: hidden;
    padding: 18px 17px 16px;
    border: 1.5px solid transparent;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(3, 8, 15, .50), rgba(4, 10, 18, .32)) padding-box,
        linear-gradient(135deg,
            rgba(0, 255, 255, .92) 0%,
            rgba(0, 255, 255, .44) 28%,
            rgba(0, 200, 255, .24) 51%,
            rgba(0, 255, 136, .52) 76%,
            rgba(0, 255, 255, .78) 100%) border-box;
    box-shadow:
        0 10px 32px rgba(0, 0, 0, .30),
        0 0 18px rgba(0, 255, 255, .10),
        inset 0 0 24px rgba(0, 255, 255, .035),
        inset 0 1px 0 rgba(255, 255, 255, .065);
    backdrop-filter: blur(7px) brightness(1.04) saturate(116%);
    -webkit-backdrop-filter: blur(7px) brightness(1.04) saturate(116%);
    transform: translateZ(0);
    transform-style: preserve-3d;
    transition:
        transform .42s cubic-bezier(.25, .8, .25, 1),
        box-shadow .42s ease,
        background .42s ease;
}

.landing-creator-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(0, 255, 255, .055), transparent 34%, transparent 68%, rgba(0, 255, 136, .035));
    opacity: .78;
    transition: opacity .4s ease;
    pointer-events: none;
}

.landing-creator-card::after {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(0, 255, 255, .11);
    border-radius: 20.5px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .055),
        inset 0 0 18px rgba(0, 255, 255, .025);
    pointer-events: none;
}

.landing-creator-card:hover {
    transform: translateY(-8px) perspective(900px) rotateX(1.2deg);
    background:
        linear-gradient(145deg, rgba(3, 8, 15, .56), rgba(4, 10, 18, .37)) padding-box,
        linear-gradient(135deg,
            #00ffff 0%,
            rgba(0, 255, 255, .72) 28%,
            rgba(0, 200, 255, .42) 50%,
            rgba(0, 255, 136, .72) 76%,
            rgba(0, 255, 255, .96) 100%) border-box;
    box-shadow:
        0 20px 42px rgba(0, 0, 0, .38),
        0 0 26px rgba(0, 255, 255, .28),
        0 0 54px rgba(0, 255, 255, .07),
        inset 0 0 30px rgba(0, 255, 255, .055),
        inset 0 1px 0 rgba(255, 255, 255, .085);
}

.landing-creator-card:hover::before { opacity: 1; }

.landing-creator-card__ambient {
    position: absolute;
    top: -104px;
    left: 50%;
    width: 238px;
    height: 188px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, .085), transparent 68%);
    filter: blur(20px);
    transform: translateX(-50%);
    opacity: .82;
    pointer-events: none;
}

.landing-creator-card__role {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    margin-bottom: 10px;
    padding: 4px 10px;
    border: 1px solid rgba(0, 255, 255, .30);
    border-radius: 999px;
    background: rgba(0, 255, 255, .035);
    color: rgba(232, 253, 255, .88);
    box-shadow:
        0 0 12px rgba(0, 255, 255, .08),
        inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: -.1px;
}

.landing-creator-card__role i {
    color: #00ffff;
    font-size: 9px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, .55));
}

.landing-creator-card__avatar-shell {
    position: relative;
    z-index: 3;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 18%, rgba(255, 255, 255, .34), transparent 21%),
        conic-gradient(from 205deg,
            rgba(0, 255, 255, .34),
            #00ffff,
            rgba(0, 255, 136, .68),
            rgba(0, 255, 255, .24),
            #00ffff,
            rgba(0, 255, 255, .34));
    box-shadow:
        0 0 0 1px rgba(0, 255, 255, .32),
        0 0 0 5px rgba(0, 255, 255, .035),
        0 0 24px rgba(0, 255, 255, .34),
        0 19px 30px rgba(0, 0, 0, .40),
        inset 0 2px 3px rgba(255, 255, 255, .24),
        inset 0 -4px 9px rgba(0, 0, 0, .28);
    transform-style: preserve-3d;
    transform: perspective(760px) rotateX(3deg) translateZ(0);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .42s ease;
}

.landing-creator-card__avatar-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12px 8px -12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .58);
    filter: blur(13px);
    opacity: .78;
    transform: translateZ(-20px) scale(.93);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .42s ease;
    pointer-events: none;
}

.landing-creator-card__avatar-shell::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 5px;
    border-radius: 50%;
    border-top: 1px solid rgba(255, 255, 255, .34);
    border-left: 1px solid rgba(0, 255, 255, .20);
    box-shadow: inset 5px 5px 13px rgba(255, 255, 255, .045);
    transform: translateZ(10px);
    pointer-events: none;
}

.landing-creator-card:hover .landing-creator-card__avatar-shell {
    transform: perspective(760px) rotateX(6deg) rotateY(-5deg) translateY(-4px) scale(1.045);
    box-shadow:
        0 0 0 1px rgba(0, 255, 255, .48),
        0 0 0 6px rgba(0, 255, 255, .045),
        0 0 34px rgba(0, 255, 255, .48),
        0 24px 36px rgba(0, 0, 0, .42),
        inset 0 2px 4px rgba(255, 255, 255, .30),
        inset 0 -5px 10px rgba(0, 0, 0, .30);
}

.landing-creator-card:hover .landing-creator-card__avatar-shell::before {
    opacity: .92;
    transform: translateY(3px) translateZ(-22px) scale(.97);
}

.landing-creator-card__avatar {
    position: relative;
    z-index: 2;
    display: grid;
    width: 119px;
    height: 119px;
    overflow: hidden;
    place-items: center;
    border: 3px solid rgba(3, 11, 18, .92);
    border-radius: 50%;
    background: rgba(5, 14, 22, .74);
    box-shadow:
        inset 0 0 0 1px rgba(0, 255, 255, .12),
        inset 0 8px 16px rgba(255, 255, 255, .025),
        0 5px 9px rgba(0, 0, 0, .28);
    color: #fff;
    font-size: 37px;
    font-weight: 900;
    transform: translateZ(14px);
}

.landing-creator-card__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.landing-creator-card:hover .landing-creator-card__avatar img {
    transform: scale(1.075);
    filter: contrast(1.035) saturate(1.04);
}

.landing-creator-card__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.landing-creator-card__copy h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: #f7fbff;
    font-size: clamp(17px, 1.4vw, 20px);
    font-weight: 900;
    line-height: 1.5;
    text-shadow: 0 0 12px rgba(0, 255, 255, .08);
}

.landing-creator-card__title {
    display: inline-flex;
    max-width: 100%;
    margin: 6px auto 0;
    padding: 3px 10px 4px;
    border: 1px solid rgba(0, 255, 255, .20);
    border-radius: 999px;
    background: rgba(0, 255, 255, .025);
    color: rgba(213, 251, 255, .90);
    font-size: 10.8px;
    font-weight: 850;
    line-height: 1.55;
    overflow-wrap: anywhere;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, .025);
}

.landing-creator-card__copy p {
    display: block;
    min-height: 0;
    max-height: none;
    margin: 11px 0 0;
    overflow: visible;
    color: rgba(238, 243, 251, .84);
    font-size: 11.7px;
    font-weight: 600;
    line-height: 1.92;
    text-wrap: pretty;
    overflow-wrap: anywhere;
    white-space: normal;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
}

.landing-creator-card__signature {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 7px;
    align-items: center;
    width: min(154px, 70%);
    margin-top: auto;
    padding-top: 14px;
    color: rgba(0, 255, 255, .52);
    font-size: 9.5px;
}

.landing-creator-card__signature span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, .34));
}

.landing-creator-card__signature span:last-child {
    background: linear-gradient(90deg, rgba(0, 255, 255, .34), transparent);
}

.landing-creator-card__signature i {
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, .35));
}

@media (max-width: 1180px) {
    .landing-creators-grid {
        grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
        grid-auto-rows: 1fr;
    }
}

@media (max-width: 760px) {
    .landing-creators-section {
        width: min(100% - 24px, 620px);
        margin: 14px auto 62px;
        padding-top: 16px;
    }
    .landing-creators-section__header { margin-bottom: 21px; }
    .landing-creators-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: 12px;
        align-items: stretch;
    }
    .landing-creator-card {
        min-height: 286px;
        height: 100%;
        padding: 15px 12px 14px;
        border-radius: 21px;
    }
    .landing-creator-card::after { border-radius: 17.5px; }
    .landing-creator-card__role { min-height: 23px; margin-bottom: 8px; padding: 3px 8px; font-size: 9px; }
    .landing-creator-card__avatar-shell { width: 118px; height: 118px; margin-bottom: 9px; }
    .landing-creator-card__avatar { width: 107px; height: 107px; }
    .landing-creator-card__copy h3 { font-size: 15px; }
    .landing-creator-card__title { margin-top: 5px; padding: 3px 7px; font-size: 9.6px; }
    .landing-creator-card__copy p { margin-top: 8px; font-size: 10.6px; line-height: 1.82; }
    .landing-creator-card__signature { padding-top: 11px; }
}

@media (max-width: 520px) {
    .landing-creators-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .landing-creator-card {
        width: min(100%, 350px);
        min-height: 0;
        height: auto;
        margin-inline: auto;
    }
    .landing-creator-card__avatar-shell { width: 126px; height: 126px; }
    .landing-creator-card__avatar { width: 114px; height: 114px; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-creator-card,
    .landing-creator-card::before,
    .landing-creator-card__avatar-shell,
    .landing-creator-card__avatar-shell::before,
    .landing-creator-card__avatar img {
        transition: none !important;
    }
    .landing-creator-card:hover,
    .landing-creator-card:hover .landing-creator-card__avatar-shell,
    .landing-creator-card:hover .landing-creator-card__avatar img { transform: none; }
}
