/* =========================================================
   SB-HEBERG — CLEAN TECH THEME
========================================================= */
:root{
  --bg: #050a12;
  --bg2: #080e1a;
  --surface: rgba(255,255,255,.03);
  --surface2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.08);
  --border2: rgba(255,255,255,.14);
  --text: #edf0f7;
  --muted: rgba(255,255,255,.55);
  --muted2: rgba(255,255,255,.35);
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --accent-glow: rgba(59,130,246,.15);
  --green: #22c55e;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
::selection{ background:rgba(59,130,246,.25); color:#fff; }

.container{
  width:min(1140px, calc(100% - 40px));
  margin:0 auto;
}

/* =========================================================
   HEADER
========================================================= */
.header{
  position:sticky;
  top:0;
  z-index:9999;
  background:rgba(5,10,18,.82);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 15px 0;
  min-height: 110px;
}

.brand{
  font-weight:700;
  font-size:15px;
  letter-spacing:-.02em;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
}

.brand img{ height:36px; }

.nav-links{
  display:flex;
  gap:2px;
  align-items:center;
}

.nav-link{
  color:var(--muted);
  padding:10px 18px;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
  transition:color .15s, background .15s;
}
.nav-link:hover{
  color:var(--text);
  background:var(--surface2);
}

.nav-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.mobile-toggle{
  display:none;
  background:none;
  border:1px solid var(--border);
  color:var(--text);
  font-size:1rem;
  cursor:pointer;
  padding:6px 10px;
  border-radius:8px;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn, .btn-outline, .btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:inherit;
  font-weight:600;
  font-size:15px;
  border-radius:8px;
  cursor:pointer;
  transition:all .15s ease;
}

.btn{
  padding:9px 18px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  box-shadow:var(--shadow);
}
.btn:hover{
  background:var(--surface2);
  border-color:var(--border2);
}

.btn.primary{
  background:var(--accent);
  color:#fff;
  border:none;
  box-shadow:0 1px 2px rgba(0,0,0,.3), 0 0 0 1px rgba(59,130,246,.2);
}
.btn.primary:hover{
  background:#2563eb;
  box-shadow:0 2px 8px rgba(59,130,246,.3), 0 0 0 1px rgba(59,130,246,.3);
}

.btn.ghost{
  background:transparent;
  border:1px solid var(--border);
  color:var(--muted);
}
.btn.ghost:hover{
  color:var(--text);
  border-color:var(--border2);
  background:var(--surface);
}

.btn-outline{
  padding:10px 20px;
  border:1px solid var(--border);
  background:transparent;
  color:var(--muted);
}
.btn-outline:hover{
  color:var(--text);
  border-color:var(--border2);
  background:var(--surface);
}

.btn-primary{
  padding:10px 20px;
  border:none;
  background:var(--accent);
  color:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.3);
}
.btn-primary:hover{ background:#2563eb; }

/* =========================================================
   HERO (homepage)
========================================================= */
.hero{
  padding:80px 0 0;
  border-bottom:1px solid var(--border);
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  top:-120px;
  left:50%;
  transform:translateX(-50%);
  width:800px;
  height:500px;
  background:radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events:none;
  opacity:.6;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:48px;
  align-items:start;
  padding-bottom:56px;
  position:relative;
  z-index:1;
}

.hero h1{
  margin:0;
  font-size:clamp(32px, 4vw, 48px);
  line-height:1.12;
  font-weight:700;
  letter-spacing:-.03em;
  color:#fff;
}

.hero h1 .soft{
  color:var(--muted);
  font-weight:500;
}

.hero p{
  margin:16px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  max-width:520px;
}

/* Chips */
.chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:6px;
  border:1px solid var(--border);
  background:var(--surface);
  font-size:12px;
  color:var(--muted);
  font-weight:500;
}

.chip::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 6px rgba(34,197,94,.4);
}

.chip-accent{
  border-color:rgba(59,130,246,.25);
  background:rgba(59,130,246,.08);
  color:var(--accent2);
}

.chip-accent::before{
  background:var(--accent);
  box-shadow:0 0 6px var(--accent-glow);
}

/* CTA */
.cta{
  margin-top:28px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Hero card */
.heroCard{
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:2px;
  position:sticky;
  top:72px;
  overflow:hidden;
}

.heroCard-line{
  position:absolute;
  top:0; left:0;
  height:1px;
  width:100%;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity:.5;
}

.kpis{ display:grid; gap:2px; }

.kpi{
  background:var(--bg);
  padding:18px 20px;
  transition:background .15s;
}

.kpi:first-child{ border-radius:var(--radius) var(--radius) 0 0; }
.kpi:last-child{ border-radius:0 0 var(--radius) var(--radius); }

.kpi:hover{ background:var(--bg2); }

.kpi .value{
  font-size:14px;
  font-weight:600;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:8px;
}

.kpi .value::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 8px rgba(34,197,94,.35);
  flex-shrink:0;
}

.kpi .label{
  margin-top:4px;
  font-size:12px;
  color:var(--muted2);
  line-height:1.55;
  padding-left:14px;
}

/* Hero bottom chips bar */
.hero .chips-bar{
  border-top:1px solid var(--border);
  padding:14px 0;
  display:flex;
  justify-content:center;
}

/* =========================================================
   HERO SUB (other pages)
========================================================= */
.hero-sub{
  padding:64px 0 48px;
  border-bottom:1px solid var(--border);
  text-align:center;
  position:relative;
  overflow:hidden;
}

.hero-sub::before{
  content:"";
  position:absolute;
  top:-80px;
  left:50%;
  transform:translateX(-50%);
  width:600px;
  height:400px;
  background:radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events:none;
  opacity:.4;
}

.hero-sub h1{
  margin:0;
  font-size:clamp(26px, 3vw, 36px);
  font-weight:700;
  letter-spacing:-.03em;
  position:relative;
  z-index:1;
  color:#fff;
}

.hero-sub p{
  margin:12px auto 0;
  max-width:480px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  position:relative;
  z-index:1;
}

/* =========================================================
   SECTIONS / CARDS
========================================================= */
.section{ padding:56px 0; }

.section h2{
  margin:0;
  font-size:20px;
  font-weight:600;
  letter-spacing:-.02em;
  color:#fff;
}

.section .sub{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.grid{
  margin-top:20px;
  display:grid;
  gap:2px;
  grid-template-columns:repeat(3, 1fr);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}

.card{
  position:relative;
  background:var(--surface);
  padding:24px 22px;
  transition:background .15s;
  overflow:hidden;
}
.card::before{ display:none; }

.card:hover{
  background:var(--surface2);
}

.card h3{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:var(--text);
}
.card p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

/* Badge */
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border-radius:5px;
  border:1px solid var(--border);
  background:var(--surface);
  font-size:11px;
  font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.04em;
}

.badge::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 6px var(--accent-glow);
}

/* =========================================================
   FILTER TABS
========================================================= */
.filters{
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  margin-bottom:24px;
  padding:3px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  width:fit-content;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn{
  padding:7px 16px;
  border-radius:7px;
  font-weight:500;
  font-size:13px;
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  transition:all .15s ease;
  font-family:inherit;
}

.filter-btn:hover{
  color:var(--text);
  background:var(--surface2);
}

.filter-btn.active{
  background:var(--accent);
  color:#fff;
  box-shadow:0 1px 4px rgba(59,130,246,.25);
}

.pricing-card.hidden{ display:none; }
.no-offers{
  text-align:center;
  color:var(--muted2);
  grid-column:1/-1;
  padding:48px 0;
  font-size:14px;
}

/* =========================================================
   PRICING
========================================================= */
.pricing-grid{
  margin-top:0;
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
}

.pricing-card{
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  transition:border-color .15s, background .15s;
}
.pricing-card::before{ display:none; }

.pricing-card:hover{
  border-color:var(--border2);
  background:var(--surface2);
}

.pricing-card.popular{
  border-color:rgba(59,130,246,.35);
  background:rgba(59,130,246,.04);
}
.pricing-card.popular:hover{
  border-color:rgba(59,130,246,.5);
}

.popular-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border-radius:5px;
  border:1px solid rgba(59,130,246,.25);
  background:rgba(59,130,246,.08);
  font-size:11px;
  font-weight:600;
  color:var(--accent2);
  margin-bottom:8px;
  width:fit-content;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.popular-badge::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 6px var(--accent-glow);
}

.pricing-card h3{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:var(--text);
}

.price{
  margin-top:14px;
  font-size:32px;
  font-weight:700;
  color:#fff;
  letter-spacing:-.03em;
}
.price span{
  font-size:14px;
  color:var(--muted2);
  font-weight:400;
  letter-spacing:0;
}

.pricing-description{
  margin-top:6px;
  padding-bottom:18px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
  margin-bottom:18px;
}

.pricing-features{
  flex:1;
  margin-bottom:22px;
}
.pricing-features li{
  margin-bottom:8px;
  padding-left:20px;
  position:relative;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.pricing-features li::before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:600;
  font-size:12px;
}

/* =========================================================
   FEATURES GRID
========================================================= */
.features-section{
  padding:56px 0;
  border-top:1px solid var(--border);
}

.features-section h2{
  margin:0 0 4px;
  font-size:20px;
  font-weight:600;
  letter-spacing:-.02em;
  color:#fff;
}

.features-section .sub{
  color:var(--muted);
  font-size:14px;
}

.features-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:2px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}

.feature-card{
  background:var(--surface);
  padding:24px 20px;
  transition:background .15s;
}
.feature-card:hover{ background:var(--surface2); }

.feature-icon{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  margin-bottom:12px;
  background:rgba(59,130,246,.08);
  color:var(--accent);
  font-size:.85rem;
  border:1px solid rgba(59,130,246,.15);
}

.feature-card h3{
  font-size:13px;
  font-weight:600;
  color:var(--text);
  margin:0 0 4px;
}

.feature-card p{
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
  margin:0;
}

/* =========================================================
   LEGAL PAGES
========================================================= */
.legal-page{ padding:48px 0 80px; }
.legal-container{ max-width:720px; margin:0 auto; }

.legal-container h1{
  font-size:22px;
  font-weight:700;
  color:#fff;
  margin:0 0 8px;
  letter-spacing:-.02em;
}

.legal-last-update{
  color:var(--muted2);
  font-size:13px;
  margin-bottom:36px;
  padding-bottom:20px;
  border-bottom:1px solid var(--border);
}

.legal-container h2{
  font-size:16px;
  font-weight:600;
  color:var(--text);
  margin-top:36px;
  margin-bottom:10px;
  padding-top:20px;
  border-top:1px solid var(--border);
}
.legal-container h2:first-of-type{ border-top:none; padding-top:0; }

.legal-container h3{
  font-size:14px;
  font-weight:600;
  color:var(--text);
  margin-top:18px;
  margin-bottom:6px;
}

.legal-container p{
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  margin-bottom:10px;
}

.legal-container ul{ margin-bottom:10px; }
.legal-container ul li{
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  padding-left:16px;
  position:relative;
  margin-bottom:3px;
}
.legal-container ul li::before{
  content:'›';
  position:absolute;
  left:2px;
  color:var(--accent);
  font-weight:700;
}

.legal-container a{ color:var(--accent); }
.legal-container a:hover{ text-decoration:underline; }
.legal-container strong{ color:var(--text); }

.legal-toc{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px 22px;
  margin-bottom:28px;
}
.legal-toc h3{ margin-top:0; font-size:13px; color:var(--text); margin-bottom:10px; }
.legal-toc ol{ padding-left:20px; margin:0; }
.legal-toc ol li{ color:var(--muted); font-size:13px; margin-bottom:3px; }
.legal-toc ol li a{ color:var(--accent); }

/* =========================================================
   COOKIE BANNER
========================================================= */
.cookie-banner{
  position:fixed;
  bottom:0; left:0; right:0;
  background:rgba(5,10,18,.88);
  backdrop-filter:blur(16px);
  border-top:1px solid var(--border);
  padding:14px 20px;
  z-index:99999;
  display:none;
}
.cookie-banner.active{ display:block; }

.cookie-inner{
  max-width:1140px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.cookie-text{ color:var(--muted); font-size:12px; line-height:1.5; flex:1; }
.cookie-text a{ color:var(--accent); text-decoration:underline; }
.cookie-actions{ display:flex; gap:6px; flex-shrink:0; }

/* =========================================================
   FOOTER
========================================================= */
.footer{
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.3);
  padding:48px 0 20px;
  color:var(--muted);
  font-size:13px;
}

.footer a{ color:var(--muted); transition:color .15s; }
.footer a:hover{ color:var(--text); }

.footer-grid{
  display:grid;
  gap:32px;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
}

.footer-brand .brand{ margin-bottom:10px; }
.footer-brand p{ line-height:1.65; color:var(--muted2); font-size:13px; }

.footer-col-title{
  font-weight:600;
  color:var(--text);
  margin-bottom:12px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.footer-col ul li{ margin-bottom:7px; }

.footer-bottom{
  margin-top:28px;
  padding-top:16px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted2);
  font-size:12px;
}

.footer-legal{ display:flex; gap:16px; }
.footer-legal a{ color:var(--muted2); font-size:12px; }
.footer-legal a:hover{ color:var(--muted); }

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes premiumIn{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}
.reveal{ animation:premiumIn .4s ease both; }
.reveal.d2{ animation-delay:.06s; }
.reveal.d3{ animation-delay:.12s; }

hr{ border:0; border-top:1px solid var(--border); margin:20px 0; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:920px){
  .hero{ padding:64px 0 0; }
  .heroGrid{ grid-template-columns:1fr; gap:28px; }
  .heroCard{ position:relative; top:0; }
  .grid{ grid-template-columns:1fr 1fr; }
  .pricing-grid{ grid-template-columns:1fr 1fr; }
  .features-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media(max-width:620px){
  .nav-links,.nav-actions{ display:none; }
  .mobile-toggle{ display:block; }

  .nav-links.active{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%; left:0; right:0;
    background:rgba(5,10,18,.96);
    backdrop-filter:blur(16px);
    padding:8px 16px;
    gap:2px;
    border-bottom:1px solid var(--border);
    z-index:9998;
  }
  .nav-actions.active{
    display:flex;
    position:absolute;
    top:calc(100% + 120px); left:0; right:0;
    background:rgba(5,10,18,.96);
    padding:0 16px 12px;
    border-bottom:1px solid var(--border);
    z-index:9998;
  }

  .hero h1{ font-size:28px; }
  .heroGrid{ gap:20px; }
  .grid{ grid-template-columns:1fr; }
  .pricing-grid{ grid-template-columns:1fr; max-width:380px; }
  .features-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:20px; }
  .footer-bottom{ flex-direction:column; text-align:center; }
  .footer-legal{ flex-wrap:wrap; justify-content:center; }
  .cookie-inner{ flex-direction:column; text-align:center; }
  .filters{ width:100%; }
  .filter-btn{ flex:1; text-align:center; }
}




