/* ============================================================
   Emerald Bay Cyber — ebcyber.css
   Brand: Neue Haas Grotesk Text Pro
   Colors: Green(84,121,39) Teal(103,166,180) Dark Teal(16,72,98)
           Turquoise(23,164,199) Navy(14,46,61) White(255,255,255)
   ============================================================ */

/* ─── BRAND TOKENS ─── */
:root {
  /* Primary */
  --green:       rgb(84,  121, 39);
  --teal:        rgb(103, 166, 180);
  --dark-teal:   rgb(16,  72,  98);
  /* Accent */
  --turquoise:   rgb(23,  164, 199);
  --navy:        rgb(14,  46,  61);
  --white:       rgb(255, 255, 255);

  /* Semantic roles */
  --color-bg:        var(--navy);
  --color-surface:   rgb(18, 52, 68);
  --color-surface2:  rgb(22, 62, 82);
  --color-border:    rgba(103, 166, 180, 0.18);
  --color-primary:   var(--turquoise);
  --color-accent:    var(--teal);
  --color-text:      var(--white);
  --color-muted:     rgba(255, 255, 255, 0.55);
  --color-heading:   var(--white);

  /* Typography */
  --font-main: "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-w:      1160px;
  --radius:     4px;
  --transition: 0.22s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── BACKGROUND ATMOSPHERE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(23,164,199,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(84,121,39,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ─── LAYOUT UTILITIES ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--turquoise);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 35px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--color-heading);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), transform var(--transition);
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary { background: var(--turquoise); color: var(--navy); }
.btn-outline  { background: transparent; color: var(--white); border: 1px solid rgba(103,166,180,.45); }
.btn-outline:hover { border-color: var(--turquoise); }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,46,61,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  height: 170px;          /* FIX 1: was "175x" (typo) — now valid px, tall enough for 150px logo */
  /* display: flex; */
  align-items: center;
}

/* FIX 2: mirrors .container so logo left-edge aligns with body copy */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);  /* same cap as .container */
  margin: 0 auto;           /* center it */
  padding: 0 28px;          /* same side padding as .container */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 150px;            /* your preferred size — unchanged */
  width: auto;
  display: block;
}

.nav-logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name .line1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}

.nav-logo-name .line2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--turquoise);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition);
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; gap: 10px; }

/* ─── HERO ─── */
#hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,166,180,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,166,180,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23,164,199,0.1);
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(23,164,199,0.25);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--turquoise);
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--white);
}
.hero-title em       { font-style: normal; color: var(--turquoise); }
.hero-title .accent-green { color: var(--teal); }

.hero-body {
  font-size: 17px;
  color: var(--color-muted);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right-side visual */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--transition), background var(--transition);
}
.hero-badge:hover {
  border-color: rgba(23,164,199,0.4);
  background: var(--color-surface2);
}
.hero-badge strong { color: var(--white); font-size: 14px; font-weight: 600; }
.hero-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--turquoise);
  margin-bottom: 4px;
}

.hero-flow {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-tag {
  background: rgba(84,121,39,0.15);
  border: 1px solid rgba(84,121,39,0.35);
  color: rgb(140,190,80);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 99px;
}

/* ─── ANCHOR OFFSET — compensates for sticky nav height ─── */
section[id] {
  scroll-margin-top: 185px;   /* nav height (170px) + 15px breathing room */
}

/* ─── SECTIONS ─── */
section { padding: 96px 0; border-bottom: 1px solid var(--color-border); }
section:last-of-type { border-bottom: none; }
.alt-bg { background: rgba(16,72,98,0.35); }

/* ─── CHALLENGE CARDS ─── */
.two-col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color var(--transition);
}
.card:hover { border-color: rgba(103,166,180,0.4); }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 20px; color: var(--white); }

.card-icon {
  width: 36px; height: 36px;
  background: rgba(23,164,199,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 18px; height: 18px; stroke: var(--turquoise); fill: none; stroke-width: 1.5; }

.card ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.card ul li {
  font-size: 15px;
  color: var(--color-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ─── SOLUTION 4-COL ─── */
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: rgba(23,164,199,0.45); transform: translateY(-2px); }

.feature-icon {
  width: 40px; height: 40px;
  background: rgba(23,164,199,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--turquoise); fill: none; stroke-width: 1.5; }
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; color: var(--white); }
.feature-card p  { font-size: 13.5px; color: var(--color-muted); line-height: 1.65; }

/* ─── STEPS SECTIONS ─── */
.steps-section { padding: 96px 0; border-bottom: 1px solid var(--color-border); }

.steps-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 52px;
}

.steps-list { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.step:first-child { padding-top: 0; }
.step:last-child  { border-bottom: none; }

.step-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--turquoise);
  letter-spacing: .12em;
  min-width: 22px;
  padding-top: 3px;
}
.step-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; color: var(--white); }
.step-body p  { font-size: 13.5px; color: var(--color-muted); line-height: 1.65; }

.steps-note {
  background: rgba(23,164,199,0.07);
  border: 1px solid rgba(23,164,199,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--teal);
  margin-top: 20px;
  line-height: 1.7;
}

.steps-visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(103,166,180,0.3);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.steps-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,166,180,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,166,180,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

#offeringstable {width:100%;margin:5px; }
#offeringstable td {vertical-align:top;padding:1rem;border:1px solid var(--color-border); color:white; }

/* ─── BENEFITS ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--turquoise);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.benefit-card:nth-child(2) { border-left-color: var(--teal); }
.benefit-card:nth-child(3) { border-left-color: var(--green); }
.benefit-card:nth-child(4) { border-left-color: var(--teal); }
.benefit-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.benefit-card p  { font-size: 14px; color: var(--color-muted); line-height: 1.65; }

/* ─── CTA BAND ─── */
#cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(16,72,98,0.6) 0%, rgba(14,46,61,0.8) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: none;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner .section-title { margin-bottom: 14px; }
.cta-inner .section-sub   { margin: 0 auto 36px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--color-border);
  padding: 26px 0;
  background: var(--navy);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo-img { height: 150px; width: auto; opacity: .85; }  /* your preferred size — unchanged */
.footer-copy { font-size: 13px; color: var(--color-muted); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-grid,
  .two-col-cards,
  .steps-layout { grid-template-columns: 1fr; }
  .four-col-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual   { display: none; }
}
@media (max-width: 640px) {
  .four-col-grid,
  .benefits-grid { grid-template-columns: 1fr; }
  .nav-links,
  .nav-cta .btn-outline { display: none; }
}s