/* ============================================================
   AEYE Manager — styles
   Brand: navy #1F2A44  ·  orange #F26A21
   ============================================================ */

:root {
  --navy: #1F2A44;
  --navy-deep: #161E33;
  --navy-soft: #2C3A5C;
  --orange: #F26A21;
  --orange-dark: #D9560F;
  --ink: #1F2A44;
  --muted: #5B6678;
  --line: #E6E9F0;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FB;
  --bg-tint: #FBF4EF;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 42, 68, 0.14);
  --maxw: 1120px;
  --font-head: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 106, 33, 0.28); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 106, 33, 0.36); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.92rem; }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__logo { height: 46px; width: auto; display: block; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { font-size: 0.95rem; font-weight: 500; color: var(--navy); transition: color .15s ease; }
.nav__menu a:not(.btn):hover { color: var(--orange); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; width: 24px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 72px 24px 88px;
}
.hero__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; color: var(--navy); }
.hero__title em { color: var(--muted); font-style: italic; font-weight: 600; }
.hero__sub { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 36ch; }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__reassure { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Hero illustration ---------- */
.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero-img { width: min(480px, 100%); height: auto; }
/* card treatment for dimensional 3D renders on a solid background (unused by the transparent hero) */
.hero-img--card { border-radius: 22px; box-shadow: 0 24px 60px rgba(31, 42, 68, 0.18); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--navy); }
.section__lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }

/* ---------- The Shift ---------- */
.shift { background: var(--bg-alt); }
.shift__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}
.shift__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.shift__col--new { border-color: rgba(242, 106, 33, 0.35); background: var(--bg-tint); }
.shift__col h3 { font-size: 1.15rem; margin-bottom: 18px; color: var(--navy); }
.shift__col--old h3 { color: var(--muted); }
.shift__arrow { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--orange); font-weight: 700; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--orange);
}
.ticks--muted li { color: var(--muted); }
.ticks--muted li::before { background: #C3CAD8; box-shadow: inset 0 0 0 3px var(--bg-alt), 0 0 0 1px #C3CAD8; }

.shift__close { max-width: 640px; margin: 48px auto 0; text-align: center; font-size: 1.18rem; color: var(--navy); font-family: var(--font-head); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--orange); margin-bottom: 16px; letter-spacing: 0.05em; }
.step h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; }
.step p { color: var(--muted); }

/* ---------- Examples ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__tag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--orange); background: var(--bg-tint);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.card__old { color: var(--muted); margin-bottom: 10px; }
.card__new { color: var(--navy); font-weight: 500; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about__photo { display: flex; justify-content: center; }
.about__photo img { width: 100%; max-width: 320px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__placeholder {
  width: 100%; max-width: 320px; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 2px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.05em;
}
.about__content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 18px; }
.about__content p { color: var(--muted); margin-bottom: 16px; }
.about__signoff { color: var(--navy) !important; }
.about__content .btn { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 88px 0; }
.cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.cta p { color: rgba(255,255,255,0.82); font-size: 1.12rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { height: 44px; width: auto; background: #fff; padding: 9px 16px; border-radius: 12px; box-sizing: content-box; }
.footer__meta { display: flex; align-items: center; gap: 22px; font-size: 0.9rem; flex-wrap: wrap; }
.footer__meta a:hover { color: var(--orange); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 8px; padding: 56px 24px 64px; text-align: center; }
  .hero__sub { max-width: none; margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { order: -1; margin-bottom: 8px; }
  .hero-img { width: min(340px, 82%); }

  .about__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .about__content .btn { display: inline-flex; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__inner { height: 76px; }
  .nav__logo { height: 50px; }
  .nav__menu {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu a:not(.btn) { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin: 14px 24px 0; }

  .section { padding: 64px 0; }
  .shift__grid { grid-template-columns: 1fr; }
  .shift__arrow { transform: rotate(90deg); padding: 4px 0; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
