:root {
  --navy: #28313a;
  --navy-dark: #1b2229;
  --orange: #fe7d02;
  --orange-light: #ffe9d6;
  --bg: #ffffff;
  --bg-alt: #f5f1ec;
  --text: #1c2126;
  --text-secondary: #5c636b;
  --border: #e7e1d9;
  --radius: 18px;
  --max-width: 1160px;
  --shadow: 0 20px 50px -20px rgba(40, 49, 58, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(254, 125, 2, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(254, 125, 2, 0.6);
}

.btn-ghost {
  background: var(--bg-alt);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--orange-light);
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffd7ad;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
}

.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 52ch;
}

.lead-light {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ---------- Phone mockup ---------- */

.phone-frame {
  position: relative;
  width: 240px;
  background: var(--navy);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone-frame-lg {
  width: 280px;
}

.phone-frame img {
  width: 100%;
  border-radius: 22px;
  background: #fff;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: var(--navy);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  max-width: 200px;
}

.floating-card strong {
  font-size: 13.5px;
  color: var(--navy);
}

.floating-card span:last-child {
  color: var(--text-secondary);
}

.floating-card-1 {
  top: 12%;
  left: -8%;
}

.floating-card-2 {
  bottom: 10%;
  right: -10%;
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .lead {
  margin: 0 auto;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

/* ---------- Grids / Cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card h3 {
  font-size: 19px;
}

.card p,
.value-card p {
  color: var(--text-secondary);
  margin: 0;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.value-card {
  text-align: center;
  padding: 8px;
}

.value-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.icon-badge-outline {
  margin: 0 auto 16px;
  background: #fff;
  border: 2px solid var(--orange-light);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
}

.step p {
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Screens grid ---------- */

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.screen-item {
  text-align: center;
  max-width: 260px;
}

.screen-item p {
  color: var(--text-secondary);
  margin-top: 20px;
  font-size: 14.5px;
}

/* ---------- Contact ---------- */

.contact-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
}

.contact-section h2 {
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.contact-card strong {
  display: block;
  font-size: 15px;
}

.contact-card span span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
}

.contact-icon {
  font-size: 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 24px;
  opacity: 0.7;
}

.footer-inner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13.5px;
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }

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

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .lead {
    margin: 0 auto 8px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    margin-top: 24px;
  }

  .grid-3,
  .grid-4,
  .steps,
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-cards {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .nav,
  .btn-small {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .grid-3,
  .grid-4,
  .steps,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
