/* ==========================================================================
   Moby — Full Design System (custom-landing-page adaptation)
   ========================================================================== */

:root {
    --bg-primary: #0A0A14;
    --bg-secondary: #0E0E1A;
    --bg-card: rgba(22, 22, 35, 0.7);
    --bg-card-hover: rgba(30, 30, 48, 0.8);

    --text-primary: #F0F0F5;
    --text-secondary: #9999B0;
    --text-muted: #55556A;

    --accent: #6366F1;
    --accent-light: #818CF8;
    --accent-bright: #929AFF;
    --accent-purple: #8B5CF6;
    --accent-purple-bright: #A78BFA;
    --accent-glow: rgba(99, 102, 241, 0.25);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(99, 102, 241, 0.4);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --container: 1280px;
    --gutter: 16px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    font-size: 16px;
    line-height: 1.625;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-primary); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.08),
                0 8px 16px rgba(10, 10, 20, 0.5);
    transform: translateY(-4px);
}

/* --- Gradient Border (highlighted card) --- */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright), var(--accent-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* --- Text Gradient --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-purple-bright), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--accent), var(--accent-purple));
    color: #fff;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4),
                0 0 60px rgba(139, 92, 246, 0.2);
    min-height: 48px;
    position: relative;
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 14px 50px rgba(99, 102, 241, 0.5),
                0 0 80px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid var(--border);
    transition: all 0.2s;
    min-height: 48px;
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

/* --- Mouse-following gradient --- */
.mouse-gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    transition: background 0.15s;
}

/* --- Background wave SVGs --- */
.section-waves {
    position: absolute;
    inset: -1px 0;
    width: 100%;
    height: calc(100% + 2px);
    pointer-events: none;
    overflow: hidden;
}

.wave-path {
    fill: none;
    stroke-linecap: round;
}

.wave-1 {
    stroke: var(--accent);
    stroke-width: 1.5;
    opacity: 0.15;
    animation: wave-drift-1 20s linear infinite;
}

.wave-2 {
    stroke: var(--accent-purple);
    stroke-width: 1;
    opacity: 0.12;
    animation: wave-drift-2 25s linear infinite;
}

.wave-3 {
    stroke: var(--accent-light);
    stroke-width: 1;
    opacity: 0.08;
    animation: wave-drift-3 30s linear infinite;
}

@keyframes wave-drift-1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-500px); }
}

@keyframes wave-drift-2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(500px); }
}

@keyframes wave-drift-3 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-300px); }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--accent-light);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5))
            drop-shadow(0 0 24px rgba(99, 102, 241, 0.3));
}

.logo span {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.nav a:hover { color: var(--text-primary); }

.header-cta {
    padding: 10px 24px;
    font-size: 14px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Wave pattern overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(129, 140, 248, 0.12) 0%, transparent 40%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-orb 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    top: 15%;
    left: 15%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    bottom: 15%;
    right: 15%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    animation-delay: 1s;
    animation-direction: reverse;
}

.hero-orb-3 {
    width: 500px;
    height: 500px;
    top: 40%;
    left: 40%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
    filter: blur(70px);
    animation-delay: 0.5s;
    animation-duration: 12s;
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, var(--bg-primary) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--gutter);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-badge-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-light);
    filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.6))
            drop-shadow(0 0 32px rgba(99, 102, 241, 0.3));
}

.hero-badge-tag {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 600;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA button glow */
.hero-cta-wrap {
    position: relative;
    display: inline-block;
}

.hero-cta-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(to right, var(--accent), var(--accent-purple));
    filter: blur(20px);
    opacity: 0.6;
    animation: cta-glow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.hero .btn-primary {
    padding: 18px 44px;
    font-size: 18px;
    border-radius: var(--radius-lg);
    position: relative;
    background: linear-gradient(to right, var(--accent), var(--accent-bright), var(--accent-purple));
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.6),
                0 0 60px rgba(139, 92, 246, 0.4);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-pill {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card-wrap {
    position: relative;
}

.feature-card-hover-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.20), transparent 70%);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card-wrap:hover .feature-card-hover-glow {
    opacity: 0.6;
}

.feature-card {
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Hover overlay gradient */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(to bottom right, var(--accent-bright), var(--accent-purple), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon-wrap {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.feature-icon-wrap svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* --- How It Works --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.steps-line {
    display: none;
}

.step {
    text-align: center;
    position: relative;
}

.step-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.30), transparent 70%);
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.step:hover .step-glow {
    opacity: 0.8;
}

.step-num-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(to bottom right, var(--accent-bright), var(--accent-purple), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    transition: transform 0.6s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.step:hover .step-num-wrap {
    transform: rotate(360deg);
    box-shadow: 0 12px 36px rgba(139, 92, 246, 0.6);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* --- Pricing --- */
.pricing-toggle-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.pricing-toggle-btn {
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s;
    cursor: pointer;
}

.pricing-toggle-btn.active {
    background: linear-gradient(to right, var(--accent), var(--accent-purple));
    color: #fff;
}

.pricing-toggle-btn:hover:not(.active) {
    color: var(--text-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid-3 {
    max-width: 1100px;
}

.pricing-grid-4 {
    max-width: 1300px;
}

.pricing-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.highlight {
    border-color: transparent;
    z-index: 1;
    box-shadow: 0 25px 50px rgba(10, 10, 20, 0.5);
}

/* Pulsating glow on highlighted card */
.pricing-card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.25), transparent 70%);
    filter: blur(40px);
    animation: pricing-glow 4s ease-in-out infinite;
}

@keyframes pricing-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: linear-gradient(to right, var(--accent-bright), var(--accent-purple));
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.6);
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.pricing-old-price {
    display: none;
    width: 100%;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 2px;
}

.pricing-old-price.visible {
    display: block;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(to right, #10b981, #34d399);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.pricing-period-inline {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.pricing-features {
    flex: 1;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    padding: 8px 0;
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--accent);
}

.pricing-features li span {
    font-size: 14px;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Button glow on highlighted card */
.pricing-btn-wrap {
    position: relative;
    z-index: 1;
}

.pricing-btn-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(to right, var(--accent-bright), var(--accent-purple));
    filter: blur(16px);
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.pricing-btn-wrap:hover .pricing-btn-glow {
    opacity: 1;
    transform: scale(1.05);
}

.pricing-btn-wrap .btn-primary {
    background: linear-gradient(to right, var(--accent-bright), var(--accent-purple), var(--accent));
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

/* --- FAQ --- */
.faq {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item.glass-card:hover {
    transform: none;
    box-shadow: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    min-height: 48px;
    gap: 16px;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--accent-light); }

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-answer-inner a { color: var(--accent-light); }

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.footer-brand span {
    font-size: 24px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-contact h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact-links a:hover { color: var(--text-primary); }

.footer-legal-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 560px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 32px;
}

.modal-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

.modal-list {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 20px;
}

.modal-list li {
    margin-bottom: 8px;
}

.modal-contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.modal-contacts-grid h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-contacts-grid p {
    font-size: 14px;
    margin-bottom: 8px;
}

.modal-contacts-grid a {
    color: var(--accent-light);
}

.modal-contacts-grid a:hover {
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .modal-contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .modal-content {
        padding: 28px 24px;
    }
}

/* --- Email Modal --- */
.email-modal {
    max-width: 400px;
    text-align: center;
}

.email-modal-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.email-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-modal-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.email-modal-input::placeholder {
    color: var(--text-muted);
}

.email-modal-input:focus {
    border-color: var(--accent);
}

.email-modal-error {
    color: #f87171;
    font-size: 13px;
    min-height: 18px;
    margin: 0;
}

.email-modal-submit {
    width: 100%;
    margin-top: 4px;
}

.email-modal-tos {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
    line-height: 1.4;
}

.email-modal-tos a {
    color: var(--accent);
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-disclaimer strong {
    color: var(--text-secondary);
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (min-width: 640px) {
    :root { --gutter: 32px; }

    .section { padding: 100px 0; }
    .section-title { font-size: 40px; }

    .hero h1 { font-size: 52px; }
    .hero-subtitle { font-size: 18px; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .pricing-card.highlight { transform: scale(1.05); }
    .pricing-card.highlight:hover { transform: scale(1.05) translateY(-4px); }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }

    .steps-line {
        display: block;
        position: absolute;
        top: 32px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.5), transparent);
    }

    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 48px; }
    .hero h1 { font-size: 68px; }
    .hero-subtitle { font-size: 20px; }
    .nav { display: flex; }

    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
    :root { --gutter: 40px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .faq-answer { transition: none; }
    .btn-primary:hover, .glass-card:hover { transform: none; }
    .faq-chevron, .header { transition: none; }
    .hero-orb { animation: none; }
    .scroll-dot { animation: none; }
    .pricing-card-glow { animation: none; }
    .hero-cta-glow { animation: none; }
    .wave-1, .wave-2, .wave-3 { animation: none; }
    .step-num-wrap { transition: none; }
}

@keyframes price-fade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

:focus:not(:focus-visible) { outline: none; }

/* --- Parallax Depth Layer --- */
.parallax-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    will-change: transform;
}

.parallax-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    animation: parallax-drift 20s ease-in-out infinite alternate;
}

.parallax-orb-1 {
    width: 600px;
    height: 600px;
    top: 10%;
    left: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
}

.parallax-orb-2 {
    width: 500px;
    height: 500px;
    top: 45%;
    right: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.parallax-orb-3 {
    width: 450px;
    height: 450px;
    top: 75%;
    left: 5%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
    animation-delay: -10s;
    animation-duration: 22s;
}

.parallax-orb-4 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: 55%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
    animation-delay: -3s;
    animation-duration: 28s;
}

.parallax-orb-5 {
    width: 550px;
    height: 550px;
    top: 120%;
    right: 10%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.4) 0%, transparent 70%);
    animation-delay: -8s;
    animation-duration: 18s;
}

@keyframes parallax-drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
    100% { transform: translate(10px, -10px) scale(1.05); }
}
