@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

:root {
  --blue-600: #1e7cff;
  --blue-700: #1562d6;
  --blue-50:  #eff6ff;
  --slate-950: #0a0f1e;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 12px 32px rgba(30,124,255,0.08);
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--slate-700);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203,213,225,0.5);
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Logo wrapper — crops out the black padding around the actual logo art */
.nav-logo-wrap {
  width: 140px;
  height: 45px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.nav-logo {
  position: absolute;
  /* PNG is 1092×1092; content lives roughly in the center band.
     Scale up so the content fills our 140×40 window. */
  width: 180px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-cta {
  padding: 9px 22px;
  background: var(--blue-600);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--blue-700) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ─── PAGE 1 · HERO ─────────────────────────────────────────── */
.page-1 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 0;
  overflow: hidden;
  background: var(--white);
}

/* subtle grid background */
.page-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,124,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,124,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  z-index: 0;
}

/* blue radial glow */
.page-1::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(30,124,255,0.10) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── Logo ─── */
.logo {
  margin-bottom: 28px;
}

/* Cropped window showing just the logo art, no black border */
.logo-wrap {
  width: 360px;
  height: 100px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.logo-wrap img {
  position: absolute;
  width: 400px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
}

/* eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid rgba(30,124,255,0.18);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  display: inline-block;
}

/* headline */
.page-1 h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  max-width: 780px;
  margin-bottom: 20px;
}

.page-1 h1 .accent {
  color: var(--blue-600);
  position: relative;
  white-space: nowrap;
}

/* no underline decoration */

.hero-subtitle {
  max-width: 580px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--slate-500);
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border: 1px solid var(--blue-600);
  box-shadow: 0 2px 8px rgba(30,124,255,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,124,255,0.30);
}

.btn-primary .arrow {
  transition: transform 0.2s;
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
}

.btn-ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
  color: var(--slate-900);
}

/* ─── IMPACT STRIP ─── */
.impact-block {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-top: 72px;
  padding: 56px 24px;
  background: linear-gradient(180deg, var(--slate-50) 0%, #e8eff8 100%);
  border-top: 1px solid var(--slate-100);
}

.impact-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0;
  position: relative;
}

.impact-grid::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 1px;
  background: var(--slate-300);
}

.impact-card {
  padding: 8px 48px 8px 0;
  text-align: left;
}

.impact-card:last-child {
  padding: 8px 0 8px 48px;
}

.impact-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

.impact-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.impact-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ─── PAGE 2 · SOLUTIONS ────────────────────────────────────── */
.page-2 {
  background: linear-gradient(180deg, #e8eff8 0%, var(--white) 100%);
  padding: 80px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.solutions-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  text-align: center;
  line-height: 1.2;
}

.features-grid {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), rgba(30,124,255,0.3));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(30,124,255,0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid rgba(30,124,255,0.15);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ─── TRUST SECTION ─────────────────────────────────────────── */
.trust-section {
  text-align: center;
  margin-bottom: 52px;
}

.trust-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 56px;
}

.trust-company {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-700);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-company img {
  height: 28px;
  width: auto;
}

/* ─── PAGE 3 · CONTACT ──────────────────────────────────────── */
.page-3 {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  position: relative;
}

.page-3::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(30,124,255,0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  text-align: center;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact .lead {
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: var(--slate-500);
  font-weight: 300;
}

/* Form */
.contact form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
  color: #a1afc2;
}

input:focus,
textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30,124,255,0.12);
}

button[type="submit"] {
  width: 100%;
  padding: 14px 28px;
  background: var(--blue-600);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(30,124,255,0.25);
}

button[type="submit"]:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,124,255,0.30);
}

.direct-email {
  margin-top: 18px;
  font-size: 13px;
  color: var(--slate-500);
  text-align: center;
}

.direct-email a {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 500;
}

.direct-email a:hover {
  text-decoration: underline;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--slate-500);
  font-size: 13px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.footer-logo-wrap {
  width: 100px;
  height: 30px;
  overflow: hidden;
  position: relative;
}

.footer-logo {
  position: absolute;
  width: 120px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
  animation: fadeUp 0.6s ease both;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.20s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.28s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.35s; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .logo-wrap {
    max-width: 100%;
    width: min(360px, 100%);
  }

  .impact-block {
    width: 100%;
    margin-left: 0;
  }

  .impact-grid::before { display: none; }

  .impact-card,
  .impact-card:last-child {
    padding: 24px 0;
    border-top: 1px solid var(--slate-200);
  }

  .impact-card:first-child {
    border-top: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    justify-content: center;
    text-align: center;
  }
}
