/* ═══════════════════════════════════════════════════════════
   NEON MANDALA — Landing Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 37px;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 14px 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(3, 3, 5, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nav.scrolled {
    background: rgba(3, 3, 5, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
                0 1px 0 rgba(168, 85, 247, 0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    animation: spin 8s linear infinite;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}
.nav-links a:hover { 
    color: #fff; 
    background: rgba(168, 85, 247, 0.08);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 1px;
}
.nav-links a:hover::after { width: 60%; }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { 
    padding: 8px 20px; 
    font-size: 13px; 
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-mobile-toggle:hover {
    background: rgba(168, 85, 247, 0.1);
}

/* ─── Hero Section ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-bg canvas {
    width: 100% !important;
    height: 100% !important;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(3, 3, 5, 0.85) 0%,
        rgba(3, 3, 5, 0.5) 50%,
        rgba(3, 3, 5, 0.75) 100%
    );
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 160px 0 80px;
}
.hero-badge {
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--dark-200);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat {
    text-align: left;
}
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.hero-stat-label {
    font-size: 13px;
    color: var(--dark-300);
    margin-top: 2px;
}

/* ─── Section Common ─── */
.section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 16px;
    color: var(--dark-300);
    line-height: 1.7;
}

/* ─── Features Grid ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal);
}
.feature-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.feature-icon.purple { background: rgba(168, 85, 247, 0.15); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.15); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); }
.feature-icon.emerald { background: rgba(16, 185, 129, 0.15); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); }
.feature-icon.rose { background: rgba(244, 63, 94, 0.15); }
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.feature-card p {
    font-size: 14px;
    color: var(--dark-300);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ─── How It Works ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-700), transparent);
}
.step-card {
    text-align: center;
    position: relative;
}
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
}
.step-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 14px;
    color: var(--dark-300);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* ─── Showcase / Preview ─── */
.showcase {
    background: var(--dark-800);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}
.showcase-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--dark-700);
    border-bottom: 1px solid var(--border-subtle);
}
.showcase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.showcase-dot.red { background: #ef4444; }
.showcase-dot.yellow { background: #f59e0b; }
.showcase-dot.green { background: #10b981; }
.showcase-body {
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
}
.showcase-body canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ─── Presets Preview ─── */
.presets-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.presets-scroll::-webkit-scrollbar { display: none; }
.preset-preview-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--dark-600);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
}
.preset-preview-card:hover {
    border-color: var(--primary-500);
    transform: scale(1.05);
}
.preset-preview-img {
    aspect-ratio: 1;
    background: var(--dark-800);
}
.preset-preview-name {
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-100);
    background: var(--dark-700);
}

/* ─── Testimonials ─── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
}
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: var(--accent-amber);
    font-size: 16px;
}
.testimonial-text {
    font-size: 14px;
    color: var(--dark-200);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.testimonial-role {
    font-size: 12px;
    color: var(--dark-400);
}

/* ─── CTA Section ─── */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(124, 58, 237, 0.05));
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.cta-desc {
    font-size: 17px;
    color: var(--dark-300);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Footer ─── */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-subtle);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand-desc {
    font-size: 14px;
    color: var(--dark-400);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-300);
    transition: all var(--duration-fast);
    font-size: 14px;
}
.footer-social a:hover {
    background: var(--primary-700);
    color: #fff;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul a {
    font-size: 14px;
    color: var(--dark-400);
}
.footer-col ul a:hover { color: var(--primary-400); }
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--dark-500);
}

/* ─── Ad Zones ─── */
.ad-zone {
    max-width: 728px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-zone-label {
    font-size: 10px;
    color: var(--dark-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }

    .hero-content { padding: 100px 0 60px; }
    .hero-stats { gap: 24px; }
    .hero-stat-value { font-size: 22px; }

    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .section { padding: 60px 0; }
}
