/*
Theme Name: Telosa CX
Theme URI: https://telosa.cx
Author: Telosa Team
Author URI: https://telosa.cx
Description: Custom WordPress theme for Telosa — Every Location. One Experience.
Version: 2.0.0
License: Proprietary
Text Domain: telosa-cx-theme
Tags: saas, location-intelligence, custom
*/

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --cream:#ffffff;--white:#ffffff;--bg:#f9fafb;
  --surface:#ffffff;--text:#1a1a2e;--text2:#5a5a72;--text3:#8e8ea0;
  --blue:#2563eb;--blue-light:#dbeafe;--blue-dark:#1e40af;
  --teal:#0d9488;--teal-light:#ccfbf1;
  --amber:#f59e0b;--amber-light:#fef3c7;
  --red:#ef4444;--red-light:#fee2e2;
  --green:#10b981;--green-light:#d1fae5;
  --purple:#8b5cf6;
  --preview-bg:#f8fafc;
  --border:rgba(0,0,0,0.07);
  --shadow:0 1px 3px rgba(0,0,0,0.06),0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg:0 4px 6px rgba(0,0,0,0.04),0 12px 40px rgba(0,0,0,0.08);
  --radius:12px;
  --font-display:"sohne-var","SF Pro Display",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  --font-sans-display:"sohne-var","SF Pro Display",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  --font-body:'Outfit',system-ui,sans-serif;
}
html{scroll-behavior:smooth;font-size:16px}
body{background:#fff;color:var(--text);font-family:var(--font-body);overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ===== NAV ===== */
nav{position:fixed;top:0;left:0;right:0;z-index:100;padding:0 3rem;height:68px;display:flex;align-items:center;justify-content:space-between;background:rgba(9,26,52,0.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,0.08);transition:background .4s,border-color .4s,box-shadow .4s}
nav.scrolled{background:rgba(255,255,255,0.97);border-color:var(--border);box-shadow:var(--shadow)}
nav.scrolled .nav-logo-text{color:var(--text)}
nav.scrolled .nav-links a{color:var(--text2)}
nav.scrolled .nav-links a:hover{color:var(--text)}
/* OLD SVG logo CSS (commented out)
.nav-logo-icon{width:44px;height:44px;background:var(--blue);border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nav-logo-icon svg{width:36px;height:36px;display:block}
.nav-logo-text-wrap{display:flex;flex-direction:column;line-height:1}
.nav-logo-name{font-family:var(--font-body);font-weight:800;font-size:1.95rem;color:#fff;letter-spacing:-.04em;transition:color .4s;line-height:1}
.nav-logo-sub{font-size:.58rem;font-weight:600;letter-spacing:.18em;color:rgba(255,255,255,0.55);margin-top:5px;transition:color .4s}
nav.scrolled .nav-logo-name{color:var(--text)}
nav.scrolled .nav-logo-sub{color:var(--text3)}
.nav-logo-text{font-family:var(--font-body);font-weight:700;font-size:1.35rem;color:#fff;letter-spacing:-.03em;transition:color .4s}
.nav-logo-text span{color:var(--blue)}
*/
.nav-logo{display:flex;align-items:center;text-decoration:none}
.nav-logo-img{height:64px;width:auto;display:block}
.footer-logo-img{height:56px;width:auto;display:block}
.demo-logo-img{height:64px;width:auto;display:block}
/* logo variant switching */
.nav-logo-dark{display:none}
nav.scrolled .nav-logo-white{display:none}
nav.scrolled .nav-logo-dark{display:block}
.nav-links{display:flex;align-items:center;gap:2.2rem}
.nav-links a{font-size:.9rem;font-weight:500;color:rgba(255,255,255,0.6);transition:color .2s}
.nav-links a:hover{color:#fff}
.btn{display:inline-flex;align-items:center;gap:.45rem;padding:.52rem 1.3rem;border-radius:8px;font-weight:600;font-size:.82rem;transition:.18s;cursor:pointer;border:none;font-family:var(--font-body);letter-spacing:-.01em}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 5px 16px rgba(37,99,235,0.3)}
.btn-outline{background:transparent;border:1.5px solid var(--border);color:var(--text)}
.btn-outline:hover{border-color:var(--blue);color:var(--blue)}
.btn-lg{padding:.85rem 2rem;font-size:1rem;border-radius:10px}
.btn-white{background:#fff;color:var(--blue);border:1.5px solid var(--border)}
.btn-white:hover{border-color:var(--blue);box-shadow:0 4px 12px rgba(0,0,0,0.08)}

/* Hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;z-index:200;position:relative}
.hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:background .3s,transform .3s,opacity .3s}
nav.scrolled .hamburger span{background:var(--text)}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* Mobile nav drawer */
.mobile-nav{display:none;position:fixed;inset:0;top:68px;background:rgba(9,26,52,0.98);backdrop-filter:blur(16px);z-index:150;flex-direction:column;align-items:center;justify-content:center;gap:2rem;padding:2rem}
.mobile-nav.open{display:flex}
.mobile-nav a{font-size:1.4rem;font-weight:600;color:rgba(255,255,255,0.7);text-decoration:none;letter-spacing:-.02em;transition:.2s}
.mobile-nav a:hover{color:#fff}
.mobile-nav .mobile-cta{margin-top:1rem;padding:.85rem 2.4rem;background:var(--blue);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:700;cursor:pointer;font-family:var(--font-body);text-decoration:none}

/* ===== HERO — WORLD DOT MAP ===== */
.hero-dotmap{position:relative;width:100%;display:flex;align-items:center;overflow:hidden;background:#091a34;padding:5rem 0 2rem}
#hero-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero-glow-apac{position:absolute;right:0;top:50%;transform:translateY(-50%);width:65%;height:90%;background:radial-gradient(ellipse at 70% 50%,rgba(37,99,235,0.14) 0%,transparent 65%);pointer-events:none;z-index:1}
.hero-glow-india{position:absolute;right:28%;top:42%;width:30%;height:50%;background:radial-gradient(ellipse,rgba(74,222,128,0.08) 0%,transparent 70%);pointer-events:none;z-index:1}
.hero-vignette{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to right,rgba(9,26,52,0.85) 0%,rgba(9,26,52,0.4) 40%,rgba(9,26,52,0.0) 70%),linear-gradient(to bottom,rgba(9,26,52,0.35) 0%,transparent 20%,transparent 60%,rgba(9,26,52,1) 100%)}
.hero-content{position:relative;z-index:10;max-width:1680px;margin:0 auto;padding:3rem 5rem 5rem;width:100%}
.hero-eyebrow{display:inline-flex;align-items:center;gap:.55rem;padding:.35rem 1rem;border-radius:99px;background:rgba(186,220,255,0.08);border:1px solid rgba(186,220,255,0.2);font-size:.72rem;font-weight:700;color:rgba(186,220,255,0.75);letter-spacing:.1em;text-transform:uppercase;margin-bottom:1.8rem;animation:fadeUp .7s ease both}
.hero-eyebrow-dot{width:6px;height:6px;border-radius:50%;background:#c8f135;flex-shrink:0;animation:eyeblink 2.2s ease-in-out infinite}
@keyframes eyeblink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.6)}}
.hero-h1{font-family:"sohne-var","SF Pro Display",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;font-size:clamp(2.4rem,4.8vw,5rem);font-weight:300;line-height:1.05;letter-spacing:-0.025em;color:#fff;margin-bottom:1.2rem;max-width:680px;animation:fadeUp .7s ease .1s both}
.hero-h1 em{font-style:normal;color:#c8f135}
.hero-sub{font-size:clamp(.95rem,1.4vw,1.15rem);color:rgba(255,255,255,0.52);line-height:1.65;max-width:460px;margin-bottom:2.2rem;animation:fadeUp .7s ease .2s both}
.hero-sub strong{color:rgba(255,255,255,0.85);font-weight:600}
.hero-ctas{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;animation:fadeUp .7s ease .3s both}
.hero-cta-primary{padding:.65rem 1.7rem;background:var(--blue);color:#fff;border:none;border-radius:8px;font-size:.92rem;font-weight:600;cursor:pointer;font-family:var(--font-body);letter-spacing:-.01em;display:inline-flex;align-items:center;gap:.45rem;transition:.18s;text-decoration:none}
.hero-cta-primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 6px 20px rgba(37,99,235,.38)}
.hero-cta-secondary{padding:0;background:transparent;color:rgba(255,255,255,0.55);border:none;font-size:.88rem;font-weight:500;cursor:pointer;font-family:var(--font-body);transition:.2s;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem;position:relative}
.hero-cta-secondary:hover{color:rgba(255,255,255,.9)}

/* ===== INDUSTRIES — MOSAIC ===== */
.industries-wrap{background:linear-gradient(to bottom,#091a34 0%,#0e2444 20%,#1a3560 45%,#eef4ff 80%,#ffffff 100%);padding-top:0}
.industries-section{padding:2rem 3rem 2.5rem;max-width:1680px;margin:0 auto}
.industries-section .section-label{background:rgba(186,220,255,0.12);color:rgba(186,220,255,0.75);border:none}
.industries-section .section-title{color:#ffffff}
.mosaic-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:160px 160px;gap:10px;animation:fadeUp .8s ease .2s both}
.mosaic-cell{position:relative;overflow:hidden;border-radius:14px}
.mosaic-cell img{width:100%;height:100%;object-fit:cover;transition:.6s ease}
.mosaic-cell:hover img{transform:scale(1.07)}
.mosaic-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.05) 55%);display:flex;flex-direction:column;justify-content:flex-end;padding:1rem 1.2rem;transition:background .3s}
.mosaic-cell:hover .mosaic-overlay{background:linear-gradient(to top,rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.1) 60%)}
.mosaic-cell h4{color:#fff;font-size:.9rem;font-weight:700}
.mosaic-cell span{color:rgba(255,255,255,0.65);font-size:.72rem}
.mosaic-dashboard{background:transparent;border:none;display:block;padding:0;gap:0}
.mc-1{grid-column:1/4;grid-row:1/2}
.mc-2{grid-column:4/6;grid-row:1/2}
.mc-3{grid-column:6/10;grid-row:1/3}
.mc-4{grid-column:10/13;grid-row:1/2}
.mc-5{grid-column:1/4;grid-row:2/3}
.mc-6{grid-column:4/6;grid-row:2/3}
.mc-7{grid-column:10/13;grid-row:2/3}

/* Terminal styles */
.terminal{background:#0b0f1a;border:1px solid rgba(255,255,255,0.06);border-radius:12px;overflow:hidden;font-family:'JetBrains Mono','Courier New',monospace;position:relative;height:100%;display:flex;flex-direction:column}
.terminal::after{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(0,212,255,0.3),transparent);animation:scanline 3s ease-in-out infinite}
@keyframes scanline{0%{top:0;opacity:0}10%{opacity:1}90%{opacity:1}100%{top:100%;opacity:0}}
.term-header{display:flex;align-items:center;justify-content:space-between;padding:.3rem .7rem;background:linear-gradient(180deg,rgba(255,255,255,0.04) 0%,transparent 100%);border-bottom:1px solid rgba(255,255,255,0.06)}
.term-dots{display:flex;gap:3px}
.term-dots span{width:5px;height:5px;border-radius:50%}
.term-dots span:nth-child(1){background:#ff5f57}.term-dots span:nth-child(2){background:#febc2e}.term-dots span:nth-child(3){background:#28c840}
.term-title{font-size:.5rem;color:rgba(255,255,255,0.35);letter-spacing:.08em;text-transform:uppercase;margin-left:.35rem}
.term-status{display:flex;align-items:center;gap:.25rem;font-size:.45rem;color:#28c840}
.term-status-dot{width:4px;height:4px;border-radius:50%;background:#28c840;animation:pulse 1.5s infinite}
.term-metrics{display:flex;gap:0;border-bottom:1px solid rgba(255,255,255,0.05)}
.term-metric{flex:1;padding:.2rem .3rem;text-align:center;border-right:1px solid rgba(255,255,255,0.05)}
.term-metric:last-child{border-right:none}
.term-metric .tm-val{font-size:.6rem;font-weight:600;color:#fff;line-height:1}
.term-metric .tm-label{font-size:.32rem;color:rgba(255,255,255,0.3);text-transform:uppercase;letter-spacing:.06em;margin-top:.06rem}
.tm-cyan{color:#00d4ff !important}.tm-green{color:#28c840 !important}.tm-amber{color:#febc2e !important}
.term-feed{padding:0;flex:1;overflow:hidden}
.term-row{display:flex;align-items:center;gap:.4rem;padding:.2rem .7rem;font-size:.48rem;border-bottom:1px solid rgba(255,255,255,0.02);transition:background .2s;white-space:nowrap}
.term-row:hover{background:rgba(0,212,255,0.04)}
.term-row:last-child{border-bottom:none}
.term-time{color:rgba(255,255,255,0.2);font-size:.44rem;flex-shrink:0;width:28px}
.term-msg{color:rgba(255,255,255,0.55);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.term-msg strong{color:rgba(255,255,255,0.85);font-weight:500}
.term-tag{padding:.08rem .32rem;border-radius:3px;font-size:.4rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}
.tt-lead{background:rgba(0,212,255,0.12);color:#00d4ff}.tt-flag{background:rgba(255,95,87,0.12);color:#ff5f57}
.tt-done{background:rgba(40,200,64,0.12);color:#28c840}.tt-route{background:rgba(254,188,46,0.12);color:#febc2e}
.term-ai-bar{display:flex;align-items:center;gap:.35rem;padding:.25rem .7rem;background:linear-gradient(90deg,rgba(0,212,255,0.06),rgba(0,212,255,0.02));border-top:1px solid rgba(0,212,255,0.08);font-size:.42rem;color:rgba(0,212,255,0.6);margin-top:auto;white-space:nowrap}
.ai-blink{display:inline-block;width:4px;height:4px;border-radius:50%;background:#00d4ff;animation:aiblink 1.2s ease infinite}
@keyframes aiblink{0%,100%{opacity:1}50%{opacity:.2}}
.ai-bar-progress{flex:1;height:2px;background:rgba(255,255,255,0.05);border-radius:2px;overflow:hidden}
.ai-bar-fill{height:100%;width:0;background:linear-gradient(90deg,#00d4ff,#0099ff);border-radius:2px;animation:barfill 2.5s ease infinite}
@keyframes barfill{0%{width:0}50%{width:85%}100%{width:100%}}
.dash-live{width:6px;height:6px;border-radius:50%;background:var(--red);animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}


/* ===== TRUST BAR (Improved #1) ===== */
.trust-bar{padding:.75rem 0;background:#f0f4fb;border-top:1px solid #e5eaf5;border-bottom:1px solid #e5eaf5;overflow:hidden}
.trust-inner{max-width:1680px;margin:0 auto;display:flex;align-items:center;gap:1.5rem;padding:0 3rem}
.trust-count{background:var(--blue);color:#fff;padding:.35rem .85rem;border-radius:8px;font-size:.72rem;font-weight:700;white-space:nowrap;flex-shrink:0}
.trust-marquee-wrap{flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.trust-marquee{display:flex;align-items:center;gap:3rem;animation:marquee 20s linear infinite;width:max-content}
.trust-marquee:hover{animation-play-state:paused}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.trust-marquee .t-logo{font-weight:600;font-size:.9rem;color:var(--text3);letter-spacing:-.01em;white-space:nowrap;transition:.3s}
.trust-marquee .t-logo:hover{color:var(--text)}
.trust-badges{display:flex;gap:.5rem;flex-shrink:0}.g2-badge{display:flex;align-items:center;gap:.4rem;padding:.3rem .65rem;border-radius:8px;border:1px solid #dde4f0;background:#fff;font-size:.68rem;font-weight:600;color:var(--text2);transition:.2s}
.g2-badge:hover{border-color:var(--blue);color:var(--blue)}
.g2-badge .g2-stars{color:#f59e0b;font-size:.62rem;letter-spacing:1px}

/* ===== SECTION COMMONS ===== */
.section{padding:5rem 3rem;max-width:1680px;margin:0 auto}
.section-full{padding:5rem 3rem}
.section-alt{background:#091a34;border-top:none;border-bottom:none}
.section-alt .section-label{color:rgba(186,220,255,0.7);border-color:rgba(186,220,255,0.2)}
.section-alt .section-title{color:#fff}
.section-alt .section-sub{color:rgba(255,255,255,0.5)}
.section-label{display:inline-flex;align-items:center;gap:.4rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600;color:var(--blue);margin-bottom:1rem;padding:.28rem .8rem;border-radius:99px;background:transparent;border:1px solid rgba(37,99,235,0.25)}
.section-title{font-family:var(--font-display);font-size:clamp(1.9rem,3.8vw,3.2rem);line-height:1.1;font-weight:300;margin-bottom:.8rem;max-width:1100px;letter-spacing:-0.025em}
.section-sub{font-size:1.05rem;color:var(--text2);line-height:1.6;max-width:520px;margin-bottom:2.5rem}

/* ===== HOW IT WORKS ===== */
#platform.section{padding-top:7rem;position:relative;overflow:hidden}
.hw-stripe-bg{
  position:absolute;
  right:-8%;bottom:0;
  width:62%;
  pointer-events:none;
  z-index:2;
  opacity:0.85;
  mix-blend-mode:multiply;
  user-select:none;
  -webkit-mask-image:linear-gradient(to bottom right, transparent 5%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.75) 65%, black 100%);
  mask-image:linear-gradient(to bottom right, transparent 5%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.75) 65%, black 100%);
}
.hw-top{position:relative;z-index:3}
.hw-flow{position:relative;z-index:3}
.hw-flow{display:flex;gap:.6rem;align-items:stretch}
.hw-card{
  background:rgba(255,255,255,0.55);
  border:1px solid rgba(226,232,240,0.8);
  border-radius:var(--radius);
  padding:2rem 1.8rem 1.8rem;position:relative;overflow:hidden;
  display:flex;flex-direction:column;min-height:260px;flex:1;
  transition:flex .45s cubic-bezier(0.4,0,0.2,1),box-shadow .3s,border-color .3s;
  cursor:default;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.hw-card:hover{flex:1.7;box-shadow:0 12px 40px rgba(37,99,235,0.1);border-color:rgba(37,99,235,0.25)}

.hw-card .hw-icon{color:var(--blue);margin-bottom:1.5rem}
.hw-card h4{font-family:var(--font-body);font-size:1.1rem;font-weight:700;margin-bottom:.5rem;color:var(--text);letter-spacing:-.03em;line-height:1.2}
.hw-card p{font-size:.9rem;color:var(--text2);line-height:1.6;flex:1}
.hw-arrow{flex-shrink:0;align-self:center;color:var(--text3);font-size:.85rem;opacity:.35}

/* ===== AI WORKFLOWS — TAB STRIP ===== */
.wf-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center}
.wf-visual{border-radius:24px;overflow:hidden;aspect-ratio:4/3;background:#111;box-shadow:0 2px 4px rgba(0,0,0,0.02),0 24px 68px rgba(0,0,0,0.18);position:relative;max-width:520px;width:100%;justify-self:start}
.wf-scene{display:none;position:absolute;inset:0;overflow:hidden}
.wf-scene.active{display:block;animation:sceneFade .5s ease}
@keyframes sceneFade{from{opacity:0}to{opacity:1}}
.scene-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.scene-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,16,12,0.7) 0%,rgba(20,16,12,0.45) 40%,rgba(20,16,12,0.25) 100%)}
.scene-ui{position:absolute;inset:0;padding:1.8rem;display:flex;flex-direction:column}
.sui-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.sui-title{font-size:.75rem;font-weight:700;color:#fff;display:flex;align-items:center;gap:.5rem}
.sui-live{width:6px;height:6px;border-radius:50%;background:#34d399;animation:livePulse 2s infinite}
@keyframes livePulse{0%,100%{box-shadow:0 0 0 0 rgba(52,211,153,0.4)}50%{box-shadow:0 0 0 6px rgba(52,211,153,0)}}
.sui-badge{font-size:.58rem;font-weight:600;padding:.2rem .55rem;border-radius:6px;background:rgba(255,255,255,0.1);color:rgba(255,255,255,0.7);backdrop-filter:blur(8px)}
.glass-card{background:rgba(255,255,255,0.08);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:14px;padding:1rem;flex:1;display:flex;flex-direction:column}
.feed-row{display:flex;align-items:center;gap:.6rem;padding:.55rem .6rem;border-radius:8px;margin-bottom:.35rem;transition:background .2s;animation:rowSlide .35s ease both}
.feed-row:nth-child(2){animation-delay:.06s}.feed-row:nth-child(3){animation-delay:.12s}.feed-row:nth-child(4){animation-delay:.18s}.feed-row:nth-child(5){animation-delay:.24s}
@keyframes rowSlide{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}
.feed-row:hover{background:rgba(255,255,255,0.06)}
.feed-row.highlighted{background:rgba(239,68,68,0.1);border:1px solid rgba(239,68,68,0.15)}
.fr-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.65rem;flex-shrink:0;font-weight:700;color:#fff}
.fr-body{flex:1;min-width:0}
.fr-label{font-size:.65rem;font-weight:600;color:#fff}
.fr-sub{font-size:.55rem;color:rgba(255,255,255,0.45);margin-top:.05rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fr-meta{font-size:.5rem;font-weight:600;padding:.15rem .4rem;border-radius:5px;flex-shrink:0}
.sui-stats{display:flex;gap:.4rem;margin-top:auto;padding-top:.8rem;border-top:1px solid rgba(255,255,255,0.06)}
.sui-stat{flex:1;text-align:center;padding:.4rem 0;border-radius:8px;background:rgba(255,255,255,0.04)}
.sui-stat-num{font-size:.95rem;font-weight:800;color:#fff;line-height:1}
.sui-stat-label{font-size:.45rem;color:rgba(255,255,255,0.35);margin-top:.15rem;text-transform:uppercase;letter-spacing:.06em}
.sui-chart{display:flex;align-items:flex-end;gap:3px;height:50px;margin-bottom:.6rem}
.sui-chart-bar{flex:1;border-radius:3px 3px 0 0;background:rgba(255,255,255,0.12);transition:height .4s ease}
.sui-chart-bar.accent{background:rgba(37,99,235,0.5)}
.camp-row{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem;border-radius:8px;margin-bottom:.35rem;background:rgba(255,255,255,0.04);animation:rowSlide .35s ease both}
.camp-row:nth-child(2){animation-delay:.1s}.camp-row:nth-child(3){animation-delay:.2s}
.cr-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}
.cr-body{flex:1}.cr-name{font-size:.65rem;font-weight:600;color:#fff}.cr-meta{font-size:.5rem;color:rgba(255,255,255,0.4);margin-top:.05rem}
.cr-stat{font-size:.7rem;font-weight:800;color:#fff;flex-shrink:0}
.cr-prog{height:3px;background:rgba(255,255,255,0.08);border-radius:3px;margin-top:.35rem;overflow:hidden}
.cr-prog-fill{height:100%;border-radius:3px;background:var(--blue);animation:progGrow 1s ease .4s both}
@keyframes progGrow{from{width:0}to{width:var(--w,60%)}}
.list-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem .6rem;border-radius:8px;margin-bottom:.35rem;background:rgba(255,255,255,0.04);animation:rowSlide .35s ease both}
.list-row:nth-child(2){animation-delay:.08s}.list-row:nth-child(3){animation-delay:.16s}.list-row:nth-child(4){animation-delay:.24s}.list-row:nth-child(5){animation-delay:.32s}
.lr-left{display:flex;align-items:center;gap:.5rem}
.lr-avatar{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.5rem;font-weight:700;color:#fff}
.lr-name{font-size:.65rem;font-weight:600;color:#fff}
.lr-status{font-size:.58rem;font-weight:700}
/* Tab Strip */
.wf-left{display:flex;flex-direction:column}
.wf-tabs{display:flex;flex-direction:column;gap:2px}
.wf-item{cursor:pointer;position:relative;border-radius:12px;transition:background .18s}
.wf-item:hover{background:rgba(255,255,255,0.04)}
.wf-item.active{background:rgba(37,99,235,0.10);border:1px solid rgba(37,99,235,0.22)}
.wf-header{display:flex;align-items:center;gap:.8rem;padding:.75rem 1rem}
.wf-chevron{margin-left:auto;width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.2);transition:transform .3s ease,color .2s}
.wf-item.active .wf-chevron{color:var(--blue);transform:rotate(90deg)}
.wf-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:rgba(255,255,255,0.35);background:rgba(255,255,255,0.04);transition:.2s}
.wf-item.active .wf-icon{color:var(--blue);background:rgba(37,99,235,0.12)}
.wf-header-text h4{font-family:var(--font-body);font-size:.95rem;font-weight:500;letter-spacing:-.01em;color:rgba(255,255,255,0.5);transition:color .2s;line-height:1.2}
.wf-item.active .wf-header-text h4{color:#fff;font-weight:600}
/* Inline body — slides open under active tab */
.wf-body{max-height:0;overflow:hidden;transition:max-height .38s cubic-bezier(0.4,0,0.2,1),opacity .3s ease,padding .38s ease;opacity:0;padding:0 1rem 0 3.4rem}
.wf-item.active .wf-body{max-height:120px;opacity:1;padding:.05rem 1rem .9rem 3.4rem}
.wf-body p{font-size:.85rem;color:rgba(255,255,255,0.55);line-height:1.7;margin-bottom:.6rem}
.wf-body-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;font-weight:600;color:rgba(186,220,255,0.8);text-decoration:none;transition:.2s}
.wf-body-link:hover{gap:.55rem;color:rgba(186,220,255,1)}
/* Blue left-bar on active item */
.wf-item.active::before{content:'';position:absolute;left:0;top:20%;bottom:20%;width:3px;border-radius:0 3px 3px 0;background:var(--blue)}

/* ===== PRODUCT SUITE — FINAL ===== */
.prod-section-wrap{background:#f7f9fc;padding:0}
.prod-section-wrap .section{background:transparent}
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.prod-card{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:.35s cubic-bezier(0.4,0,0.2,1);display:flex;flex-direction:column;position:relative;min-height:195px}
.prod-card:hover{box-shadow:0 8px 28px rgba(37,99,235,0.14);border-color:rgba(37,99,235,0.25)}
.pc-preview{max-height:0;overflow:hidden;background:var(--preview-bg);border-bottom:0px solid var(--border);transition:max-height .4s cubic-bezier(0.4,0,0.2,1),padding .4s cubic-bezier(0.4,0,0.2,1),border-bottom-width .15s ease}
.prod-card:hover .pc-preview{max-height:180px;padding:1.2rem 1rem;border-bottom-width:1px}
.pc-preview-inner{opacity:0;transform:translateY(-6px) scale(0.97);transition:opacity .25s ease .1s,transform .25s ease .1s}
.prod-card:hover .pc-preview-inner{opacity:1;transform:translateY(0) scale(1)}
.pc-body{padding:1.4rem 1.5rem;display:flex;flex-direction:column;flex:1}
.pc-icon{width:40px;height:40px;border-radius:50%;background:rgba(37,99,235,0.06);display:flex;align-items:center;justify-content:center;margin-bottom:.8rem;transition:.2s;color:var(--blue)}
.pc-icon svg{width:20px;height:20px}
.prod-card:hover .pc-icon{background:rgba(37,99,235,0.1);transform:scale(1.05)}
.pc-body h4{font-size:1.05rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.15rem}
.pc-proof{font-size:.62rem;color:var(--blue);font-weight:600;margin-bottom:.4rem;display:flex;align-items:center;gap:.3rem}
.pc-proof-dot{width:4px;height:4px;border-radius:50%;background:var(--blue)}
.pc-desc-row{display:flex;align-items:flex-end;gap:.8rem;margin-top:auto}
.pc-desc-row p{font-size:.82rem;color:var(--text2);line-height:1.6;flex:1}
.pc-arrow{width:24px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--text3);transition:transform .3s ease,color .2s}
.pc-arrow svg{width:16px;height:16px}
.prod-card:hover .pc-arrow{color:var(--blue);transform:rotate(-90deg)}
/* Preview content types */
.prev-rating{display:flex;align-items:center;gap:.8rem;width:100%}
.pr-num{font-size:1.8rem;font-weight:800;color:var(--text);line-height:1}
.pr-bars{flex:1;display:flex;flex-direction:column;gap:3px}
.pr-bar{height:5px;border-radius:5px;background:rgba(0,0,0,0.04);overflow:hidden}
.pr-bar-fill{height:100%;border-radius:5px}
.pr-meta{font-size:.55rem;color:var(--text3);text-align:right;min-width:55px}
.prev-chat{display:flex;flex-direction:column;gap:.3rem;width:100%;align-items:flex-start}
.pcb{padding:.4rem .65rem;border-radius:8px;font-size:.62rem;line-height:1.4;max-width:82%}
.pcb-in{background:#fff;color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,0.04);border-bottom-left-radius:2px;align-self:flex-start}
.pcb-out{background:var(--blue);color:#fff;border-bottom-right-radius:2px;align-self:flex-end}
.pcb-typing{display:flex;align-items:center;gap:.25rem;font-size:.5rem;color:var(--blue);font-weight:600;align-self:flex-end}
.pcb-typing span{width:4px;height:4px;border-radius:50%;background:var(--blue);animation:pcblink .6s ease infinite}
.pcb-typing span:nth-child(2){animation-delay:.1s}.pcb-typing span:nth-child(3){animation-delay:.2s}
@keyframes pcblink{0%,100%{opacity:.3}50%{opacity:1}}
.prev-alerts{display:flex;flex-direction:column;gap:.3rem;width:100%}
.pa-row{display:flex;align-items:center;gap:.4rem;font-size:.62rem;padding:.35rem .5rem;background:#fff;border-radius:6px;box-shadow:0 1px 2px rgba(0,0,0,0.03)}
.pa-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}
.pa-text{flex:1;color:var(--text2)}.pa-text strong{color:var(--text)}
.prev-funnel{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%}
.pf-bar{height:14px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:.45rem;font-weight:700;color:#fff}
.prev-campaigns{display:flex;flex-direction:column;gap:.3rem;width:100%}
.pcamp{display:flex;align-items:center;gap:.5rem;font-size:.62rem}
.pcamp-icon{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.55rem;flex-shrink:0}
.pcamp-name{flex:1;font-weight:600;color:var(--text)}.pcamp-stat{font-weight:800}
.prev-chips{display:flex;flex-wrap:wrap;gap:.3rem;width:100%}
.pchip{padding:.25rem .5rem;border-radius:6px;background:#fff;font-size:.58rem;font-weight:600;color:var(--text2);display:flex;align-items:center;gap:.2rem;box-shadow:0 1px 2px rgba(0,0,0,0.03)}
.pchip-dot{width:5px;height:5px;border-radius:50%}
/* Hero card */
.prod-card.prod-hero{grid-column:span 3;display:grid;grid-template-columns:1fr 1.1fr;min-height:auto}
.prod-hero .pc-body{padding:1.8rem 2rem;justify-content:center}
.prod-hero .pc-icon{width:44px;height:44px}.prod-hero .pc-icon svg{width:22px;height:22px}
.prod-hero .pc-body h4{font-size:1.2rem}
.prod-hero .pc-desc-row p{font-size:.88rem}
.prod-hero:hover{transform:translateY(-4px)}
.prod-hero .pc-preview,.prod-hero:hover .pc-preview{max-height:none;padding:1.5rem;border-bottom:none;border-bottom-width:0;border-right:1px solid var(--border)}
.prod-hero .pc-preview-inner,.prod-hero:hover .pc-preview-inner{opacity:1;transform:none}
.prod-hero .pc-arrow{display:none}
.hero-feed{display:flex;flex-direction:column;gap:.35rem}
.hf-row{display:flex;align-items:center;gap:.5rem;padding:.5rem .65rem;background:var(--preview-bg);border-radius:8px;font-size:.64rem;transition:background .2s}
.hf-row:hover{background:var(--blue-light)}
.hf-icon{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.52rem;font-weight:700;color:#fff;flex-shrink:0}
.hf-body{flex:1;min-width:0}
.hf-label{font-weight:600;color:var(--text);font-size:.62rem}
.hf-sub{font-size:.52rem;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hf-tag{font-size:.48rem;font-weight:700;padding:.12rem .32rem;border-radius:4px;flex-shrink:0}
.hf-row.crit{border-left:2px solid var(--red)}
.hf-stats{display:flex;gap:.4rem;margin-top:.4rem}
.hf-stat{flex:1;background:var(--preview-bg);border-radius:8px;padding:.45rem;text-align:center}
.hf-stat-num{font-size:.88rem;font-weight:800;line-height:1}
.hf-stat-label{font-size:.42rem;color:var(--text3);text-transform:uppercase;letter-spacing:.04em;margin-top:.1rem}

/* ===== CASE STUDY — REDESIGN ===== */
.cs-section{position:relative;overflow:hidden;box-shadow:inset 0 1px 0 rgba(0,0,0,0.08),inset 0 -1px 0 rgba(0,0,0,0.08)}
.cs-bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:opacity .7s ease,transform .7s ease}
.cs-bg-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(12,15,25,0.93) 0%,rgba(18,22,40,0.87) 50%,rgba(12,15,25,0.92) 100%)}
.cs-inner{position:relative;z-index:1;max-width:1680px;margin:0 auto;padding:5rem 3rem}
.cs-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:2.5rem}
.cs-progress-wrap{flex:1;max-width:320px;display:flex;align-items:center;gap:.6rem}
.cs-dots{display:flex;gap:.4rem}
.cs-dot{width:32px;height:3px;border-radius:3px;background:rgba(255,255,255,0.1);cursor:pointer;position:relative;overflow:hidden;transition:background .2s}
.cs-dot:hover{background:rgba(255,255,255,0.15)}
.cs-dot-fill{position:absolute;top:0;left:0;height:100%;width:0;background:var(--blue);border-radius:3px}
.cs-dot.active .cs-dot-fill{animation:dotFill var(--cs-duration,8s) linear forwards}
.cs-dot.done .cs-dot-fill{width:100%;background:rgba(255,255,255,0.2)}
@keyframes dotFill{from{width:0}to{width:100%}}
.cs-counter{font-size:.72rem;font-weight:600;color:rgba(255,255,255,0.25);letter-spacing:.05em}
.cs-counter span{color:rgba(255,255,255,0.6);font-size:.8rem}
.cs-arrows{display:flex;gap:.4rem}
.cs-arrow-btn{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;color:rgba(255,255,255,0.4)}
.cs-arrow-btn:hover{background:rgba(255,255,255,0.12);color:#fff}
.cs-panel{display:none;animation:csFade .5s ease}
.cs-panel.active{display:block}
@keyframes csFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.cs-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.cs-eyebrow{display:flex;align-items:center;gap:.5rem;margin-bottom:1.2rem;flex-wrap:wrap}
.cs-elabel{font-size:.68rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600;color:rgba(255,255,255,0.35)}
.cs-pill{font-size:.6rem;font-weight:600;padding:.2rem .6rem;border-radius:6px;background:rgba(255,255,255,0.07);color:rgba(255,255,255,0.5)}
.cs-title2{font-family:var(--font-display);font-size:clamp(1.8rem,3vw,2.3rem);font-weight:300;color:#fff;line-height:1.1;margin-bottom:1.2rem;letter-spacing:-0.025em}
.cs-quote2{font-size:.95rem;font-style:italic;line-height:1.7;color:rgba(255,255,255,0.55);padding-left:1.2rem;border-left:3px solid var(--blue);margin-bottom:1.2rem;max-width:520px}
.cs-meta2{font-size:.75rem;color:rgba(255,255,255,0.3);margin-bottom:2rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.cs-meta-sep{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,0.15)}
.cs-cta2{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1.3rem;border-radius:8px;background:var(--blue);color:#fff;font-size:.82rem;font-weight:600;text-decoration:none;transition:.18s;letter-spacing:-.01em}
.cs-cta2:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 14px rgba(37,99,235,0.3)}
.cs-cta2 svg{transition:transform .2s}.cs-cta2:hover svg{transform:translateX(3px)}
.cs-stats2{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.cs-stat2{background:rgba(255,255,255,0.04);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:14px;padding:1.5rem 1.2rem;text-align:center;transition:.3s}
.cs-stat2:hover{background:rgba(255,255,255,0.07);transform:translateY(-2px)}
.cs-stat-num2{font-size:2.1rem;font-weight:800;line-height:1;margin-bottom:.25rem;letter-spacing:-.02em}
.cs-stat-label2{font-size:.75rem;color:rgba(255,255,255,0.45);margin-bottom:.6rem}
.cs-stat-ctx{display:flex;align-items:center;justify-content:center;gap:.4rem;font-size:.6rem;color:rgba(255,255,255,0.25);padding-top:.55rem;border-top:1px solid rgba(255,255,255,0.05)}
.cs-stat-before{color:rgba(255,255,255,0.2);text-decoration:line-through;text-decoration-color:rgba(255,255,255,0.1)}
.cs-stat-arrow2{color:rgba(255,255,255,0.12)}.cs-stat-after{font-weight:700;color:rgba(255,255,255,0.5)}
.stat-blue{color:#60a5fa}.stat-green{color:#34d399}.stat-amber{color:#fbbf24}.stat-teal{color:#2dd4bf}

/* ===== WHY TELOSA — OPTION A: 4-COL STRIP ===== */
.why-grid-c{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;align-items:stretch;position:relative;z-index:1}
.why-card-c{border:1px solid rgba(0,0,0,0.07);border-radius:16px;background:#fff;transition:.25s;cursor:default;display:flex;flex-direction:column;padding:1.6rem 1.5rem;position:relative;overflow:hidden}
.why-card-c:hover{box-shadow:0 6px 24px rgba(37,99,235,0.09);border-color:rgba(37,99,235,0.2);transform:translateY(-2px)}
.why-card-c.wc-fullstack{background:linear-gradient(145deg,#eef5ff,#dde8ff);border-color:rgba(37,99,235,0.2)}
.why-card-c.wc-prescriptive{background:#091a34;border-color:transparent}
.why-card-c.wc-prescriptive:hover{box-shadow:0 6px 28px rgba(0,0,0,0.3);transform:translateY(-2px)}
.wc-icon{width:38px;height:38px;border-radius:10px;background:rgba(37,99,235,0.08);display:flex;align-items:center;justify-content:center;color:var(--blue);margin-bottom:1rem;flex-shrink:0}
.wc-icon svg{width:18px;height:18px}
.wc-fullstack .wc-icon{background:rgba(37,99,235,0.12)}
.wc-prescriptive .wc-icon{background:rgba(37,99,235,0.2);color:rgba(186,220,255,0.85)}
.wc-text h4{font-size:.97rem;font-weight:700;letter-spacing:-.02em;color:var(--text);margin-bottom:.35rem;line-height:1.25}
.wc-prescriptive .wc-text h4{color:#fff}
.wc-text p{font-size:.8rem;color:var(--text2);line-height:1.65}
.wc-prescriptive .wc-text p{color:rgba(255,255,255,0.45)}
.wc-tag{display:inline-block;font-size:.55rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);background:rgba(37,99,235,0.08);padding:.18rem .55rem;border-radius:99px;margin-bottom:.65rem}

/* ===== STATS — REFINED ===== */
.stats-strip{background:#091a34;padding:4rem 3rem 3rem;color:#fff;position:relative;overflow:hidden}
.stats-strip::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 50%,rgba(255,255,255,0.04) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(255,255,255,0.03) 0%,transparent 50%);pointer-events:none}
.stats-inner{max-width:1680px;margin:0 auto;position:relative;z-index:1}
.stats-eyebrow{text-align:center;margin-bottom:2.5rem}
.stats-eyebrow span{font-size:.68rem;text-transform:uppercase;letter-spacing:.2em;font-weight:600;color:rgba(255,255,255,0.4);padding:.3rem .8rem;border-radius:99px;background:rgba(255,255,255,0.08)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;align-items:stretch}
.stat-item{text-align:center;padding:0 2rem;position:relative;display:flex;flex-direction:column;align-items:center}
.stat-item + .stat-item::before{content:'';position:absolute;left:0;top:10%;height:80%;width:1px;background:rgba(255,255,255,0.12)}
.stat-num{font-family:var(--font-display);font-size:clamp(2.5rem,4.5vw,3.5rem);font-weight:300;color:#fff;line-height:1;margin-bottom:.5rem;letter-spacing:-0.025em;font-style:normal}
.stat-label{font-size:.82rem;color:rgba(255,255,255,0.6);line-height:1.45;margin-bottom:.6rem;max-width:180px;margin-left:auto;margin-right:auto;min-height:2.5em;display:flex;align-items:center;justify-content:center}
.stat-quote{font-size:.7rem;font-style:italic;color:rgba(255,255,255,0.3);line-height:1.5;max-width:200px;margin:0 auto .8rem;padding:.5rem 0;border-top:1px solid rgba(255,255,255,0.08);min-height:4.5em;display:flex;flex-direction:column;justify-content:center}
.stat-quote cite{display:block;margin-top:.25rem;font-style:normal;font-weight:600;font-size:.62rem;color:rgba(255,255,255,0.2)}
.stat-pill{display:inline-flex;align-items:center;gap:.4rem;font-size:.65rem;padding:.3rem .7rem;border-radius:6px;background:rgba(255,255,255,0.1);color:rgba(255,255,255,0.45);margin-top:auto}
.stat-pill-before{color:rgba(255,255,255,0.35);text-decoration:line-through;text-decoration-color:rgba(255,255,255,0.15)}
.stat-pill-arrow{color:rgba(255,255,255,0.2)}
.stat-pill-after{color:#c8f135;font-weight:700}
.stats-disclaimer{text-align:right;margin-top:2rem;font-size:.65rem;color:rgba(255,255,255,0.2);font-style:italic}

/* ===== ENTERPRISE BAR (merged into stats) ===== */
.ent-bar{border-top:1px solid rgba(255,255,255,0.08);padding-top:2rem;display:flex;align-items:center;justify-content:center;gap:2.5rem;flex-wrap:wrap;margin-top:2rem}
.ent-bar-item{display:flex;align-items:center;gap:.5rem}
.ent-bar-icon{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.5);flex-shrink:0}
.ent-bar-icon svg{width:13px;height:13px}
.ent-bar-text{font-size:.78rem;font-weight:600;color:rgba(255,255,255,0.5)}
.ent-bar-badge{font-size:.52rem;font-weight:700;padding:.12rem .35rem;border-radius:4px;background:rgba(255,255,255,0.08);color:rgba(255,255,255,0.6);margin-left:.3rem}
.ent-badge{display:inline-block;margin-top:.4rem;padding:.15rem .5rem;border-radius:4px;font-size:.65rem;font-weight:600;background:var(--blue-light);color:var(--blue);margin-right:.3rem}

/* ===== ROI CALCULATOR (Improved #7) ===== */
.roi-bg{background:#f0f6ff;border-top:1px solid rgba(37,99,235,0.08);border-bottom:1px solid rgba(37,99,235,0.08)}
.roi-inner{max-width:900px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.roi-form label{display:block;font-size:.82rem;font-weight:600;margin-bottom:.4rem;color:var(--text)}
.roi-form input[type=range]{width:100%;margin:.3rem 0 .1rem;accent-color:var(--blue)}
.roi-range-row{display:flex;justify-content:space-between;font-size:.72rem;color:var(--text3);margin-bottom:1.2rem}
.roi-range-val{font-weight:700;color:var(--blue);font-size:.9rem}
.roi-results{background:#fff;border:1px solid rgba(0,0,0,0.07);border-radius:16px;padding:2rem;box-shadow:0 4px 24px rgba(0,0,0,0.06)}
.roi-results h4{font-size:1rem;font-weight:600;margin-bottom:1.2rem;color:var(--text)}
.roi-result-item{display:flex;align-items:center;justify-content:space-between;padding:.8rem 0;border-bottom:1px solid var(--border)}
.roi-result-item:last-child{border-bottom:none}
.roi-result-item span{font-size:.85rem;color:var(--text2)}
.roi-result-item strong{font-family:var(--font-display);font-size:1.4rem;font-weight:400;color:var(--blue)}
.roi-result-item.highlight{background:#091a34;margin:0 -2rem;padding:1.2rem 2rem;border-radius:12px;border-bottom:none;margin-top:.5rem}
.roi-result-item.highlight span{color:rgba(255,255,255,0.6)}
.roi-result-item.highlight strong{color:#fff;font-size:2rem;font-weight:300;letter-spacing:-0.025em;animation:roiPop .4s cubic-bezier(0.34,1.56,0.64,1) both}
@keyframes roiPop{from{opacity:0;transform:scale(0.85)}to{opacity:1;transform:scale(1)}}

/* ===== FINAL CTA ===== */
.final-cta{padding:6rem 3rem;text-align:center;position:relative;overflow:hidden;background:#091a34}
.final-cta::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:800px;height:500px;background:radial-gradient(ellipse,rgba(37,99,235,0.18) 0%,transparent 65%);pointer-events:none}
.final-cta h2{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,2.9rem);font-weight:300;line-height:1.08;margin-bottom:.8rem;letter-spacing:-0.025em;color:#fff}
.final-cta h2 em{color:#c8f135;font-style:normal}
.final-cta p{color:rgba(255,255,255,0.5);font-size:1.05rem;margin-bottom:2rem}
.btn-final-primary{background:var(--blue);color:#fff;border:none;padding:.65rem 1.7rem;border-radius:8px;font-size:.92rem;font-weight:600;cursor:pointer;font-family:var(--font-body);display:inline-flex;align-items:center;gap:.45rem;transition:.18s;letter-spacing:-.01em;text-decoration:none}
.btn-final-primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 6px 20px rgba(37,99,235,.38);color:#fff}
.btn-final-outline{background:transparent;color:rgba(255,255,255,0.5);border:none;padding:0;font-size:.88rem;font-weight:500;cursor:pointer;font-family:var(--font-body);display:inline-flex;align-items:center;gap:.3rem;transition:.2s;position:relative;text-decoration:none}
.btn-final-outline:hover{color:rgba(255,255,255,.9)}

/* ===== FOOTER (Improved #6) ===== */
.footer-main{background:#091a34;color:#fff;padding:4rem 3rem 2rem}
.footer-grid{max-width:1680px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2rem;margin-bottom:3rem}
.footer-brand .fb-name{font-weight:700;font-size:1.3rem;margin-bottom:.5rem}
.footer-brand .fb-name span{color:var(--blue-light)}
.footer-brand .fb-logo{margin-bottom:.9rem}
.footer-brand p{font-size:.82rem;color:rgba(255,255,255,0.45);line-height:1.6;max-width:240px}
.footer-col h5{font-size:.72rem;text-transform:uppercase;letter-spacing:.15em;color:rgba(255,255,255,0.35);margin-bottom:1rem;font-weight:600}
.footer-col a{display:block;font-size:.85rem;color:rgba(255,255,255,0.6);margin-bottom:.6rem;transition:.2s}
.footer-col a:hover{color:#fff}
.footer-bottom{max-width:1680px;margin:0 auto;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:space-between;font-size:.75rem;color:rgba(255,255,255,0.3)}
.footer-social{display:flex;gap:.8rem}
.footer-social a{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,0.06);display:flex;align-items:center;justify-content:center;transition:.2s;font-size:.75rem;color:rgba(255,255,255,0.5)}
.footer-social a:hover{background:rgba(255,255,255,0.12);color:#fff}

/* ===== DEMO MODAL ===== */
.modal-overlay{
  position:fixed;inset:0;z-index:9999;
  background:rgba(10,12,20,0.7);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;
  transition:opacity .35s ease,visibility .35s ease;
}
.modal-overlay.open{opacity:1;visibility:visible}
.modal-overlay.open .modal-card{transform:translateY(0) scale(1);opacity:1}

.modal-card{
  width:100%;max-width:480px;
  background:#fff;border-radius:20px;
  padding:2.8rem 2.5rem 2.2rem;
  position:relative;
  transform:translateY(24px) scale(0.97);opacity:0;
  transition:transform .4s cubic-bezier(0.4,0,0.2,1) .05s,opacity .35s ease .05s;
  box-shadow:0 24px 80px rgba(0,0,0,0.2);
  margin:1.5rem;
}

.modal-close{
  position:absolute;top:1.2rem;right:1.2rem;
  width:36px;height:36px;border-radius:50%;border:none;
  background:var(--preview-bg);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  color:var(--text3);transition:.2s;
}
.modal-close:hover{background:var(--border);color:var(--text)}

.modal-eyebrow{font-size:.68rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600;color:var(--blue);margin-bottom:.6rem}
.modal-title{font-family:var(--font-display);font-size:1.6rem;font-weight:300;line-height:1.1;letter-spacing:-0.025em;margin-bottom:.4rem}
.modal-sub{font-size:.88rem;color:var(--text2);line-height:1.5;margin-bottom:2rem}

.modal-field{margin-bottom:1.1rem}
.modal-field label{display:block;font-size:.72rem;font-weight:600;color:var(--text);margin-bottom:.35rem;letter-spacing:.02em}
.modal-field input{
  width:100%;padding:.7rem 1rem;border:1.5px solid var(--border);
  border-radius:10px;font-size:.88rem;font-family:var(--font-body);
  color:var(--text);background:#fff;
  transition:.2s;outline:none;
}
.modal-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,0.08)}
.modal-field input::placeholder{color:var(--text3)}

.modal-submit{
  width:100%;padding:.8rem;border:none;border-radius:10px;
  background:var(--blue);color:#fff;font-size:.92rem;font-weight:700;
  font-family:var(--font-body);cursor:pointer;
  transition:.25s;margin-top:.5rem;
  display:flex;align-items:center;justify-content:center;gap:.5rem;
}
.modal-submit:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:0 6px 20px rgba(37,99,235,0.3)}

.modal-trust{display:flex;align-items:center;justify-content:center;gap:1.2rem;margin-top:1.2rem}
.modal-trust span{font-size:.62rem;color:var(--text3);display:flex;align-items:center;gap:.3rem}
.modal-trust svg{width:12px;height:12px;color:var(--green)}

/* Success state */
.modal-success{display:none;text-align:center;padding:1rem 0}
.modal-success.show{display:block}
.modal-success-icon{width:56px;height:56px;border-radius:50%;background:rgba(16,185,129,0.1);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;color:var(--green)}
.modal-success h3{font-size:1.3rem;font-weight:800;margin-bottom:.4rem}
.modal-success p{font-size:.88rem;color:var(--text2);line-height:1.5}

.modal-form.hidden{display:none}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .mosaic-grid{grid-template-columns:repeat(6,1fr);grid-template-rows:140px 140px 180px}
  .mc-1{grid-column:1/4;grid-row:1/2}.mc-2{grid-column:4/7;grid-row:1/2}
  .mc-4{grid-column:1/4;grid-row:2/3}.mc-6{grid-column:4/7;grid-row:2/3}
  .mc-3{grid-column:1/7;grid-row:3/4}.mc-5,.mc-7{display:none}
  .wf-layout{gap:3rem}
  .cs-layout{grid-template-columns:1fr}
  .why-grid-c{grid-template-columns:1fr 1fr}
  .roi-inner{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr 1fr}
  .footer-brand{grid-column:1/4;margin-bottom:1rem}
}
/* Tablet stacked hero (iPad portrait ≤1024px): text first, map below */
@media(max-width:1024px){
  .hero-dotmap{min-height:auto;flex-direction:column;align-items:stretch;padding-top:68px}
  .hero-content{order:1;padding:2.5rem 2rem 3rem}
  #hero-canvas{position:relative;inset:auto;width:100%;height:340px;order:2;display:block}
  .hero-glow-apac,.hero-glow-india,.hero-vignette{display:none}
}

@media(max-width:768px){
  /* Nav */
  nav{padding:0 1.5rem}
  .nav-links{display:none}
  .hamburger{display:flex}
  /* Hero */
  .hero-content{padding:2rem 1.5rem 2.5rem}
  #hero-canvas{height:300px}
  .hero-h1{font-size:clamp(2rem,8vw,3rem)}
  .hero-sub{font-size:.9rem;max-width:100%}
  .hero-ctas{flex-direction:column;align-items:flex-start;gap:.75rem}
  .hero-cta-primary,.hero-cta-secondary{width:100%;justify-content:center}
  /* Industries */
  .mosaic-grid{grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,130px) auto}
  .mc-1{grid-column:1/2;grid-row:1/2}.mc-2{grid-column:2/3;grid-row:1/2}
  .mc-4{grid-column:1/2;grid-row:2/3}.mc-6{grid-column:2/3;grid-row:2/3}
  .mc-5{display:block;grid-column:1/3;grid-row:3/4}.mc-7{display:none}
  .mc-3{grid-column:1/3;grid-row:4/5}
  /* Sections */
  .section,.section-full,.final-cta{padding:3rem 1.5rem}
  /* How It Works */
  .hw-flow{flex-wrap:wrap}
  .hw-flow .hw-card{flex:1 1 45%;min-width:240px}
  .hw-arrow{display:none}
  .hw-stripe-bg{display:none}
  /* Products */
  .prod-grid{grid-template-columns:repeat(2,1fr)}
  .prod-card.prod-hero{grid-column:span 2;grid-template-columns:1fr}
  .prod-hero .pc-preview{border-right:none;border-bottom:1px solid var(--border)}
  .pc-preview{max-height:none !important;overflow:visible !important;padding:1rem !important;border-bottom:1px solid var(--border) !important}
  .pc-preview-inner{opacity:1 !important;transform:none !important}
  .pc-arrow{transform:rotate(-90deg);color:var(--blue)}
  /* Why Telosa */
  .why-grid-c{grid-template-columns:1fr 1fr}
  /* AI Workflows */
  .wf-layout{grid-template-columns:1fr;gap:2rem}
  .wf-visual{position:static;aspect-ratio:auto;height:auto;max-height:none;max-width:100%}
  .wf-scene{position:relative;inset:auto}
  .wf-scene .scene-bg,.wf-scene .scene-overlay{position:absolute;inset:0}
  .glass-card{flex:none}
  .sui-stats{margin-top:.8rem}
  .wf-scene > div:not(.scene-bg):not(.scene-overlay){position:relative;padding:1.25rem}
  /* Platform Impact */
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:2.5rem 0}
  .stat-item:nth-child(3)::before{display:none}
  .stat-item{padding:0 1.5rem}
  .stat-pill{align-self:center}
  .stats-strip{padding:3rem 1.5rem 2.5rem}
  .ent-bar{gap:1.5rem;flex-wrap:wrap;justify-content:center}
  /* Trust */
  .trust-inner{flex-wrap:wrap;justify-content:center;gap:1rem;padding:0 1.5rem}
  .trust-badges{margin-left:0;flex-wrap:wrap;justify-content:center}
  /* Case study */
  .cs-stats2{grid-template-columns:1fr 1fr}
  .cs-nav{flex-wrap:wrap;gap:1rem}
  /* Footer */
  .footer-main{padding:2rem 1.25rem 1rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:.9rem 1.25rem;margin-bottom:1.25rem}
  .footer-brand{grid-column:1/3;margin-bottom:0}
  .footer-brand .fb-name{font-size:1.1rem;margin-bottom:.25rem}
  .footer-brand p{font-size:.73rem;line-height:1.45;max-width:100%}
  .footer-col h5{font-size:.62rem;margin-bottom:.4rem;letter-spacing:.12em}
  .footer-col a{font-size:.75rem;margin-bottom:.25rem;line-height:1.3}
  .footer-bottom{flex-direction:column;gap:.5rem;text-align:center;font-size:.65rem;padding-top:1rem}
  .footer-social a{width:28px;height:28px;font-size:.7rem}
}
@media(max-width:480px){
  /* Hero */
  .hero-h1{font-size:clamp(1.8rem,7vw,2.4rem)}
  .hero-eyebrow{font-size:.62rem}
  /* Industries */
  .mosaic-grid{grid-template-columns:1fr;grid-template-rows:auto}
  .mc-1,.mc-2,.mc-3,.mc-4,.mc-5,.mc-6{grid-column:1/-1;grid-row:auto}
  .mc-1,.mc-2,.mc-4,.mc-6,.mc-5{aspect-ratio:16/9}
  /* How It Works */
  .hw-flow .hw-card{flex:1 1 100%}
  /* Products */
  .prod-grid,.why-grid-c{grid-template-columns:1fr}
  .prod-card.prod-hero{grid-column:span 1}
  /* Why Telosa */
  .why-card-c.wc-hero{flex-direction:column}
  .wc-hero-right{flex-wrap:wrap}
  /* Platform Impact */
  .stats-grid{grid-template-columns:1fr;gap:2rem}
  .stat-item + .stat-item::before{display:none}
  .stat-item{padding:0;border-bottom:1px solid rgba(255,255,255,0.08);padding-bottom:2rem}
  .stat-item:last-child{border-bottom:none;padding-bottom:0}
  /* Footer */
  .footer-social{justify-content:center}
}

/* Mid-tablet polish (iPad portrait, small laptops 820-900px) */
@media(max-width:900px) and (min-width:769px){
  nav{padding:0 2rem}
  .hero-content{padding:2.5rem 2rem 4rem}
  .section,.section-full,.final-cta{padding:4rem 2rem}
  .industries-section{padding:3rem 2rem 2rem}
  .footer-main{padding:3.5rem 2rem 1.75rem}
  .trust-inner{padding:0 2rem}
  .cs-inner{padding:4rem 2rem}
  .stats-strip{padding:4rem 2rem}
}

/* Small phones (iPhone SE, Galaxy S8, ≤360px) */
@media(max-width:360px){
  nav{padding:0 1rem;height:62px}
  .mobile-nav{top:62px}
  /* OLD SVG logo mobile overrides (commented out)
  .nav-logo-icon{width:36px;height:36px;border-radius:9px}
  .nav-logo-icon svg{width:28px;height:28px}
  .nav-logo-name{font-size:1.45rem}
  .nav-logo-sub{font-size:.5rem;margin-top:3px}
  */
  .nav-logo-img{height:48px}
  .hero-content{padding:1.5rem 1rem 2.5rem}
  .hero-h1{font-size:clamp(1.5rem,7vw,2rem)}
  .hero-sub{font-size:.85rem}
  .hero-eyebrow{font-size:.6rem}
  .section,.section-full,.final-cta{padding:2.5rem 1rem}
  .industries-section{padding:2.5rem 1rem 1.5rem}
  .section-title{font-size:clamp(1.4rem,6vw,1.8rem)}
  .section-sub{font-size:.92rem}
  .footer-main{padding:2.5rem 1rem 1.25rem}
  .footer-grid{gap:1.5rem;margin-bottom:2rem}
  .trust-inner{padding:0 1rem;gap:.75rem}
  .cs-inner{padding:3rem 1rem}
  .stats-strip{padding:2.5rem 1rem 2rem}
  .modal{padding:1.5rem 1.25rem;border-radius:14px}
  .btn,.hero-cta-primary,.btn-final-primary{padding:.55rem 1.2rem;font-size:.85rem}
}

/* Touch devices (no hover) — always show product card previews */
@media (hover:none){
  .pc-preview{max-height:none !important;overflow:visible !important;padding:1rem !important;border-bottom:1px solid var(--border) !important}
  .pc-preview-inner{opacity:1 !important;transform:none !important}
  .pc-arrow{transform:rotate(-90deg);color:var(--blue)}
}

/* Wide-screen nav scale-up */
@media(min-width:1400px){
  nav{height:80px;padding:0 4rem}
  .nav-links{gap:2.8rem}
  .nav-links a{font-size:1.05rem;font-weight:500}
  .btn,.hero-cta-primary{font-size:.95rem;padding:.65rem 1.6rem}
  nav a.btn,nav .btn{font-size:.95rem;padding:.7rem 1.6rem;border-radius:10px}
}

/* Ultra-wide screens (cap padding so nav feels anchored) */
@media(min-width:1600px){
  nav{padding:0 max(4rem,calc((100vw - 1560px)/2))}
  .nav-links{gap:3.2rem}
  .nav-links a{font-size:1.1rem}
}
