/* ========================================
   Landing Page Styles
   ======================================== */

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: all var(--duration-normal);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-xl);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--duration-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-mobile-btn {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(230, 126, 34, 0.1) 0%, transparent 50%);
    animation: gradient-shift 15s ease infinite;
    background-size: 200% 200%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-badge {
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: var(--space-lg) 0;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
    animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.hero-stat h3 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
}

.hero-stat p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* --- Floating QR Phone Mockup --- */
.hero-visual {
    position: absolute;
    right: -5%;
    bottom: 10%;
    width: 320px;
    height: 580px;
    animation: float 4s ease-in-out infinite;
    opacity: 0.15;
    pointer-events: none;
}

/* --- Problem Section --- */
.problem {
    padding: var(--space-4xl) 0;
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.problem-card {
    padding: var(--space-xl);
    text-align: center;
}

.problem-card .icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto var(--space-lg);
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--primary-dark);
}

.problem-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.problem-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Features --- */
.features {
    padding: var(--space-4xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-card {
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--duration-normal);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: var(--space-lg);
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--primary-dark);
}

.feature-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Demo Section --- */
.demo-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.demo-container {
    max-width: 400px;
    margin: var(--space-2xl) auto 0;
    position: relative;
}

.phone-frame {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(197, 160, 89, 0.1);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--bg-primary);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: var(--bg-secondary);
    border-radius: 24px;
    height: 600px;
    overflow: hidden;
    margin-top: -14px;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

/* --- Pricing --- */
.pricing {
    padding: var(--space-4xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    align-items: start;
}

.pricing-card {
    padding: var(--space-xl);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #111;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-tier {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-price {
    margin: var(--space-md) 0;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
}

.pricing-price .period {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.pricing-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: var(--text-xs);
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.disabled::before {
    content: '✗';
    color: var(--text-muted);
}

/* --- Video Demo --- */
.video-section {
    padding: var(--space-4xl) 0;
}

.video-container {
    max-width: 900px;
    margin: var(--space-2xl) auto 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    cursor: pointer;
    transition: all var(--duration-normal);
}

.video-placeholder:hover {
    background: rgba(197, 160, 89, 0.05);
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #111;
    box-shadow: 0 0 40px var(--primary-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

.video-placeholder p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* --- CTA --- */
.cta-section {
    padding: var(--space-4xl) 0;
    text-align: center;
}

.cta-box {
    padding: var(--space-3xl);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(230, 126, 34, 0.04) 100%);
    border: 1px solid var(--border-active);
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border);
}

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

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

.footer-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--duration-fast);
}

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

/* --- Responsive --- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-btn {
        display: block;
    }

    .problem-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .hero-stats {
        gap: var(--space-xl);
    }

    .hero-visual {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}