:root {
    --apple-black: #000000;
    --apple-light-gray: #f5f5f7;
    --apple-near-black: #1d1d1f;
    --apple-blue: #0071e3;
    --apple-link-light: #0066cc;
    --apple-link-dark: #2997ff;
    --nav-glass: rgba(0, 0, 0, 0.8);
    
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-text);
    background-color: var(--apple-black);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

h3.tile-headline {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: 0.196px;
}

p.body-text {
    font-family: var(--font-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.47;
    letter-spacing: -0.374px;
}

p.hero-subtitle {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: 0.231px;
    margin-bottom: 30px;
}

/* Sections */
section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
}

.section-dark {
    background-color: var(--apple-black);
    color: #ffffff;
}

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

.container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

/* Navigation */
.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background-color: var(--nav-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    max-width: 980px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-link {
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: -0.12px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 1;
}

/* Buttons and Links */
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.btn-primary {
    background-color: var(--apple-blue);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #0077ec;
}

.btn-pill {
    background-color: transparent;
    color: var(--apple-link-dark);
    padding: 8px 20px;
    border-radius: 980px;
    border: 1px solid var(--apple-link-dark);
    text-decoration: none;
    font-size: 17px;
    transition: all 0.2s;
}

.section-light .btn-pill {
    color: var(--apple-link-light);
    border-color: var(--apple-link-light);
}

.btn-pill:hover {
    background-color: rgba(41, 151, 255, 0.1);
}

.section-light .btn-pill:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

/* Images */
.product-image-container {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 12px;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-full {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.image-full img {
    max-width: 100%;
    object-fit: cover;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.section-dark .feature-card {
    background-color: #272729;
}

/* Responsive */
@media (max-width: 768px) {
    h1.hero-headline {
        font-size: 40px;
    }
    h2.section-headline {
        font-size: 28px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
