/* ===================================
   IsherIQ - Cinematic 3D Experience
   =================================== */

:root {
    --gold-light: #F7E397;
    --gold-medium: #E2C171;
    --gold-dark: #C9A24A;
    --dark-gray: #323333;
    --darker-gray: #1D1E1E;
    --black: #000000;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    --gradient-dark: linear-gradient(135deg, var(--darker-gray), var(--black));

    /* Enterprise tech typography */
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.0625rem;
    --text-lg: 1.125rem;
    --text-xl: 1.3125rem;
    --text-2xl: 1.625rem;
    --text-3xl: 2.125rem;
    --leading-tight: 1.15;
    --leading-snug: 1.35;
    --leading-normal: 1.55;
    --leading-relaxed: 1.65;
    --tracking-tight: -0.03em;
    --tracking-normal: -0.01em;
    --tracking-wide: 0.08em;
}

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

html {
    scroll-behavior: auto;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: var(--leading-normal);
    position: relative;
    height: 500vh; /* Creates scrollable space */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Matrix Rain Effect
   =================================== */

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
    pointer-events: none;
}

/* ===================================
   Code Background
   =================================== */

.code-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.05;
}

.code-line {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--gold-medium);
    white-space: nowrap;
    animation: floatCode 20s linear infinite;
}

.code-line:nth-child(1) {
    top: 10%;
    left: -100%;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    top: 30%;
    left: -100%;
    animation-delay: 5s;
}

.code-line:nth-child(3) {
    top: 60%;
    left: -100%;
    animation-delay: 10s;
}

.code-line:nth-child(4) {
    top: 80%;
    left: -100%;
    animation-delay: 15s;
}

@keyframes floatCode {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(100vw + 100%));
    }
}

/* ===================================
   3D Canvas Background
   =================================== */

#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
}

/* ===================================
   Main Container - Fixed Viewport
   =================================== */

#main-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* ===================================
   Scenes - Video-like Experience
   =================================== */

.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.scene.active {
    opacity: 1;
    pointer-events: auto;
}

.scene-content {
    text-align: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 5.5rem 1.5rem 5rem;
    position: relative;
    z-index: 1;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-content--scroll {
    overflow-y: auto;
    align-items: flex-start;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 74, 0.45) transparent;
}

.scene-content--scroll::-webkit-scrollbar {
    width: 5px;
}

.scene-content--scroll::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 74, 0.45);
    border-radius: 999px;
}

.scene-content--hero {
    padding-top: 6rem;
}

.scene-content--center {
    align-items: center;
}

.scene-block {
    width: 100%;
}

.scene-block--hero {
    max-width: 820px;
    margin: 0 auto;
}

.scene-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--gold-medium);
}

.scene-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scene-title--compact {
    font-size: clamp(1.75rem, 4.5vw, 2.625rem);
    margin-bottom: 0.75rem;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

/* ===================================
   Scroll Progress & Hint
   =================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transform-origin: left;
    width: 0%;
    transition: width 0.1s ease;
}

.scroll-hint {
    position: fixed;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
    pointer-events: none;
}

/* Scene dot navigation */
.scene-dots {
    position: fixed;
    bottom: 3.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 950;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(201, 162, 74, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.scene-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.scene-dot:hover,
.scene-dot:focus-visible {
    background: rgba(247, 227, 151, 0.7);
    outline: none;
    transform: scale(1.15);
}

.scene-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--gradient-primary);
}

.scroll-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--gold-medium);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(247, 227, 151, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold-medium);
}

/* Standalone pages (Privacy, etc.) — not handled by cinematic scroll */
.nav-link-page {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link-page:hover::after,
.nav-link-page:focus-visible::after {
    width: 100%;
}

.nav-link-page:hover,
.nav-link-page:focus-visible {
    color: var(--gold-medium);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold-medium);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.mobile-logo {
    margin-bottom: 3rem;
}

.mobile-logo img {
    height: 60px;
    width: auto;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.mobile-nav-list li {
    margin: 1.5rem 0;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: var(--text-2xl);
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link:hover {
    color: var(--gold-medium);
    transform: translateX(10px);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-contact a:hover {
    color: var(--gold-medium);
}

/* ===================================
   Scene 1: Intro with Glitch
   =================================== */

.glitch-text {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--gold-medium);
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { 
        text-shadow: none;
    }
    92% {
        text-shadow: 
            -2px 0 var(--gold-light),
            2px 2px var(--gold-dark);
    }
    94% {
        text-shadow: 
            2px 0 var(--gold-dark),
            -2px -2px var(--gold-light);
    }
}

.main-title {
    font-family: var(--font-display);
    font-size: clamp(2.125rem, 7.5vw, 5rem);
    font-weight: 800;
    line-height: var(--leading-tight);
    margin-bottom: 1.25rem;
    letter-spacing: var(--tracking-tight);
}

.hero-lead {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    font-family: var(--font-body);
    font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
    font-weight: 400;
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.78);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.tech-badge-alt {
    background: rgba(201, 162, 74, 0.12);
    border-color: rgba(201, 162, 74, 0.45);
}

.scene-lead {
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-family: var(--font-body);
    font-size: clamp(var(--text-base), 1.8vw, var(--text-md));
    font-weight: 400;
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.72);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.05rem;
    background: rgba(247, 227, 151, 0.05);
    border: 1px solid rgba(247, 227, 151, 0.3);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: var(--tracking-normal);
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: var(--gold-medium);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(226, 193, 113, 0.7);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(226, 193, 113, 0);
    }
}

/* ===================================
   Scene 2: Code Editor
   =================================== */

.code-editor {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.editor-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(247, 227, 151, 0.05);
    border-bottom: 1px solid rgba(247, 227, 151, 0.1);
}

.editor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.editor-dot.red { background: #ff5f56; }
.editor-dot.yellow { background: #ffbd2e; }
.editor-dot.green { background: #27c93f; }

.editor-title {
    margin-left: auto;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono);
}

.editor-body {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.code-editor--compact .editor-body {
    padding: 1rem 1.25rem;
}

.code-editor--compact {
    margin-top: 0.5rem;
}

.typing-code {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    display: block;
}

.code-keyword { color: #ff79c6; }
.code-variable { color: #8be9fd; }
.code-function { color: #50fa7b; }
.code-method { color: #f1fa8c; }
.code-string { color: #f1fa8c; }
.code-boolean { color: #bd93f9; }

/* ===================================
   Scene 3: Services Mini Grid
   =================================== */

.services-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.services-mini--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 920px;
}

.service-item {
    background: rgba(247, 227, 151, 0.03);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-mini--compact .service-item {
    padding: 1rem 0.9rem;
    border-radius: 14px;
    text-align: left;
}

.service-item:hover {
    background: rgba(247, 227, 151, 0.08);
    border-color: var(--gold-medium);
    transform: translateY(-4px);
}

.services-mini--compact .service-item:hover {
    transform: translateY(-3px);
}

.service-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.services-mini--compact .service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-item:hover .service-icon {
    transform: scale(1.08);
}

.service-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}

.services-mini--compact .service-item h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: var(--tracking-normal);
}

.service-item p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: rgba(255, 255, 255, 0.68);
}

.services-mini--compact .service-item p {
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Scene 4: Stats
   =================================== */

.stats-row {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 6vw, 4.5rem);
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===================================
   Scene 5: Mission Box
   =================================== */

.mission-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(247, 227, 151, 0.05);
    border: 2px solid rgba(247, 227, 151, 0.3);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.box-header {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 2rem;
}

.box-content {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-layout {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.about-card {
    padding: 1.25rem;
    background: rgba(18, 18, 20, 0.72);
    border: 1px solid rgba(201, 162, 74, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.about-card-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    letter-spacing: var(--tracking-normal);
}

.about-card-head {
    margin-bottom: 1rem;
}

.about-card-sub {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: var(--leading-snug);
}

.about-intro-text {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.65rem;
}

.about-intro-sub {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1rem;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-pillar-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.about-pillar strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.15rem;
}

.about-pillar span {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    color: rgba(255, 255, 255, 0.62);
}

.about-mission-quote {
    margin: 0;
    padding: 1rem 1rem 1rem 1.1rem;
    border-left: 3px solid var(--gold-medium);
    border-radius: 0 12px 12px 0;
    background: rgba(201, 162, 74, 0.08);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

.about-mission-label {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--gold-medium);
    margin-bottom: 0.4rem;
}

.reason-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.reason-card {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.reason-card:hover {
    border-color: rgba(201, 162, 74, 0.3);
    background: rgba(201, 162, 74, 0.05);
}

.reason-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.reason-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gold-light);
    background: rgba(201, 162, 74, 0.15);
    border: 1px solid rgba(201, 162, 74, 0.35);
}

.reason-card h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: #fff;
    line-height: var(--leading-snug);
    letter-spacing: var(--tracking-normal);
    margin: 0;
}

.reason-card p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
    padding-left: 2.75rem;
}

.about-card--tags .about-card-title {
    margin-bottom: 0.65rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(201, 162, 74, 0.1);
    border: 1px solid rgba(201, 162, 74, 0.22);
}

/* ===================================
   Scene 6: Contact
   =================================== */

.contact-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(247, 227, 151, 0.03);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-box:hover {
    background: rgba(247, 227, 151, 0.08);
    border-color: var(--gold-medium);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-label {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-base);
    font-weight: 500;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--black);
    border: none;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: var(--tracking-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 60px rgba(247, 227, 151, 0.4);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover .button-glow {
    width: 400px;
    height: 400px;
}

/* ===================================
   Old Hero (hidden)
   =================================== */

.hero-old {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(247, 227, 151, 0.05);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-medium);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.4s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.6s;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

.btn-primary {
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--black);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(247, 227, 151, 0.4);
}

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    padding: 1.25rem 2.5rem;
    background: transparent;
    color: var(--gold-medium);
    border: 2px solid var(--gold-medium);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gold-medium);
    color: var(--black);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-medium), transparent);
    margin: 0 auto;
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; height: 0; }
    50% { opacity: 1; height: 60px; }
    100% { opacity: 0; height: 60px; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   Animated Text Section
   =================================== */

.animated-text-section {
    padding: 10rem 0;
    background: rgba(0, 0, 0, 0.5);
}

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

.typing-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
}

.typing-text .word {
    display: inline-block;
    opacity: 0;
    margin: 0 1rem;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(247, 227, 151, 0.02);
    border: 1px solid rgba(247, 227, 151, 0.1);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    border-color: var(--gold-medium);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(247, 227, 151, 0.2);
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-medium);
    margin-bottom: 2rem;
}

.service-icon {
    margin-bottom: 2rem;
}

.icon-3d {
    font-size: 4rem;
    display: inline-block;
    transition: transform 0.5s ease;
}

.service-card:hover .icon-3d {
    transform: scale(1.1) rotateY(180deg);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold-medium);
    font-weight: 700;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold-medium);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 1.25rem;
}

.service-link .arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link .arrow {
    transform: translateX(5px);
}

/* ===================================
   Values Network Section
   =================================== */

.values-network {
    padding: 10rem 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.network-container {
    position: relative;
    min-height: 600px;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.values-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    z-index: 1;
}

.value-node {
    text-align: center;
    padding: 2.5rem;
    background: rgba(247, 227, 151, 0.02);
    border: 1px solid rgba(247, 227, 151, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.value-node:hover {
    background: rgba(247, 227, 151, 0.08);
    border-color: var(--gold-medium);
    transform: scale(1.05) translateY(-10px);
}

.value-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.value-node:hover .value-icon {
    transform: scale(1.2) rotate(10deg);
}

.value-node h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold-light);
}

/* ===================================
   About Section
   =================================== */

.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--black);
    font-weight: 700;
    flex-shrink: 0;
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gold-light);
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-vision-card {
    background: rgba(247, 227, 151, 0.03);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s ease;
}

.mission-vision-card:hover {
    background: rgba(247, 227, 151, 0.08);
    border-color: var(--gold-medium);
    transform: translateX(10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.mission-vision-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.mission-vision-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(247, 227, 151, 0.1);
    border: 1px solid rgba(247, 227, 151, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-family: var(--font-display);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-method a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.contact-method a:hover {
    color: var(--gold-light);
}

.contact-form-wrapper {
    background: rgba(247, 227, 151, 0.02);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 24px;
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(247, 227, 151, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-medium);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form button {
    width: 100%;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--black);
    border-top: 1px solid rgba(247, 227, 151, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(247, 227, 151, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Fixed legal footer (homepage) */
.site-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: rgba(29, 30, 30, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(226, 193, 113, 0.15);
    pointer-events: auto;
}

.site-footer-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.site-footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.site-footer-legal a {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-legal a:hover {
    color: var(--gold-medium);
}

.site-footer-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .site-footer-bar-inner {
        flex-direction: column;
        text-align: center;
        padding: 0.55rem 1rem;
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --text-2xl: 1.5rem;
        --text-3xl: 1.875rem;
    }

    .navbar {
        padding: 1rem 1.25rem;
    }
    
    .logo-img {
        height: 36px;
    }

    .nav-link,
    .nav-link-page {
        font-size: var(--text-sm);
    }
    
    .main-title {
        font-size: clamp(2rem, 9vw, 2.5rem);
        letter-spacing: -0.035em;
    }

    .hero-lead,
    .scene-lead {
        font-size: var(--text-base);
        margin-bottom: 1.25rem;
    }

    .scene-eyebrow {
        font-size: var(--text-xs);
        margin-bottom: 0.5rem;
    }

    .tech-badge {
        font-size: var(--text-sm);
        padding: 0.55rem 0.9rem;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .scene-content {
        padding: 4.75rem 1.125rem 4.5rem;
    }

    .scene-title {
        font-size: clamp(1.875rem, 7vw, 2.25rem);
    }

    .scene-title--compact {
        font-size: clamp(1.625rem, 6vw, 2rem);
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .services-mini--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .reason-card p {
        padding-left: 0;
        margin-top: 0.35rem;
        font-size: var(--text-base);
    }

    .about-intro-text {
        font-size: var(--text-base);
    }

    .scene-dots {
        bottom: 2.85rem;
        gap: 0.4rem;
        padding: 0.35rem 0.6rem;
    }

    .scene-dot.active {
        width: 18px;
    }
    
    .contact-grid-mini {
        grid-template-columns: 1fr;
    }
    
    .mission-box {
        padding: 2rem;
    }
    
    .code-editor {
        margin: 0 1rem 2rem;
    }
    
    .typing-code {
        font-size: var(--text-sm);
        line-height: 1.7;
    }
    
    .mobile-nav-link {
        font-size: var(--text-2xl);
    }

    .stat-label {
        font-size: var(--text-sm);
    }

    .stat-number {
        font-size: clamp(2.75rem, 12vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .scene-content {
        padding: 4.5rem 1rem 4.25rem;
    }
    
    .main-title {
        font-size: clamp(1.875rem, 10vw, 2.125rem);
    }

    .hero-lead,
    .scene-lead,
    .about-mission,
    .contact-label {
        font-size: var(--text-base);
    }

    .services-mini--compact .service-item h3 {
        font-size: var(--text-base);
    }

    .services-mini--compact .service-item p {
        font-size: var(--text-sm);
    }

    .reason-card h4 {
        font-size: var(--text-base);
    }

    .about-mission-quote {
        font-size: var(--text-base);
    }

    .about-feature strong {
        font-size: var(--text-base);
    }

    .services-mini--compact {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: clamp(2.5rem, 14vw, 3.25rem);
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 0.95rem 1.75rem;
        font-size: var(--text-base);
    }

    .site-footer-copy,
    .site-footer-legal a {
        font-size: var(--text-xs);
    }
    
    .services-mini {
        grid-template-columns: 1fr;
    }
    
    .mission-box {
        padding: 2rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene,
    .service-item,
    .about-feature,
    .scene-dot,
    .gradient-text,
    .scroll-arrow,
    .badge-pulse {
        animation: none !important;
        transition: none !important;
    }
}
