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

:root {
    --bg: #ffffff;
    --bg-subtle: #f8f9fb;
    --bg-elevated: #ffffff;
    --bg-card: #f3f4f6;
    --bg-card-hover: #ebedf0;
    --border: #e2e4e8;
    --border-light: #f0f1f3;
    --text: #1a1a2e;
    --text-secondary: #5a5a72;
    --text-muted: #9a9ab0;
    --accent: #2E86DE;
    --accent-light: #54A0FF;
    --accent-bg: rgba(46, 134, 222, 0.06);
    --accent-glow: rgba(46, 134, 222, 0.12);
    --warm: #f59e0b;
    --warm-bg: rgba(245, 158, 11, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.2s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
}

html, body {
    scroll-behavior: smooth;
    overflow-x: clip;
}

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

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

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

img {
    max-width: 100%;
    display: block;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.nav-transparent {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: transparent;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero with Parallax ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 80px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* Disable parallax on mobile (iOS doesn't support background-attachment: fixed) */
@supports (-webkit-touch-callout: none) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

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

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

.btn-appstore {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.btn-appstore:hover {
    background: #1a1a1a;
}

/* ===== Section Shared ===== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.section-center {
    text-align: center;
}

/* ===== App Showcase Section ===== */
.app-showcase {
    padding: 60px 0 100px;
}

.app-showcase-header {
    text-align: center;
    margin-bottom: 64px;
}

.app-showcase-header .app-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.app-showcase-header .app-name img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.app-showcase-header .app-name .app-icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1a2332, #2a3a4e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4fc3f7;
    box-shadow: var(--shadow-md);
}

.app-showcase-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.app-showcase-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0 auto;
    line-height: 1.7;
}

.app-badge-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.app-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.app-badge-warm {
    background: var(--warm-bg);
    color: var(--warm);
}

/* App Story */
.app-story {
    border: none;
    border-left: 3px solid var(--accent);
    text-align: left;
    margin: 32px -24px 32px -24px;
    padding: 4px 131px 4px 165px;
}

.app-story p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.app-story p:last-child {
    margin-bottom: 0;
}

.app-story strong {
    color: var(--text);
    font-weight: 600;
}

/* Phone Mockup Gallery */
.phone-gallery-wrapper {
    position: relative;
    margin-bottom: 64px;
    margin-left: -24px;
    margin-right: -24px;
}


.phone-gallery {
    display: flex;
    gap: 28px;
    padding: 20px max(16px, calc(50% - 670px));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.phone-gallery::-webkit-scrollbar {
    display: none;
}

.phone-mockup {
    flex-shrink: 0;
    width: 200px;
    scroll-snap-align: center;
    transition: transform 0.4s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px);
}

.phone-frame {
    background: #1a1a2e;
    border-radius: 28px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-screen {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.phone-label {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 0 -24px 48px -24px;
    padding: 0 max(16px, calc(50% - 670px));
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.feature-item:hover {
    background: var(--bg);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-icon-purple { background: var(--accent-bg); color: var(--accent); }
.feature-icon-amber { background: var(--warm-bg); color: var(--warm); }
.feature-icon-teal { background: rgba(20, 184, 166, 0.08); color: #14b8a6; }
.feature-icon-rose { background: rgba(244, 63, 94, 0.08); color: #f43f5e; }

.feature-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* App CTA */
.app-cta {
    text-align: center;
}

.app-cta .btn-appstore {
    font-size: 0.95rem;
    padding: 14px 28px;
}

/* ===== Coming Soon Card ===== */
.coming-soon-section {
    padding: 0 0 80px;
}

.coming-soon-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--bg-subtle);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.coming-soon-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.coming-soon-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.about-section > .container {
    max-width: none;
    padding: 0 165px;
}

.about-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.value-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.value-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.value-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 60px 0 40px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-name {
    font-weight: 600;
    font-size: 1.05rem;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h5 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 120px 0 60px;
    }

    .hero-bg {
        background-attachment: scroll;
    }

    .phone-gallery {
        gap: 16px;
        padding: 16px;
        justify-content: flex-start;
    }

    .phone-mockup {
        width: 170px;
        scroll-snap-align: start;
    }


    .app-story {
        margin: 24px 0;
        padding: 4px 16px 4px 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        margin: 0 0 48px 0;
        padding: 0;
    }

    .about-section > .container {
        padding: 0 20px;
    }

    .phone-gallery-wrapper {
        margin-left: -24px;
        margin-right: -24px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .coming-soon-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 150px;
    }

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

/* ===== Page-specific: Privacy & Support ===== */
.page-header {
    padding: 120px 0 40px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-subtle);
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.page-content {
    padding: 48px 0 80px;
    max-width: 720px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text);
}

.page-content p,
.page-content li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content a:hover {
    color: var(--accent-light);
}

/* ===== Support Page ===== */
.contact-info {
    margin-top: 48px;
    padding: 28px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.contact-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.contact-info p {
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}
