:root {
  --blue: #2563EB;
  --blue-dark: #1d4ed8;
  --orange: #F97316;
  --orange-dark: #ea580c;
  --navy: #172554;
  --ink: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --white: #ffffff;
  --gold: #fbbf24;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --container: 1200px;
  --ease: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; font-weight: 800; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 12px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  transition: box-shadow var(--ease), border-color var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 17px; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 15px; transition: color var(--ease); }
.main-nav a:not(.nav-cta):hover { color: var(--blue); }
.main-nav a.active:not(.nav-cta) { color: var(--blue); }
.nav-cta { color: #fff; padding: 10px 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("/assets/hero-workspace.jpg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.45) 55%, rgba(23,37,84,0.5) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 96px; padding-bottom: 96px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(249, 115, 22, 0.9);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,0.92); margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Sections */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; letter-spacing: -0.01em; }
.section-sub { font-size: 18px; color: var(--muted); }

/* Cards grid */
.cards-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Icons */
.feature-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  margin-bottom: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px;
  flex-shrink: 0;
}
.feature-icon.sm { width: 44px; height: 44px; background-size: 22px; margin-bottom: 0; }
.icon-blue { background-color: rgba(37, 99, 235, 0.1); }
.icon-orange { background-color: rgba(249, 115, 22, 0.12); }

/* Success */
.success-section { position: relative; overflow: hidden; }
.success-accent {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 380px; max-width: 45%; opacity: 0.4; pointer-events: none; z-index: 0;
  border-radius: 16px;
}
.success-section .container { position: relative; z-index: 1; }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.quote { font-size: 17px; color: var(--ink); margin-bottom: 22px; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
}
.person-name { display: block; font-weight: 700; color: var(--navy); }
.person-role { display: block; font-size: 13px; color: var(--muted); }
.trust-signal { text-align: center; margin-top: 40px; font-weight: 600; color: var(--ink); }

/* Benefits */
.benefits-section { background: linear-gradient(180deg, #fff 0%, #eff4ff 100%); }
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.feature-card:hover, .persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card h3, .persona-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p, .persona-card p { font-size: 14.5px; color: var(--muted); }

/* How it works timeline */
.timeline { list-style: none; max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px;
  width: 2px; background: var(--blue);
}
.timeline-step { display: flex; gap: 24px; padding: 18px 0; position: relative; }
.step-badge {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-weight: 800; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
  position: relative; z-index: 1;
}
.step-body h3 { font-size: 20px; margin-bottom: 6px; margin-top: 8px; }
.step-body p { color: var(--muted); }

/* Persona */
.persona-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease);
}

/* Why grid */
.why-grid { gap: 30px 40px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; color: var(--muted); }

/* Form */
.form-section { background: linear-gradient(180deg, #ffffff 0%, #e8f0ff 100%); }
.lead-form {
  background: #fff;
  max-width: 500px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.req { color: var(--orange); }
.optional { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder { color: #9ca3af; }
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.field.invalid input { border-color: #dc2626; }
.error-msg { display: block; color: #dc2626; font-size: 13px; margin-top: 6px; min-height: 1px; }
.field.invalid { animation: shake 0.35s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.form-success {
  margin-top: 18px; text-align: center;
  color: #047857; font-weight: 600;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  padding: 12px; border-radius: var(--radius);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer;
  padding: 20px 22px; text-align: left;
  font-size: 16.5px; font-weight: 600; color: var(--navy); font-family: inherit;
}
.faq-item.active { border-left-color: var(--orange); }
.faq-item.active .faq-question { color: var(--blue); }
.faq-sign { color: var(--orange); font-size: 24px; font-weight: 700; transition: transform var(--ease); line-height: 1; }
.faq-item.active .faq-sign { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-answer p { padding: 0 22px 20px; color: var(--muted); }

/* Disclaimer */
.disclaimer { background: var(--gray-100); padding: 28px 0; }
.disclaimer p { font-size: 13px; color: var(--muted); max-width: 900px; margin: 0 auto; text-align: center; }

/* Footer */
.site-footer { background: #1f2937; color: #e5e7eb; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 56px 24px 40px;
}
.footer-brand .brand .brand-name, .footer-brand .brand { color: #fff; }
.footer-desc { margin-top: 14px; max-width: 340px; color: #9ca3af; font-size: 14.5px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #d1d5db; font-weight: 500; transition: color var(--ease); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #374151; padding: 20px 0; }
.footer-bottom p { font-size: 13.5px; color: #9ca3af; text-align: center; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 72px; right: 0;
    width: min(300px, 82vw); height: calc(100vh - 72px);
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 24px; box-shadow: -6px 0 24px rgba(0,0,0,0.12);
    transform: translateX(110%); transition: transform var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--gray-100); }
  .nav-cta { margin-top: 12px; border-bottom: none !important; text-align: center; }
  .menu-toggle { display: flex; }
  .section { padding: 60px 0; }
  .cols-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .success-accent { display: none; }
  .hero { min-height: 560px; }
  .footer-inner { flex-direction: column; gap: 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .lead-form { padding: 26px 20px; }
  .hero-actions .btn { width: 100%; }
}

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