/* ==========================================================================
   Base Variables & Monolith Amber Theme
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;600;800;900&family=JetBrains+Mono:wght@400;700&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Monolithic Dark Palette */
    --bg-carbon: #0a0a0b;
    --bg-monolith: #121214;
    --bg-elevated: #1a1a1c;

    /* Amber/Liquid Gold Accents */
    --amber-primary: #ff7300;
    --amber-light: #ffb000;
    --amber-dark: #cc3a00;
    --amber-glow: rgba(255, 115, 0, 0.2);
    --amber-gradient: linear-gradient(135deg, var(--amber-light) 0%, var(--amber-primary) 100%);

    /* Typography */
    --text-pure: #ffffff;
    --text-muted: #8a8a93;

    --border-hard: #2a2a2e;
    --border-soft: rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-display: 'Archivo', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;

    /* Fluid Spacing */
    --sp-xs: clamp(0.5rem, 1vw, 1rem);
    --sp-sm: clamp(1rem, 2.5vw, 2rem);
    --sp-md: clamp(2rem, 5vw, 4rem);
    --sp-lg: clamp(4rem, 8vw, 8rem);
    --sp-xl: clamp(6rem, 12vw, 12rem);

    /* Layout */
    --container-max: 1500px;
    --header-height: 90px;

    /* Easing */
    --ease-monolith: cubic-bezier(0.16, 1, 0.3, 1);
    --trans-fast: 0.3s var(--ease-monolith);
    --trans-slow: 0.8s var(--ease-monolith);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--amber-primary) var(--bg-carbon);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-carbon);
    color: var(--text-pure);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Granular Noise Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 9999;
    pointer-events: none;
}

::selection {
    background: var(--amber-primary);
    color: var(--text-pure);
}

/* ==========================================================================
   Typography & Universal Elements
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.tech-text {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-amber {
    color: var(--amber-primary);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-sm);
}

.section-pad {
    padding: var(--sp-xl) 0;
    border-bottom: 1px solid var(--border-hard);
}

.section-head {
    margin-bottom: var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tech);
    color: var(--amber-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sec-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--amber-primary);
}

.section-head h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

.section-head p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
}

/* Monolithic Magnetic Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--trans-slow);
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-amber {
    background: var(--amber-gradient);
    color: var(--bg-carbon);
    box-shadow: 0 10px 30px var(--amber-glow);
}

.btn-amber::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-pure);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-monolith);
}

.btn-amber:hover::after {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-pure);
    border-color: var(--border-hard);
}

.btn-outline:hover {
    border-color: var(--amber-primary);
    background: var(--amber-glow);
}

/* ==========================================================================
   Header & Footer (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: var(--trans-fast);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-hard);
    height: 80px;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-box img {
    height: 60px;
    filter: invert(1);
}

.nav-desktop {
    display: flex;
    gap: 3rem;
}

.nav-desktop a {
    color: var(--text-pure);
    text-decoration: none;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--trans-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-desktop a::before {
    content: '/>';
    position: absolute;
    left: -20px;
    color: var(--amber-primary);
    opacity: 0;
    transition: var(--trans-fast);
}

.nav-desktop a:hover::before,
.nav-desktop a.active::before {
    opacity: 1;
    left: -15px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--amber-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-pure);
    cursor: pointer;
}

.mobile-menu-toggle svg {
    width: 30px;
    height: 30px;
}

/* Full-Screen Mobile Nav */
.mobile-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-carbon);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.6s var(--ease-monolith);
}

.mobile-nav-wrapper.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-wrapper a {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--text-pure);
    text-decoration: none;
    text-transform: uppercase;
    margin: 1rem 0;
    transition: var(--trans-fast);
}

.mobile-nav-wrapper a:hover,
.mobile-nav-wrapper a.active {
    color: var(--amber-primary);
}

/* STRICTLY CONSISTENT FOOTER */
.site-footer {
    background: var(--bg-monolith);
    padding: var(--sp-xl) 0 var(--sp-md);
    border-top: 1px solid var(--border-hard);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
}

.footer-col .logo-box img {
    height: 60px;
    filter: invert(1);
    margin-bottom: var(--sp-sm);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 85%;
}

.footer-col h4 {
    font-size: 1.5rem;
    color: var(--text-pure);
    margin-bottom: var(--sp-sm);
}

/* Specific Prompt Requirement: Contact Heading = DomainName */
.footer-col.contact-col h4 {
    color: var(--amber-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--trans-fast);
}

.footer-links a:hover {
    color: var(--amber-primary);
}

.contact-info li {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: var(--font-tech);
    font-size: 0.85rem;
}

.contact-info svg {
    color: var(--amber-primary);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: var(--sp-md);
    border-top: 1px solid var(--border-hard);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--trans-fast);
}

.legal-links a:hover {
    color: var(--text-pure);
}

/* ==========================================================================
   Section 1: Hero (Index)
   ========================================================================== */
.hero-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    border-bottom: 1px solid var(--border-hard);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(4rem, 8vw, 7.5rem);
    text-transform: uppercase;
    margin-bottom: var(--sp-sm);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: var(--sp-md);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CSS-Rendered 3D Monolith Block */
.hero-visual {
    position: relative;
    height: clamp(300px, 40vw, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.monolith {
    width: clamp(150px, 20vw, 250px);
    height: clamp(250px, 35vw, 400px);
    position: relative;
    transform-style: preserve-3d;
    animation: monolithSpin 15s linear infinite;
}

.monolith-face {
    position: absolute;
    border: 1px solid var(--amber-primary);
    background: rgba(18, 18, 20, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 30px rgba(255, 115, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Front & Back */
.monolith-face:nth-child(1) {
    width: 100%;
    height: 100%;
    transform: translateZ(50px);
}

.monolith-face:nth-child(2) {
    width: 100%;
    height: 100%;
    transform: rotateY(180deg) translateZ(50px);
}

/* Left & Right */
.monolith-face:nth-child(3) {
    width: 100px;
    height: 100%;
    transform: rotateY(-90deg) translateZ(50px);
    left: -50px;
    background: var(--amber-gradient);
    border: none;
}

.monolith-face:nth-child(4) {
    width: 100px;
    height: 100%;
    transform: rotateY(90deg) translateZ(calc(100% - 50px));
    right: -50px;
}

/* Top & Bottom */
.monolith-face:nth-child(5) {
    width: 100%;
    height: 100px;
    transform: rotateX(90deg) translateZ(50px);
    top: -50px;
}

.monolith-face:nth-child(6) {
    width: 100%;
    height: 100px;
    transform: rotateX(-90deg) translateZ(calc(100% - 50px));
    bottom: -50px;
}

/* ==========================================================================
   Section 2: Kinetic Marquee
   ========================================================================== */
.marquee-sec {
    background: var(--amber-primary);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-track {
    display: inline-block;
    animation: scrollMarquee 20s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--bg-carbon);
    text-transform: uppercase;
    margin: 0 2rem;
}

/* ==========================================================================
   Section 3: Metric Dashboard
   ========================================================================== */
.stats-sec {
    border-bottom: 1px solid var(--border-hard);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-box {
    padding: var(--sp-md);
    border-right: 1px solid var(--border-hard);
    background: var(--bg-monolith);
    transition: var(--trans-fast);
}

.stat-box:last-child {
    border-right: none;
}

.stat-box:hover {
    background: var(--bg-elevated);
}

.stat-box h3 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--text-pure);
    margin-bottom: 0.5rem;
    font-family: var(--font-tech);
}

.stat-box p {
    color: var(--amber-primary);
    font-family: var(--font-tech);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Section 4: Technical Services (Bento Grid)
   ========================================================================== */
.services-sec {
    background: var(--bg-carbon);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-sm);
}

.bento-card {
    background: var(--bg-monolith);
    border: 1px solid var(--border-hard);
    padding: var(--sp-md);
    position: relative;
    overflow: hidden;
    transition: var(--trans-slow);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--amber-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-monolith);
}

.bento-card:hover::before {
    transform: scaleX(1);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--amber-primary);
    box-shadow: 0 10px 30px var(--amber-glow);
}

.bento-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-hard);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-primary);
    margin-bottom: var(--sp-sm);
    background: var(--bg-elevated);
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Section 5: Interactive ROI Engine
   ========================================================================== */
.calc-sec {
    border-bottom: 1px solid var(--border-hard);
    background: var(--bg-monolith);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-hard);
    background: var(--bg-carbon);
}

.calc-controls {
    padding: var(--sp-md);
    border-right: 1px solid var(--border-hard);
}

.ctrl-block {
    margin-bottom: var(--sp-md);
}

.ctrl-block label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 2px;
    background: var(--border-hard);
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 32px;
    background: var(--amber-primary);
    cursor: pointer;
    border-radius: 0;
}

.calc-select {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg-monolith);
    border: 1px solid var(--border-hard);
    color: var(--text-pure);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    outline: none;
    border-radius: 0;
    appearance: none;
}

.calc-select:focus {
    border-color: var(--amber-primary);
}

.calc-outputs {
    padding: var(--sp-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at bottom right, rgba(255, 115, 0, 0.1), transparent 60%);
}

.out-block {
    margin-bottom: var(--sp-sm);
}

.out-block h4 {
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.out-block .val {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--amber-light);
    line-height: 1;
}

/* ==========================================================================
   Section 6: Analytics Telemetry
   ========================================================================== */
.dash-sec {
    background: var(--bg-carbon);
}

.dash-ui {
    background: var(--bg-monolith);
    border: 1px solid var(--border-hard);
    padding: var(--sp-md);
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-hard);
    padding-bottom: var(--sp-sm);
    margin-bottom: var(--sp-sm);
    flex-wrap: wrap;
    gap: 1rem;
}

.dash-head h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.sys-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--amber-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-primary);
    box-shadow: 0 0 10px var(--amber-primary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-sm);
}

.metric-panel {
    background: var(--bg-carbon);
    border: 1px solid var(--border-hard);
    padding: var(--sp-sm);
}

.metric-panel p {
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.metric-panel h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.metric-track {
    height: 4px;
    background: var(--border-hard);
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--amber-gradient);
    width: 0;
    transition: width 2s var(--ease-monolith);
}

/* ==========================================================================
   Section 7: Industries Accordion Grid
   ========================================================================== */
.ind-grid {
    border-top: 1px solid var(--border-hard);
}

.ind-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--border-hard);
    cursor: pointer;
    transition: var(--trans-fast);
}

.ind-row:hover {
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--bg-monolith);
    border-color: var(--amber-primary);
}

.ind-row h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-muted);
    transition: var(--trans-fast);
}

.ind-row:hover h3 {
    color: var(--text-pure);
}

.ind-row p {
    max-width: 500px;
    color: var(--text-muted);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--trans-fast);
}

.ind-row:hover p {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Section 8: Testimonials
   ========================================================================== */
.testi-sec {
    background: var(--bg-monolith);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-sm);
}

.testi-card {
    background: var(--bg-carbon);
    border: 1px solid var(--border-hard);
    padding: var(--sp-md);
    position: relative;
}

.testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--amber-primary);
}

.testi-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-hard);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--border-hard);
    border-radius: 4px;
}

.author-details h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-details span {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--amber-primary);
}

/* ==========================================================================
   Section 9: CTA
   ========================================================================== */
.cta-sec {
    text-align: center;
    padding: var(--sp-xl) 0;
    border-bottom: 1px solid var(--border-hard);
    background: radial-gradient(circle at top, var(--amber-glow) 0%, transparent 60%);
}

.cta-sec h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: var(--sp-sm);
}

/* ==========================================================================
   Live Chat System
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--amber-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-carbon);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: calc(100vw - 40px);
    max-width: 350px;
    background: var(--bg-monolith);
    border: 1px solid var(--border-hard);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--trans-fast);
}

.chat-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-head {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-hard);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-head h4 {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-pure);
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    height: 300px;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    background: var(--bg-carbon);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    max-width: 85%;
    border-left: 2px solid var(--amber-primary);
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-hard);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex-grow: 1;
    background: var(--bg-carbon);
    border: 1px solid var(--border-hard);
    color: #fff;
    padding: 0.8rem;
    border-radius: 4px;
    outline: none;
    font-family: var(--font-tech);
    font-size: 0.85rem;
}

.chat-input button {
    background: var(--amber-primary);
    border: none;
    color: var(--bg-carbon);
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

/* ==========================================================================
   Internal Pages (Legal & Contact)
   ========================================================================== */
.page-hero {
    padding: var(--sp-xl) 0 var(--sp-md);
    background: var(--bg-monolith);
    border-bottom: 1px solid var(--border-hard);
}

.page-hero h1 {
    font-size: clamp(3.5rem, 6vw, 6rem);
    margin-bottom: 1rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--sp-lg) 0;
}

.legal-content h2 {
    color: var(--amber-primary);
    font-size: 2rem;
    margin: var(--sp-md) 0 var(--sp-sm);
}

.legal-content p,
.legal-content ul {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 2rem;
}

/* Contact Form Grid */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    padding: var(--sp-lg) 0;
}

.form-box {
    background: var(--bg-monolith);
    border: 1px solid var(--border-hard);
    padding: var(--sp-md);
}

.form-grp {
    margin-bottom: var(--sp-sm);
}

.form-grp label {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-carbon);
    border: 1px solid var(--border-hard);
    color: var(--text-pure);
    font-family: var(--font-body);
    outline: none;
    transition: var(--trans-fast);
}

.form-input:focus {
    border-color: var(--amber-primary);
}

textarea.form-input {
    height: 160px;
    resize: none;
}

.contact-info h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: var(--sp-sm);
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--sp-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-monolith);
    border: 1px solid var(--border-hard);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-primary);
    flex-shrink: 0;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
@keyframes monolithSpin {
    100% {
        transform: rotateX(60deg) rotateZ(405deg);
    }
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-monolith);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Mobile Responsiveness (Flawless Scaling)
   ========================================================================== */
@media (max-width: 1024px) {

    .hero-grid,
    .calc-container,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid,
    .dash-grid,
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calc-controls {
        border-right: none;
        border-bottom: 1px solid var(--border-hard);
    }
}

@media (max-width: 768px) {

    /* Mobile Menu Override */
    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Grid Collapses */
    .stats-grid,
    .bento-grid,
    .dash-grid,
    .testi-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-hard);
    }

    /* Hover/Interactions for Touch */
    .btn {
        width: 100%;
    }

    .ind-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ind-row:hover {
        padding-left: 0;
        padding-right: 0;
        background: transparent;
        border-color: var(--border-hard);
    }

    .ind-row p {
        opacity: 1;
        transform: translateX(0);
        max-height: auto;
        margin-top: 0.5rem;
    }

    /* General Spacing */
    .hero-visual {
        height: 350px;
    }

    .dash-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .calc-controls,
    .calc-outputs,
    .form-box,
    .dash-ui {
        padding: var(--sp-sm);
    }
}