:root {
    --apple-bg-primary: #fbfbfd;
    --apple-bg-secondary: #f5f5f7;
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #6e6e73;
    --apple-text-muted: #86868b;
    --apple-link: #0066cc;
    --apple-link-hover: #0051a2;
    --apple-border: #d2d2d7;
    --apple-shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --apple-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --apple-shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --apple-radius-sm: 8px;
    --apple-radius-md: 12px;
    --apple-radius-lg: 18px;
    --apple-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.apple-body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    background-color: var(--apple-bg-primary);
    color: var(--apple-text-primary);
}

.apple-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.apple-container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

.apple-headline {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
}

.apple-headline-medium {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.apple-headline-small {
    font-size: 32px;
    line-height: 1.125;
    font-weight: 600;
    letter-spacing: 0.004em;
    margin-bottom: 8px;
}

.apple-subheadline {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 400;
    letter-spacing: 0.007em;
    color: var(--apple-text-secondary);
}

.apple-body-text {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

.apple-caption {
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--apple-text-muted);
}

.apple-nav {
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid var(--apple-border);
    transition: var(--apple-transition);
}

.apple-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.apple-nav-link {
    color: var(--apple-text-primary);
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.01em;
    padding: 0 8px;
    opacity: 0.8;
    transition: var(--apple-transition);
}

.apple-nav-link:hover {
    opacity: 1;
    color: var(--apple-link);
}

.apple-button {
    display: inline-block;
    background: var(--apple-link);
    color: white;
    padding: 12px 24px;
    border-radius: var(--apple-radius-lg);
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--apple-transition);
    text-align: center;
}

.apple-button:hover {
    background: var(--apple-link-hover);
    transform: scale(1.02);
    box-shadow: var(--apple-shadow-md);
}

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

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

.apple-card {
    background: white;
    border-radius: var(--apple-radius-lg);
    padding: 40px;
    box-shadow: var(--apple-shadow-sm);
    transition: var(--apple-transition);
}

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

.apple-card-image {
    width: 100%;
    height: auto;
    border-radius: var(--apple-radius-md);
    margin-bottom: 20px;
}

.apple-card-title {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: 0.009em;
    margin-bottom: 8px;
}

.apple-card-description {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--apple-text-secondary);
    margin-bottom: 16px;
}

.apple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.apple-hero {
    background: linear-gradient(180deg, var(--apple-bg-primary) 0%, var(--apple-bg-secondary) 100%);
    padding: 80px 0;
    text-align: center;
}

.apple-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.apple-section {
    padding: 80px 0;
    background: var(--apple-bg-primary);
}

.apple-section-alt {
    background: var(--apple-bg-secondary);
}

.apple-link {
    color: var(--apple-link);
    text-decoration: none;
    transition: var(--apple-transition);
    position: relative;
}

.apple-link:hover {
    color: var(--apple-link-hover);
}

.apple-link-arrow::after {
    content: " ›";
    font-size: 1.2em;
    transition: var(--apple-transition);
}

.apple-link-arrow:hover::after {
    transform: translateX(3px);
    display: inline-block;
}

.apple-divider {
    border: none;
    border-top: 1px solid var(--apple-border);
    margin: 40px 0;
}

.apple-footer {
    background: var(--apple-bg-secondary);
    padding: 40px 0;
    font-size: 12px;
    line-height: 1.33337;
    color: var(--apple-text-muted);
}

.apple-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.apple-footer-link {
    color: var(--apple-text-secondary);
    text-decoration: none;
    transition: var(--apple-transition);
}

.apple-footer-link:hover {
    color: var(--apple-text-primary);
}

.apple-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 17px;
    line-height: 1.29412;
    font-weight: 400;
    letter-spacing: -0.022em;
    background: white;
    border: 1px solid var(--apple-border);
    border-radius: var(--apple-radius-sm);
    transition: var(--apple-transition);
    outline: none;
}

.apple-input:focus {
    border-color: var(--apple-link);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.apple-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3e%3cpath d='M1 1l6 6 6-6' stroke='%236e6e73' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px;
}

.apple-fade-in {
    animation: appleAnimationFadeIn 0.8s ease-out;
}

@keyframes appleAnimationFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apple-slide-up {
    animation: appleAnimationSlideUp 0.6s ease-out;
}

@keyframes appleAnimationSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1068px) {
    .apple-headline {
        font-size: 48px;
    }
    .apple-headline-medium {
        font-size: 32px;
    }
    .apple-subheadline {
        font-size: 24px;
    }
}

@media (max-width: 734px) {
    .apple-headline {
        font-size: 32px;
    }
    .apple-headline-medium {
        font-size: 28px;
    }
    .apple-headline-small {
        font-size: 24px;
    }
    .apple-subheadline {
        font-size: 19px;
    }
    .apple-hero {
        padding: 48px 0;
    }
    .apple-section {
        padding: 48px 0;
    }
    .apple-card {
        padding: 24px;
    }
    .apple-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.apple-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--apple-bg-secondary);
    color: var(--apple-text-secondary);
    border-radius: var(--apple-radius-sm);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.apple-badge-new {
    background: #ff6700;
    color: white;
}