:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --accent: #3b82f6;
    --bg-dark: #050d1a;
    --bg-surface: #0c1829;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text-main: #f0f4f8;
    --text-muted: #7e8da0;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

section { padding: 120px 0; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #34d399 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =================== NAVBAR =================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
    background: rgba(5, 13, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo i { color: var(--primary); font-size: 1.3rem; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-main); }
.nav-btn {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s !important;
}
.nav-btn:hover { background: var(--primary-dark) !important; transform: translateY(-2px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
    top: -10%; right: -5%;
    animation: orbFloat 15s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    bottom: 10%; left: -5%;
    animation: orbFloat 20s ease-in-out infinite reverse;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
    top: 40%; left: 30%;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 30px); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-badge i { font-size: 0.75rem; }

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #34d399);
    color: #fff;
    box-shadow: 0 8px 30px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-mockup img {
    width: 100%;
    max-width: 380px;
    border-radius: 36px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: phoneFloat 6s ease-in-out infinite;
}

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

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    background: rgba(12, 24, 41, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.hero-floating-card i {
    color: var(--primary);
    font-size: 1rem;
}

.card-left {
    left: -20px;
    bottom: 30%;
    animation: cardFloat 5s ease-in-out infinite;
}
.card-right {
    right: -10px;
    top: 25%;
    animation: cardFloat 6s ease-in-out infinite reverse;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =================== SECTIONS COMMON =================== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}
.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =================== FEATURES =================== */
.features {
    background: var(--bg-surface);
    position: relative;
}
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}
.icon-blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.icon-orange { background: rgba(249, 115, 22, 0.12); color: #fb923c; }
.icon-green { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.icon-red { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.icon-teal { background: rgba(20, 184, 166, 0.12); color: #2dd4bf; }
.icon-yellow { background: rgba(234, 179, 8, 0.12); color: #facc15; }
.icon-pink { background: rgba(236, 72, 153, 0.12); color: #f472b6; }

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =================== AR SECTION =================== */
.ar-section {
    position: relative;
    overflow: hidden;
}
.ar-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
    right: -10%;
    top: 10%;
    border-radius: 50%;
    filter: blur(80px);
}

.ar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ar-content .section-tag { margin-bottom: 1.2rem; }
.ar-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}
.ar-content > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.ar-features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}
.ar-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.ar-features-list li strong { color: var(--text-main); }
.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.7rem;
    margin-top: 2px;
}

.ar-images {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 550px;
}

.ar-phone {
    position: absolute;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ar-phone img {
    display: block;
    height: 520px;
    width: auto;
    border-radius: 30px;
}

.ar-phone-back {
    right: 5%;
    top: 0;
    transform: rotate(3deg);
    z-index: 1;
}
.ar-phone-front {
    left: 5%;
    top: 40px;
    transform: rotate(-3deg);
    z-index: 2;
}

.ar-images:hover .ar-phone-back { transform: rotate(5deg) translateX(15px); }
.ar-images:hover .ar-phone-front { transform: rotate(-5deg) translateX(-15px); }

/* =================== SCREENSHOTS =================== */
.screenshots {
    background: var(--bg-surface);
    position: relative;
}
.screenshots::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.screenshot-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 40px 0 60px;
    scrollbar-width: none;
    cursor: grab;
    scroll-snap-type: x proximity;
}
.screenshot-track::-webkit-scrollbar { display: none; }
.screenshot-track.grabbing { cursor: grabbing; }

.screenshot-track img {
    height: 560px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    scroll-snap-align: center;
    user-select: none;
    -webkit-user-drag: none;
}
.screenshot-track img:hover {
    transform: scale(1.04) translateY(-8px);
}

/* =================== CTA SECTION =================== */
.cta-section {
    padding: 80px 0 120px;
}
.cta-card {
    position: relative;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.cta-orb-1 {
    width: 300px; height: 300px;
    background: rgba(16, 185, 129, 0.15);
    top: -30%; left: -5%;
}
.cta-orb-2 {
    width: 250px; height: 250px;
    background: rgba(59, 130, 246, 0.1);
    bottom: -30%; right: -5%;
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.cta-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* =================== FOOTER =================== */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    text-align: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.2rem;
}
.footer-brand i { color: var(--primary); }

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--primary); }

.footer-content > p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ar-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .ar-images {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 13, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }

    .hero { padding-top: 80px; }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-content { order: 2; }
    .hero-image { order: 1; }
    .hero-content p { margin: 0 auto 2rem; }
    .cta-group { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-floating-card { display: none; }

    .phone-mockup img { max-width: 280px; }

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

    .ar-images {
        min-height: 450px;
    }
    .ar-phone img { height: 420px; }

    .screenshot-track img { height: 440px; }

    .cta-card { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }

    .hero-content h1 { font-size: 2.2rem; }

    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }

    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-divider { display: none; }

    .ar-phone img { height: 360px; }
    .ar-images { min-height: 380px; }

    .screenshot-track img { height: 380px; }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}
