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

body {
    font-family: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
    background-color: var(--neutral-900);
    color: var(--neutral-100);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Shared content width — see .nav-container, .section-container below */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

p {
    color: var(--neutral-400);
    font-size: 1.125rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-500);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-button);
    padding: 12px 24px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.btn-primary:hover {
    background-color: var(--brand-400);
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* App Store Badge */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--neutral-1000);
    border: 1px solid var(--neutral-600);
    border-radius: 12px;
    padding: 10px 20px 10px 16px;
    color: var(--neutral-100);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.app-store-badge:hover {
    background-color: var(--neutral-800);
    border-color: var(--neutral-500);
}

.apple-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.app-store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.app-store-badge-small {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.app-store-badge-large {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-800);
    z-index: 100;
}

.nav-container,
.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--spacing-lg);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

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

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-button);
    box-sizing: border-box;
    white-space: nowrap;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--neutral-700);
    color: var(--neutral-100);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover {
    background: var(--neutral-800);
    border-color: var(--neutral-600);
}

.nav-cta {
    padding: 0 24px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
    padding-block: 120px 96px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--neutral-800);
    background-color: var(--neutral-900);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(3rem, 9vw, 5.75rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-lg);
    max-width: 14ch;
}

.hero-title-line {
    color: var(--neutral-100);
}

.hero-title-accent {
    color: var(--brand-400);
}

.hero-sub {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--neutral-400);
    max-width: 36ch;
    margin-bottom: var(--spacing-xl);
}

.hero-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.hero-pills li {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-300);
    padding: 8px 16px;
    border: 1px solid var(--neutral-700);
    border-radius: 999px;
    background-color: rgba(39, 39, 42, 0.6);
}

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

/* App Videos — original aspect ratio (1206×2404), scaled down */
.app-video {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1206 / 2404;
    margin: 0 auto;
    display: block;
    border-radius: 32px;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img,
.footer-brand img {
    width: 36px;
    height: 36px;
}

/* Reviews Section */
.reviews {
    padding-block: 96px;
    background-color: var(--neutral-1000);
    border-top: 1px solid var(--neutral-800);
    border-bottom: 1px solid var(--neutral-800);
    text-align: center;
}

.stars {
    color: var(--warning);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    text-align: left;
}

.review-card {
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: var(--warning);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.review-card p {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.review-author {
    color: var(--neutral-500);
    font-weight: 500;
    font-size: 0.875rem;
}

/* What's New Highlight */
.highlight {
    padding-block: 96px;
    background-color: var(--brand-800);
    border-top: 1px solid var(--brand-700);
    border-bottom: 1px solid var(--brand-700);
}

.highlight-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.highlight-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-100);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: var(--spacing-md);
}

.highlight-news h2 {
    color: var(--neutral-100);
    margin-bottom: var(--spacing-sm);
}

.highlight-intro {
    color: var(--brand-100);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    font-size: 1.0625rem;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.highlight-item {
    padding: var(--spacing-lg);
    background-color: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-card);
}

.highlight-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--neutral-100);
}

.highlight-item p {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--brand-100);
    opacity: 0.9;
}

.highlight-visual {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 96px;
    overflow: hidden;
    border-radius: 32px;
    max-width: 300px;
    width: 100%;
}

.highlight .app-video,
.highlight-video {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: unset;
    display: block;
    border-radius: 32px;
}

/* Feature Rows */
.feature-row {
    padding-block: 96px;
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.feature-row.reversed .feature-container {
    direction: rtl;
}

.feature-row.reversed .feature-text,
.feature-row.reversed .feature-visual {
    direction: ltr;
}

/* Final CTA */
.final-cta {
    padding-block: 120px;
    text-align: center;
    background-color: var(--neutral-1000);
    border-top: 1px solid var(--neutral-800);
}

.final-cta p {
    margin-bottom: var(--spacing-xl);
}

/* FAQ */
.faq {
    padding-block: 96px;
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.faq-item {
    background-color: var(--neutral-800);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg);
}

.faq-item p {
    font-size: 1rem;
}

/* Footer */
footer {
    padding-block: 48px;
    border-top: 1px solid var(--neutral-800);
    background-color: var(--neutral-1000);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--neutral-400);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--neutral-100);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .feature-row.reversed .feature-container {
        direction: ltr;
    }

    .hero {
        min-height: auto;
        padding-block: 120px 72px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .highlight-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .highlight-visual {
        position: static;
    }

    h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
