/*
Theme Name: NOBON
Theme URI: https://nobon.store
Author: NOBON
Author URI: https://nobon.store
Description: Custom WordPress thema voor NOBON — digitale bonnen platform
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nobon
*/

/* ── RESET & BASE ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

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

:root {
  --navy: #0d1b3e;
  --navy-light: #1a3a6e;
  --blue-accent: #2a5caa;
  --blue-soft: #e8edf6;
  --blue-bg: #f0f4fa;
  --text-dark: #1a1a2e;
  --text-mid: #555;
  --text-light: #888;
  --white: #ffffff;
  --off-white: #fafafa;
  --border: #eee;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: var(--navy-light); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-bg); color: var(--navy);
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer; transition: background .2s;
}
.btn-secondary:hover { background: var(--blue-soft); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 12px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 600; font-family: inherit;
  border: 1px solid rgba(255,255,255,.3); cursor: pointer; transition: all .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ── NAVIGATION ── */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
}

.nav-brand img {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: 2px; color: var(--navy);
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: color .2s; position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--navy);
  border-radius: 1px;
}

.nav-cta {
  font-size: 13px; font-weight: 600;
  background: var(--navy); color: var(--white);
  padding: 10px 24px; border-radius: 8px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy-light); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px; overflow: hidden;
}

.hero-text {
  padding: 80px 48px;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  color: var(--navy); text-transform: uppercase;
  margin-bottom: 16px; opacity: .6;
}

.hero h1 { font-size: 46px; color: var(--navy); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--blue-accent); }

.hero p {
  font-size: 16px; line-height: 1.7;
  color: var(--text-mid); max-width: 440px; margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.hero-circle {
  position: absolute; border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hero-circle-1 { width: 300px; height: 300px; }
.hero-circle-2 { width: 450px; height: 450px; }
.hero-circle-3 { width: 600px; height: 600px; }

.hero-phone {
  width: 220px; height: 430px;
  background: var(--white); border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  position: relative; z-index: 2;
  display: flex; flex-direction: column; overflow: hidden;
}

.phone-notch {
  width: 80px; height: 6px; background: var(--navy);
  border-radius: 3px; margin: 10px auto 0;
}

.phone-header {
  background: var(--navy); padding: 20px 16px 14px; text-align: center;
}
.phone-header img { width: 28px; height: 28px; border-radius: 6px; margin: 0 auto 4px; }
.phone-header span { color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 2px; }

.phone-body { flex: 1; padding: 10px; background: #f8f8f6; overflow: hidden; }

.phone-receipt {
  background: var(--white); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 7px;
  border: 1px solid #eee;
}
.phone-receipt strong {
  font-size: 12px; font-weight: 600;
  display: flex; justify-content: space-between; color: var(--navy);
}
.phone-receipt small { font-size: 10px; color: var(--text-light); }

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  background: var(--white); padding: 40px 32px; text-align: center;
}
.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 600; color: var(--navy);
}
.stat-lbl { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* ── SECTION HEADERS ── */
.section-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  color: var(--blue-accent); text-transform: uppercase;
  text-align: center; margin-bottom: 12px;
}

.section-title {
  font-size: 34px; text-align: center;
  color: var(--navy); margin-bottom: 56px;
}

/* ── STEPS ── */
.steps-section { padding: 80px 0; background: var(--off-white); }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 900px; margin: 0 auto; padding: 0 48px;
}

.step-card {
  text-align: center; padding: 36px 28px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: transform .2s;
}
.step-card:hover { transform: translateY(-4px); }

.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-soft); color: var(--navy);
  font-size: 17px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px; font-weight: 600;
  margin-bottom: 10px; color: var(--navy);
}

.step-card p { font-size: 14px; line-height: 1.6; color: var(--text-mid); }

/* ── DUAL SECTION ── */
.dual-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.dual-consumers {
  background: var(--navy); padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.dual-consumers h2 { font-size: 30px; color: var(--white); margin-bottom: 16px; }
.dual-consumers p { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px; max-width: 420px; }

.dual-retailers {
  background: var(--blue-bg); padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.dual-retailers h2 { font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.dual-retailers p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; max-width: 420px; }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  padding: 12px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 600; width: fit-content;
  transition: background .2s;
}
.btn-dark:hover { background: var(--navy-light); }

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 48px; text-align: center; background: var(--white);
}
.cta-section h2 { font-size: 34px; color: var(--navy); margin-bottom: 12px; }
.cta-section p { font-size: 16px; color: var(--text-mid); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FEATURES LIST ── */
.features-section { padding: 80px 0; }

.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto; padding: 0 48px;
}

.feature-card {
  padding: 28px; background: var(--off-white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ── FAQ ── */
.faq-section { padding: 80px 0; background: var(--off-white); }

.faq-list { max-width: 720px; margin: 0 auto; padding: 0 48px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: 16px; font-weight: 500; color: var(--navy);
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit; padding: 0;
}

.faq-question::after {
  content: '+'; font-size: 22px; color: var(--text-light);
  transition: transform .3s;
}
.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding-top: 12px; font-size: 14px;
  color: var(--text-mid); line-height: 1.7;
}

/* ── CONTACT FORM ── */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 900px; margin: 0 auto; padding: 0 48px;
}

.contact-info h2 { font-size: 28px; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }

.contact-detail {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-mid); margin-bottom: 12px;
}
.contact-detail strong { color: var(--navy); min-width: 60px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14px; color: var(--text-dark);
  background: var(--white); transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--navy); outline: none; }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy); padding: 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; color: rgba(255,255,255,.5); font-size: 13px;
}

.footer-brand-section { display: flex; flex-direction: column; gap: 8px; }
.footer-brand {
  display: flex; align-items: center; gap: 8px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 6px; }
.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--white);
  letter-spacing: 2px;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.6; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px; font-size: 11px; color: rgba(255,255,255,.25);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--navy); padding: 64px 48px;
  text-align: center;
}
.page-header h1 { font-size: 38px; color: var(--white); margin-bottom: 12px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,.6); max-width: 560px; margin: 0 auto; }

/* ── PAGE CONTENT ── */
.page-content { padding: 64px 48px; max-width: 800px; margin: 0 auto; }
.page-content h2 { font-size: 26px; color: var(--navy); margin: 32px 0 12px; }
.page-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .hero-text { padding: 48px 24px; }
  .steps-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .dual-section { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .contact-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .stats-bar { grid-template-columns: 1fr; }
  .site-nav { padding: 14px 24px; }
  .container { padding: 0 24px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--white); padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
  }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .site-footer { grid-template-columns: 1fr; }
}
