:root {
  --color-primary: #1d4ed8;
  --color-primary-dark: #1e3a8a;
  --color-text: #1f2937;
  --color-text-muted: #4b5563;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f6fb;
  --color-border: #e5e7eb;
  --max-width: 1100px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-bg-alt);
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-bg-alt), #ffffff);
  padding: 100px 0 90px;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-primary-dark);
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 72px 0;
}

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

.section h2 {
  font-size: 2rem;
  text-align: center;
  color: var(--color-primary-dark);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  padding-bottom: 45%; /* 16:9 within max-width */
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section > .container > p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.card h3 {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
}

.card p {
  margin: 0;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.step h3 {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
}

.step p {
  margin: 0;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 40px auto 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-item summary {
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
}

.faq-item p {
  margin: 12px 0 0;
}

.form-reassurance {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Contact */
.contact-inner {
  text-align: center;
}

.contact-form {
  max-width: 480px;
  margin: 32px auto 0;
  text-align: left;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.form-row textarea {
  resize: vertical;
}

/* Honeypot: hidden from real visitors, left in the DOM/tab order trap for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn {
  border: none;
  cursor: pointer;
  width: 100%;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 14px 0 0;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.success {
  display: block;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #dcfce7;
  color: #15803d;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.form-status.error {
  color: #b91c1c;
}

.form-row input:disabled,
.form-row textarea:disabled {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.contact-alt {
  margin-top: 24px;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #dbeafe;
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  color: #dbeafe;
  margin: 0;
}

/* Responsive */
@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
