/* ============================================
   SIRKUS SYSTEM — Apple-style dark theme
   ============================================ */

:root{
  --bg:        #000000;
  --bg-elev:   #0a0a0c;
  --card:      #131316;
  --card-hi:   #1c1c20;
  --line:      #2a2a2e;
  --line-soft: #1c1c1f;
  --text:      #f5f5f7;
  --text-dim:  #a1a1a6;
  --text-faint:#84848a;
  --grad-a:    #7dd3fc;
  --grad-b:    #a78bfa;
  --grad-c:    #f472b6;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }

.skip-link{
  position:absolute; left:16px; top:-60px; z-index:100;
  background:#fff; color:#000; padding:12px 18px; border-radius:10px;
  font-weight:700; font-size:14px; transition:top 0.2s;
}
.skip-link:focus{ top:16px; }

a:focus-visible,
button:focus-visible{
  outline:2px solid var(--grad-a); outline-offset:3px; border-radius:4px;
}

@media (prefers-reduced-motion: reduce){
  .reveal, .scroll-in{ animation:none !important; transition:none !important; opacity:1 !important; transform:none !important; }
}

/* ---------- reveal ---------- */
.reveal{ opacity:0; transform:translateY(14px); animation:reveal 0.9s cubic-bezier(.16,1,.3,1) forwards; animation-delay:calc(var(--i, 0) * 0.1s + 0.05s); }
@keyframes reveal{ to{ opacity:1; transform:translateY(0); } }

.scroll-in{ opacity:0; transform:translateY(28px) scale(0.985); transition:opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.scroll-in.is-visible{ opacity:1; transform:translateY(0) scale(1); }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(0,0,0,0.7);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line-soft);
}
.header-inner{
  max-width:1120px; margin:0 auto; padding:16px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{ font-weight:700; font-size:16px; letter-spacing:-0.01em; }
.main-nav{ display:flex; align-items:center; gap:30px; font-size:13.5px; font-weight:500; }
.main-nav a{ color:var(--text-dim); transition:color 0.2s; }
.main-nav a:hover{ color:var(--text); }
.nav-cta{
  color:#000 !important; background:var(--text); padding:8px 16px; border-radius:980px;
  font-weight:600 !important;
}
.nav-cta:hover{ background:#d8d8dc !important; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ width:20px; height:2px; background:var(--text); border-radius:2px; }

/* ---------- shared ---------- */
main{ position:relative; }
section{ max-width:1120px; margin:0 auto; padding:130px 28px; }
.eyebrow{
  font-size:14px; font-weight:600; color:var(--grad-b); letter-spacing:0.01em; margin-bottom:16px;
}
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{
  font-size:clamp(30px,4vw,44px); font-weight:700; letter-spacing:-0.02em; line-height:1.15;
}

/* ---------- hero ---------- */
.hero{ text-align:center; padding-top:100px; padding-bottom:60px; }
.hero .eyebrow{ display:block; text-align:center; }
.hero h1{
  font-size:clamp(40px,7vw,80px); font-weight:800; letter-spacing:-0.03em; line-height:1.05;
  margin-bottom:26px;
}
.grad{
  background:linear-gradient(100deg, var(--grad-a), var(--grad-b) 45%, var(--grad-c));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  display:inline-block;
}
.hero-sub{
  font-size:clamp(17px,2vw,21px); color:var(--text-dim); max-width:620px; margin:0 auto 40px;
  font-weight:500;
}
.hero-actions{ display:flex; gap:14px; justify-content:center; margin-bottom:80px; flex-wrap:wrap; }

.btn{ font-size:15px; font-weight:600; padding:13px 26px; border-radius:980px; transition:all 0.2s; }
.btn-primary{ background:var(--text); color:#000; }
.btn-primary:hover{ background:#d8d8dc; transform:translateY(-1px); }
.btn-ghost{ border:1px solid var(--line); color:var(--text); }
.btn-ghost:hover{ border-color:#4a4a4f; background:rgba(255,255,255,0.04); }

/* ---------- glass panel ---------- */
.glass-panel{
  position:relative; max-width:640px; margin:0 auto; text-align:left;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--line);
  border-radius:20px; padding:8px 28px; overflow:hidden;
  backdrop-filter:blur(20px);
}
.panel-row{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:16px 0; border-bottom:1px solid var(--line-soft); font-size:13.5px;
}
.panel-row:last-of-type{ border-bottom:none; }
.panel-label{ font-family:monospace; color:var(--text-faint); letter-spacing:0.04em; }
.panel-value{ color:var(--text); font-weight:500; text-align:right; }
.panel-glow{
  position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, var(--grad-b) 0%, transparent 70%);
  opacity:0.18; top:-160px; right:-120px; pointer-events:none; filter:blur(10px);
}

/* ---------- stats ---------- */
.stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line-soft); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
  padding:0; max-width:100%;
}
.stat{
  background:var(--bg); padding:56px 28px; text-align:center;
}
.stat-num{
  display:block; font-size:clamp(44px,6vw,64px); font-weight:800; letter-spacing:-0.03em;
  background:linear-gradient(180deg, #fff, #9a9aa0);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-label{ display:block; margin-top:10px; font-size:14px; color:var(--text-dim); font-weight:500; }

/* ---------- product grid ---------- */
.product-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.product-card{
  background:var(--card); border:1px solid var(--line); border-radius:20px;
  padding:28px 24px; min-height:180px; display:flex; flex-direction:column;
  transition:background 0.25s, border-color 0.25s, transform 0.25s;
}
.product-card:hover{ background:var(--card-hi); border-color:#3a3a3f; transform:translateY(-3px); }
.product-card h3{ font-size:18px; font-weight:700; letter-spacing:-0.01em; margin-bottom:10px; }
.product-card p{ font-size:14px; color:var(--text-dim); line-height:1.55; flex:1; }
.product-card--featured{
  grid-column:span 4;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:linear-gradient(120deg, #17151f, #0e1320);
  border-color:#3d3552;
}
.featured-text p{ margin-top:10px; max-width:560px; }
.product-card--featured .card-link{ white-space:nowrap; margin-top:0; flex:none; }
.pill{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:0.02em;
  color:#0a0a0a; background:linear-gradient(100deg, var(--grad-a), var(--grad-b));
  padding:5px 12px; border-radius:980px; margin-bottom:10px; width:fit-content;
}
.card-link{ margin-top:16px; font-size:13.5px; font-weight:600; color:var(--grad-a); }

/* ---------- embedded compare table ---------- */
.embedded-lede{ font-size:17px; color:var(--text-dim); line-height:1.7; margin-top:18px; }
.compare-table{
  border:1px solid var(--line); border-radius:20px; overflow:hidden;
}
.compare-row{
  display:grid; grid-template-columns:220px 1fr; gap:24px;
  padding:24px 28px; border-bottom:1px solid var(--line-soft);
  background:var(--card);
}
.compare-row:last-child{ border-bottom:none; }
.compare-head{
  background:var(--card-hi); font-weight:700; font-size:13px; text-transform:uppercase;
  letter-spacing:0.04em; color:var(--text-faint); padding:16px 28px;
}
.compare-row span:first-child{ font-weight:700; font-size:15px; color:var(--text); }
.compare-row span:last-child{ font-size:14.5px; color:var(--text-dim); line-height:1.65; }

/* ---------- industries tags ---------- */
.industries{ padding-top:80px; padding-bottom:80px; }
.tag-row{ display:flex; flex-wrap:wrap; gap:12px; }
.tag{
  font-size:14px; font-weight:600; padding:12px 22px; border-radius:980px;
  background:var(--card); border:1px solid var(--line); color:var(--text);
}

/* ---------- team ---------- */
.staff-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.staff{
  background:var(--card); border:1px solid var(--line); border-radius:20px;
  padding:26px 22px;
}
.staff h4{ font-size:17px; font-weight:700; margin-bottom:6px; }
.staff p{ font-size:13.5px; color:var(--text-dim); }

/* ---------- testimonials ---------- */
.quote-stack{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.quote{
  background:var(--card); border:1px solid var(--line); border-radius:20px; padding:32px 28px;
}
.quote--featured{
  grid-column:span 3;
  background:linear-gradient(120deg, #17151f, #0e1320); border-color:#3d3552;
  padding:44px 40px;
}
.quote--featured p{ font-size:clamp(22px,2.6vw,28px); max-width:760px; }
.quote p{ font-size:17px; font-weight:600; line-height:1.5; letter-spacing:-0.01em; margin-bottom:16px; }
.quote cite{ font-size:13px; color:var(--text-faint); font-style:normal; font-weight:500; }

/* ---------- footer ---------- */
.site-footer{ background:var(--bg-elev); border-top:1px solid var(--line-soft); }
.footer-top{
  max-width:1120px; margin:0 auto; padding:64px 28px 40px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px;
}
.footer-brand p{ margin-top:12px; font-size:13px; color:var(--text-faint); }
.footer-col{ display:flex; flex-direction:column; gap:12px; }
.footer-col h5{
  font-size:12px; text-transform:uppercase; letter-spacing:0.05em; color:var(--text-faint);
  margin-bottom:4px; font-weight:700;
}
.footer-col a, .footer-col span{ font-size:13.5px; color:var(--text-dim); }
.footer-col a:hover{ color:var(--text); }
.footer-bottom{
  max-width:1120px; margin:0 auto; padding:20px 28px; border-top:1px solid var(--line-soft);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  font-size:12px; color:var(--text-faint);
}

/* ============ responsive ============ */
@media (max-width:900px){
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:78vw; max-width:300px;
    background:#0a0a0c; border-left:1px solid var(--line);
    flex-direction:column; align-items:flex-start; justify-content:center; gap:24px;
    padding:32px; transform:translateX(100%); transition:transform 0.3s ease; z-index:60;
  }
  .main-nav.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
}

@media (max-width:960px){
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .product-card--featured{ grid-column:span 2; }
  .staff-grid{ grid-template-columns:repeat(2,1fr); }
  .stats{ grid-template-columns:1fr; }
  .quote-stack{ grid-template-columns:1fr; }
  .compare-row{ grid-template-columns:1fr; gap:8px; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:680px){
  section{ padding:80px 20px; }
  .header-inner{ padding:14px 20px; }
  .product-grid{ grid-template-columns:1fr; }
  .product-card--featured{ grid-column:auto; flex-direction:column; align-items:flex-start; }
  .staff-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; padding:48px 20px 32px; }
  .glass-panel{ padding:4px 18px; }
}
