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

:root {
    --primary: #F94965;
    --primary-dark: #e03a54;
    --text: #1a1a1a;
    --text-secondary: #666;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --green-accent: #4ade80;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-download {
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.nav-download:hover {
    background: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--text);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.apple-icon {
    width: 24px;
    height: 24px;
}

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

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--background-alt);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* Analysis Section */
.analysis-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.analysis-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.analysis-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.analysis-list {
    list-style: none;
}

.analysis-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.analysis-list li strong {
    font-weight: 600;
}

.analysis-list li span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Trends Section */
.trends-section {
    padding: 6rem 2rem;
    background: var(--background-alt);
}

.trends-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.trends-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.trends-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.trends-features {
    list-style: none;
}

.trends-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.trends-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--green-accent);
    border-radius: 50%;
}

/* Leaderboard Section */
.leaderboard-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.leaderboard-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.leaderboard-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.leaderboard-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.leaderboard-features {
    list-style: none;
}

.leaderboard-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.leaderboard-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

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

/* Share Section */
.share-section {
    padding: 6rem 2rem;
    background: var(--background-alt);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.share-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.share-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.share-features {
    list-style: none;
}

.share-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.share-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--green-accent);
    border-radius: 50%;
}

/* Use Cases */
.use-cases {
    padding: 6rem 2rem;
}

.use-cases-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case {
    text-align: center;
    padding: 2rem;
}

.use-case h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

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

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--background-alt);
    text-align: center;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cta-content p:last-of-type {
    margin-bottom: 2rem;
}

.cta-large {
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.footer-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
        min-height: auto;
    }

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

    .hero-image {
        order: -1;
    }

    .screenshot {
        max-width: 320px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .analysis-section,
    .trends-section,
    .leaderboard-section,
    .share-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .analysis-image,
    .trends-image,
    .leaderboard-image,
    .share-image {
        order: -1;
    }

    .analysis-list li,
    .trends-features li,
    .leaderboard-features li,
    .share-features li {
        text-align: left;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

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

    .analysis-content h2,
    .trends-content h2,
    .leaderboard-content h2,
    .share-content h2 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

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

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

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .screenshot {
        max-width: 280px;
    }

    .features,
    .analysis-section,
    .trends-section,
    .leaderboard-section,
    .share-section,
    .use-cases,
    .cta-section {
        padding: 4rem 1rem;
    }
}
