:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-tertiary: #1a1a2e;
    --color-text: #ffffff;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    --color-accent: #14b8a6;
    --color-accent-light: #2dd4bf;
    --color-border: #1f2937;
    --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 20px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    background: var(--color-bg-tertiary);
    color: white;
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-accent);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
}

.phone-mockup img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* Hero Video */
.hero-video {
    display: flex;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 60px rgba(20, 184, 166, 0.3),
        0 40px 80px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(20, 184, 166, 0.3);
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 18px;
    background: #000;
}

.video-sound-toggle {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-sound-toggle:hover {
    background: rgba(20, 184, 166, 0.6);
    transform: scale(1.1);
}

.video-sound-toggle svg {
    width: 20px;
    height: 20px;
    color: white;
}

.video-replay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.5);
}

.video-replay:hover {
    background: rgba(20, 184, 166, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 60px rgba(20, 184, 166, 0.7);
}

.video-replay svg {
    width: 36px;
    height: 36px;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 120px 24px;
    background: var(--color-bg-secondary);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* App Showcase Section */
.showcase {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #050510 50%, var(--color-bg) 100%);
    overflow: hidden;
    position: relative;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.showcase .container {
    max-width: 100%;
    padding: 0;
}

.showcase .section-title,
.showcase .section-subtitle {
    padding: 0 24px;
}

/* Infinite Scroll Carousel */
.phone-gallery-wrapper {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* Gradient masks for smooth fade edges */
.phone-gallery-wrapper::before,
.phone-gallery-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.phone-gallery-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.phone-gallery-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.phone-gallery {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scroll-carousel 30s linear infinite;
}

.phone-gallery:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.phone-item {
    flex: 0 0 auto;
    position: relative;
    transition: transform 0.4s ease;
}

.phone-item:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 10;
}

.phone-frame {
    width: 260px;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 -20px 60px rgba(20, 184, 166, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.phone-item:hover .phone-frame::before {
    transform: translateX(100%);
}

.phone-item:hover .phone-frame {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(20, 184, 166, 0.3),
        0 0 0 1px rgba(20, 184, 166, 0.3) inset;
}

.phone-frame img {
    width: 100%;
    display: block;
}

/* Reflection effect */
.phone-frame::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
    filter: blur(10px);
    pointer-events: none;
}

/* Label styling */
.phone-item::after {
    content: attr(data-label);
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.phone-item:hover::after {
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

/* Scroll indicators */
.showcase-scroll-hint {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 0 24px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

/* Download Section */
.download {
    padding: 120px 24px;
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.store-badge img {
    height: 56px;
    transition: var(--transition);
}

.store-badge:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 80px 24px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand {
    max-width: 250px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.footer-column a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 12px 0;
}

.footer-socials a {
    color: var(--color-text-muted);
    transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
    color: var(--color-primary);
    transform: scale(1.15);
}

.disclaimer {
    font-size: 12px !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .phone-gallery {
        gap: 40px;
    }

    .phone-frame {
        width: 200px;
        border-radius: 30px;
    }
}

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

    .hero-text h1 {
        font-size: 36px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-gallery {
        gap: 30px;
    }

    .phone-frame {
        width: 160px;
        border-radius: 24px;
    }

    .phone-item::after {
        font-size: 9px;
        margin-top: 12px;
        letter-spacing: 1px;
    }

    .showcase {
        padding: 60px 0;
    }

    .phone-gallery-wrapper::before,
    .phone-gallery-wrapper::after {
        width: 60px;
    }
}