:root {
  --bg: #ffffff;
  --text: #0b1020;
  --muted: #5b6170;
  --line: #e6e9ef;
  --brand: #1f4ed8;
  --brand2: #7c3aed;
  --ok: #059669;
  --card: #ffffff;
  --chip: #f3f6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.8;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #93c5fd, var(--brand2));
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
  .nav {
    height: 56px;
    padding: 0 16px;
  }
  
  .nav .btn {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
  }
  
  .logo {
    font-size: 16px;
  }
  
  .logo-mark {
    width: 24px;
    height: 24px;
  }
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(31, 78, 216, 0.25);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  filter: brightness(1.02);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-alt {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
  box-shadow: none;
}

.hero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 55%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(31, 78, 216, 0.35), rgba(124, 58, 237, 0));
  top: -80px;
  left: -60px;
}

.hero::after {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0));
  top: -120px;
  right: -100px;
}

.kicker {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}

.lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 860px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.section {
  padding: 52px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 12;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(31, 78, 216, 0.35), rgba(124, 58, 237, 0.35)) border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(11, 16, 32, 0.06);
  transition: transform .15s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 16, 32, 0.08);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 640px) {
  .card.half {
    grid-column: span 6;
  }
}

@media (min-width: 960px) {
  .card.third {
    grid-column: span 4;
  }
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  font-weight: 700;
}

/* UI mocks */
.ui-mock {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(11, 16, 32, 0.04);
  padding: 14px;
}

.ui-bar {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  opacity: 0.25;
  margin: 6px 0;
}

/* Phased plan */
.phases {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 12px;
  align-items: center;
}

.phase {
  grid-column: span 12;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(11, 16, 32, 0.04);
}

.arrow {
  grid-column: span 12;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 900px) {
  .phase {
    grid-column: span 3;
  }
  .arrow {
    grid-column: span 1;
  }
}

.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: linear-gradient(135deg, #f6fdf9, #ecfdf5) padding-box, 
              linear-gradient(135deg, rgba(5,150,105,.2), rgba(16,185,129,.15)) border-box;
  box-shadow: 0 10px 32px rgba(5,150,105,.08), 
              inset 0 1px 0 rgba(255,255,255,.8);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(5,150,105,.06), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(16,185,129,.04), transparent 50%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: var(--ok);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #d1fae5, 0 1px 8px rgba(5,150,105,.18);
  position: relative;
  z-index: 1;
}

/* Contact */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 16, 32, 0.06);
  background: #fff;
  overflow: hidden;
}

.form-header {
  padding: 18px 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}

.form-body {
  padding: 18px;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.input:focus {
  outline: 0;
  border-color: rgba(31, 78, 216, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 78, 216, 0.12);
}

button[type="submit"], 
button.btn,
.btn {
  cursor: pointer !important;
}

button[type="submit"]:hover,
button.btn:hover,
.btn:hover {
  cursor: pointer !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.grid-2 .col-6 {
  grid-column: span 12;
}

@media (min-width: 640px) {
  .grid-2 .col-6 {
    grid-column: span 6;
  }
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
}

/* Focus states for accessibility */
:focus-visible {
  outline: 3px solid rgba(31, 78, 216, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}