/*
Theme Name:  Humanoids Robots Full
Theme URI:   https://humanoids-robots.nl
Author:      humanoids-robots.nl
Description: Unitree robot dealer NL — volledig donker thema
Version:     1.0
Text Domain: humanoids
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── CSS VARIABELEN ── */
:root {
  --bg:         #070710;
  --bg2:        #0d0d1a;
  --bg3:        #1a1a26;
  --accent:     #1E6FFF;
  --accent2:    #3D8EFF;
  --green:      #059669;
  --text:       #e8eaf6;
  --text-dim:   rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --border:     rgba(255,255,255,0.08);
  --radius:     10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --font:       'Inter', system-ui, sans-serif;
  --font-head:  'Space Grotesk', system-ui, sans-serif;
  --max:        1200px;
}

/* ── BASIS ── */
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: #fff; }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; }

/* ── CONTAINER ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }

/* ── KNOPPEN ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; font-family: var(--font); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #047857; color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── NAV ── */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(7,7,16,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner   { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.nav-logo    { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }
.nav-logo span { color: var(--accent); }
.nav-logo small { display: block; font-size: 0.65rem; font-weight: 400; color: var(--text-muted); font-family: var(--font); margin-top: -2px; }
.nav-menu    { display: flex; list-style: none; gap: 0.15rem; align-items: center; margin: 0; padding: 0; }
.nav-menu li a { padding: 0.45rem 0.7rem; border-radius: 6px; color: var(--text-dim); font-size: 0.85rem; font-weight: 500; transition: all 0.15s; white-space: nowrap; }
.nav-menu li a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-menu li.nav-cta a { background: var(--accent); color: #fff; padding: 0.5rem 1rem; margin-left: 0.25rem; }
.nav-menu li.nav-cta a:hover { background: var(--accent2); }
.nav-toggle  { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }

/* ── HERO ── */
#hero { padding: 9rem 0 6rem; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,111,255,0.12) 0%, transparent 70%); }
#hero .section-label { margin-bottom: 1rem; }
#hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.25rem; max-width: 800px; }
#hero h1 span { color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-dim); max-width: 580px; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.badge { background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; padding: 0.35rem 1rem; font-size: 0.78rem; color: var(--text-dim); }
.badge strong { color: #fff; }

/* ── SECTION TITELS ── */
.section-label { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; display: block; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.section-sub   { font-size: 1rem; color: var(--text-dim); max-width: 560px; line-height: 1.75; margin-bottom: 0; }

/* ── ROBOT CARDS ── */
.robots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.robot-card  { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.robot-card:hover { border-color: rgba(30,111,255,0.35); transform: translateY(-3px); }
.robot-card-img { height: 200px; background: var(--bg2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.robot-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; filter: drop-shadow(0 4px 24px rgba(30,111,255,0.15)); }
.robot-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.robot-tag  { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.6rem; background: var(--accent); color: #fff; }
.robot-tag.green  { background: var(--green); }
.robot-tag.purple { background: #7C3AED; }
.robot-tag.teal   { background: #0891B2; }
.robot-card-type { font-size: 0.75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.robot-card-name { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.robot-card-desc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; line-height: 1.65; flex: 1; }
.robot-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 1rem; }
.spec { background: var(--bg2); border-radius: 6px; padding: 0.4rem 0.6rem; }
.spec-label { font-size: 0.68rem; color: var(--text-muted); display: block; margin-bottom: 0.1rem; }
.spec-value { font-size: 0.82rem; color: #fff; font-weight: 600; }
.robot-card-price { font-size: 0.95rem; font-weight: 700; color: var(--accent2); margin-bottom: 1rem; }
.robot-card-btns { display: flex; gap: 0.6rem; margin-top: auto; }
.robot-card-btns .btn { flex: 1; justify-content: center; font-size: 0.83rem; padding: 0.55rem 0.75rem; }

/* ── USP GRID ── */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.usp-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.usp-icon  { font-size: 2rem; margin-bottom: 1rem; }
.usp-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.usp-desc  { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; margin: 0; }

/* ── STAPPEN ── */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step-item  { }
.step-num   { font-size: 2.5rem; font-weight: 800; color: rgba(30,111,255,0.25); font-family: var(--font-head); line-height: 1; margin-bottom: 0.75rem; }
.step-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.step-desc  { font-size: 0.82rem; color: var(--text-dim); line-height: 1.65; margin: 0; }

/* ── VERGELIJKING ── */
.compare-wrap { overflow-x: auto; margin-top: 2rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; white-space: nowrap; }
.compare-table th { background: var(--bg3); padding: 0.85rem 1.25rem; text-align: left; font-weight: 600; border-bottom: 2px solid var(--border); font-size: 0.82rem; }
.compare-table td { padding: 0.7rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table .best-col { background: rgba(30,111,255,0.05); }
.compare-table .best-col th { color: var(--accent); }
.check { color: var(--green); font-weight: 700; }
.dash  { color: var(--text-muted); }

/* ── VIDEO GRID ── */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.video-thumb { border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--bg3); position: relative; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-thumb:hover img { transform: scale(1.04); }
.video-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); }
.video-play-btn { width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; transition: transform 0.2s; }
.video-thumb:hover .video-play-btn { transform: scale(1.1); }
.video-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.6rem 0.75rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.video-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 3px; margin-bottom: 0.2rem; }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; width: 90vw; max-width: 960px; aspect-ratio: 16/9; }
.lightbox-inner iframe { width: 100%; height: 100%; border: none; border-radius: 8px; }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ── ROI CALCULATOR ── */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 2.5rem; }
.roi-inputs { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.roi-inputs label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 0.35rem; margin-top: 1.25rem; }
.roi-inputs label:first-of-type { margin-top: 0; }
.roi-inputs input[type=range] { width: 100%; accent-color: var(--accent); margin-bottom: 0.25rem; }
.roi-inputs .range-val { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.roi-result { background: linear-gradient(135deg, rgba(30,111,255,0.08), rgba(5,150,105,0.08)); border: 1px solid rgba(30,111,255,0.2); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.5rem; }
.roi-metric .roi-number { font-size: 2.25rem; font-weight: 800; color: var(--green); font-family: var(--font-head); line-height: 1; }
.roi-metric .roi-label  { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.3rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; margin-top: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: var(--text-dim); }
.contact-item a { color: var(--text-dim); }
.contact-item a:hover { color: var(--accent); }

/* ── FORMULIER ── */
.form-wrap { }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 0.8rem; color: var(--text-dim); font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea { background: var(--bg3); border: 1px solid var(--border); border-radius: 7px; padding: 0.65rem 0.875rem; color: #fff; font-size: 0.88rem; font-family: var(--font); outline: none; transition: border-color 0.15s; width: 100%; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select option { background: var(--bg3); }
.form-honey { display: none !important; }
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.82rem; color: var(--text-dim); cursor: pointer; line-height: 1.5; }
.form-check input[type=checkbox] { width: auto; flex-shrink: 0; margin-top: 0.2rem; }
.form-submit { margin-top: 1.25rem; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.6rem; }

/* ── FOOTER ── */
#site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; gap: 0.5rem; }

/* ── COOKIE BANNER ── */
#cookie-banner { display: none; position: fixed; bottom: 1.5rem; left: 1.5rem; max-width: 420px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; z-index: 200; box-shadow: var(--shadow); }
#cookie-banner p { font-size: 0.83rem; color: var(--text-dim); margin-bottom: 1rem; line-height: 1.6; }
.cookie-btns { display: flex; gap: 0.6rem; }
.cookie-btns button { flex: 1; padding: 0.55rem; border-radius: 6px; font-weight: 600; font-size: 0.83rem; cursor: pointer; border: none; font-family: var(--font); }
#cookie-accept  { background: var(--accent); color: #fff; }
#cookie-decline { background: var(--bg2); color: var(--text-dim); border: 1px solid var(--border); }

/* ── EXIT POPUP ── */
#exit-popup { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 300; align-items: center; justify-content: center; }
#exit-popup.open { display: flex; }
.popup-box { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; max-width: 440px; width: 90%; text-align: center; position: relative; box-shadow: var(--shadow); }
.popup-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-dim); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.popup-icon { font-size: 3rem; margin-bottom: 1rem; }
.popup-box h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.popup-box p  { color: var(--text-dim); margin-bottom: 1.5rem; font-size: 0.92rem; line-height: 1.65; }
.popup-dismiss { margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; background: none; border: none; font-family: var(--font); }

/* ── FLOATING BUTTONS ── */
#wa-float { position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 150; }
#wa-float a { width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 16px rgba(37,211,102,0.35); text-decoration: none; transition: transform 0.2s; }
#wa-float a:hover { transform: scale(1.08); }
#callback-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 150; }
#callback-toggle { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 16px rgba(30,111,255,0.35); border: none; color: #fff; transition: transform 0.2s; }
#callback-toggle:hover { transform: scale(1.08); }
#callback-form { display: none; position: absolute; bottom: 3.75rem; right: 0; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; width: 230px; box-shadow: var(--shadow); }
#callback-form.open { display: block; }
#callback-form p { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.75rem; }
#callback-form input { width: 100%; margin-bottom: 0.5rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.75rem; color: #fff; font-size: 0.83rem; outline: none; font-family: var(--font); }
#callback-form button { width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 0.6rem; font-weight: 600; font-size: 0.83rem; cursor: pointer; font-family: var(--font); }
#demo-fab { position: fixed; bottom: 9.5rem; right: 1.5rem; background: var(--green); color: #fff; border: none; border-radius: 100px; padding: 0.55rem 1rem; font-size: 0.8rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(5,150,105,0.35); z-index: 150; text-decoration: none; white-space: nowrap; font-family: var(--font); }
#demo-fab:hover { background: #047857; color: #fff; }

/* ── PAGE CONTENT ── */
.page-content { padding: 7rem 0 4rem; }
.page-content h1 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.page-content h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.page-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.page-content p  { color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; }
.page-content ul { color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; padding-left: 1.5rem; }
.page-content a  { color: var(--accent); }

/* ── CTA SECTIE ── */
.cta-section { background: linear-gradient(135deg, rgba(30,111,255,0.08), rgba(5,150,105,0.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 0; text-align: center; }
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p  { color: var(--text-dim); max-width: 500px; margin: 0 auto 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .robots-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu    { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 1rem; }
  .nav-menu.open { display: flex; }
  .nav-toggle  { display: flex; }
  .robots-grid { grid-template-columns: 1fr; }
  .usp-grid    { grid-template-columns: 1fr; }
  .steps-grid  { grid-template-columns: 1fr 1fr; }
  .roi-grid    { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid   { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.75rem; }
  .hero-btns   { flex-direction: column; }
  #hero h1     { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid  { grid-template-columns: 1fr; }
  .video-grid  { grid-template-columns: 1fr; }
  .container   { padding: 0 1rem; }
  .section     { padding: 3.5rem 0; }
}


/* Hero robot afbeelding - verwijder witte achtergrond */
#hero img {
  mix-blend-mode: lighten;
  background: transparent;
}
#hero .container > div > div:last-child {
  background: transparent !important;
}
