@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ─── Variables ───────────────────────────────────────────── */
:root {
  /* Brand */
  --color-purple:   #6D38F5;
  --color-cyan:     #16C7EA;
  --color-mint:     #00EFA8;
  --color-orange:   #FF5B00;
  --color-red:      #F3184C;

  /* Neutrals */
  --color-ink:      #221F20;
  --color-body:     #5F6068;
  --color-softgray: #F4F6F8;
  --color-border:   #E8EAEE;
  --color-white:    #FFFFFF;

  /* Tints */
  --tint-purple:    #EDE8FE;
  --tint-cyan:      #E0F9FD;
  --tint-mint:      #D6FDF2;
  --tint-orange:    #FFE9DE;

  /* Shape */
  --r-pill:    999px;
  --r-card:    24px;
  --r-card-lg: 32px;
  --r-input:   12px;
  --r-icon:    10px;

  /* Layout */
  --max-width:     1180px;
  --section-py:    80px;
  --section-py-sm: 48px;
  --gap-cards:     20px;
  --gap-grid:      64px;

  --font-primary: 'Manrope', system-ui, sans-serif;
}

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

/* ─── Base ────────────────────────────────────────────────── */
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ──────────────────────────────────────────── */
h1 { font-size: 52px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.12; color: var(--color-ink); }
h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px;   line-height: 1.18; color: var(--color-ink); }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3;        color: var(--color-ink); }
p  { color: var(--color-body); }
a  { color: var(--color-purple); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--color-ink); }

/* ─── Layout ──────────────────────────────────────────────── */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── Section Label ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-purple);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-purple);
  flex-shrink: 0;
}

/* ─── Tags ────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.tag-cyan   { background: var(--tint-cyan);   color: #0A8FA8; }
.tag-mint   { background: var(--tint-mint);   color: #007A55; }
.tag-orange { background: var(--tint-orange); color: #B03F00; }
.tag-purple { background: var(--tint-purple); color: #5024C8; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  background: var(--color-orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  transition: background 0.15s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary:hover { background: #e04e00; text-decoration: none; }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; pointer-events: none; }

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  padding: var(--section-py) 0;
  background: var(--color-white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid);
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 20px; }
.hero h1      { margin-bottom: 24px; }
.hero h1 .highlight { color: var(--color-purple); }
.hero-sub {
  font-size: 18px;
  color: var(--color-body);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-hint { font-size: 13px; color: var(--color-body); }

/* Hero visual */
.hero-visual { position: relative; z-index: 1; }
.hero-visual-wrap { position: relative; }

.hero-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-card-lg);
  padding: 36px;
  box-shadow: 0 16px 56px rgba(109, 56, 245, 0.08);
  position: relative;
  z-index: 1;
}
.hero-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-body);
  margin-bottom: 10px;
}
.hero-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.3;
  margin-bottom: 24px;
}
.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-stat {
  background: var(--color-softgray);
  border-radius: 16px;
  padding: 16px;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--color-body);
  line-height: 1.4;
}
.hero-card-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-bottom: 20px;
}
.hero-card-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Decorative pills */
.deco-pill {
  position: absolute;
  border-radius: var(--r-pill);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.deco-pill-1 {
  width: 72px; height: 22px;
  background: var(--color-cyan);
  top: -14px; right: 24px;
  transform: rotate(-14deg);
}
.deco-pill-2 {
  width: 48px; height: 18px;
  background: var(--color-mint);
  bottom: 16px; left: -14px;
  transform: rotate(9deg);
}
.deco-pill-3 {
  width: 56px; height: 18px;
  background: var(--color-orange);
  top: 42%; right: -10px;
  transform: rotate(16deg);
}

/* ─── Social Proof Strip ──────────────────────────────────── */
.proof-strip {
  background: var(--color-softgray);
  padding: var(--section-py-sm) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.proof-strip-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.proof-strip-headline { flex: 0 0 260px; }
.proof-strip-headline h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.proof-strip-headline p { font-size: 15px; }
.proof-strip-divider {
  width: 1px;
  min-height: 80px;
  background: var(--color-border);
  flex-shrink: 0;
  align-self: stretch;
}
.proof-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proof-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.proof-stat-label {
  font-size: 13px;
  color: var(--color-body);
  line-height: 1.4;
}

/* ─── Form Section ────────────────────────────────────────── */
.form-section {
  padding: var(--section-py) 0;
  background: var(--color-white);
}
.form-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-grid);
  align-items: start;
}

/* Pitch column */
.form-pitch {
  position: sticky;
  top: 88px;
}
.form-pitch h2   { margin-bottom: 20px; }
.form-pitch > p  { font-size: 16px; margin-bottom: 28px; line-height: 1.7; }
.form-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-body);
}
.form-benefits li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--tint-mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23007A55' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center;
  margin-top: 2px;
}

/* Form box */
.form-box {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-card-lg);
  padding: 36px;
}
.form-box h3 { font-size: 22px; margin-bottom: 6px; }
.form-box-sub {
  font-size: 14px;
  color: var(--color-body);
  margin-bottom: 28px;
}

/* Fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row .field { margin-bottom: 0; }

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  display: block;
  margin-bottom: 6px;
}
.field label .req {
  color: var(--color-red);
  margin-left: 2px;
}
.field label .optional {
  font-weight: 400;
  color: var(--color-body);
  font-size: 12px;
  margin-left: 4px;
}
.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E0E2E8;
  border-radius: var(--r-input);
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--color-ink);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus { border-color: var(--color-purple); }
.field input::placeholder { color: #ADB1BE; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235F6068' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Error banner */
.form-error {
  display: none;
  background: #FFF1F4;
  border: 1.5px solid var(--color-red);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #B01238;
  margin-bottom: 20px;
}
.form-error.visible { display: block; }

/* Submit area */
.form-footer { margin-top: 8px; }
.form-submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 28px;
  margin-bottom: 12px;
}
.form-privacy {
  font-size: 12px;
  color: var(--color-body);
  text-align: center;
  line-height: 1.6;
}

/* Loading state */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.btn-primary.loading .btn-spinner { display: inline-block; }
.btn-primary.loading .btn-label   { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--color-softgray);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-copy { font-size: 13px; color: var(--color-body); }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--color-body); }
.footer-links a:hover { color: var(--color-purple); text-decoration: none; }

/* ─── Thank-you page ──────────────────────────────────────── */
.ty-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: var(--color-white);
}
.ty-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-card-lg);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 56px rgba(109, 56, 245, 0.08);
}
.ty-icon {
  width: 64px;
  height: 64px;
  background: var(--tint-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.ty-card h1 { font-size: 30px; margin-bottom: 12px; }
.ty-card > p { font-size: 16px; line-height: 1.7; margin-bottom: 0; }
.ty-spam-note {
  font-size: 14px;
  background: var(--color-softgray);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
  color: var(--color-body);
  text-align: left;
  line-height: 1.6;
}
.ty-back { margin-top: 20px; }

/* ─── Responsive: 860px ───────────────────────────────────── */
@media (max-width: 860px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }

  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }

  .proof-strip-inner { flex-direction: column; gap: 28px; }
  .proof-strip-headline { flex: none; }
  .proof-strip-divider { display: none; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }

  .form-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-pitch { position: static; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ─── Responsive: 600px ───────────────────────────────────── */
@media (max-width: 600px) {
  :root { --section-py: 52px; --section-py-sm: 36px; }

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field { margin-bottom: 16px; }
  .form-box { padding: 24px 20px; }
  .ty-card { padding: 36px 24px; }
  .ty-card h1 { font-size: 24px; }
}
