/* ═══════════════════════════════════════════════════════════
   TrueSolve AI — Shared Styles
   ═══════════════════════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --deep:#0A1A2F;
  --navy:#0D2137;
  --dark:#112B45;
  --teal:#0CCFCF;
  --teal-mid:#0AB4B4;
  --teal-dark:#088F8F;
  --teal-glow:rgba(12,207,207,.2);
  --teal-soft:rgba(12,207,207,.06);
  --white:#F0F7F7;
  --gray:#8BA4B8;
  --gray-lt:#C0D1DE;
  --surface:rgba(17,43,69,.45);
  --border:rgba(12,207,207,.08);
  --font-d:'Space Grotesk',sans-serif;
  --font-b:'DM Sans',sans-serif;
  --rad:14px;
  --ease:cubic-bezier(.16,1,.3,1);
  --max:1140px;
}

html{scroll-behavior:smooth}
body{font-family:var(--font-b);background:var(--deep);color:var(--white);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:var(--teal);text-decoration:none;transition:color .2s}
a:hover{color:#3EE8E8}
img{max-width:100%;display:block}

.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}

/* ── Utility ─────────────────────────────────────── */
.label{font-family:var(--font-d);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin-bottom:.75rem;line-height:1.5}
.heading{font-family:var(--font-d);font-weight:700;line-height:1.32;letter-spacing:-.01em}
.heading--xl{font-size:clamp(2.6rem,5.5vw,4.2rem);line-height:1.25}
.heading--lg{font-size:clamp(2rem,3.8vw,3rem);line-height:1.3}
.heading--md{font-size:clamp(1.4rem,2.4vw,1.8rem);line-height:1.35}
.heading--sm{font-size:clamp(1.1rem,1.8vw,1.35rem);line-height:1.4}
.sub{color:var(--gray-lt);font-size:1.08rem;line-height:1.72;max-width:600px}
.teal{color:var(--teal)}

.reveal{opacity:0;transform:translateY(30px);transition:opacity .65s var(--ease),transform .65s var(--ease)}
.reveal.vis{opacity:1;transform:none}

.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.72rem 1.7rem;border-radius:100px;font-family:var(--font-b);font-weight:600;font-size:.9rem;border:none;cursor:pointer;transition:all .25s var(--ease)}
.btn--p{background:linear-gradient(135deg,var(--teal),var(--teal-mid));color:var(--deep);box-shadow:0 4px 20px var(--teal-glow)}
.btn--p:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(12,207,207,.3);color:var(--deep)}
.btn--g{background:transparent;color:var(--teal);border:1.5px solid rgba(12,207,207,.25)}
.btn--g:hover{border-color:var(--teal);background:var(--teal-soft);color:var(--teal)}
.btn--lg{padding:.88rem 2.2rem;font-size:1rem}

/* ── Nav ─────────────────────────────────────────── */
.nav{position:fixed;top:0;left:0;right:0;z-index:999;padding:1rem 0;transition:background .3s,padding .3s,box-shadow .3s}
.nav.scrolled{background:rgba(10,26,47,.94);backdrop-filter:blur(16px);padding:.6rem 0;box-shadow:0 1px 0 var(--border)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}
.nav__logo{display:flex;align-items:center;gap:.55rem;font-family:var(--font-d);font-weight:700;font-size:1.3rem;color:var(--white);line-height:1.4}
.nav__mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,var(--teal),var(--teal-dark));display:flex;align-items:center;justify-content:center;box-shadow:0 0 18px var(--teal-glow)}
.nav__mark svg{width:18px;height:18px}
.nav__logo em{font-style:normal;color:var(--teal)}
.nav__links{display:flex;align-items:center;gap:2rem;list-style:none}
.nav__links a{font-size:.88rem;font-weight:500;color:var(--gray-lt)}
.nav__links a:hover{color:var(--teal)}
.nav__links a.active{color:var(--teal)}
.ham{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.ham span{width:22px;height:2px;background:var(--gray-lt);border-radius:2px}

/* ── Footer ──────────────────────────────────────── */
.footer{padding:2.5rem 0;border-top:1px solid var(--border)}
.footer__inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.2rem}
.footer__logo{font-family:var(--font-d);font-weight:700;font-size:1.05rem;color:var(--white);line-height:1.4}
.footer__logo em{font-style:normal;color:var(--teal)}
.footer__vet{display:flex;align-items:center;gap:.55rem}
.footer__flag{width:28px;height:15px;border-radius:2px;flex-shrink:0;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.footer__vet-text{font-size:.78rem;font-weight:600;color:var(--gray);letter-spacing:.02em}
.footer__links{display:flex;gap:1.8rem;list-style:none;flex-wrap:wrap}
.footer__links a{font-size:.82rem;color:var(--gray)}
.footer__links a:hover{color:var(--teal)}
.footer__copy{width:100%;text-align:center;font-size:.75rem;color:var(--gray);margin-top:1rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.03)}

/* ── Page Header (subpages) ──────────────────────── */
.page-header{position:relative;padding:9rem 0 4rem;overflow:hidden}
.page-header__bg{position:absolute;inset:0}
.page-header__bg::before{content:'';position:absolute;top:-40%;right:-20%;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(12,207,207,.08),transparent 65%)}
.page-header__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(12,207,207,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(12,207,207,.02) 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse 60% 60% at 50% 40%,black,transparent)}
.page-header__content{position:relative;z-index:1;max-width:640px}
.page-header__content .heading{margin-bottom:1rem}
.page-header__breadcrumb{font-size:.82rem;color:var(--gray);margin-bottom:1.5rem;display:flex;align-items:center;gap:.4rem}
.page-header__breadcrumb a{color:var(--gray)}
.page-header__breadcrumb a:hover{color:var(--teal)}
.page-header__breadcrumb span{opacity:.4}

/* ── Content Sections (subpages) ─────────────────── */
.section{padding:clamp(3.5rem,7vw,6rem) 0}
.section--alt{background:linear-gradient(180deg,transparent,rgba(13,33,55,.3),transparent)}
.section__head{max-width:640px;margin-bottom:2.5rem}

/* Grid cards used across pages */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--rad);padding:2rem;transition:all .3s var(--ease)}
.card:hover{border-color:rgba(12,207,207,.18);transform:translateY(-3px);box-shadow:0 12px 36px rgba(0,0,0,.25)}
.card__icon{width:46px;height:46px;border-radius:12px;background:var(--teal-soft);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:1.2rem;margin-bottom:1.2rem}
.card__title{font-family:var(--font-d);font-size:1.05rem;font-weight:700;margin-bottom:.5rem;line-height:1.4}
.card__text{font-size:.88rem;color:var(--gray);line-height:1.65}
.card__tag{display:inline-block;padding:.2rem .6rem;border-radius:100px;font-size:.7rem;font-weight:600;background:var(--teal-soft);color:var(--teal-mid);border:1px solid rgba(12,207,207,.1);margin-top:.8rem}

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}

/* Prose content (privacy, terms, about) */
.prose{max-width:780px;margin:0 auto}
.prose h2{font-family:var(--font-d);font-size:1.3rem;font-weight:700;margin:2.5rem 0 .8rem;color:var(--white);line-height:1.4}
.prose h3{font-family:var(--font-d);font-size:1.05rem;font-weight:700;margin:2rem 0 .6rem;color:var(--white);line-height:1.4}
.prose p{font-size:.92rem;color:var(--gray-lt);line-height:1.75;margin-bottom:1rem}
.prose ul,.prose ol{margin:0 0 1.2rem 1.5rem;color:var(--gray-lt);font-size:.92rem;line-height:1.75}
.prose li{margin-bottom:.4rem}
.prose strong{color:var(--white);font-weight:600}
.prose a{color:var(--teal)}
.prose .effective-date{font-size:.85rem;color:var(--gray);margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}

/* Solution detail page */
.sol-hero{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;padding:2rem 0}
.sol-hero__preview{background:var(--navy);border:1px solid var(--border);border-radius:var(--rad);overflow:hidden}
.sol-hero__bar{display:flex;align-items:center;gap:.5rem;padding:.65rem 1rem;background:rgba(10,26,47,.7);border-bottom:1px solid var(--border)}
.sol-hero__dot{width:8px;height:8px;border-radius:50%}
.sol-hero__dot--r{background:#E8445A}
.sol-hero__dot--y{background:#F5A623}
.sol-hero__dot--g{background:#2ECC71}
.sol-hero__body{padding:1.5rem}
.sol-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin:2.5rem 0}
.sol-stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--rad);padding:1.5rem;text-align:center}
.sol-stat__val{font-family:var(--font-d);font-size:2.2rem;font-weight:700;color:var(--teal);line-height:1.3}
.sol-stat__lbl{font-size:.82rem;color:var(--gray);margin-top:.2rem}

/* Team cards (about page) */
.team-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--rad);padding:2rem;text-align:center}
.team-card__avatar{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,var(--teal-soft),rgba(12,207,207,.12));border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin:0 auto 1rem}
.team-card__name{font-family:var(--font-d);font-size:1rem;font-weight:700;margin-bottom:.2rem;line-height:1.4}
.team-card__role{font-size:.82rem;color:var(--teal-mid);font-weight:600;margin-bottom:.6rem}
.team-card__bio{font-size:.84rem;color:var(--gray);line-height:1.55}

/* Careers page */
.job-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--rad);padding:1.8rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;transition:all .3s var(--ease)}
.job-card:hover{border-color:rgba(12,207,207,.18)}
.job-card__info{flex:1}
.job-card__title{font-family:var(--font-d);font-size:1.05rem;font-weight:700;margin-bottom:.35rem;line-height:1.4}
.job-card__meta{display:flex;flex-wrap:wrap;gap:.8rem;font-size:.82rem;color:var(--gray);margin-bottom:.5rem}
.job-card__meta-item{display:flex;align-items:center;gap:.3rem}
.job-card__desc{font-size:.85rem;color:var(--gray);line-height:1.55}

/* Values (about page) */
.value-card{display:flex;align-items:flex-start;gap:1.2rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--rad);padding:1.8rem}
.value-card__icon{width:42px;height:42px;border-radius:11px;background:var(--teal-soft);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0}
.value-card__title{font-family:var(--font-d);font-size:.95rem;font-weight:700;margin-bottom:.3rem;line-height:1.4}
.value-card__text{font-size:.85rem;color:var(--gray);line-height:1.55}

/* Industry detail features */
.ind-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;padding:2rem 0}
.ind-detail--reverse{direction:rtl}
.ind-detail--reverse > *{direction:ltr}
.ind-features{display:flex;flex-direction:column;gap:.8rem}
.ind-feature{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;border-radius:10px;background:rgba(12,207,207,.03);border:1px solid var(--border)}
.ind-feature__check{width:22px;height:22px;border-radius:6px;background:var(--teal);color:var(--deep);font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.ind-feature__text{font-size:.88rem;color:var(--gray-lt);line-height:1.5}
.ind-feature__text strong{color:var(--white);font-weight:600}

/* CTA shared */
.cta{padding:clamp(4rem,8vw,7rem) 0}
.cta__box{border-radius:22px;padding:clamp(2.5rem,5vw,4rem) clamp(2rem,4vw,3rem);text-align:center;position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(12,207,207,.06),rgba(12,207,207,.02));border:1px solid rgba(12,207,207,.12)}
.cta__box::before{content:'';position:absolute;top:-50%;left:50%;transform:translateX(-50%);width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(12,207,207,.08),transparent 60%)}
.cta__content{position:relative;z-index:1}
.cta__title{margin-bottom:1rem}
.cta__desc{font-size:1.05rem;color:var(--gray-lt);max-width:500px;margin:0 auto 2rem;line-height:1.7}
.cta__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem}
.cta__note{font-size:.82rem;color:var(--gray);margin-top:1rem}

/* ── Responsive ──────────────────────────────────── */
@media(max-width:960px){
  .nav__links{display:none}.ham{display:flex}
  .grid-2{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .sol-hero{grid-template-columns:1fr}
  .ind-detail,.ind-detail--reverse{grid-template-columns:1fr;direction:ltr}
  .sol-stats{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:600px){
  .grid-3{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr 1fr}
  .sol-stats{grid-template-columns:1fr}
}
