:root {
    --primary: #E8A317;
    --primary-dark: #C88B12;
    --primary-light: #F5C84C;
    --bg: #FFFAF0;
    --bg-dark: #1A1A1A;
    --text: #2D2D2D;
    --text-secondary: #6B6B6B;
    --text-light: #FFFFFF;
    --surface: #FFFFFF;
    --border: #E8E8E8;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, 'SF Pro Rounded', 'SF Pro Display', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 250, 240, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 24px;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-logo {
    height: 32px;
    width: 32px;
    max-height: 32px;
    max-width: 32px;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Hero */
.hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, #FFF5E0 100%);
}

.hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo {
    height: 120px;
    width: 120px;
    max-height: 120px;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text);
}

.hero h1 .accent {
    color: var(--primary);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s;
}

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

.app-store-badge img {
    height: 54px;
}

.badge-placeholder {
    display: inline-block;
    padding: 14px 32px;
    background: var(--text);
    color: var(--text-light);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
}

/* Features */
.features {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 48px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer-logo {
    height: 28px;
    width: 28px;
    max-height: 28px;
    max-width: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 400;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

/* Legal pages */
.legal {
    padding: 120px 24px 80px;
    max-width: 760px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal .updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal p, .legal li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal li {
    margin-bottom: 6px;
}

/* Support page */
.support {
    padding: 120px 24px 80px;
    max-width: 760px;
    margin: 0 auto;
}

.support h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.support .subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

.support h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
}

.support-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}

.support-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.support-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-email {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 8px;
    transition: background 0.2s;
}

.contact-email:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

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

    .hero p {
        font-size: 17px;
    }

    .features h2 {
        font-size: 28px;
    }

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

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }
}
