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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #f5f5f7;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    background: #000;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #f5f5f7;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 400;
    color: #a1a1a6;
    max-width: 800px;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1.125rem;
    font-weight: 400;
    transition: all 0.2s;
    border: 2px solid #0071e3;
}

.cta-button:hover {
    background: #0077ed;
    border-color: #0077ed;
}

.cta-button-secondary {
    background: transparent;
    color: #0071e3;
    border: 2px solid #424245;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6e6e73;
}

.browser-support {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6e6e73;
}

.section {
    padding: 8rem 1.5rem;
    background: #000;
}

.section-dark {
    background: #161616;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-headline {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #f5f5f7;
}

.section-subheadline {
    font-size: 1.5rem;
    text-align: center;
    color: #a1a1a6;
    margin-bottom: 4rem;
    font-weight: 400;
}

.screenshot-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e6e73;
    font-size: 1.25rem;
    border: 1px solid #2d2d2f;
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 6rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: #1d1d1f;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: #0071e3;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f5f5f7;
}

.feature-description {
    font-size: 1.125rem;
    color: #a1a1a6;
    line-height: 1.5;
}

.footer {
    padding: 4rem 1.5rem;
    text-align: center;
    background: #000;
    border-top: 1px solid #2d2d2f;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    color: #6e6e73;
    font-size: 0.875rem;
}

.footer-content a {
    color: #0071e3;
    text-decoration: none;
}

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

.install-note {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #1d1d1f;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Segmented Control Switcher */
.switcher-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.switcher {
    display: inline-flex;
    background: #1d1d1f;
    border-radius: 10px;
    padding: 4px;
    position: relative;
}

.switcher-option {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 400;
    color: #a1a1a6;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.switcher-option:hover {
    color: #f5f5f7;
}

.switcher-option.active {
    color: #1d1d1f;
}

.switcher-background {
    position: absolute;
    background: #f5f5f7;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 0;
    height: calc(100% - 8px);
    top: 4px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #424245;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: #6e6e73;
}

.carousel-dot.active {
    background: #f5f5f7;
    width: 8px;
}

/* Content Styles for Privacy/404 pages */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #f5f5f7;
}

.content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #f5f5f7;
}

.content p {
    font-size: 1.125rem;
    color: #a1a1a6;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content ul {
    margin: 1rem 0 1rem 2rem;
    color: #a1a1a6;
}

.content li {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content strong {
    color: #f5f5f7;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #2d2d2f;
    margin-bottom: 1rem;
}

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

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

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

    .section-subheadline {
        font-size: 1.125rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .switcher-option {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }

    .error-code {
        font-size: 4rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}
