:root {
    --primary-color: #4BADFE;
    --primary-dark: #2A8FE0;
    --secondary-color: #5856D6;
    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --background-secondary: #f5f5f7;
    --border-color: #d2d2d7;
    --success-color: #34C759;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.app-store-badge img {
    height: 54px;
    transition: transform 0.2s;
}

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

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

.phone-frame {
    width: 280px;
    background: linear-gradient(145deg, #1d1d1f, #3a3a3c);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-hover);
}

.hero-screenshot {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
}

/* Screenshots Gallery */
.screenshots {
    padding: 100px 24px;
    background: var(--background);
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--background);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.theme-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.theme-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.theme-more {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 8px;
}

.theme-screenshots {
    display: none;
    gap: 32px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.theme-screenshots.active {
    display: flex;
}

.screenshot-gallery {
    display: block;
}

.theme-screenshots::-webkit-scrollbar {
    height: 8px;
}

.theme-screenshots::-webkit-scrollbar-track {
    background: var(--background-secondary);
    border-radius: 4px;
}

.theme-screenshots::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.theme-screenshots::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    text-align: center;
}

.screenshot-frame {
    width: 220px;
    background: linear-gradient(145deg, #1d1d1f, #3a3a3c);
    border-radius: 32px;
    padding: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-frame:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.screenshot-frame-dark {
    background: linear-gradient(145deg, #000000, #1a1a1a);
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

.screenshot-caption {
    margin-top: 16px;
    font-weight: 600;
    color: var(--text-color);
}

/* Features */
.features {
    padding: 100px 24px;
    background: var(--background-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

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

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

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

.feature-image {
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Highlights */
.highlights {
    padding: 80px 24px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.highlight p {
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 100px 24px;
    background: var(--background-secondary);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.faq-item {
    background: var(--background);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Support */
.support {
    padding: 100px 24px;
}

.support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.support-card {
    background: var(--background-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.support-card .button {
    min-width: 200px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Privacy */
.privacy {
    padding: 100px 24px;
    background: var(--background-secondary);
}

.privacy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.privacy-content h3 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.privacy-content h3:first-of-type {
    margin-top: 24px;
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.privacy-content ul {
    color: var(--text-secondary);
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-content li {
    margin-bottom: 8px;
}

.privacy-content a {
    color: var(--primary-color);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    color: var(--text-secondary);
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
    }

    .hero-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: -1;
    }

    .phone-frame {
        width: 220px;
    }

    .screenshots h2,
    .features h2,
    .faq h2,
    .support h2,
    .privacy h2 {
        font-size: 2rem;
    }

    .screenshot-gallery {
        gap: 20px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .screenshot-frame {
        width: 180px;
    }

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

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