:root {
    /* Color Palette */
    --bg-color: #FAFAFC;
    /* Apple off-white */
    --surface: #FFFFFF;
    --text-primary: #111827;
    /* Near black */
    --text-secondary: #4B5563;
    /* Slate grey */
    --border-subtle: rgba(0, 0, 0, 0.05);

    /* Accents */
    --accent: #BED21B;
    /* App Primary */
    --accent-glow: rgba(190, 210, 27, 0.15);
    --gradient-start: #BED21B;
    --gradient-end: #8FA515;
    /* App Primary Dark */

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Layout */
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1 {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    color: #111827;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #111827;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.blur-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo,
.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.btn-download {
    background-color: var(--text-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

/* Ambient Orbs */
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.sphere-1 {
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent);
}

.sphere-2 {
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.store-badge img {
    height: 44px;
    width: auto;
    transition: transform 0.2s ease;
}

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

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #F59E0B;
    display: flex;
    gap: 2px;
    white-space: nowrap;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

/* Hero Visual (Floating App Window) */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.floating-app-window {
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px inset rgba(255, 255, 255, 0.5);
    transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.floating-app-window:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
    box-shadow: var(--shadow-glass);
}

.app-screen-container {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.floating-app-window:hover .app-screenshot {
    transform: scale(1.02);
}

/* Mockup UI Overlay */
.app-ui-overlay {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.scanning-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 20px 8px var(--accent-glow);
    animation: scanLine 3.5s ease-in-out infinite;
    z-index: 5;
}

@keyframes scanLine {
    0% {
        top: -20%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 120%;
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background: var(--surface);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.glass-card {
    box-shadow: var(--shadow-glass);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Showcase Section */
.showcase {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

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

.showcase-image-wrapper {
    position: relative;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
}

.showcase-image {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    color: #059669;
    /* Emerald Green */
}

.floating-badge.top-right {
    top: -20px;
    right: -20px;
}

.showcase-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

.benefit-list i {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background-color: var(--surface);
}

.cta-box {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(139, 92, 246, 0.03));
    border-radius: 32px;
    border: 1px solid var(--border-subtle);
}

.cta-box p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: #F9FAFB;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-right a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
    border-left: 1px solid var(--border-subtle);
    padding-left: 2rem;
}

.social-links a {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-container,
    .showcase-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .subtitle {
        margin: 0 auto 2.5rem;
    }

    .tagline {
        margin: 0 auto 1.5rem;
    }

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

    .iphone-mockup {
        transform: none;
    }

    .iphone-mockup:hover {
        transform: none;
    }

    .showcase-image-wrapper {
        order: -1;
    }

    .floating-badge {
        display: none;
    }

    /* Hide on mobile to save space */
    .benefit-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .social-links {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
}