/* ==========================================================================
   67B67T — Apple-Inspired High Design System
   Minimalist, Ultra-Refined, Dark OLED & Titanium Aesthetics
   ========================================================================== */

:root {
    --bg-base: #000000;
    --bg-surface: #0a0b0e;
    --bg-card: rgba(18, 20, 26, 0.65);
    --bg-card-hover: rgba(26, 29, 38, 0.85);
    --bg-glass-nav: rgba(0, 0, 0, 0.72);
    --bg-pill: rgba(255, 255, 255, 0.08);
    --bg-pill-hover: rgba(255, 255, 255, 0.14);

    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.14);
    --border-focus: rgba(255, 255, 255, 0.35);

    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-tertiary: #6e6e73;

    --accent-blue: #2997ff;
    --accent-emerald: #30d158;
    --accent-purple: #bf5af2;
    --accent-orange: #ff9f0a;

    --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.15) inset;
    --shadow-capsule: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);

    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-standard: 0.32s;
}

/* Reset & Foundation */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    color-scheme: dark;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-apple);
    line-height: 1.5;
    letter-spacing: -0.015em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

body.loading {
    overflow: hidden;
}

/* ==========================================================================
   2-Second Cinematic Intro Curtain
   ========================================================================== */
.intro-curtain {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #030407;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.intro-curtain.intro-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    pointer-events: none;
}

.intro-ambient-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.35) 0%, rgba(191, 90, 242, 0.2) 50%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: introGlowPulse 2s ease-in-out infinite alternate;
}

.intro-shockwave {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(41, 151, 255, 0.85);
    box-shadow: 0 0 45px rgba(41, 151, 255, 0.9), inset 0 0 25px rgba(48, 209, 88, 0.6);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.6);
    z-index: 1;
}

.intro-shockwave.trigger {
    animation: shockwaveExpand 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shockwaveExpand {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(6.2); }
}

@keyframes introGlowPulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.95; }
}

.intro-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    z-index: 2;
}

.intro-badge {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 50px rgba(41, 151, 255, 0.5), inset 0 0 24px rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: badgeIntroScale 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes badgeIntroScale {
    0% { transform: scale(0.6) rotate(-12deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.intro-badge-num {
    font-family: var(--font-apple);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff 30%, #70b4ff 70%, #bf5af2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(41, 151, 255, 0.4));
}

.intro-brand {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.8rem;
}

.intro-progress-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.intro-progress-track {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.intro-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-emerald));
    border-radius: var(--radius-pill);
    box-shadow: 0 0 14px rgba(41, 151, 255, 0.9);
    transition: width 0.04s linear;
}

.intro-pct {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-blue);
    min-width: 42px;
    text-align: right;
}

.intro-status {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.intro-status.ready {
    color: var(--accent-emerald) !important;
    text-shadow: 0 0 14px rgba(48, 209, 88, 0.8);
    transform: scale(1.05);
}

/* Ambient Interactive Canvas & Studio Lights */
.ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.ambient-glow {
    position: fixed;
    width: 800px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.ambient-glow-top {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(41, 151, 255, 0.35) 0%, rgba(191, 90, 242, 0.18) 50%, transparent 80%);
    animation: ambientFloatTop 14s ease-in-out infinite alternate;
}

.ambient-glow-bottom {
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(48, 209, 88, 0.22) 0%, rgba(41, 151, 255, 0.12) 50%, transparent 70%);
    animation: ambientFloatBottom 18s ease-in-out infinite alternate;
}

@keyframes ambientFloatTop {
    0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.28; }
    50% { transform: translateX(-48%) translateY(45px) scale(1.15); opacity: 0.42; }
    100% { transform: translateX(-52%) translateY(-15px) scale(0.92); opacity: 0.25; }
}

@keyframes ambientFloatBottom {
    0% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translate(-45px, -45px) scale(1.2); opacity: 0.35; }
    100% { transform: translate(30px, 20px) scale(0.9); opacity: 0.18; }
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

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

/* Titanium Gradient Text with Prismatic Shimmer Sheen */
.titanium-text {
    background: linear-gradient(110deg, #ffffff 0%, #a1a1aa 18%, #60a5fa 35%, #ffffff 52%, #c084fc 70%, #a1a1aa 88%, #ffffff 100%);
    background-size: 240% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: titaniumShimmer 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 25px rgba(96, 165, 250, 0.25));
}

@keyframes titaniumShimmer {
    0% { background-position: 0% 50%; filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.15)); }
    100% { background-position: 100% 50%; filter: drop-shadow(0 0 35px rgba(192, 132, 252, 0.35)); }
}

/* Section Headlines (Apple Keynote Style) */
.section-headline {
    margin-bottom: 4rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
    margin-bottom: 0.85rem;
}

.headline-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.headline-desc {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   Apple Navigation Bar
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass-nav);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-hairline);
    transition: background var(--duration-standard) var(--ease-apple);
}

.scroll-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent-emerald) 100%);
    box-shadow: 0 0 10px rgba(41, 151, 255, 0.7);
    transition: width 0.08s linear;
    z-index: 1001;
    pointer-events: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

/* Brand */
.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: color var(--duration-standard) var(--ease-apple), background var(--duration-standard) var(--ease-apple);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.07);
}

/* Header Action Pill */
.btn-pill-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-hairline);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--duration-standard) var(--ease-apple);
}

.btn-pill-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-subtle);
    transform: scale(1.02);
}

.status-pip {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px rgba(48, 209, 88, 0.8);
}

.nav-ip-text {
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.badge-copy {
    font-size: 0.72rem;
    color: var(--accent-blue);
    background: rgba(41, 151, 255, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--duration-standard) var(--ease-apple), opacity var(--duration-standard) var(--ease-apple);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 7.5rem 0 5.5rem 0;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    transition: border-color var(--duration-standard) var(--ease-apple), transform var(--duration-standard) var(--ease-apple);
}

.hero-pill-badge:hover {
    border-color: rgba(41, 151, 255, 0.4);
    transform: translateY(-2px);
}

.sparkle-icon {
    color: var(--accent-blue);
    font-size: 0.8rem;
    display: inline-block;
    animation: sparkleSpin 4s ease-in-out infinite;
}

@keyframes sparkleSpin {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(41, 151, 255, 0.9)); }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    max-width: 950px;
}

.hero-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 3.5rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.br-desktop {
    display: block;
}

/* Dynamic Island / Apple Glass Capsule */
.dynamic-capsule {
    width: 100%;
    max-width: 640px;
    background: rgba(20, 22, 28, 0.75);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-capsule);
    border-radius: var(--radius-pill);
    padding: 0.75rem 0.9rem 0.75rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 4.5rem;
    animation: capsuleFloat 6s ease-in-out infinite;
    transition: border-color var(--duration-standard) var(--ease-apple), transform var(--duration-standard) var(--ease-apple), box-shadow var(--duration-standard) var(--ease-apple);
}

.dynamic-capsule:hover {
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px) scale(1.008);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8), 0 0 30px rgba(41, 151, 255, 0.15);
    animation-play-state: paused;
}

@keyframes capsuleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.capsule-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.live-pulse-container {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-pulse-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.live-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(48, 209, 88, 0.4);
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.capsule-info {
    display: flex;
    flex-direction: column;
}

.capsule-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.capsule-ip {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.capsule-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Apple Buttons with Light Sheen Sweep */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all var(--duration-standard) var(--ease-apple);
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -90%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(25deg);
    transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn:hover::after {
    left: 140%;
}

.btn-apple-primary {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
}

.btn-apple-primary:hover {
    background: #e4e4e7;
    transform: scale(1.02);
}

.btn-apple-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-hairline);
}

.btn-apple-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--border-subtle);
}

.arrow-glyph {
    transition: transform var(--duration-standard) var(--ease-apple);
}

.btn-apple-ghost:hover .arrow-glyph {
    transform: translateX(3px);
}

.btn-apple-subtle {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hairline);
}

.btn-apple-subtle:hover {
    color: var(--text-primary);
    border-color: var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
}

.btn-block {
    width: 100%;
}

.icon-svg {
    width: 16px;
    height: 16px;
}

/* Apple Ribbon Specs */
.specs-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 820px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spec-value {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

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

.spec-divider {
    width: 1px;
    height: 36px;
    background: var(--border-hairline);
}

/* ==========================================================================
   Bento Grid Section (Apple Philosophy)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: border-color var(--duration-standard) var(--ease-apple), transform var(--duration-standard) var(--ease-apple);
}

.bento-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-3px);
}

.bento-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2rem;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.bento-title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.hardware-chip {
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, rgba(10, 11, 14, 0.9) 75%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: chipPulseGlow 4s ease-in-out infinite alternate;
}

@keyframes chipPulseGlow {
    0% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(41, 151, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.15);
    }
    100% {
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(41, 151, 255, 0.4);
        border-color: rgba(41, 151, 255, 0.45);
    }
}

.chip-label {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chip-sub {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    margin-top: 0.3rem;
}

/* ==========================================================================
   Features Bento (Performance & Experience)
   ========================================================================== */
.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.apple-card {
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--duration-standard) var(--ease-apple);
}

.apple-card:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.apple-card:hover .apple-card-icon svg {
    transform: scale(1.15) rotate(4deg);
    color: var(--accent-blue);
}

.apple-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1.4rem;
    transition: all var(--duration-standard) var(--ease-apple);
}

.apple-card-icon svg {
    width: 22px;
    height: 22px;
    transition: transform var(--duration-standard) var(--ease-apple), color var(--duration-standard) var(--ease-apple);
}

.card-heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   How to Join (Apple Step Flow)
   ========================================================================== */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-bottom: 3.5rem;
}

.step-card-apple {
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    transition: all var(--duration-standard) var(--ease-apple);
}

.step-card-apple:hover {
    border-color: var(--border-subtle);
    transform: translateY(-3px);
}

.step-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-hairline);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.2rem;
}

.step-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.7rem;
}

.step-detail {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.mono-code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Apple Callout Banner */
.apple-banner {
    background: linear-gradient(135deg, rgba(20, 24, 34, 0.8) 0%, rgba(10, 11, 14, 0.9) 100%);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: 2.4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-soft);
}

.banner-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.banner-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.banner-cta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Minimal Apple Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-hairline);
    padding: 3.5rem 0 2.5rem 0;
    background: #000000;
}

.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.brand-desc {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    max-width: 400px;
}

.footer-quick-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-quick-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--duration-standard) var(--ease-apple);
}

.footer-quick-links a:hover {
    color: var(--text-primary);
}

.footer-bottom-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-text {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    max-width: 600px;
}

.legal-text strong {
    color: var(--text-secondary);
}

.footer-endpoint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

/* ==========================================================================
   Rules Modal (Apple Sheet)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease-apple), visibility 0.28s var(--ease-apple);
    padding: 1.5rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-sheet {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #14151a;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    box-shadow: var(--shadow-elevated);
    transform: scale(0.96) translateY(10px);
    transition: transform 0.28s var(--ease-apple);
    z-index: 10;
}

.modal.active .modal-sheet {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-standard) var(--ease-apple);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--text-primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rule-index {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(41, 151, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    line-height: 1;
}

.rule-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.rule-info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================================================
   Apple Dynamic Island Style HUD Toast
   ========================================================================== */
.toast-hub {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    pointer-events: none;
}

.apple-toast {
    pointer-events: auto;
    background: #111216;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #ffffff;
    animation: dynamicIslandIn 0.35s var(--ease-apple) forwards;
    transition: all 0.3s var(--ease-apple);
}

.apple-toast svg {
    width: 17px;
    height: 17px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.apple-toast.leaving {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
}

@keyframes dynamicIslandIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
    .bento-wide {
        grid-template-columns: 1fr;
    }
    
    .bento-grid, .features-bento-grid, .steps-flow {
        grid-template-columns: 1fr;
    }
    
    .apple-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }
    
    .banner-cta {
        width: 100%;
        flex-direction: column;
    }
    
    .banner-cta .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .br-desktop {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        border-bottom: 1px solid var(--border-hairline);
        padding: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration-standard) var(--ease-apple);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 1rem;
    }
    
    .dynamic-capsule {
        flex-direction: column;
        border-radius: var(--radius-xl);
        padding: 1.5rem;
        align-items: flex-start;
    }
    
    .capsule-right {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .capsule-right .btn {
        flex: 1;
    }
    
    .specs-ribbon {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .spec-divider {
        width: 100%;
        height: 1px;
    }
    
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .badge-copy {
        display: none;
    }
}

/* ==========================================================================
   Apple / Linear Cursor Spotlight System
   ========================================================================== */
.spotlight-card {
    position: relative;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        550px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(255, 255, 255, 0.07),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        360px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(41, 151, 255, 0.45),
        transparent 65%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
    opacity: 1;
}

/* Ensure card contents stay on top of spotlight pseudo-layers */
.bento-content,
.bento-visual,
.apple-card > *,
.step-card-apple > *,
.banner-text,
.banner-cta,
.spec-item,
.capsule-left,
.capsule-right {
    position: relative;
    z-index: 3;
}

/* ==========================================================================
   Apple-Style Scroll Reveal System
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(6px);
    transition: opacity 0.8s var(--ease-apple),
                transform 0.8s var(--ease-apple),
                filter 0.8s var(--ease-apple);
    will-change: opacity, transform, filter;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered Delay Chains */
.specs-ribbon.revealed .spec-item:nth-child(1) { animation: fadeUp 0.6s 0.05s var(--ease-apple) backwards; }
.specs-ribbon.revealed .spec-item:nth-child(3) { animation: fadeUp 0.6s 0.15s var(--ease-apple) backwards; }
.specs-ribbon.revealed .spec-item:nth-child(5) { animation: fadeUp 0.6s 0.25s var(--ease-apple) backwards; }
.specs-ribbon.revealed .spec-item:nth-child(7) { animation: fadeUp 0.6s 0.35s var(--ease-apple) backwards; }

.bento-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.bento-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.bento-grid .reveal:nth-child(3) { transition-delay: 0.25s; }

.features-bento-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.features-bento-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.features-bento-grid .reveal:nth-child(3) { transition-delay: 0.20s; }
.features-bento-grid .reveal:nth-child(4) { transition-delay: 0.28s; }

.steps-flow .reveal:nth-child(1) { transition-delay: 0.05s; }
.steps-flow .reveal:nth-child(2) { transition-delay: 0.16s; }
.steps-flow .reveal:nth-child(3) { transition-delay: 0.27s; }

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Tactile 3D Tilt & Interactive Mouse Hover Suite
   ========================================================================== */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(950px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
    transition: transform 0.12s ease-out, border-color var(--duration-standard) var(--ease-apple), box-shadow var(--duration-standard) var(--ease-apple);
    will-change: transform;
}

.tilt-card:hover {
    border-color: rgba(41, 151, 255, 0.38);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(41, 151, 255, 0.18);
}

/* Hover: Interactive Spec Items */
.spec-item {
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--ease-apple), background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.spec-item:hover {
    transform: translateY(-5px) scale(1.08);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.spec-item:hover .spec-value {
    color: var(--accent-blue);
    text-shadow: 0 0 16px rgba(41, 151, 255, 0.7);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover: Step Flow Cards */
.step-card-apple {
    cursor: default;
}

.step-card-apple:hover .step-pill {
    background: rgba(41, 151, 255, 0.22);
    border-color: rgba(41, 151, 255, 0.55);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(41, 151, 255, 0.45);
    transform: scale(1.06);
    transition: all 0.3s var(--ease-apple);
}

.step-card-apple:hover .mono-code {
    background: rgba(41, 151, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(41, 151, 255, 0.4);
    transition: all 0.3s ease;
}

/* Hover: Header Brand Logo */
.logo {
    cursor: pointer;
}

.logo:hover .logo-mark {
    transform: scale(1.22) rotate(15deg);
    color: var(--accent-blue);
    filter: drop-shadow(0 0 12px rgba(41, 151, 255, 0.9));
}

.logo-mark {
    transition: transform 0.4s var(--ease-apple), color 0.3s ease, filter 0.3s ease;
}

/* Hover: Bento Card Tag & Content */
.bento-card:hover .card-tag {
    color: var(--accent-emerald);
    transform: translateX(4px);
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover: Buttons Click Bounce */
.btn:active {
    transform: scale(0.95) !important;
}

/* ==========================================================================
   Liquid Interactive Cursor Aura & Specular Glare System
   ========================================================================== */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.16) 0%, rgba(191, 90, 242, 0.08) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(24px);
    transition: width 0.35s var(--ease-apple), height 0.35s var(--ease-apple), opacity 0.4s ease, background 0.35s ease;
    opacity: 0;
    will-change: transform, width, height, opacity;
}

.cursor-glow.active {
    opacity: 1;
}

.cursor-glow.hovering {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.25) 0%, rgba(48, 209, 88, 0.15) 45%, transparent 70%);
    filter: blur(32px);
}

/* Satisfying Click Sparks / Particle Layer */
.sparks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
}

/* Dynamic Glare Specular Sheen for 3D Tilt Cards */
.card-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle 500px at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.03) 35%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 4;
    mix-blend-mode: overlay;
}

.tilt-card:hover .card-glare {
    opacity: 1;
}

/* ==========================================================================
   Custom "Skin 67" Default Cursor System (Always Active)
   ========================================================================== */
html,
body,
* {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38'%3E%3Cpath d='M3 3 L3 26 L9 20 L15 32 L19 30 L13 18 L20 18 Z' fill='%2305070a' stroke='%232997ff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M5 6 L5 23 L9 19 L15 29 L17 28 L11 17 L18 17 Z' fill='%23ffffff'/%3E%3Crect x='15' y='13' width='21' height='14' rx='4' fill='%23000000' stroke='%2330d158' stroke-width='1.5'/%3E%3Ctext x='25.5' y='23.5' font-family='sans-serif' font-size='9.5' font-weight='900' fill='%23ffffff' text-anchor='middle'%3E67%3C/text%3E%3C/svg%3E") 3 3, auto !important;
}

a,
button,
[role='button'],
.btn,
.copy-ip-btn,
.tilt-card,
.logo,
.spec-item,
.hero-pill-badge {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38'%3E%3Cpath d='M3 3 L3 26 L9 20 L15 32 L19 30 L13 18 L20 18 Z' fill='%23000000' stroke='%2330d158' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M5 6 L5 23 L9 19 L15 29 L17 28 L11 17 L18 17 Z' fill='%2330d158'/%3E%3Crect x='15' y='13' width='21' height='14' rx='4' fill='%23000000' stroke='%232997ff' stroke-width='1.5'/%3E%3Ctext x='25.5' y='23.5' font-family='sans-serif' font-size='9.5' font-weight='900' fill='%2330d158' text-anchor='middle'%3E67%3C/text%3E%3C/svg%3E") 3 3, pointer !important;
}

.cursor-glow {
    background: radial-gradient(circle, rgba(48, 209, 88, 0.28) 0%, rgba(41, 151, 255, 0.16) 40%, transparent 70%);
}

/* ==========================================================================
   Accessibility: Reduced Motion Preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .intro-curtain,
    .cursor-glow,
    .sparks-canvas,
    .card-glare {
        display: none !important;
    }
    body.loading {
        overflow: auto !important;
    }
    .tilt-card {
        transform: none !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    .ambient-canvas {
        display: none !important;
    }
    .dynamic-capsule,
    .sparkle-icon,
    .titanium-text,
    .hardware-chip,
    .ambient-glow-top,
    .ambient-glow-bottom {
        animation: none !important;
    }
}
