/* ============================================================
   HorizonFlow — Main Stylesheet
   Font: Plus Jakarta Sans | Colours: Navy #0a1628 + Blue #2563eb
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --pri:       #2563eb;
  --pri-dk:    #1d4ed8;
  --pri-lt:    #dbeafe;
  --pri-xlt:   #eff6ff;
  --navy:      #0a1628;
  --navy2:     #0f1e38;
  --navy3:     #162340;
  --slate:     #1e293b;
  --mid:       #475569;
  --muted:     #64748b;
  --light:     #94a3b8;
  --border:    #e2e8f0;
  --surf:      #f8fafc;
  --surf2:     #f1f5f9;
  --white:     #ffffff;
  --ok:        #059669;
  --err:       #dc2626;
  --sh:        0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shm:       0 4px 20px rgba(0,0,0,.08);
  --shl:       0 12px 40px rgba(0,0,0,.12);
  --r:         8px;
  --rl:        12px;
  --rxl:       16px;
  --rxxl:      20px;
  --font:      'Plus Jakarta Sans', system-ui, sans-serif;
  --trans:     all .22s cubic-bezier(.4,0,.2,1);
  --max:       1180px;
}
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--slate); background: var(--white); font-size: 15px; line-height: 1.65; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── LAYOUT ── */
.wrap      { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section   { padding: 88px 0; }
.section-sm{ padding: 56px 0; }

/* ── TYPOGRAPHY ── */
.h1  { font-size: clamp(32px,5vw,56px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: var(--slate); }
.h2  { font-size: clamp(26px,4vw,40px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; color: var(--slate); }
.h3  { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--slate); }
.h4  { font-size: 16px; font-weight: 700; color: var(--slate); }
.sub { color: var(--muted); font-size: 17px; line-height: 1.8; }
.sub-sm { color: var(--muted); font-size: 15px; line-height: 1.75; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pri); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--rl); font-size: 14px; font-weight: 600; border: none; transition: var(--trans); cursor: pointer; white-space: nowrap; letter-spacing: -.01em; }
.btn-lg  { padding: 15px 30px; font-size: 15px; }
.btn-sm  { padding: 9px 18px;  font-size: 13px; }
.btn-pri { background: var(--pri); color: var(--white); box-shadow: 0 2px 8px rgba(37,99,235,.25); }
.btn-pri:hover { background: var(--pri-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-out { background: transparent; color: var(--pri); border: 2px solid var(--pri); }
.btn-out:hover { background: var(--pri-xlt); }
.btn-navy { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.25); }
.btn-navy:hover { background: rgba(255,255,255,.22); }
.btn-white { background: var(--white); color: var(--pri); font-weight: 700; box-shadow: var(--shm); }
.btn-white:hover { background: var(--surf); transform: translateY(-1px); }
.btn:active { transform: scale(.97) !important; }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-dark { background: rgba(37,99,235,.15); color: #93c5fd; border: 1px solid rgba(37,99,235,.3); }
.badge-dot  { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── ICON BOX ── */
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--pri-xlt); }
.icon-box svg { width: 24px; height: 24px; stroke: var(--pri); fill: none; stroke-width: 1.8; }

/* ── CARDS ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxl); padding: 28px; box-shadow: var(--sh); transition: var(--trans); }
.card:hover { box-shadow: var(--shm); transform: translateY(-2px); }
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxl); padding: 28px; transition: var(--trans); }
.feat-card:hover { box-shadow: var(--shm); transform: translateY(-3px); border-color: rgba(37,99,235,.2); }
.feat-card .icon-box { margin-bottom: 20px; }
.feat-card .h4 { margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ── GRID ── */
.g2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 20px; }

/* ── SECTION HEADER ── */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head.left { text-align: left; }
.sec-head .label { margin-bottom: 12px; }
.sec-head .h2   { margin-bottom: 16px; }
.sec-head .sub  { max-width: 600px; margin: 0 auto; }
.sec-head.left .sub { margin: 0; }

/* ── NAVIGATION ── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: var(--navy); border-bottom: 1px solid transparent; transition: var(--trans); }
#nav.scrolled { border-color: rgba(255,255,255,.08); box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 8px 13px; border-radius: var(--r); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); background: none; border: none; transition: var(--trans); cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-mob-btn { display: none; background: none; border: none; padding: 8px; color: var(--white); cursor: pointer; }
.nav-mob-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; display: block; }
@media (max-width:900px) { .nav-links { display: none; } .nav-mob-btn { display: flex; } }

/* Mobile menu */
.mob-menu { position: fixed; top: 70px; left: 0; right: 0; background: var(--navy2); border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 28px 20px; z-index: 499; box-shadow: 0 8px 32px rgba(0,0,0,.3); display: none; }
.mob-menu.open { display: block; }
.mob-link { display: block; width: 100%; text-align: left; background: none; border: none; padding: 13px 16px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); border-radius: var(--r); transition: var(--trans); margin-bottom: 2px; cursor: pointer; text-decoration: none; }
.mob-link:hover, .mob-link.active { color: var(--white); background: rgba(37,99,235,.2); }

/* ── HERO ── */
.hero { padding: 120px 0 88px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 50%, var(--navy) 100%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.hero-glow  { position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 65%); pointer-events: none; }
.hero-glow2 { position: absolute; bottom: -100px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .sub { color: rgba(255,255,255,.65); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats { display: flex; gap: 44px; margin-top: 52px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.hero-stat .n { font-size: 34px; font-weight: 800; color: var(--pri); letter-spacing: -.03em; line-height: 1; }
.hero-stat .l { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500; margin-top: 4px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--navy2); border-top: 1px solid rgba(37,99,235,.2); border-bottom: 1px solid rgba(37,99,235,.2); padding: 18px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500; }
.trust-item svg { width: 16px; height: 16px; stroke: var(--pri); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 100px 0 60px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%); position: relative; overflow: hidden; }
.page-hero .hero-grid { opacity: .6; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; }
.page-hero h1 { color: var(--white); font-size: clamp(30px,5vw,48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.75; }
.page-hero .label { color: #93c5fd; margin-bottom: 12px; }

/* ── CTA SECTION ── */
.cta-sec { background: linear-gradient(135deg, var(--pri-dk), var(--pri)); padding: 80px 0; text-align: center; }
.cta-sec h2 { color: var(--white); font-size: clamp(26px,4vw,38px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 12px; }
.cta-sec p  { color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.75; max-width: 520px; margin: 0 auto 32px; }

/* ── STEPS ── */
.step-wrap { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 32px; }
.step-item { text-align: center; padding: 28px 20px; }
.step-num  { width: 56px; height: 56px; border-radius: 16px; background: var(--pri); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(37,99,235,.3); }
.step-item .h4 { margin-bottom: 8px; }
.step-item p   { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ── HIGHLIGHT BOX ── */
.highlight-box { background: var(--pri-xlt); border: 1px solid var(--pri-lt); border-radius: var(--rxl); padding: 28px; }
.highlight-box.navy { background: var(--navy2); border-color: rgba(37,99,235,.3); }

/* ── TESTIMONIALS ── */
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxl); padding: 28px; position: relative; }
.testimonial::before { content: '\201C'; position: absolute; top: 20px; left: 22px; font-size: 60px; font-weight: 900; color: var(--pri-lt); line-height: 1; font-family: Georgia,serif; }
.testimonial-body { padding-top: 24px; }
.testimonial-body p { color: var(--slate); font-size: 15px; line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pri-xlt); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--pri); flex-shrink: 0; }
.testimonial-name   { font-weight: 700; font-size: 14px; color: var(--slate); }
.testimonial-role   { font-size: 12px; color: var(--muted); }

/* ── FAQ ── */
.faq-section { padding: 72px 0; background: var(--surf); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 4px; background: none; border: none; text-align: left; font-size: 15px; font-weight: 600; color: var(--slate); gap: 20px; cursor: pointer; transition: var(--trans); }
.faq-q:hover { color: var(--pri); }
.faq-q.open  { color: var(--pri); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease, padding .22s ease; }
.faq-a.open { max-height: 500px; }
.faq-a-inner { padding: 0 4px 22px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.faq-chevron { flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .22s, border-color .22s, background .22s; }
.faq-chevron svg { width: 11px; height: 11px; stroke: var(--mid); fill: none; stroke-width: 2.5; transition: stroke .22s; }
.faq-q.open .faq-chevron { background: var(--pri); border-color: var(--pri); transform: rotate(180deg); }
.faq-q.open .faq-chevron svg { stroke: white; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo img  { height: 52px; width: auto; margin-bottom: 20px; }
.footer-tagline   { color: rgba(255,255,255,.45); font-size: 13px; line-height: 1.8; max-width: 260px; }
.footer-col h4    { color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-link      { display: block; color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-link:hover { color: rgba(255,255,255,.9); }
.footer-bottom    { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy      { color: rgba(255,255,255,.3); font-size: 13px; }
.footer-legal     { display: flex; gap: 20px; }
.footer-legal a   { color: rgba(255,255,255,.3); font-size: 13px; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }
@media (max-width:800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width:480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxxl); padding: 40px; box-shadow: var(--sh); }
.form-group   { margin-bottom: 20px; }
.form-label   { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 7px; }
.form-req     { color: var(--err); }
.form-input   { width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: 14px; color: var(--slate); background: var(--white); transition: var(--trans); outline: none; appearance: none; }
.form-input:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-input.err   { border-color: var(--err); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input   { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; cursor: pointer; }
.form-err     { color: var(--err); font-size: 12px; margin-top: 5px; display: none; }
.form-grid2   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note    { font-size: 12px; color: var(--light); margin-top: 5px; }
.form-submit  { background: var(--pri); color: white; padding: 15px 28px; border-radius: var(--rl); font-size: 15px; font-weight: 700; border: none; width: 100%; transition: var(--trans); cursor: pointer; }
.form-submit:hover    { background: var(--pri-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-success { background: #dcfce7; border: 1px solid #86efac; border-radius: var(--rl); padding: 20px; text-align: center; color: #15803d; font-weight: 600; margin-top: 16px; display: none; }
.form-alert   { background: #fef3c7; border: 1px solid #fde68a; border-radius: var(--rl); padding: 20px; text-align: center; color: #92400e; font-size: 14px; margin-top: 16px; display: none; }
@media (max-width:900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width:600px) { .form-grid2   { grid-template-columns: 1fr; } }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon  { width: 44px; height: 44px; border-radius: 12px; background: var(--pri-xlt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--pri); fill: none; stroke-width: 2; }
.contact-info-label { font-size: 13px; font-weight: 600; color: var(--mid); margin-bottom: 2px; }
.contact-info-val   { font-size: 15px; font-weight: 600; color: var(--slate); }

/* ── HOW IT WORKS ── */
.hiw-step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--border); }
.hiw-step:last-child { border-bottom: none; }
.hiw-step.reverse .hiw-text   { order: 2; }
.hiw-step.reverse .hiw-visual { order: 1; }
.hiw-step-num    { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.hiw-num-badge   { width: 52px; height: 52px; border-radius: 14px; background: var(--pri); color: white; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,99,235,.3); flex-shrink: 0; }
.hiw-num-label h3 { font-size: 22px; font-weight: 800; color: var(--slate); line-height: 1; }
.hiw-num-label p  { font-size: 14px; color: var(--pri); font-weight: 600; margin-top: 3px; }
.hiw-details     { background: var(--surf); border: 1px solid var(--border); border-radius: var(--rxl); padding: 24px; }
.hiw-details h4  { font-size: 14px; font-weight: 700; color: var(--slate); margin-bottom: 14px; }
.hiw-detail-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 11px; }
.hiw-detail-item:last-child { margin-bottom: 0; }
.hiw-detail-check { width: 20px; height: 20px; border-radius: 50%; background: var(--pri-xlt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.hiw-detail-check svg { width: 10px; height: 10px; stroke: var(--pri); fill: none; stroke-width: 3; }
.hiw-detail-item span { color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (max-width:768px) { .hiw-step { grid-template-columns: 1fr; } .hiw-step.reverse .hiw-text, .hiw-step.reverse .hiw-visual { order: unset; } }

/* ── INDUSTRIES ── */
.ind-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxl); overflow: hidden; transition: var(--trans); }
.ind-card:hover { box-shadow: var(--shm); border-color: rgba(37,99,235,.2); }
.ind-card-head { padding: 28px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 18px; }
.ind-card-body { padding: 24px 28px; }
.ind-use-case  { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ind-use-case:last-child { margin-bottom: 0; }
.ind-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--pri-xlt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.ind-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pri); }
.ind-use-case span { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── CASE STUDIES ── */
.cs-coming { background: var(--surf); border: 1px solid var(--border); border-radius: var(--rxxl); padding: 64px 48px; text-align: center; max-width: 600px; margin: 0 auto; }
.cs-demo-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxl); overflow: hidden; }
.cs-demo-head { padding: 20px 22px; background: var(--pri-xlt); border-bottom: 1px solid var(--pri-lt); }
.cs-demo-head h4 { color: var(--pri-dk); font-size: 15px; font-weight: 700; }
.cs-demo-head p  { color: var(--pri);    font-size: 13px; margin-top: 3px; }
.cs-demo-body { padding: 22px; }
.cs-demo-step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cs-step-num  { width: 24px; height: 24px; border-radius: 50%; background: var(--pri); color: white; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-demo-step span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cs-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 32px 0; }
.cs-stat { text-align: center; background: var(--surf); border: 1px solid var(--border); border-radius: var(--rl); padding: 20px 12px; }
.cs-stat .n { font-size: 28px; font-weight: 800; color: var(--pri); letter-spacing: -.02em; }
.cs-stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── ABOUT VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; }
.value-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--rxl); padding: 32px; text-align: center; transition: var(--trans); }
.value-card:hover { box-shadow: var(--shm); border-color: rgba(37,99,235,.2); }
.value-card .icon-box { margin: 0 auto 20px; }
.value-card .h4 { margin-bottom: 10px; }
.value-card p   { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ── LEGAL PAGES ── */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 64px 28px 80px; }
.legal-wrap h2 { font-size: 22px; font-weight: 700; color: var(--slate); margin: 44px 0 14px; padding-top: 28px; border-top: 1px solid var(--border); }
.legal-wrap h2:first-of-type { margin-top: 8px; border-top: none; padding-top: 0; }
.legal-wrap h3 { font-size: 16px; font-weight: 700; color: var(--slate); margin: 24px 0 10px; }
.legal-wrap p  { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 16px; }
.legal-wrap ul { padding-left: 22px; margin-bottom: 16px; }
.legal-wrap li { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 8px; }
.legal-wrap a  { color: var(--pri); text-decoration: underline; }
.legal-date    { background: var(--surf); border: 1px solid var(--border); border-radius: var(--rl); padding: 14px 20px; font-size: 13px; color: var(--muted); margin-bottom: 32px; display: flex; align-items: center; gap: 8px; }
.legal-date svg { width: 16px; height: 16px; stroke: var(--pri); fill: none; stroke-width: 2; flex-shrink: 0; }
.cookie-table  { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13px; }
.cookie-table th { background: var(--surf); text-align: left; padding: 12px 16px; border: 1px solid var(--border); font-weight: 700; color: var(--slate); }
.cookie-table td { padding: 11px 16px; border: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.cookie-table tr:nth-child(even) td { background: var(--surf); }

/* ── CHATBOT ── */
#chat-fab { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: var(--pri); border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(37,99,235,.45); z-index: 600; transition: var(--trans); cursor: pointer; }
#chat-fab:hover { background: var(--pri-dk); transform: scale(1.06); }
#chat-fab svg   { stroke: white; fill: none; stroke-width: 2; width: 26px; height: 26px; }
#chat-fab .chat-notif { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: #10b981; border-radius: 50%; border: 2px solid var(--pri); animation: pulse 2s infinite; }
#chat-window { position: fixed; bottom: 102px; right: 28px; width: 372px; max-width: calc(100vw - 32px); height: 540px; background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.18); display: none; flex-direction: column; z-index: 600; overflow: hidden; border: 1px solid var(--border); }
#chat-window.open { display: flex; }
.chat-hdr { background: linear-gradient(135deg, var(--pri-dk), var(--pri)); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.chat-hdr-info  { display: flex; align-items: center; gap: 11px; }
.chat-avatar-hdr { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; color: white; }
.chat-hdr-name   { color: white; font-size: 15px; font-weight: 700; line-height: 1.2; }
.chat-hdr-status { color: rgba(255,255,255,.7); font-size: 11px; display: flex; align-items: center; gap: 5px; }
.chat-hdr-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #10b981; flex-shrink: 0; }
.chat-close { background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; padding: 6px; border-radius: 8px; transition: var(--trans); display: flex; }
.chat-close:hover { background: rgba(255,255,255,.15); color: white; }
.chat-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msgs::-webkit-scrollbar { width: 4px; }
.chat-msgs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: 14px; line-height: 1.65; }
.msg-ai   { background: var(--surf); color: var(--slate); border-radius: 4px 18px 18px 18px; align-self: flex-start; }
.msg-user { background: var(--pri); color: white; border-radius: 18px 18px 4px 18px; align-self: flex-end; }
.msg-typing { display: flex; gap: 5px; padding: 12px 16px; background: var(--surf); border-radius: 4px 18px 18px 18px; align-self: flex-start; }
.dot { width: 7px; height: 7px; background: var(--light); border-radius: 50%; animation: bounce .9s infinite; }
.dot:nth-child(2) { animation-delay: .15s; }
.dot:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.chat-sugs  { padding: 8px 14px 4px; display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; border-top: 1px solid var(--border); }
.chat-sug   { background: var(--pri-xlt); color: var(--pri); font-size: 12px; padding: 5px 10px; border-radius: 8px; cursor: pointer; border: 1px solid var(--pri-lt); transition: var(--trans); font-family: var(--font); }
.chat-sug:hover { background: var(--pri); color: white; }
.chat-inp   { padding: 12px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-shrink: 0; }
.chat-inp input { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; outline: none; transition: var(--trans); color: var(--slate); }
.chat-inp input:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.chat-send { background: var(--pri); border: none; border-radius: 10px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: white; transition: var(--trans); flex-shrink: 0; cursor: pointer; }
.chat-send:hover { background: var(--pri-dk); }
.chat-send svg { width: 16px; height: 16px; stroke: white; fill: none; stroke-width: 2; }

/* ── COOKIE BANNER ── */
#cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 700; background: var(--navy); border-top: 1px solid rgba(37,99,235,.3); padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-shadow: 0 -4px 24px rgba(0,0,0,.3); }
#cookie-bar p { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.65; max-width: 620px; flex: 1; min-width: 200px; }
#cookie-bar p a { color: #93c5fd; text-decoration: underline; }
.cookie-btns   { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cb-decline    { background: transparent; color: rgba(255,255,255,.6); border: 1.5px solid rgba(255,255,255,.2); padding: 9px 18px; border-radius: var(--rl); font-size: 13px; font-weight: 600; font-family: var(--font); transition: var(--trans); cursor: pointer; }
.cb-decline:hover { border-color: rgba(255,255,255,.5); color: white; }
.cb-essential  { background: rgba(37,99,235,.2); color: #93c5fd; border: 1.5px solid rgba(37,99,235,.4); padding: 9px 18px; border-radius: var(--rl); font-size: 13px; font-weight: 600; font-family: var(--font); transition: var(--trans); cursor: pointer; }
.cb-essential:hover { background: rgba(37,99,235,.35); }
.cb-accept     { background: var(--pri); color: white; border: none; padding: 9px 18px; border-radius: var(--rl); font-size: 13px; font-weight: 600; font-family: var(--font); transition: var(--trans); cursor: pointer; }
.cb-accept:hover { background: var(--pri-dk); }

/* ── TOAST NOTIFICATION ── */
.toast { position: fixed; top: 90px; right: 28px; z-index: 800; background: var(--slate); color: white; padding: 14px 20px; border-radius: var(--rl); font-size: 14px; font-weight: 500; box-shadow: var(--shl); transform: translateX(120%); transition: transform .3s ease; max-width: 320px; }
.toast.show    { transform: translateX(0); }
.toast.success { border-left: 3px solid var(--ok); }
.toast.error   { border-left: 3px solid var(--err); }

/* ── RESPONSIVE ── */
@media (max-width:600px) {
  .hero-stats { gap: 28px; }
  .trust-items { gap: 20px; }
  #cookie-bar { padding: 16px 16px; }
  .cookie-btns { width: 100%; }
  .cb-decline, .cb-essential, .cb-accept { flex: 1; text-align: center; }
  .cs-stat-grid { grid-template-columns: 1fr; }
}
@media (max-width:480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
}

/* ── UTILITY ── */
.sep { border: none; border-top: 1px solid var(--border); margin: 0; }
.mt4 { margin-top: 4px; }  .mt8 { margin-top: 8px; }
.mt12{ margin-top: 12px; } .mt16{ margin-top: 16px; }
.mt20{ margin-top: 20px; } .mt24{ margin-top: 24px; }
.mt32{ margin-top: 32px; } .mt40{ margin-top: 40px; }
.mb4 { margin-bottom: 4px; }  .mb8 { margin-bottom: 8px; }
.mb12{ margin-bottom: 12px; } .mb16{ margin-bottom: 16px; }
.mb20{ margin-bottom: 20px; } .mb24{ margin-bottom: 24px; }
.text-center { text-align: center; }
.text-pri { color: var(--pri); }
