/* public/styles.css */
:root{
  --bg: #0B1220;
  --bg2: #0A1020;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.04);
  --stroke: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.58);
  --brand: #F28C28;
  --brand2: rgba(242,140,40,0.22);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1000px 600px at 20% 10%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(242,140,40,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,18,32,0.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}

.brand-logo{
  height: 54px;
  width: auto;
  display:block;
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap: 2px;
}

.brand-name{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-tagline{
  font-size: 13px;
  color: var(--muted2);
}

.nav{
  display:flex;
  align-items:center;
  gap: 16px;
}

.nav-link{
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.nav-link:hover{ color: var(--text); text-decoration:none; }
.nav-active{ color: var(--text); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
}

.btn:hover{ text-decoration:none; }

.btn-lg{
  padding: 12px 18px;
  font-size: 15px;
}

.btn-primary{
  background: var(--brand);
  color: #101826;
  box-shadow: 0 12px 26px rgba(242,140,40,0.25);
}

.btn-primary:hover{
  filter: brightness(1.02);
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}

.btn-ghost:hover{
  border-color: rgba(255,255,255,0.28);
}

.btn-disabled{
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hero */
.hero{
  padding: 64px 0 26px;
}

.hero-title{
  margin: 0 0 14px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  max-width: 820px;
}

.hero-title span{ display:block; }

.hero-bridge{
  margin: 0 0 14px;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.hero-subline{
  margin: 0 0 22px;
  max-width: 860px;
  color: var(--muted);
  font-size: 16px;
}

.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.section{
  padding: 46px 0;
}

.section-muted{
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-title{
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.section-text{
  margin: 10px 0;
  color: var(--muted);
  max-width: 880px;
}

/* Cards / grids */
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

.card-title{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.1px;
}

.card-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Problem bullets */
.bullets{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 14px 0 18px;
  max-width: 860px;
}

.bullet{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 650;
}

/* Workflow steps */
.steps{
  display:grid;
  gap: 12px;
  max-width: 900px;
}

.step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(242,140,40,0.18);
  border: 1px solid rgba(242,140,40,0.35);
  color: var(--text);
  flex: 0 0 auto;
}

.step-title{
  font-weight: 900;
  margin-bottom: 2px;
}

.step-text{
  color: var(--muted);
}

/* Checklist */
.checklist{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Pages */
.page{
  padding: 42px 0 54px;
}

.page-narrow{
  width: min(820px, calc(100% - 40px));
}

.page-title{
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.4px;
}

.page-muted{
  margin: 0 0 22px;
  color: var(--muted2);
}

.prose h2{
  margin: 26px 0 8px;
  font-size: 18px;
}

.prose p, .prose li{
  color: var(--muted);
}

.prose ul{
  margin: 10px 0 0 18px;
}

/* Screenshots — FORCE equal height and consistent framing */
.shots{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
  align-items: start;
}

.shot{
  display:flex;
  flex-direction:column;
}

.shot-frame{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);

  /* key: all frames identical */
  aspect-ratio: 9 / 16;
  height: 560px;                 /* change this to scale all screenshots */
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.shot img{
  width: 100%;
  height: 100%;
  object-fit: contain;           /* keep full screenshot visible, no cropping */
  display:block;
}

.shot-caption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Missing screenshot placeholder */
.shot-missing .shot-frame{
  position: relative;
  min-height: 220px;
}

.shot-missing .shot-frame::after{
  content: "Screenshot missing — add image to /public/assets/screens/";
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  text-align:center;
  color: rgba(255,255,255,0.55);
  font-weight: 800;
}

.note{
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,18,32,0.60);
}

.footer-row{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  align-items:start;
}

.footer-name{
  font-weight: 900;
  margin-bottom: 4px;
}

.footer-tagline{
  color: var(--muted2);
  font-size: 13px;
}

.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  color: var(--muted);
}

.footer-links a{ color: var(--muted); }
.footer-links a:hover{ color: var(--text); text-decoration:none; }

.footer-meta{
  color: var(--muted2);
  font-size: 13px;
  text-align:right;
}

/* Responsive */
@media (max-width: 920px){
  .grid-2{ grid-template-columns: 1fr; }
  .bullets{ grid-template-columns: 1fr; }
  .shots{ grid-template-columns: 1fr; }
  .shot-frame{ height: 640px; }  /* slightly taller on mobile */
  .footer-row{ grid-template-columns: 1fr; }
  .footer-meta{ text-align:left; }
  .brand-tagline{ display:none; }
}

/* ===== White header override ===== */
.site-header{
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.brand-name{ color: rgba(11,18,32,0.92); }
.brand-tagline{ color: rgba(11,18,32,0.60); }

.nav-link{
  color: rgba(11,18,32,0.70);
}
.nav-link:hover{
  color: rgba(11,18,32,0.92);
}
.nav-active{
  color: rgba(11,18,32,0.92);
}

.btn-ghost{
  border-color: rgba(11,18,32,0.18);
  color: rgba(11,18,32,0.86);
}
.btn-ghost:hover{
  border-color: rgba(11,18,32,0.28);
}

/* Contact button blijft oranje (primary) */

/* ===== Brand header refinement ===== */

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-logo-square{
  height:40px;
  width:40px;
  display:block;
}

.brand-name{
  font-size:20px;
  font-weight:800;
  letter-spacing:-0.2px;
  color:#0B1220;
}

.brand-flow{
  color:#F28C28; /* brand orange */
}

/* ===== Header + brand hard override (fixes giant logo & colors) ===== */

/* Keep site background navy (your existing body bg can stay) */
:root{
  --navy: #0B1220;
  --navy2: #0A1020;
  --orange: #F28C28;
}

/* Header as clean light topbar */
.site-header{
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

/* Compact header spacing */
.header-row{
  padding: 12px 0;
}

/* Brand layout */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}

/* Force logo to be small no matter what image dimensions are */
.brand-logo{
  width: 36px;
  height: 36px;
  object-fit: contain;
  display:block;
  border-radius: 8px;
}

/* Wordmark */
.brand-wordmark{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1;
  color: rgba(11,18,32,0.92);
}

/* Make Flow orange */
.brand-flow{
  color: var(--orange);
}

/* Nav colors on white header */
.nav-link{
  color: rgba(11,18,32,0.70);
}
.nav-link:hover{
  color: rgba(11,18,32,0.92);
}
.nav-active{
  color: rgba(11,18,32,0.92);
}

/* Make Contact button look consistent */
.btn-primary{
  background: var(--orange);
  color: #101826;
}

/* Mobile: reduce logo + wordmark slightly */
@media (max-width: 520px){
  .brand-logo{ width: 32px; height: 32px; border-radius: 7px; }
  .brand-wordmark{ font-size: 20px; }
  .nav{ gap: 12px; }
}

/* ===== HEADER ALIGNMENT FIX ===== */

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header{
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-logo{
  width:34px;
  height:34px;
  object-fit:contain;
  border-radius:6px;
}

.brand-wordmark{
  font-size:22px;
  font-weight:900;
  letter-spacing:-0.3px;
  color:#0B1220 !important;
}

.brand-agent{
  color:#0B1220 !important;
}

.brand-flow{
  color:#F28C28 !important;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:20px;
}

.nav-link{
  color:#0B1220;
  font-weight:600;
  text-decoration:none;
}

.nav-link:hover{
  opacity:0.7;
}

/* Ensure hero aligns perfectly under header */
.hero .container{
  padding-top: 20px;
}

/* ===== Screenshot frames white background ===== */

.shot-frame{
  background: #ffffff;              /* wit */
  border: 1px solid rgba(0,0,0,0.08); 
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.shot img{
  object-fit: contain;
  background: #ffffff;              /* voorkomt grijze rand */
}

/* ===== More white breathing space around screenshots ===== */

.section .shots{
  margin-top: 40px;
  margin-bottom: 40px;
}

.shot-frame{
  padding: 18px;          /* extra wit rondom screenshot */
  background: #ffffff;
}

@media (max-width: 920px){
  .section .shots{
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .shot-frame{
    padding: 14px;
  }
}