:root {
    /* Colors */
    --black: #000000;
    --light-gray: #f5f5f7;
    --near-black: #1d1d1f;
    --apple-blue: #0071e3;
    --link-blue-light: #0066cc;
    --link-blue-dark: #2997ff;
    --white: #ffffff;
    
    --text-primary-light: var(--near-black);
    --text-secondary-light: rgba(0, 0, 0, 0.8);
    --text-primary-dark: var(--white);
    
    /* Typography */
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--black);
    color: var(--text-primary-dark);
}

/* Navigation */
.apple-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 200px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 980px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav-content {
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.logo {
    color: var(--white);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.374px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.dark-section {
    background-color: var(--black);
    color: var(--white);
}

.light-section {
    background-color: var(--light-gray);
    color: var(--near-black);
}

/* Typography */
.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -0.28px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: 0.196px;
    margin-bottom: 40px;
    color: var(--white);
}

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.10;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: 0.231px;
    margin-bottom: 40px;
    color: var(--text-secondary-light);
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    font-family: var(--font-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--apple-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 400;
    border: 1px solid transparent;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-primary:active {
    background-color: #ededf2;
    color: var(--near-black);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
}

.btn-pill-link {
    color: var(--link-blue-dark);
    font-size: 14px;
    text-decoration: none;
    border-radius: 980px;
    padding: 8px 20px;
    border: 1px solid var(--link-blue-dark);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pill-link:hover {
    text-decoration: underline;
}

.btn-pill-link.light-bg {
    color: var(--link-blue-light);
    border-color: var(--link-blue-light);
}

.chevron {
    margin-left: 4px;
    font-size: 0.9em;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: 0.196px;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 17px;
    color: var(--text-secondary-light);
    margin-bottom: 30px;
    line-height: 1.47;
    letter-spacing: -0.374px;
}

/* Responsive adjustments */
@media (max-width: 734px) {
    .hero-title {
        font-size: 40px;
        line-height: 1.1;
    }
    .hero-subtitle {
        font-size: 21px;
    }
    .section-title {
        font-size: 32px;
    }
    section {
        min-height: 80vh;
        padding: 80px 0;
    }
    .cta-group {
        flex-direction: column;
        gap: 15px;
    }
}
