@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');


/* ==========================================================================
   DESIGN SYSTEM — ECO HOUSE V7 (Cyber-Organic Grid)
   ========================================================================== */

:root {
    /* Fonts */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Base Palette (Cybernetic Dark Green-Black) */
    --bg-primary: #020806;
    --bg-secondary: #050e0c;
    --bg-tertiary: #081411;
    --bg-card: #0b1a16;
    --bg-card-hover: #0f231e;
    
    /* Triple Palette Accents */
    --color-green: #00f076; /* Dominant Green: neon-like organic green */
    --color-amber: #ffd000; /* Comfort Yellow/Amber */
    --color-cyan: #00d2ff;  /* Tech Blue/Cyan */
    --color-pink: #ff3b9a;  /* Accent Pink */

    /* Glows and Translucency Values */
    --green-glow: rgba(0, 240, 118, 0.15);
    --green-glow-strong: rgba(0, 240, 118, 0.35);
    --cyan-glow: rgba(0, 210, 255, 0.15);
    --cyan-glow-strong: rgba(0, 210, 255, 0.35);
    --amber-glow: rgba(255, 208, 0, 0.15);
    --amber-glow-strong: rgba(255, 208, 0, 0.4);
    
    /* Thin tech lines / borders */
    --border-tech: 1px solid rgba(0, 210, 255, 0.08);
    --border-tech-hover: 1px solid rgba(0, 210, 255, 0.25);
    --border-tech-active: 1px solid rgba(0, 240, 118, 0.4);

    /* Text */
    --text-primary: #f2f7f5;
    --text-secondary: #a3b8b0;
    --text-tertiary: #687f77;
    
    /* Layout */
    --max-width: 1200px;
    --radius-sm: 4px;
    
    /* Cursor Dynamic Properties */
    --cursor-hue: 35;
    --cursor-saturation: 80%;
    --cursor-lightness: 60%;
    --cursor-color-hsl: var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%);
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

section[id]:not(#inicio) {
    scroll-margin-top: 90px;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(rgba(0, 210, 255, 0.05) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
}

body.shift-pressed,
input,
textarea,
[contenteditable="true"] {
    user-select: text;
    -webkit-user-select: text;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

img { 
    max-width: 100%; 
    display: block; 
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.15);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* ==========================================================================
   TYPOGRAPHY & GLOW EFFECTS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.text-glow {
    background: linear-gradient(135deg, var(--color-green) 0%, #adffcd 50%, var(--color-cyan) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(0, 240, 118, 0.25));
}

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

/* ==========================================================================
   BUTTONS (Premium slide-shimmer effects)
   ========================================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform-style: preserve-3d;
}

.btn-primary {
    background: var(--color-green);
    color: #020806;
    box-shadow: 1px 1px 0 #009e4d, 2px 2px 0 #009e4d, 3px 3px 0 #009e4d, 4px 4px 0 #009e4d, 5px 5px 0 #009e4d, 0 0 10px rgba(0, 240, 118, 0.2);
}

.btn-primary:hover {
    background: #1aff86;
    transform: translate(-2px, -2px);
    box-shadow: 1px 1px 0 #009e4d, 2px 2px 0 #009e4d, 3px 3px 0 #009e4d, 4px 4px 0 #009e4d, 5px 5px 0 #009e4d, 6px 6px 0 #009e4d, 7px 7px 0 #009e4d, 0 0 20px rgba(0, 240, 118, 0.45);
}

.btn-primary:active {
    transform: translate(5px, 5px);
    box-shadow: 0 0px 0 #009e4d, 0 0 5px rgba(0, 240, 118, 0.2);
}

/* Shimmer overlay (Specular Parallax) */
.btn::before,
.shimmer-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: var(--shimmer-pos, -150%);
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%), 0) 0%,
        hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%), 0.1) 50%,
        hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%), 0) 100%
    );
    transform: skewX(-25deg);
    opacity: var(--shimmer-opacity, 0.05);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-outline {
    background: rgba(0, 210, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.25), 2px 2px 0 rgba(0, 210, 255, 0.25), 3px 3px 0 rgba(0, 210, 255, 0.25), 4px 4px 0 rgba(0, 210, 255, 0.25), 5px 5px 0 rgba(0, 210, 255, 0.25), 6px 6px 0 rgba(0, 210, 255, 0.25), 7px 7px 0 rgba(0, 210, 255, 0.25), 8px 8px 0 rgba(0, 210, 255, 0.25), 9px 9px 0 rgba(0, 210, 255, 0.25), 10px 10px 0 rgba(0, 210, 255, 0.25), 11px 11px 0 rgba(0, 210, 255, 0.25), 12px 12px 0 rgba(0, 210, 255, 0.25), 13px 13px 0 rgba(0, 210, 255, 0.25), 14px 14px 0 rgba(0, 210, 255, 0.25), 15px 15px 0 rgba(0, 210, 255, 0.25), 16px 16px 0 rgba(0, 210, 255, 0.25), 17px 17px 0 rgba(0, 210, 255, 0.25), 18px 18px 0 rgba(0, 210, 255, 0.25), 19px 19px 0 rgba(0, 210, 255, 0.25), 20px 20px 0 rgba(0, 210, 255, 0.25), 0 0 8px rgba(0, 210, 255, 0.05);
}

.btn-outline:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: rgba(0, 210, 255, 0.08);
    transform: translate(-2px, -2px);
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.25), 2px 2px 0 rgba(0, 210, 255, 0.25), 3px 3px 0 rgba(0, 210, 255, 0.25), 4px 4px 0 rgba(0, 210, 255, 0.25), 5px 5px 0 rgba(0, 210, 255, 0.25), 6px 6px 0 rgba(0, 210, 255, 0.25), 7px 7px 0 rgba(0, 210, 255, 0.25), 8px 8px 0 rgba(0, 210, 255, 0.25), 9px 9px 0 rgba(0, 210, 255, 0.25), 10px 10px 0 rgba(0, 210, 255, 0.25), 11px 11px 0 rgba(0, 210, 255, 0.25), 12px 12px 0 rgba(0, 210, 255, 0.25), 13px 13px 0 rgba(0, 210, 255, 0.25), 14px 14px 0 rgba(0, 210, 255, 0.25), 15px 15px 0 rgba(0, 210, 255, 0.25), 16px 16px 0 rgba(0, 210, 255, 0.25), 17px 17px 0 rgba(0, 210, 255, 0.25), 18px 18px 0 rgba(0, 210, 255, 0.25), 19px 19px 0 rgba(0, 210, 255, 0.25), 20px 20px 0 rgba(0, 210, 255, 0.25), 21px 21px 0 rgba(0, 210, 255, 0.25), 22px 22px 0 rgba(0, 210, 255, 0.25), 0 0 15px rgba(0, 210, 255, 0.2);
}

.btn-outline:active {
    transform: translate(20px, 20px);
    box-shadow: 0 0px 0 rgba(0, 210, 255, 0.25), 0 0 4px rgba(0, 210, 255, 0.05);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.82rem;
}

.btn-primary.btn-sm {
    box-shadow: 1px 1px 0 #009e4d, 2px 2px 0 #009e4d, 3px 3px 0 #009e4d, 4px 4px 0 #009e4d, 5px 5px 0 #009e4d, 0 0 10px rgba(0, 240, 118, 0.2);
}
.btn-primary.btn-sm:hover {
    box-shadow: 1px 1px 0 #009e4d, 2px 2px 0 #009e4d, 3px 3px 0 #009e4d, 4px 4px 0 #009e4d, 5px 5px 0 #009e4d, 6px 6px 0 #009e4d, 7px 7px 0 #009e4d, 0 0 20px rgba(0, 240, 118, 0.45);
}
.btn-primary.btn-sm:active {
    transform: translate(5px, 5px);
    box-shadow: 0 0px 0 #009e4d, 0 0 5px rgba(0, 240, 118, 0.2);
}

.btn-outline.btn-sm {
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.25), 2px 2px 0 rgba(0, 210, 255, 0.25), 3px 3px 0 rgba(0, 210, 255, 0.25), 4px 4px 0 rgba(0, 210, 255, 0.25), 5px 5px 0 rgba(0, 210, 255, 0.25), 6px 6px 0 rgba(0, 210, 255, 0.25), 7px 7px 0 rgba(0, 210, 255, 0.25), 8px 8px 0 rgba(0, 210, 255, 0.25), 9px 9px 0 rgba(0, 210, 255, 0.25), 10px 10px 0 rgba(0, 210, 255, 0.25), 11px 11px 0 rgba(0, 210, 255, 0.25), 12px 12px 0 rgba(0, 210, 255, 0.25), 13px 13px 0 rgba(0, 210, 255, 0.25), 14px 14px 0 rgba(0, 210, 255, 0.25), 15px 15px 0 rgba(0, 210, 255, 0.25), 0 0 8px rgba(0, 210, 255, 0.05);
}
.btn-outline.btn-sm:hover {
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.25), 2px 2px 0 rgba(0, 210, 255, 0.25), 3px 3px 0 rgba(0, 210, 255, 0.25), 4px 4px 0 rgba(0, 210, 255, 0.25), 5px 5px 0 rgba(0, 210, 255, 0.25), 6px 6px 0 rgba(0, 210, 255, 0.25), 7px 7px 0 rgba(0, 210, 255, 0.25), 8px 8px 0 rgba(0, 210, 255, 0.25), 9px 9px 0 rgba(0, 210, 255, 0.25), 10px 10px 0 rgba(0, 210, 255, 0.25), 11px 11px 0 rgba(0, 210, 255, 0.25), 12px 12px 0 rgba(0, 210, 255, 0.25), 13px 13px 0 rgba(0, 210, 255, 0.25), 14px 14px 0 rgba(0, 210, 255, 0.25), 15px 15px 0 rgba(0, 210, 255, 0.25), 16px 16px 0 rgba(0, 210, 255, 0.25), 17px 17px 0 rgba(0, 210, 255, 0.25), 0 0 15px rgba(0, 210, 255, 0.2);
}
.btn-outline.btn-sm:active {
    transform: translate(15px, 15px);
    box-shadow: 0 0px 0 rgba(0, 210, 255, 0.25), 0 0 4px rgba(0, 210, 255, 0.05);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 210, 255, 0.03);
    background: rgba(2, 8, 6, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header.scrolled {
    background: rgba(2, 8, 6, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border-tech);
    padding: 14px 5%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100px; /* Increased by 25% (from 80px inline to 100px global) */
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

nav ul {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav a:hover, nav a.active {
    color: var(--color-green);
    text-shadow: 0 0 8px rgba(0, 240, 118, 0.3);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: var(--border-tech);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 8, 6, 0.1) 0%,
        rgba(2, 8, 6, 0.2) 40%,
        rgba(2, 8, 6, 0.35) 75%,
        rgba(2, 8, 6, 0.7) 100%
    );
    z-index: 2;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@property --reveal-radius {
    syntax: '<length>';
    inherits: true;
    initial-value: 600px;
}

/* Dynamic flashlight reveal in Hero following mouse pointer */
.hero-bg-reveal {
    position: absolute;
    inset: 0;
    z-index: 3; /* Sits above overlay (2) and below content (4) */
    pointer-events: none;
    --reveal-radius: 600px;
    opacity: 0.5; /* Reduce pointer illumination to 50% */
    
    -webkit-mask-image: radial-gradient(
        circle var(--reveal-radius) at var(--hero-mouse-x, -999px) var(--hero-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.08) 70%,
        transparent 100%
    );
    mask-image: radial-gradient(
        circle var(--reveal-radius) at var(--hero-mouse-x, -999px) var(--hero-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.08) 70%,
        transparent 100%
    );
    transition: --reveal-radius 0.25s ease-out;
}

body.mousedown .hero-bg-reveal {
    --reveal-radius: 900px;
}

.hero-bg-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* Soft transition to dark background overlay */
    filter: brightness(1.2) contrast(1.05);
}

/* Dotted grid overlay in Hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 210, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 880px;
    padding: 0 24px;
    margin-top: 10vh;
}

.hero h1 {
    font-size: clamp(2.4rem, 6.2vw, 4.4rem);
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 210, 255, 0.03);
    border: var(--border-tech);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 2px;
}

.hero-badge i {
    color: var(--color-green);
    font-size: 1.1rem;
}

/* Corner-border indicators for hero badges */
.hero-badge::before, .hero-badge::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid var(--color-green);
}

.hero-badge::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.hero-badge::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
    padding: 100px 5%;
    border-bottom: var(--border-tech);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    margin-top: 12px;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
}

/* Tech badge with corner-border indicators */
.section-label {
    position: relative;
    font-family: var(--font-heading);
    color: var(--color-green);
    background: rgba(0, 240, 118, 0.04);
    border: 1px solid rgba(0, 240, 118, 0.15);
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 2px;
}

.section-label::before, .section-label::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid var(--color-cyan);
}

.section-label::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.section-label::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* Hero container-like badge */
.hero-container-label {
    width: 360px;
    height: 36px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 24px auto !important;
}

.hero-container-label .crane-cables-svg {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 300px;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    transform-origin: 50% 100%;
}

.hero-container-label .leaf-icon-svg {
    color: var(--color-green);
    font-size: 0.9rem;
    z-index: 5;
    display: flex;
    align-items: center;
    opacity: 0;
}

.hero-container-label .container-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-green);
    opacity: 0;
    z-index: 4;
    white-space: nowrap;
}

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

/* ==========================================================================
   VIDEO SHOWCASE
   ========================================================================== */
.video-showcase {
    background-color: var(--bg-primary);
    position: relative;
    padding: 100px 24px;
    border-bottom: var(--border-tech);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    border: var(--border-tech);
    background: #000;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 240, 118, 0.15);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 240, 118, 0.25);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.video-overlay-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 8, 6, 0.4);
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.play-icon-glow {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-green);
    box-shadow: 0 0 20px rgba(0, 240, 118, 0.4);
    transition: all 0.3s ease;
    padding-left: 6px; /* Ajusta o alinhamento óptico do triângulo do play */
}

.video-overlay-play:hover .play-icon-glow {
    transform: scale(1.1);
    background: var(--color-green);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 240, 118, 0.7);
}

.video-wrapper.is-playing .video-overlay-play {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   HOW IT WORKS (TIMELINE)
   ========================================================================== */
.how-it-works {
    background-color: var(--bg-secondary);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 210, 255, 0), rgba(0, 210, 255, 0.3), rgba(0, 240, 118, 0.3), rgba(0, 240, 118, 0));
    z-index: 1;
}

.timeline-step {
    background: color-mix(in srgb, var(--bg-card) 15%, transparent);
    border: var(--border-tech);
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-step:hover {
    border-color: hsla(var(--cursor-hue, 35), 100%, 50%, 0.35);
    background: color-mix(in srgb, var(--bg-card-hover) 25%, transparent);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px hsla(var(--cursor-hue, 35), 100%, 50%, 0.08);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 2px;
    background: var(--bg-primary);
    border: 1px solid var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -54px auto 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-cyan);
    position: relative;
    z-index: 3;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Corner-border indicators for step numbers */
.step-number::before, .step-number::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid var(--color-green);
}

.step-number::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.step-number::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.timeline-step:hover .step-number {
    border-color: hsl(var(--cursor-hue, 35), 100%, 50%);
    color: hsl(var(--cursor-hue, 35), 100%, 50%);
    box-shadow: 0 0 15px hsla(var(--cursor-hue, 35), 100%, 50%, 0.4);
}

.step-icon {
    font-size: 2rem;
    color: var(--color-green);
    margin-bottom: 16px;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.timeline-step:hover .step-icon {
    transform: scale(1.1);
    color: hsl(var(--cursor-hue, 35), 100%, 55%);
}

.timeline-step h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   PHOTO SHOWCASE (CAROUSEL)
   ========================================================================== */
.photo-showcase {
    background-color: var(--bg-primary);
}

.carousel-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 calc(50% - 12px);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    transition: all 0.4s ease;
    background: transparent;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide:hover img {
    transform: scale(1.04);
}

.carousel-slide:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 24px 24px;
    background: linear-gradient(to top, rgba(2, 8, 6, 0.95) 0%, rgba(2, 8, 6, 0.5) 60%, rgba(2, 8, 6, 0) 100%);
    border-top: none;
}

.slide-caption h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.slide-caption p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 32px;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    background: var(--bg-tertiary); /* fully opaque, no transparency */
    border: var(--border-tech);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.1), 2px 2px 0 rgba(0, 210, 255, 0.1), 3px 3px 0 rgba(0, 210, 255, 0.1), 4px 4px 0 rgba(0, 210, 255, 0.1), 5px 5px 0 rgba(0, 210, 255, 0.1), 6px 6px 0 rgba(0, 210, 255, 0.1), 7px 7px 0 rgba(0, 210, 255, 0.1), 8px 8px 0 rgba(0, 210, 255, 0.1);
    transform-style: preserve-3d;
}

#carousel-prev {
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#carousel-next {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    border-left: none;
}

.carousel-btn:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: #072324; /* fully opaque hover color matching original cyan tint */
    transform: translate(-2px, -2px);
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.1), 2px 2px 0 rgba(0, 210, 255, 0.1), 3px 3px 0 rgba(0, 210, 255, 0.1), 4px 4px 0 rgba(0, 210, 255, 0.1), 5px 5px 0 rgba(0, 210, 255, 0.1), 6px 6px 0 rgba(0, 210, 255, 0.1), 7px 7px 0 rgba(0, 210, 255, 0.1), 8px 8px 0 rgba(0, 210, 255, 0.1), 9px 9px 0 rgba(0, 210, 255, 0.1), 10px 10px 0 rgba(0, 210, 255, 0.1);
}

.carousel-btn:active {
    transform: translate(8px, 8px);
    box-shadow: 0 0px 0 rgba(0, 210, 255, 0.1);
}

/* Corner ticks for carousel buttons */
.carousel-btn::before, .carousel-btn::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid var(--color-cyan);
    opacity: 0.6;
}

.carousel-btn::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.carousel-btn::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 80px 5%;
    background-color: var(--bg-secondary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: color-mix(in srgb, var(--bg-card) 15%, transparent);
    border: var(--border-tech);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* Corner-border indicators on stat items */
.stat-item::before, .stat-item::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    transition: border-color 0.3s ease;
}

.stat-item::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.stat-item::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.stat-item:hover {
    border-color: hsla(var(--cursor-hue, 35), 100%, 50%, 0.35);
    background: color-mix(in srgb, var(--bg-card-hover) 25%, transparent);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px hsla(var(--cursor-hue, 35), 100%, 50%, 0.08);
}

.stat-item:hover::before, .stat-item:hover::after {
    border-color: hsl(var(--cursor-hue, 35), 100%, 50%);
}

.stat-number {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(0, 240, 118, 0.25));
}

.stat-number-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-green);
    filter: drop-shadow(0 0 10px rgba(0, 240, 118, 0.25));
}

.stat-label {
    display: block;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   PROJECT TYPES (SOLUTIONS)
   ========================================================================== */
.project-types {
    background-color: var(--bg-primary);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.type-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Tech overlay grid on types cards */
.type-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 210, 255, 0.04) 1.2px, transparent 1.2px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 2;
}

.type-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 8, 6, 0.95) 0%, rgba(2, 8, 6, 0.45) 65%, rgba(2, 8, 6, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    z-index: 3;
    transition: background 0.5s ease;
}

.type-card:hover .type-overlay {
    background: linear-gradient(to top, rgba(2, 8, 6, 0.98) 0%, rgba(2, 8, 6, 0.6) 70%, rgba(2, 8, 6, 0) 100%);
}

.type-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(0, 240, 118, 0.05);
    border: 1px solid rgba(0, 240, 118, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-green);
    font-size: 1.5rem;
    align-self: flex-start;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 240, 118, 0.1);
}

/* Badge corners */
.type-badge::before, .type-badge::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid var(--color-cyan);
}

.type-badge::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.type-badge::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.type-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-primary);
}

.type-overlay p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 90%;
}

.type-overlay .btn {
    align-self: flex-start;
}

/* ==========================================================================
   FEATURES (DIFFERENTIALS)
   ========================================================================== */
.features {
    background-color: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/blue-corrugated-surface.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05; /* 95% transparency inside the spotlight */
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;

    /* Flashlight effect mask centering on mouse pointer coordinates */
    /* Outer region opacity = 0.05 * 0.2 = 0.01 (99% transparency) */
    -webkit-mask-image: radial-gradient(
        circle 350px at var(--features-mouse-x, -999px) var(--features-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    mask-image: radial-gradient(
        circle 350px at var(--features-mouse-x, -999px) var(--features-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

body.mousedown .features::before {
    opacity: 0.2; /* 80% transparency when clicked */
    transition: opacity 0.15s ease-out; /* Snappy response on click */
}

/* Transparent stamped logo on the features section background */
.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/media_logo_transparent.png');
    background-size: 240px 240px;
    background-position: top 60px right 30px;
    background-repeat: no-repeat;
    opacity: 0.12; /* Subtle base opacity inside the spotlight */
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;

    /* Flashlight effect mask that keeps a subtle watermark visibility outside the spotlight */
    -webkit-mask-image: radial-gradient(
        circle 350px at var(--features-mouse-x, -999px) var(--features-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
    mask-image: radial-gradient(
        circle 350px at var(--features-mouse-x, -999px) var(--features-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

body.mousedown .features::after {
    opacity: 0.35; /* Brighter when clicked */
    transition: opacity 0.15s ease-out;
}


.features > * {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    padding: 40px 32px;
    background: color-mix(in srgb, var(--bg-card) 15%, transparent);
    border: var(--border-tech);
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(hsla(var(--cursor-hue, 35), 100%, 50%, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: hsla(var(--cursor-hue, 35), 100%, 50%, 0.35);
    background: color-mix(in srgb, var(--bg-card-hover) 25%, transparent);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px hsla(var(--cursor-hue, 35), 100%, 50%, 0.08);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--color-green);
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: hsl(var(--cursor-hue, 35), 100%, 55%);
}

/* Reduce custom cursor brightness/visibility when it is behind any hovered card */
body:has(.feature-card:hover) .cursor-glow,
body:has(.timeline-step:hover) .cursor-glow,
body:has(.stat-item:hover) .cursor-glow,
body:has(.testimonial-card:hover) .cursor-glow {
    --glow-opacity: 0.1 !important;
}

body:has(.feature-card:hover) .cursor-bulb,
body:has(.timeline-step:hover) .cursor-bulb,
body:has(.stat-item:hover) .cursor-bulb,
body:has(.testimonial-card:hover) .cursor-bulb {
    opacity: 0.75 !important;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* ==========================================================================
   BUDGET SIMULATOR
   ========================================================================== */
.simulator-section {
    background-color: var(--bg-primary);
}

.simulator-card {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(8, 20, 17, 0.4);
    border: var(--border-tech);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.simulator-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 210, 255, 0), var(--color-cyan), var(--color-green), rgba(0, 240, 118, 0));
    opacity: 0.6;
}

.sim-step {
    display: none;
    margin-bottom: 40px;
    position: relative; /* Added relative positioning to anchor the absolute positioned hint */
}

.sim-step.active {
    display: block;
    animation: fadeSlideUp 0.45s ease;
}

.sim-step h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.sim-step-hint {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #adffcd 50%, var(--color-green) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite, pulse-blink 1.5s ease-in-out infinite alternate;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: absolute;
    right: 0;
    top: -18px; /* positions it one line above the h3 heading, aligned to the right */
    margin: 0;
    display: inline-block;
}

@keyframes pulse-blink {
    0% {
        opacity: 0.25;
    }
    100% {
        opacity: 1;
    }
}

.sim-step-num {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 2px;
    background: rgba(0, 240, 118, 0.1);
    border: 1px solid var(--color-green);
    color: var(--color-green);
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    margin-right: 12px;
    position: relative;
}

.sim-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

#sim-step-2 .sim-options {
    grid-template-columns: repeat(4, 1fr);
}

/* Options resemble technical panels */
.sim-option {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: var(--border-tech);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.1), 2px 2px 0 rgba(0, 210, 255, 0.1), 3px 3px 0 rgba(0, 210, 255, 0.1), 4px 4px 0 rgba(0, 210, 255, 0.1), 5px 5px 0 rgba(0, 210, 255, 0.1), 6px 6px 0 rgba(0, 210, 255, 0.1), 7px 7px 0 rgba(0, 210, 255, 0.1), 8px 8px 0 rgba(0, 210, 255, 0.1);
    transform-style: preserve-3d;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
}

.sim-option span {
    white-space: nowrap;
}

.sim-option i {
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.sim-option:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: #072324;
    box-shadow: 1px 1px 0 rgba(0, 210, 255, 0.1), 2px 2px 0 rgba(0, 210, 255, 0.1), 3px 3px 0 rgba(0, 210, 255, 0.1), 4px 4px 0 rgba(0, 210, 255, 0.1), 5px 5px 0 rgba(0, 210, 255, 0.1), 6px 6px 0 rgba(0, 210, 255, 0.1), 7px 7px 0 rgba(0, 210, 255, 0.1), 8px 8px 0 rgba(0, 210, 255, 0.1), 9px 9px 0 rgba(0, 210, 255, 0.1), 10px 10px 0 rgba(0, 210, 255, 0.1);
}

.sim-option:hover i {
    color: var(--color-cyan);
}

/* Selected option has a cyan/blue corner border */
.sim-option.selected {
    border-color: var(--color-cyan);
    background: rgba(0, 210, 255, 0.08);
    box-shadow: 1px 1px 0 var(--color-cyan), 2px 2px 0 var(--color-cyan), 3px 3px 0 var(--color-cyan), 4px 4px 0 var(--color-cyan), 5px 5px 0 var(--color-cyan), 6px 6px 0 var(--color-cyan), 7px 7px 0 var(--color-cyan), 8px 8px 0 var(--color-cyan), 9px 9px 0 var(--color-cyan), 10px 10px 0 var(--color-cyan), 0 0 15px rgba(0, 210, 255, 0.15);
    color: var(--color-cyan);
}

.sim-option:active {
    transform: translate(8px, 8px);
    box-shadow: 0 0px 0 rgba(0, 210, 255, 0.1);
}

.sim-option.selected i {
    color: var(--color-cyan);
}

.sim-option.selected::before, .sim-option.selected::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--color-cyan);
}

.sim-option.selected::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.sim-option.selected::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.sim-result {
    display: none;
    text-align: center;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 210, 255, 0.12);
    animation: fadeSlideUp 0.5s ease;
}

.sim-result.visible {
    display: block;
}

.sim-result-header {
    margin-bottom: 20px;
}

.sim-result-header i {
    font-size: 2.5rem;
    color: var(--color-green);
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s ease;
}

.sim-result-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Waiting state in green color and without any pulsating glow */
#sim-result-title.waiting {
    color: var(--color-green);
    text-shadow: none;
    animation: none;
}



@keyframes amberPulse {
    0%, 100% {
        opacity: 0.8;
        text-shadow: 0 0 6px rgba(255, 208, 0, 0.25);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 16px rgba(255, 208, 0, 0.75), 0 0 24px rgba(255, 208, 0, 0.35);
    }
}

.sim-price-range {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
}

/* Output price numbers are highlighted in Tech Blue/Cyan with drop shadow glow */
.sim-price-from, .sim-price-to {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.4));
}

.sim-price-separator {
    font-size: 1.10rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.sim-disclaimer {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

#sim-reset {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        1px 1px 0 rgba(255, 255, 255, 0.05), 
        2px 2px 0 rgba(255, 255, 255, 0.05), 
        3px 3px 0 rgba(255, 255, 255, 0.05), 
        4px 4px 0 rgba(255, 255, 255, 0.05), 
        5px 5px 0 rgba(255, 255, 255, 0.05), 
        6px 6px 0 rgba(255, 255, 255, 0.05), 
        7px 7px 0 rgba(255, 255, 255, 0.05), 
        8px 8px 0 rgba(255, 255, 255, 0.05), 
        9px 9px 0 rgba(255, 255, 255, 0.05), 
        10px 10px 0 rgba(255, 255, 255, 0.05), 
        11px 11px 0 rgba(255, 255, 255, 0.05), 
        12px 12px 0 rgba(255, 255, 255, 0.05), 
        13px 13px 0 rgba(255, 255, 255, 0.05), 
        14px 14px 0 rgba(255, 255, 255, 0.05), 
        15px 15px 0 rgba(255, 255, 255, 0.05), 
        16px 16px 0 rgba(255, 255, 255, 0.05), 
        17px 17px 0 rgba(255, 255, 255, 0.05), 
        18px 18px 0 rgba(255, 255, 255, 0.05), 
        19px 19px 0 rgba(255, 255, 255, 0.05), 
        20px 20px 0 rgba(255, 255, 255, 0.05), 
        0 0 8px rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease, transform 0.1s ease;
}

#sim-reset:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: rgba(0, 210, 255, 0.08);
    transform: translate(-2px, -2px);
    box-shadow: 
        1px 1px 0 rgba(0, 210, 255, 0.25), 
        2px 2px 0 rgba(0, 210, 255, 0.25), 
        3px 3px 0 rgba(0, 210, 255, 0.25), 
        4px 4px 0 rgba(0, 210, 255, 0.25), 
        5px 5px 0 rgba(0, 210, 255, 0.25), 
        6px 6px 0 rgba(0, 210, 255, 0.25), 
        7px 7px 0 rgba(0, 210, 255, 0.25), 
        8px 8px 0 rgba(0, 210, 255, 0.25), 
        9px 9px 0 rgba(0, 210, 255, 0.25), 
        10px 10px 0 rgba(0, 210, 255, 0.25), 
        11px 11px 0 rgba(0, 210, 255, 0.25), 
        12px 12px 0 rgba(0, 210, 255, 0.25), 
        13px 13px 0 rgba(0, 210, 255, 0.25), 
        14px 14px 0 rgba(0, 210, 255, 0.25), 
        15px 15px 0 rgba(0, 210, 255, 0.25), 
        16px 16px 0 rgba(0, 210, 255, 0.25), 
        17px 17px 0 rgba(0, 210, 255, 0.25), 
        18px 18px 0 rgba(0, 210, 255, 0.25), 
        19px 19px 0 rgba(0, 210, 255, 0.25), 
        20px 20px 0 rgba(0, 210, 255, 0.25), 
        21px 21px 0 rgba(0, 210, 255, 0.25), 
        22px 22px 0 rgba(0, 210, 255, 0.25), 
        0 0 15px rgba(0, 210, 255, 0.2);
}

#sim-reset:active {
    transform: translate(20px, 20px);
    box-shadow: 0 0px 0 rgba(0, 210, 255, 0.25), 0 0 4px rgba(0, 210, 255, 0.05);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-secondary);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 210, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 16px;
    border-radius: var(--radius-sm);
}

.faq-item.active {
    background: linear-gradient(rgba(11, 26, 22, 0.93), rgba(11, 26, 22, 0.93)), url('../assets/images/faq-pattern.jpeg');
    background-repeat: repeat;
    background-size: 600px;
    margin: 12px 0;
    border-bottom-color: transparent;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8px;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:focus {
    outline: none;
    box-shadow: none;
}

.faq-question:hover {
    color: var(--color-green);
    text-shadow: 0 0 8px rgba(0, 240, 118, 0.2);
}

.faq-chevron {
    font-size: 1.4rem;
    color: var(--text-tertiary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; /* closes in 0.3s */
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-green);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; /* opens in 0.4s */
}

.faq-answer {
    height: 0;
    overflow: hidden;
}

.faq-answer p {
    padding: 0 8px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-footer {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.faq-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
    background-color: var(--bg-primary);
    position: relative;
}

/* Spotlight properties for the background wall and the logo stamp */
.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Corrugated metal background container wall */
.testimonials::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/blue-corrugated-surface.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05; /* 95% transparency inside the spotlight */
    z-index: 0;

    /* Flashlight effect mask that keeps a subtle base texture outside the spotlight */
    -webkit-mask-image: radial-gradient(
        circle 350px at var(--testimonials-mouse-x, -999px) var(--testimonials-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    mask-image: radial-gradient(
        circle 350px at var(--testimonials-mouse-x, -999px) var(--testimonials-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* Transparent stamped logo on the container wall */
.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/media_logo_transparent.png');
    background-size: 240px 240px;
    background-position: top 60px right 30px;
    background-repeat: no-repeat;
    opacity: 0.12; /* Subtle base opacity inside the spotlight */
    z-index: 0;

    /* Flashlight effect mask that keeps a subtle watermark visibility outside the spotlight */
    -webkit-mask-image: radial-gradient(
        circle 350px at var(--testimonials-mouse-x, -999px) var(--testimonials-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
    mask-image: radial-gradient(
        circle 350px at var(--testimonials-mouse-x, -999px) var(--testimonials-mouse-y, -999px),
        black 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

body.mousedown .testimonials::before {
    opacity: 0.2; /* 80% transparency when clicked */
    transition: opacity 0.15s ease-out; /* Snappy response on click */
}

body.mousedown .testimonials::after {
    opacity: 0.35; /* Brighter when clicked */
    transition: opacity 0.15s ease-out;
}

.testimonials > * {
    position: relative;
    z-index: 2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-card {
    background: color-mix(in srgb, var(--bg-card) 15%, transparent);
    border: var(--border-tech);
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
}

.testimonial-card:hover {
    border-color: hsla(var(--cursor-hue, 35), 100%, 50%, 0.35);
    background: color-mix(in srgb, var(--bg-card-hover) 25%, transparent);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px hsla(var(--cursor-hue, 35), 100%, 50%, 0.08);
}

.testimonial-stars {
    color: var(--color-amber);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    gap: 3px;
    filter: drop-shadow(0 0 6px rgba(255, 208, 0, 0.35));
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-text::before {
    content: '“';
    position: absolute;
    top: -16px;
    left: -8px;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-green);
    opacity: 0.12;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 240, 118, 0.05);
    border: 1px solid rgba(0, 240, 118, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    font-size: 1.25rem;
    position: relative;
}

.author-avatar::before, .author-avatar::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid var(--color-cyan);
}

.author-avatar::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.author-avatar::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 240, 118, 0.04) 0%, rgba(0, 210, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
}

.cta-trust {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-trust span i {
    color: var(--color-green);
    font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-primary);
    padding: 80px 5% 40px;
    border-top: var(--border-tech);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto 48px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: var(--color-cyan);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-col p i {
    margin-right: 8px;
    color: var(--color-cyan);
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(8, 20, 17, 0.5);
    border: var(--border-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1.25rem;
    position: relative;
}

.social-links a::before, .social-links a::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid var(--color-cyan);
    opacity: 0.5;
}

.social-links a::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.social-links a::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.social-links a:hover {
    border-color: var(--color-green);
    color: var(--color-green);
    background: rgba(0, 240, 118, 0.08);
    box-shadow: 0 0 12px rgba(0, 240, 118, 0.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 210, 255, 0.06);
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.82rem;
}

/* Custom ambient cursor glow (Orange light Hue 35 following pointer) */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    margin-left: -150px;
    margin-top: -128px;
    background: radial-gradient(circle, 
        hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%), var(--glow-opacity, 0.15)) 0%, 
        hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%), calc(var(--glow-opacity, 0.15) * 0.3)) 40%, 
        hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), var(--cursor-lightness, 60%), 0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    opacity: 0;
    display: none; /* Hidden on touch devices by default */
}

/* Custom cursor pointer (mimics OS arrow/hand) */
.cursor-bulb {
    position: fixed;
    top: 0;
    left: 0;
    width: 18px;
    height: 23px;
    margin-left: -1px;  /* Align the tip with the true hotspot */
    margin-top: -1px;
    pointer-events: none;
    z-index: 10000;     /* Higher than glow */
    will-change: transform;
    opacity: 0;
    display: none;      /* Hidden on touch devices by default */
}

/* Custom cursor adjustments when hovering over the Differentials section or any card elements */
body.in-features-section .cursor-glow,
body.in-features-section .cursor-bulb,
body.in-how-it-works-section .cursor-glow,
body.in-how-it-works-section .cursor-bulb,
body.in-stats-section .cursor-glow,
body.in-stats-section .cursor-bulb,
body.in-testimonials-section .cursor-glow,
body.in-testimonials-section .cursor-bulb,
body:has(.feature-card:hover) .cursor-glow,
body:has(.feature-card:hover) .cursor-bulb,
body:has(.timeline-step:hover) .cursor-glow,
body:has(.timeline-step:hover) .cursor-bulb,
body:has(.stat-item:hover) .cursor-glow,
body:has(.stat-item:hover) .cursor-bulb,
body:has(.testimonial-card:hover) .cursor-glow,
body:has(.testimonial-card:hover) .cursor-bulb {
    z-index: 1;
}

/* Force cursor to z-index 10000 when hovering over buttons/links/dropdowns, even inside sections, to show the hand pointer in front */
body:has(a:hover) .cursor-bulb,
body:has(a:hover) .cursor-glow,
body:has(button:hover) .cursor-bulb,
body:has(button:hover) .cursor-glow,
body:has(.sim-option:hover) .cursor-bulb,
body:has(.sim-option:hover) .cursor-glow,
body:has(.carousel-btn:hover) .cursor-bulb,
body:has(.carousel-btn:hover) .cursor-glow,
body:has(.portfolio-card:hover) .cursor-bulb,
body:has(.portfolio-card:hover) .cursor-glow,
body:has(.social-icon:hover) .cursor-bulb,
body:has(.social-icon:hover) .cursor-glow,
body:has(select:hover) .cursor-bulb,
body:has(select:hover) .cursor-glow {
    z-index: 10000 !important;
}

@media (hover: hover) {
    html, body, .section-label {
        cursor: none !important;
    }
    .cursor-glow, .cursor-bulb {
        display: block;
    }
    a, button, select, .sim-option, .carousel-btn, .portfolio-card, .social-icon {
        cursor: pointer !important;
    }
    input, textarea {
        cursor: text !important;
    }
}

/* ==========================================================================
   RESPONSIVE & FLUID MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(66.666% - 16px);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 6%;
    }
    
    header {
        padding: 12px 6%;
    }
    
    header.scrolled {
        padding: 10px 6%;
    }
    
    nav ul {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 140px;
        padding-bottom: 50px;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        margin-top: 15px;
    }
    
    .hero-content .section-label {
        margin-bottom: 12px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 12px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-step {
        padding-top: 48px;
    }
    
    .step-number {
        margin-top: -68px;
    }
    
    .carousel-slide {
        flex: 0 0 85%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .type-card {
        min-height: 320px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .simulator-card {
        padding: 24px 16px;
    }
    
    .sim-step {
        margin-bottom: 24px;
    }
    
    .sim-step h3 {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }
    
    .sim-options {
        gap: 8px;
    }
    
    .sim-option {
        padding: 6px 8px;
        font-size: 0.8rem;
        gap: 4px;
        max-width: 100%;
    }
    
    .sim-option i {
        font-size: 1.1rem;
    }
    
    #sim-step-1 .sim-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #sim-step-2 .sim-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #sim-step-3 .sim-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .sim-price-from, .sim-price-to {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 5%;
    }
    
    .hero h1 {
        font-size: 1.85rem;
    }
    
    .stat-number {
        font-size: 2.4rem;
    }
    
    .stat-number-suffix {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .simulator-card {
        padding: 24px 16px;
    }
    
    .carousel-slide {
        flex: 0 0 95%;
    }
    
    .sim-price-range {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sim-price-from, .sim-price-to {
        font-size: 1.6rem;
    }
}

@property --reflection-radius {
    syntax: '<length>';
    inherits: true;
    initial-value: 120px;
}
@property --reflection-core-opacity {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.35;
}
@property --reflection-mid-opacity {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.12;
}
@property --reflection-outer-opacity {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.03;
}

/* Dynamic interactive light reflection from the pointer bulb */
.light-reflection-overlay {
    --reflection-radius: 120px;
    --reflection-core-opacity: 0.35;
    --reflection-mid-opacity: 0.12;
    --reflection-outer-opacity: 0.03;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle var(--reflection-radius) at var(--mouse-x, -999px) var(--mouse-y, -999px),
            hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), calc(var(--cursor-lightness, 60%) * 0.9), var(--reflection-core-opacity)) 0%,
            hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), calc(var(--cursor-lightness, 60%) * 0.73), var(--reflection-mid-opacity)) 35%,
            hsla(var(--cursor-hue, 35), var(--cursor-saturation, 80%), calc(var(--cursor-lightness, 60%) * 0.67), var(--reflection-outer-opacity)) 65%,
            transparent 100%
        );
    opacity: 0;
    transition: --reflection-radius 0.2s ease-out,
                --reflection-core-opacity 0.2s ease-out,
                --reflection-mid-opacity 0.2s ease-out,
                --reflection-outer-opacity 0.2s ease-out;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
}

body.mousedown .light-reflection-overlay {
    --reflection-radius: 200px;
    --reflection-core-opacity: 0.6;
    --reflection-mid-opacity: 0.25;
    --reflection-outer-opacity: 0.08;
}

/* Centralized transition override to prevent transform fighting between GSAP and CSS */
@media (hover: hover) {
    a,
    button:not(.faq-question),
    .btn,
    .sim-option,
    .carousel-btn,
    .portfolio-card,
    .social-icon {
        transition-property: background, background-color, border-color, box-shadow, color, opacity;
    }
}



