/* =============================================================
   TechVistaar — Global styles
   Design tokens, reset, typography, layout shell, shared sections
   (proof band, CTA band, page hero) and the About-page components.
   Buttons, cards, forms and pagination each have their own file
   under components/ — this file only holds what's truly global.
============================================================= */

:root{
  --paper:#FBFAF6;
  --panel:#FFFFFF;
  --panel-2:#F3F1E9;
  --ink:#12182B;
  --line:rgba(18,24,43,0.10);
  --slate:#5B6178;
  --amber:#E89A2C;
  --amber-ink:#3A2506;
  --amber-tint:#FFF3DC;
  --teal:#12967F;
  --teal-tint:#E6F6F2;
  --purple:#7C5CFC;
  --purple-tint:#F1EEFF;
  --blue:#2E9BD6;
  --blue-tint:#E8F4FB;
  --coral:#F06A6A;
  --coral-tint:#FDEAEA;
  --radius:14px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4,.display{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  letter-spacing:-0.02em;
  line-height:1.08;
  color:var(--ink);
}
.mono{
  font-family:'IBM Plex Mono', monospace;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){ .wrap{padding:0 20px;} }

.bg-rings{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(circle at 84% 6%, rgba(232,154,44,0.10), transparent 42%),
    radial-gradient(circle at 8% 65%, rgba(18,150,127,0.07), transparent 46%);
}

/* ---------- Section shell ---------- */
section{ position:relative; z-index:1; padding:90px 0; }
.section-head{ max-width:620px; margin-bottom:52px; }
.section-head .mono{ color:var(--teal); font-size:12px; margin-bottom:14px; display:block; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); }
.section-head p{ margin-top:14px; color:var(--slate); font-size:16px; }
.section-head-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.section-subhead{ font-size:18px; margin-top:34px; margin-bottom:14px; }
.alt-bg{ background:var(--panel-2); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; color:var(--amber-ink);
  border:1px solid rgba(232,154,44,0.4); background:var(--amber-tint);
  padding:6px 14px; border-radius:999px; margin-bottom:22px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--amber); }

/* ---------- Proof band ---------- */
.proof{
  background:var(--panel); border:1px solid var(--line); border-radius:20px;
  padding:44px; display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
@media (max-width:760px){ .proof{ grid-template-columns:1fr 1fr; } }
.proof div b{ font-family:'Space Grotesk'; font-size:32px; color:var(--amber-ink); display:block; }
.proof div span{ font-size:13px; color:var(--slate); }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--amber-tint);
  border:1px solid rgba(232,154,44,0.4);
  border-radius:22px; padding:56px; text-align:center;
}
.cta-band h2{ font-size:clamp(26px,3.6vw,38px); max-width:640px; margin:0 auto; }
.cta-band p{ color:var(--amber-ink); margin-top:14px; font-size:15.5px; opacity:.8; }

/* ---------- Page hero (About / Contact / Software / Category / Product / Inquiry / Blog) ---------- */
.page-hero{ padding:78px 0 36px; }
.page-hero h1{ font-size:clamp(32px, 4.6vw, 50px); max-width:660px; }
.page-hero p.lead{ margin-top:16px; max-width:540px; font-size:16.5px; color:var(--slate); }

/* ---------- Breadcrumb (Product, Category, Inquiry, single Blog post) ---------- */
.breadcrumb{ font-size:13px; color:var(--slate); margin-bottom:20px; }
.breadcrumb a:hover{ color:var(--ink); }

/* ---------- Generic long-form prose (legal pages, blog article body) ---------- */
.article-body{ max-width:720px; font-size:16.5px; line-height:1.8; color:var(--ink); margin-top:36px; }
.article-body p{ margin-bottom:20px; }
.article-cover{ margin-top:36px; border-radius:20px; overflow:hidden; border:1px solid var(--line); aspect-ratio:16/8; display:flex; align-items:center; justify-content:center; }

/* ---------- Search box (Blog + Software search) ---------- */
.search-row{ display:flex; gap:12px; margin-top:32px; margin-bottom:26px; max-width:480px; flex-wrap:wrap; }
.search-box{ flex:1; min-width:220px; display:flex; align-items:center; gap:10px; background:var(--panel); border:1px solid var(--line); border-radius:999px; padding:12px 18px; }
.search-box input{ border:none; outline:none; background:none; font-family:'Inter'; font-size:14.5px; color:var(--ink); width:100%; }
.search-box input::placeholder{ color:var(--slate); }
.load-more-row{ display:flex; justify-content:center; margin-top:40px; }

/* ---------- Signature graphic (used on Homepage + About page) ---------- */
.radiate-wrap{ position:relative; display:flex; align-items:center; justify-content:center; min-height:420px; }
.radiate-wrap svg{ width:100%; height:auto; max-width:480px; }
.ring{ fill:none; stroke:rgba(18,24,43,0.14); }
.ring.accent{ stroke:rgba(232,154,44,0.55); }
.node{ fill:var(--amber); }
.node.teal{ fill:var(--teal); }
.node.dim{ fill:var(--slate); opacity:0.55; }
.link{ stroke:rgba(18,24,43,0.16); stroke-width:1; }

@keyframes pulseRing{
  0%{ opacity:.9; transform:scale(1); }
  70%{ opacity:0; transform:scale(1.35); }
  100%{ opacity:0; transform:scale(1.35); }
}
.pulse{ transform-origin:240px 240px; animation:pulseRing 3.2s ease-out infinite; }
.pulse.d2{ animation-delay:1.05s; }
.pulse.d3{ animation-delay:2.1s; }
@keyframes nodeGlow{ 0%,100%{ opacity:.6; } 50%{ opacity:1; } }
.glow{ animation:nodeGlow 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .pulse, .glow{ animation:none; } }

/* ---------- Chips (used for tags/integrations) ---------- */
.chip-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.chip{
  border:1px solid var(--line); background:var(--panel); color:var(--slate);
  font-size:13.5px; font-weight:500; padding:9px 18px; border-radius:999px;
  cursor:pointer; transition:all .18s ease;
}
.chip:hover{ border-color:rgba(18,24,43,0.3); color:var(--ink); }
.chip.active{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

/* ---------- About page: Hero stat tiles (distinct from the homepage's radiate graphic) ---------- */
.about-stats-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:640px){ .about-stats-grid{ grid-template-columns:1fr; } }
.about-stat-tile{
  background:var(--panel); border:1px solid var(--line); border-radius:16px;
  padding:26px; transition:border-color .2s ease, transform .2s ease;
}
.about-stat-tile:nth-child(4n+1){ border-top:3px solid var(--amber); }
.about-stat-tile:nth-child(4n+2){ border-top:3px solid var(--teal); }
.about-stat-tile:nth-child(4n+3){ border-top:3px solid var(--purple); }
.about-stat-tile:nth-child(4n+4){ border-top:3px solid var(--blue); }
.about-stat-tile:hover{ transform:translateY(-3px); }
.about-stat-tile b{ display:block; font-family:'Space Grotesk'; font-size:34px; color:var(--ink); }
.about-stat-tile span{ font-size:13px; color:var(--slate); margin-top:6px; display:block; }

/* ---------- About page: Story ---------- */
.story{ background:var(--panel-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.story-layout{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .story-layout{ grid-template-columns:1fr; gap:36px; } }
.story-layout h2{ font-size:clamp(26px,3vw,34px); margin-bottom:20px; }
.story-layout p{ color:var(--slate); font-size:15.5px; margin-bottom:16px; }
.story-quote{
  border-left:3px solid var(--amber); padding-left:20px; margin:26px 0;
  font-family:'Space Grotesk'; font-size:18px; color:var(--ink); font-weight:500;
}

/* ---------- About page: Values ---------- */
.values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .values-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .values-grid{ grid-template-columns:1fr; } }
.value-card{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; transition:border-color .2s ease, transform .2s ease;
}
.value-card:hover{ border-color:rgba(232,154,44,0.5); transform:translateY(-3px); }
.value-icon{ width:40px; height:40px; margin-bottom:20px; }
.value-card h3{ font-size:16.5px; margin-bottom:10px; }
.value-card p{ color:var(--slate); font-size:14px; }

/* ---------- About page: Timeline ---------- */
.timeline-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
@media (max-width:900px){ .timeline-row{ grid-template-columns:1fr; gap:34px; } }
.timeline-row::before{ content:''; position:absolute; top:23px; left:0; right:0; height:1px; background:var(--line); }
@media (max-width:900px){ .timeline-row::before{ display:none; } }
.timeline-step{ padding-right:24px; position:relative; }
.timeline-step .num{
  width:46px; height:46px; border-radius:50%;
  background:var(--panel); border:1px solid var(--amber);
  color:var(--amber-ink); font-family:'IBM Plex Mono'; font-size:12.5px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:22px; position:relative; z-index:2;
}
.timeline-step h4{ font-size:17px; margin-bottom:8px; }
.timeline-step p{ color:var(--slate); font-size:14px; }

/* ---------- About page: Team ---------- */
.team{ background:var(--panel-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:820px){ .team-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .team-grid{ grid-template-columns:1fr; } }
.team-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px; text-align:left; }
.team-avatar{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk'; font-weight:700; font-size:18px; color:#fff;
  margin-bottom:18px;
}
.team-card h3{ font-size:16.5px; margin-bottom:4px; }
.team-card .role{ font-size:12.5px; color:var(--teal); font-weight:600; text-transform:uppercase; letter-spacing:.03em; display:block; margin-bottom:12px; }
.team-card p{ font-size:13.5px; color:var(--slate); }
