/* ============================================================
   THERMATES — MAIN STYLESHEET
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────── */
:root {
    --primary:        #FF5500;
    --primary-light:  #FF8C00;
    --primary-dark:   #D94400;
    --grad:           linear-gradient(135deg, #FF5500 0%, #FF8C00 100%);
    --navy:           #0D1B3E;
    --navy-mid:       #162347;
    --navy-light:     #1E3163;
    --white:          #FFFFFF;
    --gray-50:        #F9FAFB;
    --gray-100:       #F3F4F6;
    --gray-200:       #E5E7EB;
    --gray-400:       #9CA3AF;
    --gray-600:       #6B7280;
    --gray-800:       #1F2937;
    --shadow-sm:      0 1px 4px rgba(0,0,0,0.07);
    --shadow-md:      0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:      0 12px 56px rgba(0,0,0,0.16);
    --r-sm:           8px;
    --r-md:           16px;
    --r-lg:           24px;
    --r-xl:           40px;
    --ease:           cubic-bezier(.4,0,.2,1);
    --t:              all .3s var(--ease);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}
.section { padding: 104px 0; }

/* ── Typography helpers ─────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; color: var(--navy); }

.gradient-text {
    display: block;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Tag / pill label ───────────────────────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255,85,0,.10);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.tag-light {
    background: rgba(255,255,255,.18);
    color: rgba(255,255,255,.92);
}

/* ── Section header ─────────────────────────────────────── */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 68px;
}
.section-head h2 {
    font-size: clamp(1.85rem, 3.8vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 14px;
}
.section-head p {
    font-size: 1.08rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: .97rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--t);
}
.btn-primary {
    background: var(--grad);
    color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,85,0,.42); }
.btn-ghost {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.28);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--t);
}
.header.scrolled {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
    padding: 12px 0;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { height: 38px; width: auto; }
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    color: var(--white);
    transition: color .3s var(--ease);
}
.header.scrolled .nav-brand-name { color: var(--navy); }
.logo-text-footer { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--white); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: var(--r-sm);
    font-weight: 500;
    font-size: .92rem;
    color: var(--navy);
    transition: var(--t);
}
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,.82); }
.header:not(.scrolled) .nav-link:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav-link:hover { color: var(--primary); background: rgba(255,85,0,.07); }
.nav-cta {
    background: var(--grad) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,85,0,.4); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--t);
}
.header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, #080f22 0%, #0d1b3e 55%, #131f42 100%);
}

/* animated blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: blobDrift 9s ease-in-out infinite;
}
.blob-1 {
    width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(255,85,0,.28), rgba(255,140,0,.10));
    top: -180px; right: -120px;
}
.blob-2 {
    width: 440px; height: 440px;
    background: radial-gradient(circle, rgba(255,140,0,.18), transparent);
    bottom: 60px; left: -80px;
    animation-delay: -3.5s;
}
.blob-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,85,0,.14), transparent);
    top: 45%; left: 42%;
    animation-delay: -6s;
}
@keyframes blobDrift {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(28px,-24px) scale(1.06); }
    66%      { transform: translate(-20px,18px) scale(0.94); }
}

/* dot-grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.88);
    padding: 8px 22px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
}
.badge-pulse {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: glow 2s infinite;
}
@keyframes glow {
    0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
    50%      { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

.hero-title {
    font-size: clamp(2.6rem, 6.5vw, 4.8rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.025em;
    line-height: 1.08;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.68);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

/* hero stat strip */
.hero-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: var(--r-lg);
    padding: 22px 36px;
    backdrop-filter: blur(14px);
    flex-wrap: wrap;
    gap: 16px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}
.hero-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.14);
}
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-lbl {
    font-size: .8rem;
    color: rgba(255,255,255,.56);
    white-space: nowrap;
}

/* scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.4);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.scroll-chevron {
    width: 20px; height: 20px;
    border-right: 2px solid rgba(255,255,255,.35);
    border-bottom: 2px solid rgba(255,255,255,.35);
    transform: rotate(45deg);
    animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
    0%,100% { transform: rotate(45deg) translateY(0);   opacity: .4; }
    50%      { transform: rotate(45deg) translateY(7px); opacity: .9; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--gray-50); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }

/* featured / dark card */
.card-featured {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
    border-color: transparent;
    color: var(--white);
}
.card-featured::after { transform: scaleX(1); }
.card-featured h3 { color: var(--white); }
.card-featured p  { color: rgba(255,255,255,.72); }

.featured-badge {
    position: absolute;
    top: 22px; right: 22px;
    background: var(--grad);
    color: var(--white);
    font-size: .73rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.card-icon { width: 60px; height: 60px; margin-bottom: 22px; }
.card-icon-light { background: rgba(255,255,255,.1); border-radius: var(--r-md); padding: 10px; }

.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.card p  { color: var(--gray-600); line-height: 1.72; margin-bottom: 20px; font-size: .97rem; }
.card-featured p { color: rgba(255,255,255,.7); }

.card-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.card-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .88rem;
    color: var(--gray-600);
}
.card-list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--grad);
    border-radius: 50%;
    flex-shrink: 0;
}
.card-list-light li { color: rgba(255,255,255,.72); }
.card-list-light li::before { background: var(--primary-light); }

.card-link { font-weight: 700; color: var(--primary); font-size: .9rem; transition: var(--t); }
.card-link:hover { letter-spacing: .02em; }
.card-link-light { color: var(--primary-light); }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { background: var(--white); }
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.sol-card {
    background: var(--gray-50);
    border-radius: var(--r-md);
    padding: 32px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--t);
}
.sol-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,85,0,.2);
    background: var(--white);
}
.sol-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.sol-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.sol-card p  { font-size: .9rem; color: var(--gray-600); line-height: 1.68; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.process { background: var(--gray-50); }
.steps {
    max-width: 700px;
    margin: 0 auto;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
}
.step-line {
    width: 2px; height: 36px;
    background: var(--grad);
    margin-left: 30px;
    opacity: .35;
}
.step-num {
    width: 60px; height: 60px;
    background: var(--grad);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(255,85,0,.32);
}
.step-body { padding-top: 10px; }
.step-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.step-body p  { color: var(--gray-600); line-height: 1.7; font-size: .95rem; }

/* ============================================================
   WHY THERMATES
   ============================================================ */
.about { background: var(--white); }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text .tag { margin-bottom: 14px; }
.about-text h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.about-lead { font-size: 1.05rem; color: var(--gray-600); line-height: 1.72; margin-bottom: 36px; }

.pillars { display: flex; flex-direction: column; gap: 26px; }
.pillar { display: flex; align-items: flex-start; gap: 18px; }
.pillar-icon {
    width: 44px; height: 44px;
    background: rgba(255,85,0,.08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}
.pillar h4 { font-size: .97rem; font-weight: 700; margin-bottom: 4px; }
.pillar p  { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* Dashboard card */
.about-visual { position: relative; height: 480px; }
.dashboard {
    background: var(--navy);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
    inset: 0;
}
.dash-header {
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.dash-title { color: rgba(255,255,255,.55); font-size: .82rem; }

.dash-body { padding: 28px 22px; display: flex; flex-direction: column; gap: 22px; }
.dash-metric {
    display: grid;
    grid-template-columns: 1fr 120px auto;
    align-items: center;
    gap: 14px;
}
.dm-label { color: rgba(255,255,255,.58); font-size: .83rem; }
.dm-bar {
    height: 6px;
    background: rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
}
.dm-fill {
    height: 100%;
    background: var(--grad);
    border-radius: 3px;
    width: 0;
    transition: width 1.4s var(--ease);
}
.dm-fill.animated { }
.dm-val { color: rgba(255,255,255,.9); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .85rem; text-align: right; }
.dash-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.65);
    font-size: .83rem;
}
.status-dot {
    width: 9px; height: 9px;
    background: #4ade80;
    border-radius: 50%;
    animation: glow 2s infinite;
}

/* floating badges */
.float-badge {
    position: absolute;
    background: var(--white);
    padding: 11px 16px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}
.badge-tl { top: -14px; right: -18px; animation: floatBadge 3.2s ease-in-out infinite; }
.badge-br { bottom: 48px; left: -24px; animation: floatBadge 3.2s ease-in-out infinite; animation-delay: -1.6s; }
@keyframes floatBadge {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}
.fb-check {
    width: 26px; height: 26px;
    background: var(--grad);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
}
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 60px;
}
.stat-sep {
    width: 1px; height: 56px;
    background: rgba(255,255,255,.12);
}
.big-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.big-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.big-lbl {
    color: rgba(255,255,255,.62);
    font-size: .92rem;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #FF4500 0%, #FF7400 50%, #FF5500 100%);
    padding: 104px 0;
    overflow: hidden;
    text-align: center;
}
.cta-glow {
    position: absolute;
    width: 700px; height: 700px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    top: -350px; right: -200px;
    filter: blur(60px);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.cta-inner p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 40px; }
.cta-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-input {
    flex: 1;
    min-width: 240px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.14);
    color: var(--white);
    font-size: .97rem;
    outline: none;
    backdrop-filter: blur(12px);
    font-family: inherit;
    transition: var(--t);
}
.cta-input::placeholder { color: rgba(255,255,255,.58); }
.cta-input:focus { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.2); }
.cta-note { font-size: .82rem; color: rgba(255,255,255,.6); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); padding: 80px 0 36px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand {}
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; filter: brightness(10); }
.footer-logo-fallback { display: none; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.72; margin-bottom: 24px; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    transition: var(--t);
}
.socials a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-col h4 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.52); transition: var(--t); }
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ============================================================
   SCROLL ANIMATIONS (data-aos)
   ============================================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-aos].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-inner { grid-template-columns: 1fr; gap: 56px; }
    .about-visual { height: 380px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { gap: 32px; }
    .stat-block { padding: 0 40px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    /* mobile nav */
    .nav-menu {
        display: none;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 6px;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { display: flex; }
    .nav-menu .nav-link { color: var(--navy) !important; }
    .nav-toggle { display: flex; }

    .services-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }

    .hero-stats { padding: 18px 20px; }
    .hero-stat { padding: 0 16px; }

    .stats-row { flex-direction: column; gap: 40px; }
    .stat-sep { width: 60px; height: 1px; }
    .stat-block { padding: 0; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .cta-form { flex-direction: column; align-items: stretch; }
    .cta-input { min-width: unset; }

    .about-visual { height: 360px; }
    .badge-tl { top: -10px; right: -8px; }
    .badge-br { bottom: 20px; left: -10px; }

    .steps { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 22px;
    }
    .hero-divider { width: 48px; height: 1px; }
    .hero-stat { padding: 0; }
    .card { padding: 28px; }
    .dash-metric { grid-template-columns: 1fr 80px auto; }
}

/* ============================================================
   PRODUCTS SPOTLIGHT SECTION (index.html)
   ============================================================ */
.products-spotlight { background: var(--gray-50); }

/* ── The main spotlight card ────────────────────────────── */
.spotlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--r-xl);
    padding: 60px 56px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}
.spotlight-card::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,85,0,.18), transparent);
    top: -200px; right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

/* left: copy */
.spotlight-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.spotlight-chip {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.8);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
}
.spotlight-new {
    background: var(--grad);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.spotlight-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 16px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.spotlight-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.68);
    line-height: 1.72;
    margin-bottom: 28px;
}
.spotlight-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}
.spotlight-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-size: .92rem;
}
.spotlight-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: .97rem;
    font-weight: 700;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.88);
    transition: var(--t);
    text-decoration: none;
}
.btn-secondary-dark:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-2px);
}

/* right: mini chat mockup */
.spotlight-right { position: relative; z-index: 1; }
.spotlight-mockup {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.sm-header {
    background: rgba(13,27,62,.95);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sm-dots { display: flex; gap: 5px; }
.sm-dots span { width: 9px; height: 9px; border-radius: 50%; }
.sm-dots span:nth-child(1) { background: #ff5f57; }
.sm-dots span:nth-child(2) { background: #febc2e; }
.sm-dots span:nth-child(3) { background: #28c840; }
.sm-title { color: rgba(255,255,255,.55); font-size: .78rem; }

.sm-body {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fafafa;
}
.sm-msg { display: flex; }
.sm-user { justify-content: flex-end; }
.sm-ai   { flex-direction: column; gap: 8px; }

.sm-bubble {
    padding: 9px 14px;
    border-radius: 16px;
    font-size: .82rem;
    line-height: 1.5;
    max-width: 85%;
}
.sm-bubble-user {
    background: var(--grad);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.sm-bubble-ai {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--gray-200);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.sm-bubble-wide { max-width: 100%; }
.sm-products { display: flex; flex-direction: column; gap: 5px; }
.sm-product {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 7px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    box-shadow: var(--shadow-sm);
}
.sm-p-name  { font-weight: 600; color: var(--navy); }
.sm-p-price { color: var(--primary); font-weight: 700; }

.sm-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}
.sm-typing { display: flex; gap: 3px; }
.sm-typing span {
    width: 5px; height: 5px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingPulse 1.3s ease-in-out infinite;
}
.sm-typing span:nth-child(2) { animation-delay: .2s; }
.sm-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingPulse {
    0%,60%,100% { transform: translateY(0);   opacity: .4; }
    30%          { transform: translateY(-4px); opacity: 1; }
}
.sm-model { font-size: .7rem; color: var(--gray-400); }

/* ── Responsive for spotlight ───────────────────────────── */
@media (max-width: 1024px) {
    .spotlight-card {
        grid-template-columns: 1fr;
        padding: 44px 36px;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .spotlight-card { padding: 32px 24px; border-radius: var(--r-lg); }
    .spotlight-title { font-size: 3rem; }
}
