/* --- Apple Design Language Variables --- */
:root {
    /* Moving away from pure black to a rich, deep "Space Gray / Midnight" gradient */
    --bg-deep-space: #1d1d21;      
    --bg-dark-slate: #151518;
    --bg-obsidian: #0e0e11;
    
    --bg-card: rgba(35, 35, 40, 0.4); /* Glassmorphism card base */
    --text-primary: #f5f5f7;       
    --text-secondary: #a1a1a6;     
    --text-muted: #5c5c62;         
    --border-hairline: rgba(255, 255, 255, 0.12);
    --apple-ease: cubic-bezier(0.25, 1, 0.5, 1);
    
    /* 3D Text Colors */
    --text-3d-face: #e0e0e5;
    --text-3d-highlight: #ffffff;
    --text-3d-shadow: #000000;
}

/* --- Base Standard Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Elegant gradient background instead of flat black */
    background: radial-gradient(circle at 50% 0%, var(--bg-deep-space) 0%, var(--bg-dark-slate) 40%, var(--bg-obsidian) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- Top Scroll Progress Indicator --- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; width: 0%; height: 2px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* --- Apple Header Nav --- */
.apple-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 52px;
    background: rgba(14, 14, 17, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-hairline);
    z-index: 900;
}

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

.brand-logo {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
}

.nav-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* --- Layout Wrapper --- */
.apple-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Section 1: Hero & Mission --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 60px; /* Offset for nav */
    position: relative;
}

.hero-container {
    max-width: 900px;
}

/* MASSIVE Brand Presence */
.hero-brand {
    font-size: clamp(4rem, 9vw, 8.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 20px 40px rgba(0,0,0,0.5); /* subtle depth */
}

/* Luxurious Serif for contrast */
.mission-quote {
    font-family: "New York", "Georgia", "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    line-height: 1.3;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    max-width: 800px;
}

.mission-paragraph {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 750px;
}

/* Scroll Arrow Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}
.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* --- Section 2: Cards Preview (Glassmorphism) --- */
.intel-preview-section {
    padding: 120px 0;
}

.section-header-block {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Apple Premium Card Grid Layout */
.apple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-card {
    position: relative;
    border-radius: 24px;
    /* Subtle outer glow/shadow for depth */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    padding: 2px; /* For the gradient border effect */
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    transition: transform 0.4s var(--apple-ease);
}

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

.card-glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 22px;
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-family: monospace;
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.6;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.premium-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: #fff;
}

.premium-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* --- Section 3: Upcoming (3D Elegant Typography) --- */
.upcoming-launch-section {
    padding: 120px 0 160px;
}

.launch-inner-panel {
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-top: 1px solid var(--border-hairline);
    padding-top: 100px;
}

.launch-tag {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.launch-title-wrapper {
    margin-bottom: 3rem;
}

.launch-headline {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ELEGANT 3D TEXT EFFECT (Beveled, Sharp, Thick) */
.monumental-date-3d {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900; /* THICK font */
    letter-spacing: -0.04em;
    line-height: 1;
    position: relative;
    display: inline-block;
    color: var(--text-3d-face);
    
    /* Elegant CSS 3D extrusion via text-shadow */
    text-shadow: 
        0px 1px 0px #b0b0b5,
        0px 2px 0px #a0a0a5,
        0px 3px 0px #909095,
        0px 4px 0px #808085,
        0px 5px 0px #707075,
        0px 6px 10px rgba(0,0,0,0.4),
        0px 15px 20px rgba(0,0,0,0.6),
        0px 25px 40px rgba(0,0,0,0.8);
        
    transition: transform 0.1s linear, text-shadow 0.1s linear;
}

.launch-desc {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* --- Pristine Footer --- */
.apple-footer {
    background: var(--bg-obsidian);
    border-top: 1px solid var(--border-hairline);
    padding: 2.5rem 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-comms a {
    color: #f5f5f7;
    text-decoration: none;
    border-bottom: 1px solid var(--text-muted);
    transition: border-color 0.2s;
    padding-bottom: 2px;
}

.footer-comms a:hover {
    border-bottom-color: #fff;
}

/* --- Ultra-clean Scroll Reveal Logic --- */
.reveal-fade {
    opacity: 0;
    transition: opacity 1.2s var(--apple-ease);
}
.reveal-fade.visible {
    opacity: 1;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--apple-ease), transform 1s var(--apple-ease);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------
   📱 Premium Mobile Responsive Reconstruction
------------------------------------------- */
@media (max-width: 900px) {
    .apple-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .nav-container, .apple-wrapper { padding: 0 20px; }
    .hero-section { padding-top: 80px; min-height: 85vh; }
    
    .scroll-indicator { left: 20px; bottom: 20px; }
    
    .card-glass-panel { padding: 2.5rem 1.5rem; }
    .launch-inner-panel { padding-top: 60px; }
    
    .monumental-date-3d {
        /* Reduce shadow size on mobile to prevent overflow/messiness */
        text-shadow: 
            0px 1px 0px #b0b0b5,
            0px 2px 0px #a0a0a5,
            0px 3px 0px #909095,
            0px 4px 5px rgba(0,0,0,0.4),
            0px 8px 10px rgba(0,0,0,0.6);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
