/* ===== RESET & BASE STYLES (Apple Minimalist) ===== */
:root {
    /* Brand Colors */
    --primary-orange: #fe8e02;
    --primary-orange-hover: #e68000;

    /* Neutral Colors (Apple Style) */
    --bg-body: #ffffff;
    --bg-secondary: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border-light: #d2d2d7;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* ===== NAVIGATION BAR (Frosted Glass) ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 19px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 1;
}

.nav-logo img {
    height: 24px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

/* ===== HERO SECTION (Clean & Bold) ===== */
.hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 980px;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-logo img {
    height: 100px;
    width: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
}

.hero h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.hero-tagline {
    font-size: 28px;
    line-height: 1.10722;
    font-weight: 400;
    letter-spacing: 0.004em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 19px;
    line-height: 1.4211;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ===== DOWNLOAD BUTTONS (Pill Shape) ===== */
.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.download-btn.primary {
    background: var(--primary-orange);
    color: #fff;
}

.download-btn:hover {
    transform: scale(1.02);
    background: #e5e5e7;
}

.download-btn.primary:hover {
    background: var(--primary-orange-hover);
    box-shadow: 0 4px 12px rgba(254, 142, 2, 0.3);
}

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

/* ===== FEATURES SECTION (Bento Grid) ===== */
.features {
    padding: 100px 20px;
    background: var(--bg-secondary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 21px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

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

/* ===== SCREENSHOTS SECTION (Device Showcase) ===== */
.screenshots-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.screenshots-scroll-wrapper {
    padding: 40px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.screenshots-track {
    display: inline-flex;
    gap: 32px;
    padding: 0 50vw 0 50vw;
    /* Center start */
    margin-left: -140px;
    /* Offset to center first item */
}

.screenshot-item {
    flex: 0 0 auto;
    height: 500px;
    width: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #1d1d1f;
    /* Dark bezel */
    background: #000;
    transition: transform 0.4s ease;
}

.screenshot-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.scroll-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.scroll-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: #e5e5e7;
    transform: scale(1.1);
}

/* ===== PRIVACY & FOOTER ===== */
.privacy-section {
    padding: 100px 20px;
    background: var(--bg-secondary);
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.privacy-header h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.privacy-highlight {
    background: rgba(254, 142, 2, 0.08);
    border-left: 4px solid var(--primary-orange);
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
}

footer {
    background: var(--bg-secondary);
    padding: 60px 20px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 15px;
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .nav-links {
        display: none;
    }

    .screenshot-item {
        height: 350px;
        border-width: 4px;
    }

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