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

:root {
    --accent: #34C759;
    --accent-dark: #28a745;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --background: #ffffff;
    --background-secondary: #f5f5f7;
    --border: rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    font-size: 17px;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
    color: #ffffff !important;
}

.btn-large {
    padding: 18px 36px;
    font-size: 19px;
}

.apple-logo {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero-content {
    max-width: 680px;
    margin-bottom: 60px;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 22%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    margin-bottom: 8px;
}

.tagline {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.description {
    font-size: 19px;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.availability {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-image {
    max-width: 800px;
    width: 100%;
    padding: 0 24px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 21px;
    max-width: 600px;
    margin: 0 auto 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px 32px;
    text-align: left;
}

.feature {
    padding: 8px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--background-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature p {
    font-size: 15px;
    line-height: 1.5;
}

/* Download Section */
.download {
    padding: 120px 24px;
    background: var(--background-secondary);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 16px;
}

.download > .download-content > p {
    font-size: 19px;
    margin-bottom: 32px;
}

.free-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 32px 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    font-size: 13px;
}

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

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .tagline {
        font-size: 20px;
    }

    .description {
        font-size: 17px;
    }

    .features {
        padding: 80px 20px;
    }

    .features-grid {
        gap: 40px;
    }

    .download {
        padding: 80px 20px;
    }

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

/* Policy Pages */
.policy-nav {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.back-link {
    font-size: 15px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.policy-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 120px;
}

.policy-content h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.policy-content .last-updated,
.policy-content .subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.policy-content section {
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.policy-content h3 {
    font-size: 17px;
    margin: 24px 0 8px;
    color: var(--text-primary);
}

.policy-content p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.policy-content ul,
.policy-content ol {
    margin: 12px 0 12px 24px;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.policy-content a {
    color: var(--accent);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Support Page Specific */
.support-page .contact-section {
    background: var(--background-secondary);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 48px;
}

.support-page .contact-section p {
    margin-bottom: 16px;
}

.support-page .response-time {
    margin-top: 12px;
    font-size: 13px;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.faq-item p,
.faq-item ol {
    margin: 0;
}

.btn-secondary {
    background: var(--background-secondary);
    color: var(--text-primary) !important;
    margin-top: 16px;
}

.btn-secondary:hover {
    background: #e5e5e7;
    color: var(--text-primary) !important;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --background: #000000;
        --background-secondary: #1d1d1f;
        --border: rgba(255, 255, 255, 0.1);
    }

    .hero {
        background: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
    }

    .feature-icon {
        background: #2d2d2f;
    }

    .hero-image img {
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    }
}
