/*
Theme Name: Boost24
Theme URI: https://boost24.ro
Author: Life is Hard Group
Description: Tema WordPress custom pentru Boost24 — acceleratorul de distribuție 24/7 al industriei de asigurări. Bazată pe Brand Guidelines Boost24 v1.0.
Version: 1.0
Requires PHP: 7.4
Text Domain: boost24
*/

/* ============================================================
   0. DESIGN TOKENS — din Brand Guidelines Boost24
   ============================================================ */
:root{
  --ink:      #001233; /* Royal Blue — fundal, secțiuni de impact */
  --navy:     #023e7d; /* Navy Blue — secundar */
  --cobalt:   #0466c8; /* Cobalt Blue — accent, CTA, linkuri */
  --grey:     #979dac; /* Mid Grey — text secundar */
  --grey-lt:  #e2e2e2; /* Light Grey — fundaluri neutre */
  --white:    #ffffff;

  --font-display: "Archivo", "Archivo Black", Arial, sans-serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --gap-section: clamp(72px, 10vw, 148px);
  --radius: 22px;
  --ease: cubic-bezier(.19,1,.22,1);
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  font-weight:400;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:900;
  line-height:1.05;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; color:var(--navy); }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 32px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline:3px solid var(--cobalt);
  outline-offset:3px;
  border-radius:6px;
}

/* ============================================================
   2. TYPE SCALE
   ============================================================ */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:700;
  font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--cobalt); margin-bottom:18px;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--cobalt);
  display:inline-block;
}
h1{ font-size:clamp(2.6rem, 5.4vw, 4.2rem); }
h2{ font-size:clamp(1.9rem, 3.6vw, 2.85rem); }
h3{ font-size:clamp(1.15rem, 1.8vw, 1.5rem); }
.lede{ font-size:clamp(1.05rem, 1.6vw, 1.25rem); color:var(--navy); }
.on-dark p, .on-dark .lede{ color:#c7d3e8; }
.on-dark h1, .on-dark h2, .on-dark h3{ color:var(--white); }

/* ============================================================
   3. SIGNATURE ELEMENT — the "speed cut"
   Tăietura diagonală din logo-ul B24 devine motiv recurent:
   colțuri tăiate pe carduri, separatoare oblice între secțiuni.
   ============================================================ */
.cut-tl{ clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); }
.cut-br{ clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }

.divider-slash{
  position:relative; height:96px; margin-top:-1px;
  background:var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.divider-slash.up{ clip-path: polygon(0 0, 100% 100%, 0 100%); }
.section-navy + .section-white .divider-slash{ background:var(--navy); }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:700; font-size:15.5px;
  padding:16px 30px; border-radius:100px; border:2px solid transparent;
  cursor:pointer; transition:transform .35s var(--ease), background .25s, border-color .25s, color .25s;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-3px); }
.btn-primary{ background:var(--cobalt); color:var(--white); }
.btn-primary:hover{ background:var(--navy); }
.btn-ghost{ border-color:currentColor; color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--white); border-color:var(--ink); }
.on-dark .btn-ghost{ color:var(--white); }
.on-dark .btn-ghost:hover{ background:var(--white); color:var(--ink); }
.btn-arrow::after{ content:"→"; transition:transform .3s var(--ease); }
.btn:hover .btn-arrow::after{ transform:translateX(4px); }
.btn-block{ width:100%; justify-content:center; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:22px 0;
  transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; max-width:1320px; }
.site-header.is-scrolled{
  background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  padding:14px 0; box-shadow:0 8px 30px rgba(0,18,51,.08);
}
.brand{ display:inline-flex; align-items:center; }
.brand img{ height:30px; width:auto; }
.brand .logo-color{ display:none; }
.brand .logo-white{ display:block; }
.site-header.is-scrolled .brand .logo-color{ display:block; }
.site-header.is-scrolled .brand .logo-white{ display:none; }
.main-nav ul{ display:flex; gap:34px; align-items:center; }
.main-nav a{
  font-weight:700; font-size:14.5px; color:var(--white);
  transition:color .25s; position:relative;
}
.site-header.is-scrolled .main-nav a{ color:var(--ink); }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0;
  background:var(--cobalt); transition:width .3s var(--ease);
}
.main-nav a:hover::after{ width:100%; }
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .btn-primary{ padding:12px 24px; font-size:14px; }
.nav-toggle{ display:none; }

@media (max-width: 900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:block; background:none; border:0; color:var(--white); font-size:26px; cursor:pointer; }
  .site-header.is-scrolled .nav-toggle{ color:var(--ink); }
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero{
  position:relative; background:var(--ink); color:var(--white);
  padding:var(--gap-section) 0;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center;
  position:relative; z-index:2;
}
.hero h1{ color:var(--white); }
.hero h1 em{ font-style:normal; color:#7fb2ff; }
.hero .lede{ max-width:520px; margin-bottom:38px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px; }
.hero-stats{ display:flex; gap:0; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,.14); padding-top:28px; }
.hero-stats div{ flex:1; min-width:120px; padding-right:24px; }
.hero-stats strong{ display:block; font-family:var(--font-display); font-size:1.9rem; color:var(--white); }
.hero-stats span{ font-size:13px; color:#94a9c9; }

.hero-visual{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius);
  background:linear-gradient(155deg, var(--navy), var(--ink) 70%);
  clip-path: polygon(46px 0, 100% 0, 100% 100%, 0 100%, 0 46px);
  overflow:hidden; box-shadow:0 40px 80px rgba(0,0,0,.35);
}
.hero-visual img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center top;
}
.hero-visual::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(0,18,51,.15) 0%, rgba(0,18,51,.05) 45%, rgba(0,18,51,.75) 100%),
    radial-gradient(circle at 20% 10%, rgba(4,102,200,.4), transparent 45%);
}
.hero-visual .badge{
  position:absolute; left:28px; bottom:28px; right:28px; z-index:2;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(8px); border-radius:16px; padding:20px 22px;
}
.hero-visual .badge strong{ font-family:var(--font-display); font-size:1.6rem; display:block; color:var(--white); }
.hero-visual .badge span{ font-size:13px; color:#dbe6f7; }


@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ aspect-ratio:16/10; }
}

/* ============================================================
   6b. INTRO SECTION — "Soluții digitale..." (prima secțiune a
   homepage-ului, sub header-ul fix) + secțiune identică pe pagina
   dedicată Agenți & Multiagenți.
   ============================================================ */
.top-intro, .section-navy.top-intro{ padding:calc(var(--gap-section) + 70px) 0 var(--gap-section); }

.dist-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-bottom:56px; }
.dist-card{
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius); padding:40px 36px;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}
.dist-card h3{ color:var(--white); margin-bottom:16px; }
.dist-card > p{ color:#c7d3e8; }
.dist-card .dist-lead{ font-weight:700; color:var(--white); }
.dist-list{ margin:20px 0 24px; }
.dist-list li{
  padding:9px 0 9px 26px; position:relative; font-size:14.5px;
  color:#dbe6f7; border-bottom:1px solid rgba(255,255,255,.08);
}
.dist-list li::before{ content:"✓"; position:absolute; left:0; color:#7fb2ff; font-weight:900; }
.dist-close{ font-weight:700; color:var(--white); margin-top:20px; margin-bottom:0; }
.dist-footer{ text-align:center; max-width:760px; margin:0 auto; padding-top:36px; border-top:1px solid rgba(255,255,255,.12); }
.dist-footer h3{ color:var(--white); margin-bottom:18px; }
@media (max-width:860px){ .dist-grid{ grid-template-columns:1fr; } }
section{ position:relative; }
.section-white{ background:var(--white); padding:var(--gap-section) 0; }
.section-light{ background:var(--grey-lt); padding:var(--gap-section) 0; }
.section-navy{ background:var(--ink); color:var(--white); padding:var(--gap-section) 0; }
.section-head{ max-width:640px; margin-bottom:64px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ============================================================
   8. "DE CE EXISTĂ" — problem / solution
   ============================================================ */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.split ul{ margin-top:22px; }
.split li{ padding:10px 0 10px 26px; position:relative; font-weight:700; border-bottom:1px solid rgba(255,255,255,.1); }
.split li::before{ content:"—"; position:absolute; left:0; color:var(--cobalt); }
.split .card{
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius); padding:36px;
}
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }

/* ============================================================
   9. AVANTAJE — grid cards
   ============================================================ */
.grid-cards{ display:grid; grid-template-columns:repeat(5, 1fr); gap:20px; }
.adv-card{
  background:var(--white); border:1px solid #e7e9ee; border-radius:18px;
  padding:30px 24px; transition:transform .35s var(--ease), box-shadow .35s, border-color .35s;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
}
.adv-card:hover{ transform:translateY(-8px); box-shadow:0 24px 50px rgba(0,18,51,.1); border-color:var(--cobalt); }
.adv-card .num{ font-family:var(--font-display); font-size:13px; color:var(--cobalt); margin-bottom:16px; display:block; }
.adv-card h3{ margin-bottom:10px; }
.adv-card p{ font-size:14.5px; margin:0; }
@media (max-width:1040px){ .grid-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .grid-cards{ grid-template-columns:1fr; } }

/* ============================================================
   10. SIMPLU CA 1,2,3 — steps (real sequence → numbers OK)
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; counter-reset:step; }
.step{ position:relative; padding-top:12px; }
.step .step-num{
  font-family:var(--font-display); font-size:3.2rem; color:var(--grey-lt);
  -webkit-text-stroke:2px var(--cobalt); color:transparent;
  display:block; margin-bottom:10px;
}
@media (max-width:860px){ .steps{ grid-template-columns:1fr; } }

/* ============================================================
   11. PRODUSE — pill list
   ============================================================ */
.pill-row{ display:flex; flex-wrap:wrap; gap:14px; }
.pill{
  padding:12px 22px; border-radius:100px; font-weight:700; font-size:14.5px;
  background:var(--white); border:1.5px solid var(--grey-lt); color:var(--navy);
}
.pill.solid{ background:var(--ink); color:var(--white); border-color:var(--ink); }

/* ============================================================
   12. PACHETE CTA (home) — the "registration" moment
   ============================================================ */
.pkg-cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.pkg-cta-card{
  background:linear-gradient(160deg, var(--navy), var(--ink));
  border-radius:28px; padding:48px 40px; color:var(--white);
  position:relative; overflow:hidden;
  clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
  transition:transform .4s var(--ease);
}
.pkg-cta-card:hover{ transform:translateY(-6px); }
.pkg-cta-card.agents{ background:linear-gradient(160deg, var(--cobalt), var(--navy)); }
.pkg-cta-card h3{ font-size:1.7rem; margin-bottom:10px; }
.pkg-cta-card p{ color:#c7d3e8; margin-bottom:28px; }
.pkg-cta-card .btn{ background:var(--white); color:var(--ink); }
.pkg-cta-card .btn:hover{ background:#7fb2ff; }
@media (max-width:860px){ .pkg-cta-grid{ grid-template-columns:1fr; } }

/* ============================================================
   13. QUOTE / FINAL CTA
   ============================================================ */
.quote-section{ text-align:center; }
.quote-section h2{ max-width:840px; margin:0 auto 32px; }
.quote-section .btn-primary{ padding:18px 40px; font-size:16px; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer{ background:var(--ink); color:#8fa2c4; padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:56px; }
.footer-grid h4{ color:var(--white); font-family:var(--font-body); font-size:14px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }
.footer-grid li{ margin-bottom:10px; font-size:14.5px; }
.footer-grid a:hover{ color:var(--white); }
.footer-brand img{ height:26px; margin-bottom:16px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-top:26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

/* ============================================================
   15. PRICING PAGES (broker / agent)
   ============================================================ */
.page-hero{ background:var(--ink); color:var(--white); padding:190px 0 90px; text-align:center; }
.page-hero .lede{ max-width:600px; margin:0 auto; }
.breadcrumb{ font-size:13px; color:#8fa2c4; margin-bottom:20px; }
.breadcrumb a{ color:#c7d3e8; font-weight:700; }

/* --- broker: single enterprise plan --- */
.enterprise-card{
  max-width:880px; margin:-70px auto 0; background:var(--white);
  border-radius:28px; box-shadow:0 40px 90px rgba(0,18,51,.15);
  padding:56px; position:relative; z-index:5;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
}
.enterprise-card .tag{
  display:inline-block; background:var(--cobalt); color:var(--white);
  font-weight:700; font-size:12.5px; padding:7px 16px; border-radius:100px; margin-bottom:18px;
}
.enterprise-features{ display:grid; grid-template-columns:1fr 1fr; gap:14px 32px; margin:32px 0 40px; }
.enterprise-features li{ padding-left:28px; position:relative; font-weight:700; font-size:15px; color:var(--ink); }
.enterprise-features li::before{ content:"✓"; position:absolute; left:0; color:var(--cobalt); font-weight:900; }
@media (max-width:640px){ .enterprise-features{ grid-template-columns:1fr; } }

/* --- agent: 3 tier table --- */
.tier-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; align-items:stretch; margin-top:-70px; position:relative; z-index:5; }
.tier-card{
  background:var(--white); border-radius:24px; padding:38px 30px;
  box-shadow:0 30px 70px rgba(0,18,51,.12); display:flex; flex-direction:column;
  border:2px solid transparent;
}
.tier-card.popular{ border-color:var(--cobalt); transform:translateY(-16px); }
.tier-badge{
  align-self:flex-start; background:var(--cobalt); color:var(--white); font-size:12px; font-weight:700;
  padding:5px 14px; border-radius:100px; margin-bottom:14px;
}
.tier-price{ font-family:var(--font-display); font-size:2.4rem; margin:14px 0 4px; }
.tier-price span{ font-family:var(--font-body); font-size:14px; font-weight:700; color:var(--grey); }
.tier-card .btn{ margin:26px 0 30px; }
.tier-feat{ margin-top:auto; }
.tier-feat h4{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--grey); margin:18px 0 10px; }
.tier-feat li{ padding:8px 0; border-bottom:1px solid var(--grey-lt); font-size:14.5px; }
@media (max-width:960px){ .tier-grid{ grid-template-columns:1fr; margin-top:40px; } .tier-card.popular{ transform:none; } }

/* comparison note */
.plan-note{ max-width:780px; margin:70px auto 0; text-align:center; color:var(--grey); font-size:14.5px; }

/* ============================================================
   16. TERMS PAGE
   ============================================================ */
.legal-content{ max-width:780px; margin:0 auto; padding:100px 0 140px; }
.legal-content h2{ margin-top:2em; }
.legal-content .placeholder-note{
  background:var(--grey-lt); border-left:4px solid var(--cobalt);
  padding:20px 24px; border-radius:8px; font-style:italic; color:var(--navy); font-size:14.5px;
}

/* ============================================================
   17. MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav{
  position:fixed; inset:0; background:var(--ink); z-index:1200;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:30px;
  transform:translateY(-100%); transition:transform .45s var(--ease);
}
.mobile-nav.is-open{ transform:translateY(0); }
.mobile-nav a{ color:var(--white); font-size:24px; font-weight:700; font-family:var(--font-display); }
.mobile-nav .close-nav{ position:absolute; top:26px; right:32px; background:none; border:0; color:var(--white); font-size:28px; }

/* ============================================================
   18. SCROLL REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
