
:root{
  --primary:#0E2A47;
  --accent:#12B5C9;
  --bg:#0B1726;
  --text:#E8EEF6;
  --muted:#9FB2C8;
  --card:rgba(255,255,255,0.04);
  --line:rgba(255,255,255,0.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,var(--bg) 0%,#0D1F35 100%);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;line-height:1.6}
a{color:var(--accent)}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

header{position:sticky;top:0;backdrop-filter:blur(8px);background:rgba(11,23,38,.6);border-bottom:1px solid var(--line);z-index:100}
nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
nav a.logo{display:flex;align-items:center;gap:12px;text-decoration:none}
nav a.logo span{font-weight:800;letter-spacing:.2px;color:var(--text)}
nav .menu a{color:var(--muted);text-decoration:none;margin-left:22px;font-weight:600}
nav .menu a:hover{color:var(--text)}
.cta-btn{display:inline-block;padding:12px 18px;border-radius:10px;background:var(--accent);color:#06222A;font-weight:800;text-decoration:none;box-shadow:0 8px 24px rgba(18,181,201,.25)}
header {
  background-color: #ffffff
}

.hero{padding:86px 0 48px}
.hero .eyebrow{color:var(--accent);text-transform:uppercase;font-weight:800;letter-spacing:.12em}
.hero h1{font-size:clamp(32px,6vw,56px);line-height:1.1;margin:12px 0}
.hero p{color:var(--muted);max-width:680px}
.hero .actions{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}

.section{padding:56px 0}
.section h2{font-size:28px;margin-top:0}
.kicker{color:var(--muted);font-size:14px;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px}
.badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.badge{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-weight:700;color:var(--muted)}

.process-steps{counter-reset:step;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.process-steps .step{position:relative;padding:18px;background:var(--card);border:1px solid var(--line);border-radius:14px}
.process-steps .step:before{counter-increment:step;content:counter(step);position:absolute;top:-12px;left:-12px;width:32px;height:32px;border-radius:10px;background:var(--accent);color:#06222A;display:grid;place-items:center;font-weight:800}

.pricing{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.price-card h3{margin:0 0 6px 0}
.price{font-size:26px;font-weight:900;margin:8px 0}
.ul{margin:0;padding-left:18px}
blockquote.testimonial{margin:0;padding:24px;border-left:4px solid var(--accent);background:var(--card);border-radius:10px}

footer{padding:28px 0 40px;color:var(--muted);border-top:1px solid var(--line)}
footer a{color:var(--muted);text-decoration:none}
.small{font-size:13px;color:var(--muted)}

.banner{position:fixed;bottom:16px;left:16px;right:16px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;gap:12px;align-items:center;z-index:200}
.banner button{margin-left:auto}

table.compare{width:100%;border-collapse:collapse}
table.compare td, table.compare th{border:1px solid var(--line);padding:10px;text-align:left}

/* === Lock header height, keep logo big === */
:root {
  --nav-h: 80px;          /* header height you want */
  --nav-pad-y: -48px;       /* vertical padding inside header */
}

/* Make the header a fixed-height flex bar */
header {
  background:#fff;                     /* optional: white header */
  box-shadow: 0 2px 4px rgba(0,0,0,.05); /* optional: subtle shadow */
}

header .container {
  min-height: var(--nav-h);
  padding: var(--nav-pad-y) 0;         /* control vertical padding */
  display: flex;
  align-items: center;                 /* center content vertically */
}

/* Ensure the <nav> distributes space correctly */
header nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}

/* Logo group alignment */
header .logo {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  text-decoration:none;
}

/* Make the image big but NEVER exceed the bar */
header .logo img {
  height: calc(var(--nav-h) - 2 * var(--nav-pad-y)); /* fills the bar */
  max-height: 100%;
  width: auto;
  display:block;
}

/* Prevent the "ScaleBeacon" text from increasing bar height */
header .logo span {
  line-height: 1;     /* no extra vertical expansion */
  display: block;
}

/* Keep menu items from adding extra vertical height */
header .menu a {
  padding: 0 .75rem;  /* horizontal only; no vertical padding */
  line-height: 1.1;   /* tight vertical line height */
}

/* (Optional) If something still pushes height, clamp it hard */
header, header .container, header nav {
  max-height: var(--nav-h);
  overflow: hidden;   /* hide any overflow-y just in case */
}

/* Stack contact form fields vertically */
form.contact {
  display: flex;
  flex-direction: column;
  gap: 12px;              /* space between fields */
  max-width: 640px;       /* optional: keep a nice readable width */
}

form.contact input,
form.contact textarea,
form.contact button {
  width: 100%;
}

/* Optional: tidy the inputs to match your theme */
form.contact input,
form.contact textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}

/* Optional: keep the button from stretching if you prefer */
form.contact button {
  width: auto;            /* remove this line if you want full-width button */
  align-self: flex-start; /* keeps it left-aligned */
}

@media (max-width: 900px) {
  #why-now .container { grid-template-columns: 1fr !important; }
}

/* Case Studies split */
.cs-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* image a bit wider */
  gap: 28px;
  align-items: center;
}

.cs-media img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  border: 1px solid var(--line);
}

.cs-copy .cta-btn { margin-top: 8px; }

@media (max-width: 900px) {
  .cs-split { grid-template-columns: 1fr; }
  .cs-copy { order: 2; }
  .cs-media { order: 1; }
}

.cred-band { 
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.logo-row {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  margin-top: 10px;
}
.logo-row img {
  height: 28px; filter: grayscale(100%) contrast(1.1) opacity(.8);
}
.logo-row img:hover { filter: grayscale(0%) opacity(1); }

.logo-row img {
  height: 96px;
  filter: grayscale(100%) contrast(1.2) opacity(0.9);
  transition: filter 0.2s ease;
}
.logo-row img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Container: keep it centered with breathing room */
.beacon-section {
  padding: clamp(2rem, 6vw, 5rem) 1rem;
  display: grid;
  place-items: center;
  position: relative;
}

/* Wrapper controls max width and the glow backdrop */
.beacon-wrap {
  position: relative;
  max-width: 1100px;           /* tune as needed */
  width: min(92vw, 1100px);
  margin-inline: auto;
  isolation: isolate;          /* so the pseudo glow stays behind */
}

/* The image itself */
.beacon-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;         /* soften edges to match glass look */
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35);   /* subtle depth */
  will-change: transform;
}

/* Neon-ish glow behind image (not too heavy) */
.beacon-wrap::before {
  content: "";
  position: absolute;
  inset: -6% -4% -8%;          /* slightly larger than image */
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 40%,
      rgba(0, 214, 255, 0.25) 0%,
      rgba(0, 214, 255, 0.08) 35%,
      rgba(0, 0, 0, 0) 70%),
    radial-gradient(50% 50% at 75% 60%,
      rgba(0, 255, 170, 0.25) 0%,
      rgba(0, 255, 170, 0.08) 35%,
      rgba(0, 0, 0, 0) 70%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

/* Optional: slight hover lift for desktop */
@media (hover:hover) and (pointer:fine) {
  .beacon-img {
    transition: transform 300ms ease, box-shadow 300ms ease;
  }
  .beacon-img:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 60px rgba(0, 0, 0, 0.42),
      0 0 24px rgba(0, 214, 255, 0.22);
  }
}

.confusion-img {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.confusion-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px; /* match framework cards */
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* Glow matches the How it Works framework */
.confusion-img::before {
  content: "";
  position: absolute;
  inset: -6% -6% -8%;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 40%,
      rgba(0, 214, 255, 0.25) 0%,
      rgba(0, 214, 255, 0.08) 35%,
      transparent 70%),
    radial-gradient(50% 50% at 75% 60%,
      rgba(0, 255, 170, 0.25) 0%,
      rgba(0, 255, 170, 0.08) 35%,
      transparent 70%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
  border-radius: inherit;
}

.glow-beacon {
  position: relative;
  isolation: isolate; /* makes the glow sit behind the image */
  display: inline-block; /* or block if you want full-width */
  max-width: 100%;
}

.glow-beacon img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;           /* match the framework image radius */
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* The actual glow behind the image */
.glow-beacon::before {
  content: "";
  position: absolute;
  inset: -6% -6% -8%;            /* slightly larger than the image */
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 40%,
      rgba(0, 214, 255, 0.25) 0%,
      rgba(0, 214, 255, 0.08) 35%,
      transparent 70%),
    radial-gradient(50% 50% at 75% 60%,
      rgba(0, 255, 170, 0.25) 0%,
      rgba(0, 255, 170, 0.08) 35%,
      transparent 70%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
  border-radius: inherit;
}

img.confusion-glow {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;

  /* Base subtle glow (tight around image) */
  filter:
    drop-shadow(0 3px 10px rgba(0,214,255,0.18))   /* teal */
    drop-shadow(0 0 14px rgba(0,255,170,0.14));    /* green */

  transition: filter 300ms ease;
}

/* Hover glow – slightly stronger */
img.confusion-glow:hover {
  filter:
    drop-shadow(0 4px 14px rgba(0,214,255,0.28))
    drop-shadow(0 0 20px rgba(0,255,170,0.22));
}
