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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1d1d1f;
    background: #ffffff;
    line-height: 1.6;
}

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

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

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

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1d1d1f;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6e6e73;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1d1d1f;
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #6e6e73;
    line-height: 1.7;
    max-width: 480px;
}

.app-store-badge {
    height: 48px;
    transition: transform 0.2s, opacity 0.2s;
}

.app-store-button:hover .app-store-badge {
    transform: scale(1.03);
    opacity: 0.9;
}

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

.hero-phone {
    max-height: 600px;
    border-radius: 32px;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ===== Section Shared ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6e6e73;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* ===== Features ===== */
.features {
    background: #f5f5f7;
}

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

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #6e6e73;
    line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
}

.step-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    aspect-ratio: 9 / 19.5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: #6e6e73;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== Comparison ===== */
.comparison {
    background: #f5f5f7;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.comparison-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.comparison-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Privacy Highlight ===== */
.privacy-highlight {
    padding: 80px 0;
}

.privacy-card {
    background: linear-gradient(135deg, #f8f7ff 0%, #fdf2f8 50%, #fff7ed 100%);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.privacy-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.privacy-card p {
    font-size: 1.05rem;
    color: #6e6e73;
    max-width: 640px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.text-link {
    font-weight: 600;
    color: #6366f1;
    transition: color 0.2s;
}

.text-link:hover {
    color: #4f46e5;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: #6e6e73;
    margin-bottom: 32px;
}

.app-store-badge-large {
    height: 56px;
}

/* ===== Support ===== */
.support {
    padding: 80px 0;
    text-align: center;
    background: #ffffff;
}

.support-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.support-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #f5f5f7;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: #6e6e73;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1d1d1f;
}

.footer-copy {
    font-size: 0.8rem;
    color: #aeaeb2;
}

/* ===== Support Page ===== */
.support-page {
    padding: 80px 0;
}

.support-content {
    max-width: 860px;
    margin: 0 auto;
}

.support-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.support-intro {
    font-size: 1.1rem;
    color: #6e6e73;
    margin-bottom: 48px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.support-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.support-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.support-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.support-card p {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 12px;
}

.support-card .support-button {
    display: inline-flex;
    margin-top: 8px;
}

.support-card .support-note {
    font-size: 0.85rem;
    color: #aeaeb2;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    font-size: 0.9rem;
    color: #424245;
    line-height: 1.7;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.tips-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 700;
}

.app-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.app-info-label {
    font-size: 0.85rem;
    color: #aeaeb2;
    font-weight: 500;
}

.app-info-value {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 500;
}

/* FAQ */
.support-faq {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 48px;
}

.support-faq h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-item summary {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1d1d1f;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 400;
    color: #aeaeb2;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "−";
    transform: rotate(0deg);
}

.faq-item p {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.7;
    padding: 0 0 18px 0;
}

/* ===== Privacy Page ===== */
.privacy-page {
    padding: 80px 0;
}

.privacy-content {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.privacy-date {
    font-size: 0.9rem;
    color: #aeaeb2;
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 14px;
    color: #1d1d1f;
}

.privacy-content p {
    font-size: 1rem;
    color: #424245;
    line-height: 1.75;
    margin-bottom: 16px;
}

.privacy-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-content li {
    font-size: 1rem;
    color: #424245;
    line-height: 1.75;
    margin-bottom: 6px;
}

.privacy-content strong {
    color: #1d1d1f;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
        order: 1;
    }

    .hero-screenshot {
        order: 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-phone {
        max-height: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .section-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .privacy-card {
        padding: 32px 24px;
    }

    .cta-title {
        font-size: 1.9rem;
    }

    section {
        padding: 60px 0;
    }
}
