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

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #0F172A;
    --navy: #0A1628;
    --navy-light: #1E293B;
    --text: #E2E8F0;
    --text-light: #94A3B8;
    --text-dark: #1F2937;
    --background: #0F172A;
    --background-alt: #0A1628;
    --background-card: #1E293B;
    --border: rgba(255, 255, 255, 0.1);
    --green: #10B981;
    --gradient: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFFFFF;
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: var(--background-alt);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--green);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.store-badge img {
    height: 50px;
    transition: transform 0.2s;
}

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

.hero-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 580px;
    background: #000000;
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Interactive Phone */
.interactive-phone {
    position: relative;
}

.interactive-phone .phone-screen {
    display: flex;
    flex-direction: column;
}

.app-screens {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.app-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.app-tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #0A1628;
    padding: 6px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.app-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.app-tab span {
    font-size: 8px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

.app-tab svg {
    width: 18px;
    height: 18px;
}

.app-tab.active {
    color: #FFFFFF;
}

.app-tab:hover {
    color: #94A3B8;
}

.app-tab.active:hover {
    color: #FFFFFF;
}

.phone-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    opacity: 0.7;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--background);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 2rem;
    background: var(--background-alt);
}

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

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.screenshot-item {
    text-align: center;
}

.phone-frame {
    width: 220px;
    height: 440px;
    background: #000000;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 24px;
}

.screenshot-item:hover .phone-frame {
    transform: translateY(-8px);
}

.screenshot-label {
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: var(--gradient);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    background: var(--navy);
    color: white;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: #CBD5E1;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

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

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.75rem !important;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

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

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .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 {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

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

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