/* ============================================
   APPLE-INSPIRED DESIGN SYSTEM - SHIELD BOX
   ============================================ */

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

:root {
    /* Apple Color Palette */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F7;
    --color-gray-200: #E8E8ED;
    --color-gray-300: #D2D2D7;
    --color-gray-400: #86868B;
    --color-gray-500: #6E6E73;
    --color-gray-600: #424245;
    --color-gray-900: #1D1D1F;
    
    /* Accent Colors */
    --color-blue: #0071E3;
    --color-blue-hover: #0077ED;
    --color-success: #34C759;
    
    /* Text Colors */
    --color-text: #1D1D1F;
    --color-text-secondary: #6E6E73;
    --color-text-tertiary: #86868B;
    
    /* Apple Typography */
    --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Apple Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --spacing-2xl: 120px;
    
    /* Transitions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-system);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.47059;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
}

/* ============================================
   TYPOGRAPHY - APPLE STYLE
   ============================================ */

h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.0625;
    letter-spacing: -0.009em;
}

h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -0.003em;
}

.subtitle {
    font-size: clamp(19px, 2vw, 28px);
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: 0.007em;
    color: var(--color-text-secondary);
}

/* ============================================
   NAVIGATION - APPLE GLASS EFFECT
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 44px;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s var(--ease-in-out);
}

.nav-menu a:hover {
    opacity: 1;
}

.nav-menu .active {
    opacity: 1;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================
   HERO SECTION - APPLE STYLE
   ============================================ */

.hero {
    margin-top: 44px;
    min-height: 692px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-2xl) 22px;
    overflow: hidden;
}

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

.hero h1 {
    margin-bottom: 8px;
}

.hero .subtitle {
    margin-bottom: 24px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-system);
    font-size: 17px;
    padding: 12px 22px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s var(--ease-in-out);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-blue-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
}

.btn-secondary:hover {
    background: var(--color-blue);
    color: var(--color-white);
}

.hero-image {
    margin-top: 60px;
    position: relative;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================
   FEATURE SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-2xl) 22px;
    max-width: 980px;
    margin: 0 auto;
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-dark .subtitle {
    color: var(--color-gray-300);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.47059;
}

/* ============================================
   PRODUCT SHOWCASE
   ============================================ */

.product-section {
    padding: var(--spacing-2xl) 22px;
    background: var(--color-white);
    text-align: center;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--color-gray-100);
    border-radius: 18px;
    padding: 40px 20px;
    transition: transform 0.3s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.product-card .color-name {
    font-size: 17px;
    color: var(--color-text-secondary);
}

/* ============================================
   SPECIFICATIONS - APPLE STYLE
   ============================================ */

.specs-section {
    padding: var(--spacing-2xl) 22px;
    background: var(--color-gray-100);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 980px;
    margin: 60px auto 0;
}

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

.spec-value {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
}

.spec-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   CALL TO ACTION
   ============================================ */

.cta-section {
    padding: var(--spacing-2xl) 22px;
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-section .subtitle {
    color: var(--color-gray-300);
    margin-bottom: 32px;
}

.price {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 600;
    color: var(--color-white);
    margin: 32px 0;
}

/* ============================================
   FOOTER - APPLE MINIMAL
   ============================================ */

footer {
    background: var(--color-gray-100);
    padding: 60px 22px 40px;
    border-top: 1px solid var(--color-gray-200);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-text);
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: none;
    line-height: 2;
}

.footer-column a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-200);
    font-size: 12px;
    color: var(--color-text-secondary);
}

.footer-bottom a {
    color: var(--color-text-secondary);
    text-decoration: none;
    margin: 0 12px;
}

.footer-bottom a:hover {
    color: var(--color-text);
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
    .navbar {
        height: 48px;
    }
    
    .menu-toggle {
        display: block;
        padding: 8px;
    }
    
    .menu-toggle span {
        display: block;
        width: 18px;
        height: 1px;
        background: var(--color-text);
        margin: 4px 0;
        transition: 0.3s;
    }
    
    .nav-menu {
        position: fixed;
        top: 48px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        transition: left 0.3s var(--ease-out);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    h1 {
        font-size: 48px !important;
    }
    
    h2 {
        font-size: 40px !important;
    }
    
    .hero {
        margin-top: 48px;
        padding: 60px 22px;
        min-height: auto;
    }
    
    .section {
        padding: 60px 22px;
    }
    
    .feature-grid,
    .product-gallery,
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   ANIMATIONS - SMOOTH & SUBTLE
   ============================================ */

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

.fade-in {
    animation: fadeIn 0.8s var(--ease-out) forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Smooth scrolling for all elements */
* {
    scroll-behavior: smooth;
}
