:root {
  --bg: #05070a;
  --bg-alt: #0b1016;
  --card: #101722;
  --accent: #52b3ff;
  --accent-soft: rgba(82, 179, 255, 0.18);
  --text-main: #f7f9ff;
  --text-muted: #9fb3cc;
  --border-subtle: #1d2633;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 60%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.5),
    transparent
  );
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 40px;              /* controls nav height */
  width: auto;               /* let logo be as wide as it needs */
  border-radius: 8px;        /* softer corners */
  background: transparent;   /* no gradient behind logo */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;          /* remove glow so logo is clean */
  overflow: visible;         /* DON’T clip the image */
}

.brand-logo img {
  height: 100%;              /* scale logo to fit the nav height */
  width: auto;               /* keep aspect ratio */
  display: block;
}


.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.16);
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
  transition: all 0.18s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

main {
  flex: 1;
}

.shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 18px 40px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 32px 0 18px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  margin-bottom: 14px;
}

.hero-kicker-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #0b1120;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.15rem, 4vw, 2.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-body {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn-primary {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #0b1120;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.55);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.75);
}

.btn-ghost {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-note span {
  color: var(--accent);
  font-weight: 500;
}

.hero-card {
  border-radius: 22px;
  background: radial-gradient(circle at top left, #1d3557 0, #020617 55%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.hero-card-header {
  display: flex;
  justify-content: center;   /* center the logo block */
  align-items: center;
  margin-bottom: 10px;
}

.hero-card-logo {
  display: flex;
  flex-direction: column;    /* stack logo + pill vertically */
  align-items: center;
  gap: 8px;                  /* space between logo and pill */
}

.hero-card-tag {
  text-align: center;        /* makes the pill text centered */
}

.hero-card-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #93c5fd 0, #1d4ed8 50%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.hero-card-logo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 200px;   
}

.hero-card-logo-image img {
  height: 100%;
  width: auto;
  display: block;
}




.hero-card-logo-text {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #dbeafe;
}

.pill-soft {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.hero-card-body {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #e5edf7;
}

.hero-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.hero-tag {
  font-size: 0.72rem;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-tag span {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-card-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #cbd5f5;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.65);
  color: #bbf7d0;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.24);
}

/* Sections */

section {
  padding: 26px 0;
}

section + section {
  border-top: 1px solid var(--border-subtle);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: flex-start;
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pill {
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 22px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
}

.contact-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  font-weight: 500;
}

.contact-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #9ca3af;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 18px 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }

  .shell {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.input,
.textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.86rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.input:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(82, 179, 255, 0.35);
  background: rgba(15, 23, 42, 1);
}

.textarea {
  resize: vertical;
}

#contact-submit {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-status {
  margin-top: 8px;
  font-size: 0.78rem;
  min-height: 1.2em;
}

.contact-status.ok {
  color: #4ade80;
}

.contact-status.error {
  color: #f97373;
}

/* Modal popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal {
  background: #0b1016;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  color: var(--text-main);
}

.modal h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === AnswerFlowHQ-specific helpers === */

.af-list {
  list-style: disc;
  padding-left: 18px;
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.af-steps {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.af-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
}

.af-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(82, 179, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.af-step h3 {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.af-step p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Pricing grid */

.af-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.af-plan-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #111827 0, #020617 60%);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
}

.af-plan-featured {
  border-color: var(--accent);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.55);
}

.af-plan-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.af-plan-price {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.af-plan-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

.af-plan-setup {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.af-plan-list {
  list-style: none;
  padding-left: 0;
}

.af-plan-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.af-plan-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.af-pricing-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive tweaks for AnswerFlowHQ layouts */

@media (max-width: 860px) {
  .af-plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .af-step {
    flex-direction: row;
  }
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-call {
  background: var(--accent);
  color: #fff !important;
}

.nav-cta-call:hover {
  opacity: 0.85;
}

