/* ============================================================
   THETOOLSWEB — assets/css/main.css
   Brand colors: Purple #6C3FC7 · Pink #C04FCC · Gold #F5A623
   4 Tema: genz (default) | dark | light | bold
   ============================================================ */

/* ── FONT ── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
img,svg{display:block;max-width:100%;height:auto}
a{text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none}
input,textarea,select{font-family:inherit;outline:none}
ul,ol{list-style:none}

/* ============================================================
   TEMA: GEN-Z / GRADIENT (default brand colors)
============================================================ */
:root,
body.t-genz {
  --c-bg:        #0F0F1A;
  --c-bg2:       #14142A;
  --c-bg3:       #1A1A35;
  --c-surface:   #1E1E3A;
  --c-border:    #2D2D55;
  --c-accent:    #6C3FC7;
  --c-accent2:   #C04FCC;
  --c-gold:      #F5A623;
  --c-text:      #F0EAFF;
  --c-mid:       #A090C0;
  --c-light:     #6B5A8A;
  --c-white:     #FFFFFF;
  --c-green:     #22c55e;
  --c-red:       #ef4444;
  --grad-accent: linear-gradient(135deg, #6C3FC7 0%, #C04FCC 100%);
  --grad-hero:   linear-gradient(135deg, #0F0F1A 0%, #1A0F35 60%, #200F30 100%);
  --f-head:      'Sora', sans-serif;
  --f-body:      'Inter', sans-serif;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow:      0 4px 24px rgba(108,63,199,.2);
  --shadow-lg:   0 12px 48px rgba(108,63,199,.25);
}

/* ── TEMA: DARK / HACKER ── */
body.t-dark {
  --c-bg:        #050A0F;
  --c-bg2:       #0D1117;
  --c-bg3:       #111820;
  --c-surface:   #161D26;
  --c-border:    #1E2D3D;
  --c-accent:    #00FF88;
  --c-accent2:   #00CCFF;
  --c-gold:      #F5A623;
  --c-text:      #E2E8F0;
  --c-mid:       #8B98A8;
  --c-light:     #536476;
  --grad-accent: linear-gradient(135deg, #00FF88, #00CCFF);
  --grad-hero:   linear-gradient(135deg, #050A0F, #0D1117);
  --f-head:      'JetBrains Mono', monospace;
  --f-body:      'Space Grotesk', sans-serif;
  --shadow:      0 4px 24px rgba(0,255,136,.12);
  --shadow-lg:   0 12px 48px rgba(0,255,136,.15);
}

/* ── TEMA: LIGHT CORPORATE ── */
body.t-light {
  --c-bg:        #F7F9FC;
  --c-bg2:       #FFFFFF;
  --c-bg3:       #EEF2F8;
  --c-surface:   #FFFFFF;
  --c-border:    #E2E8F0;
  --c-accent:    #6C3FC7;
  --c-accent2:   #C04FCC;
  --c-gold:      #F5A623;
  --c-text:      #0F172A;
  --c-mid:       #475569;
  --c-light:     #94A3B8;
  --grad-accent: linear-gradient(135deg, #6C3FC7, #C04FCC);
  --grad-hero:   linear-gradient(135deg, #F7F9FC, #EEF2F8);
  --f-head:      'Sora', sans-serif;
  --f-body:      'Inter', sans-serif;
  --shadow:      0 4px 24px rgba(108,63,199,.1);
  --shadow-lg:   0 12px 48px rgba(108,63,199,.12);
}

/* ── TEMA: BOLD PREMIUM ── */
body.t-bold {
  --c-bg:        #0A0A0A;
  --c-bg2:       #111111;
  --c-bg3:       #1A1A1A;
  --c-surface:   #161616;
  --c-border:    #2A2A2A;
  --c-accent:    #F5A623;
  --c-accent2:   #E8890F;
  --c-gold:      #F5A623;
  --c-text:      #F5F0E8;
  --c-mid:       #A89880;
  --c-light:     #6B5D48;
  --grad-accent: linear-gradient(135deg, #F5A623, #E8890F);
  --grad-hero:   linear-gradient(135deg, #0A0A0A, #111111);
  --f-head:      'Space Grotesk', sans-serif;
  --f-body:      'Inter', sans-serif;
  --shadow:      0 4px 24px rgba(245,166,35,.15);
  --shadow-lg:   0 12px 48px rgba(245,166,35,.2);
}

/* ============================================================
   BASE STYLES
============================================================ */
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── UTILITY ── */
.container        { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section          { padding: 64px 0; }
.section--dark    { background: var(--c-bg2); }
.section--surface { background: var(--c-bg3); }
.center           { text-align: center; }

.eyebrow {
  font-family: var(--f-head);
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 10px; display: block;
}
.t-dark .eyebrow::before { content: '// '; }
.t-dark .section-eyebrow::before { content: '// '; }

h1 { font-family: var(--f-head); font-size: clamp(28px,4vw,44px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
h2 { font-family: var(--f-head); font-size: clamp(22px,3vw,32px); font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
h3 { font-family: var(--f-head); font-size: 18px; font-weight: 700; line-height: 1.3; }
h4 { font-family: var(--f-head); font-size: 15px; font-weight: 700; }
p  { color: var(--c-mid); }

.accent-text { color: var(--c-accent); }
.t-genz .accent-text,
.t-light .accent-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 700; font-family: var(--f-body);
  transition: all .2s; border: 2px solid transparent; cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent); color: var(--c-white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--c-white); }
.t-bold .btn-primary { color: #000; }

.btn-outline {
  background: transparent; color: var(--c-text);
  border-color: var(--c-border);
}
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.t-light .btn-outline { color: var(--c-text); }

.btn-ghost {
  background: var(--c-surface); color: var(--c-text);
  border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-accent); color: var(--c-white); border-color: transparent; }
.t-bold .btn-ghost:hover { color: #000; }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  height: 64px;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6C3FC7, #C04FCC);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.logo-dot {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 7px; height: 7px;
  background: #F5A623;
  border-radius: 50%;
}
.logo-text {
  font-family: var(--f-head), sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.logo-text span { color: var(--c-accent); }
.navbar-links {
  display: flex; gap: 24px;
}
.navbar-links a {
  font-size: 13.5px; font-weight: 600;
  color: var(--c-mid); transition: color .2s;
}
.navbar-links a:hover { color: var(--c-text); }
.navbar-cta { display: flex; gap: 10px; align-items: center; }
.navbar-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; padding: 4px;
}
.navbar-hamburger span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; }

/* ── HERO ── */
.hero {
  background: var(--grad-hero);
  padding: 64px 0 0;
  position: relative; overflow: hidden;
}
.t-genz .hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 40%, rgba(108,63,199,.15), transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}
.hero-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--c-accent); margin-bottom: 14px; text-transform: uppercase; }
.t-dark .hero-kicker::before { content: '> '; }
.hero h1 { margin-bottom: 16px; }
.hero-desc { font-size: 16px; color: var(--c-mid); max-width: 480px; margin-bottom: 28px; line-height: 1.65; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; padding-bottom: 64px; }
.hero-stat strong { display: block; font-family: var(--f-head); font-size: 26px; font-weight: 800; color: var(--c-text); }
.hero-stat span { font-size: 11px; color: var(--c-light); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* Hero visual / form area */
.hero-right { display: flex; flex-direction: column; gap: 16px; padding-bottom: 64px; }
.hero-img-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
}
.t-genz .hero-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(108,63,199,.1), transparent);
}
.hero-img-wrap img { max-width: 80%; height: auto; position: relative; z-index: 1; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--c-bg3);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 0;
}
.trust-inner { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--c-mid); }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }

/* ── CARDS ── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .2s;
}
.card:hover { border-color: var(--c-accent); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ── FORM ── */
.form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 220px;
}
.form-card h3 { color: var(--c-text); font-size: 16px; margin-bottom: 4px; }
.form-card > p { font-size: 13px; margin-bottom: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 11.5px; font-weight: 700; color: var(--c-mid); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.field input,
.field textarea,
.field select {
  width: 100%; padding: 10px 14px;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--radius); color: var(--c-text); font-size: 14px;
  transition: border-color .2s;
}
.t-light .field input,
.t-light .field textarea,
.t-light .field select { background: var(--c-bg3); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--c-accent); }
.field select option { background: var(--c-bg2); }
.form-note { font-size: 11.5px; color: var(--c-light); margin-top: 10px; text-align: center; }
.form-msg { font-size: 13px; padding: 10px 14px; border-radius: var(--radius); margin-top: 10px; display: none; }
.form-msg.success { background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.3); display: block; }
.form-msg.error { background: rgba(239,68,68,.12); color: #ef4444; border: 1px solid rgba(239,68,68,.3); display: block; }
.btn-loading { opacity: .6; pointer-events: none; }

/* ── SERVICES GRID ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.svc-card { display: flex; flex-direction: column; }
.svc-icon { font-size: 28px; margin-bottom: 12px; }
.svc-card h3 { font-size: 15.5px; margin-bottom: 8px; color: var(--c-text); }
.svc-card p { font-size: 13px; flex: 1; margin-bottom: 12px; }
.svc-link { font-size: 13px; font-weight: 700; color: var(--c-accent); }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 32px; }
.why-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.why-list li:first-child { border-top: 1px solid var(--c-border); }
.why-num { font-family: var(--f-head); font-size: 13px; font-weight: 800; color: var(--c-accent); width: 24px; flex-shrink: 0; }
.why-list strong { display: block; color: var(--c-text); font-size: 14.5px; margin-bottom: 3px; }
.why-list span { font-size: 13px; }
.why-img img { border-radius: var(--radius-lg); width: 100%; }

/* ── PRODUCT CATALOG ── */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.cat-tab {
  padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 700;
  background: transparent; color: var(--c-mid); border: 1px solid var(--c-border);
  transition: all .2s;
}
.cat-tab:hover { border-color: var(--c-accent); color: var(--c-accent); }
.cat-tab.active { background: var(--grad-accent); color: #fff; border-color: transparent; }
.t-bold .cat-tab.active { color: #000; }

.prod-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.prod-badge {
  font-size: 11.5px; font-weight: 700; padding: 4px 12px;
  border-radius: 100px; background: var(--c-bg3);
  border: 1px solid var(--c-border); color: var(--c-mid);
}

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.prod-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-card--featured { border-color: var(--c-accent); }
.prod-card--combo { border-color: var(--c-gold); }

.prod-ribbon {
  position: absolute; top: 16px; right: -2px;
  background: var(--c-accent); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 4px 14px 4px 16px;
  border-radius: 100px 0 0 100px;
}
.t-bold .prod-ribbon { color: #000; }
.prod-ribbon--gold { background: var(--c-gold); color: #000; }

.prod-cat-lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--c-accent); margin-bottom: 8px; }
.prod-name { font-family: var(--f-head); font-size: 17px; font-weight: 800; color: var(--c-text); margin-bottom: 8px; line-height: 1.2; }
.prod-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.prod-old { font-size: 13px; color: var(--c-light); text-decoration: line-through; }
.prod-save { font-size: 11px; font-weight: 800; padding: 2px 8px; background: rgba(34,197,94,.15); color: #22c55e; border-radius: 100px; }
.prod-price { font-family: var(--f-head); font-size: 21px; font-weight: 800; color: var(--c-text); margin-bottom: 8px; }
.prod-slots { font-size: 12px; font-weight: 800; color: var(--c-gold); margin-bottom: 8px; }
.prod-feats { flex: 1; margin-bottom: 16px; }
.prod-feats li { font-size: 13px; color: var(--c-mid); padding: 6px 0; border-bottom: 1px solid var(--c-border); display: flex; gap: 8px; align-items: flex-start; }
.prod-feats li:last-child { border-bottom: none; }
.prod-feats li::before { content: '✓'; color: var(--c-accent); font-weight: 800; font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.prod-btn {
  width: 100%; padding: 12px; border-radius: var(--radius); border: 1px solid var(--c-border);
  font-family: var(--f-body); font-size: 14px; font-weight: 800;
  background: var(--c-bg3); color: var(--c-text);
  transition: all .2s; cursor: pointer;
}
.prod-btn:hover,
.prod-btn--primary { background: var(--grad-accent); color: #fff; border-color: transparent; }
.t-bold .prod-btn--primary { color: #000; }
.prod-btn--gold { background: var(--c-gold); color: #000; border-color: transparent; }

/* ── ORDER MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 32px;
  width: 100%; max-width: 460px;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-bg3); border: 1px solid var(--c-border);
  color: var(--c-text); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.modal-title { font-family: var(--f-head); font-size: 19px; font-weight: 800; color: var(--c-text); margin-bottom: 4px; }
.modal-price { font-size: 15px; font-weight: 800; color: var(--c-accent); margin-bottom: 18px; }
.modal-intro { font-size: 13.5px; margin-bottom: 16px; }

/* ── TESTIMONI ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.testi-quote { font-size: 28px; color: var(--c-accent); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.testi-text { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
.testi-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 13px; color: var(--c-text); }
.testi-role { font-size: 11.5px; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin-top: 28px; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  padding: 17px 0; font-size: 15px; font-weight: 700; color: var(--c-text);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; user-select: none;
}
.faq-arrow { color: var(--c-accent); font-size: 17px; transition: transform .3s; flex-shrink: 0; }
.faq-a { padding: 0 0 14px; font-size: 14px; color: var(--c-mid); line-height: 1.7; display: none; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-item.open .faq-a { display: block; }

/* ── METRICS STRIP ── */
.metrics-strip { background: var(--c-bg3); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 28px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.metric-val { font-family: var(--f-head); font-size: 28px; font-weight: 800; color: var(--c-accent); margin-bottom: 2px; }
.t-genz .metric-val {
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.metric-lbl { font-size: 11.5px; color: var(--c-light); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

/* ── EXPERTISE LIST ── */
.exp-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.exp-list li:last-child { border-bottom: none; }
.exp-num {
  flex-shrink: 0; width: 30px; height: 30px;
  background: var(--grad-accent); color: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-size: 13px; font-weight: 800;
}
.t-bold .exp-num { color: #000; }
.exp-list strong { display: block; color: var(--c-text); font-size: 14.5px; margin-bottom: 3px; }
.exp-list span { font-size: 13px; }

/* ── BLOG LIST ── */
.blog-list { border-top: 1px solid var(--c-border); margin-top: 24px; }
.blog-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--c-border); }
.blog-title { font-size: 14.5px; font-weight: 700; color: var(--c-text); transition: color .2s; }
.blog-title:hover { color: var(--c-accent); }
.blog-cat { font-size: 11px; font-weight: 800; color: var(--c-accent); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }

/* ── PORTFOLIO GRID ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 24px; }
.portfolio-item { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; border: 1px solid var(--c-border); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── ABOUT ── */
.about-inner { max-width: 700px; }
.about-inner p { margin-bottom: 14px; font-size: 15px; }
.about-stats { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.about-stat strong { display: block; font-family: var(--f-head); font-size: 26px; font-weight: 800; color: var(--c-accent); }
.t-genz .about-stat strong {
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-stat span { font-size: 12px; color: var(--c-light); font-weight: 600; }

/* ── CTA FINAL ── */
.cta-section { background: var(--c-bg2); border-top: 1px solid var(--c-border); padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.t-genz .cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(108,63,199,.1), transparent); pointer-events: none; }
.cta-section h2 { margin-bottom: 12px; }
.cta-section > .container > p { font-size: 16px; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── TOP STRIP ── */
.top-strip { background: var(--c-bg2); border-bottom: 1px solid var(--c-border); padding: 8px 0; text-align: center; font-size: 13px; color: var(--c-mid); }
.top-strip strong { color: var(--c-gold); }

/* ── FOOTER ── */
.site-footer { background: var(--c-bg2); border-top: 1px solid var(--c-border); padding: 28px 0; text-align: center; font-size: 13px; color: var(--c-light); }

/* ── PREVENT OVERFLOW ── */
html, body { overflow-x: hidden; max-width: 100%; }

/* ── two-col-grid ── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ── RESPONSIVE 960px ── */
@media (max-width: 960px) {
  .hero-grid               { grid-template-columns: 1fr; }
  .hero-right              { padding-bottom: 0; }
  .hero-stats              { padding-bottom: 48px; }
  .why-grid                { grid-template-columns: 1fr; }
  .svc-grid                { grid-template-columns: repeat(2, 1fr); }
  .testi-grid              { grid-template-columns: 1fr; }
  .metrics-grid            { grid-template-columns: repeat(2, 1fr); }
  .prod-grid               { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid          { grid-template-columns: repeat(4, 1fr); }
  .two-col-grid            { grid-template-columns: 1fr; }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ── RESPONSIVE 640px (MOBILE) ── */
@media (max-width: 640px) {
  .section          { padding: 44px 0; }
  .hero h1          { font-size: clamp(24px, 7vw, 36px); }
  .hero-stats       { gap: 16px; }
  .hero-stat strong { font-size: 20px; }
  .trust-inner      { gap: 12px; }
  .trust-item       { font-size: 12px; }
  .about-stats      { gap: 20px; }
  .cat-tabs         { gap: 6px; }
  .cat-tab          { padding: 7px 12px; font-size: 12px; }
  .blog-row         { flex-direction: column; align-items: flex-start; gap: 6px; }
  .svc-grid         { grid-template-columns: 1fr; }
  .prod-grid        { grid-template-columns: 1fr; }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid     { grid-template-columns: 1fr; }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; }

  /* ── HAMBURGER BUTTON ── */
  .navbar-hamburger { display: flex !important; }

  /* ── MOBILE NAVBAR ── */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .navbar > .container,
  .navbar > .navbar-inner,
  .container.navbar-inner {
    position: relative;
  }

  /* navbar-links: hidden by default, shown when .mobile-open */
  .navbar-links {
    display: none !important;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--c-bg2);
    border-bottom: 2px solid var(--c-accent);
    flex-direction: column !important;
    padding: 8px 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .navbar-links.mobile-open {
    display: flex !important;
  }
  .navbar-links li {
    width: 100%;
  }
  .navbar-links a {
    display: block;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
  }
  .navbar-links li:last-child a {
    border-bottom: none;
  }
  .navbar-links a:hover {
    background: var(--c-bg3);
    color: var(--c-accent);
  }
}

/* ── PRINT / REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── MOBILE MENU v3 (FINAL FIX) ── */
/* Override semua style lama dengan !important */
@media (max-width: 640px) {
  .navbar-hamburger {
    display: flex !important;
    cursor: pointer;
    z-index: 9999;
    position: relative;
  }

  .navbar-links {
    display: none !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: var(--c-bg2) !important;
    border-bottom: 2px solid var(--c-accent) !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 9998 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.5) !important;
    list-style: none !important;
  }

  .navbar-links.mobile-open {
    display: flex !important;
  }

  .navbar-links li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--c-border) !important;
  }

  .navbar-links li:last-child {
    border-bottom: none !important;
  }

  .navbar-links a {
    display: block !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--c-text) !important;
    width: 100% !important;
  }
}

/* ── NAVBAR MOBILE FIX ── */
@media (max-width: 640px) {
  .navbar-logo {
    flex-shrink: 0 !important;
  }
  .logo-text {
    font-size: 15px !important;
  }
  .navbar-cta {
    flex-shrink: 0 !important;
  }
  .navbar-cta .btn {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
  .navbar-hamburger {
    flex-shrink: 0 !important;
    margin-left: 4px !important;
  }
  .container.navbar-inner {
    gap: 8px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 640px) {
  /* Logo: jangan shrink, ukuran proporsional */
  .navbar-logo {
    flex-shrink: 0 !important;
  }
  .navbar-logo img {
    height: 44px !important;
    width: auto !important;
    max-width: 160px !important;
  }

  /* Tombol WA: kecil, tidak grow, tidak shrink */
  .navbar-cta {
    flex-shrink: 0 !important;
  }
  .navbar-cta .btn {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }

  /* Hamburger: ukuran tetap */
  .navbar-hamburger {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }

  /* navbar-inner: distribusi ruang yang benar */
  .container.navbar-inner {
    gap: 8px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* ── LEGAL PAGES ── */
.legal-body h2 {
  font-size: 18px;
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--c-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.legal-body p {
  font-size: 15px;
  color: var(--c-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-body ul li {
  font-size: 15px;
  color: var(--c-mid);
  padding: 4px 0;
  line-height: 1.65;
}
.legal-body a {
  color: var(--c-accent);
  text-decoration: underline;
}
.legal-body strong {
  color: var(--c-text);
  font-weight: 700;
}

/* ════════════════════════════════
   FLOATING CHAT BUTTONS
════════════════════════════════ */
.float-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 9990;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
  color: #fff;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  color: #fff;
  text-decoration: none;
}

/* WhatsApp — lebih besar, paling bawah */
.float-wa {
  background: #25D366;
  width: 58px;
  height: 58px;
  order: 3;
}
.float-wa:hover { background: #1ebe5d; }

/* Telegram */
.float-tg {
  background: #229ED9;
  order: 2;
}
.float-tg:hover { background: #1a8ec0; }

/* Signal */
.float-sg {
  background: #3A76F0;
  order: 1;
}
.float-sg:hover { background: #2d63d4; }

/* Mobile: sedikit lebih kecil */
@media (max-width: 640px) {
  .float-btns  { bottom: 16px; right: 14px; gap: 8px; }
  .float-btn   { width: 46px; height: 46px; }
  .float-wa    { width: 52px; height: 52px; }
}
