/* ==========================================================================
   Design tokens — copied from the live aiia.bg site's computed styles
   ========================================================================== */
:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --secondary: #f5f5f5;
  --accent: #f5f5f5;

  --primary: #0076f2;
  --primary-foreground: #fafcfe;

  --brand-cyan: #36caf1;
  --brand-blue: #1d84f5;
  --brand-violet: #6c4cef;
  --brand-gradient: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue), var(--brand-violet));

  --radius: 8px;
  --radius-pill: 9999px;

  --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --container-max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.2em; }

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

section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--border); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
h1 { font-size: 3.25rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.25rem; }
.lede { font-size: 1.25rem; color: var(--muted-foreground); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(29, 132, 245, 0.08);
  border: 1px solid rgba(29, 132, 245, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-primary:hover { background: #0068d6; transform: translateY(-1px); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.6);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.brand-lockup { display: flex; align-items: center; gap: 0.75rem; }
.brand-lockup img { height: 28px; width: auto; }
.brand-divider { width: 1px; height: 22px; background: var(--border); }
.brand-x { color: var(--muted-foreground); font-size: 0.9rem; }
.header-cta .btn { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

/* ---- Hero ---- */
.hero {
  padding: 9.5rem 0 5rem;
  text-align: center;
  border-top: none;
}
.hero .container { max-width: 52rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lede { max-width: 40rem; margin: 0 auto 2.25rem; }

/* ---- Stat tiles ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-tile { text-align: left; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { color: var(--muted-foreground); font-size: 0.95rem; }

.section-header { max-width: 42rem; margin-bottom: 3rem; }
.section-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
  color: var(--foreground);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-foreground);
  border-left: 2px solid var(--border);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.step-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { margin: 0; color: var(--muted-foreground); font-size: 0.95rem; }

/* ---- Booking / Calendly ---- */
.booking-section { text-align: center; }
.booking-section .section-header { margin-left: auto; margin-right: auto; text-align: center; }
.calendly-frame {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  background: var(--secondary);
  min-height: 700px;
}
.calendly-inline-widget { min-width: 320px; height: 700px; }
.booking-note { margin-top: 1.5rem; color: var(--muted-foreground); font-size: 0.95rem; }

/* ---- FAQ ---- */
.faq-list { margin-top: 2rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--brand-blue);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--muted-foreground);
}
.faq-answer p { padding-bottom: 1.5rem; margin: 0; }

/* ---- Final CTA ---- */
.final-cta {
  text-align: center;
  background: var(--secondary);
}
.final-cta .container { max-width: 40rem; }
.final-cta-note { margin-top: 1rem; color: var(--muted-foreground); font-size: 0.875rem; }

/* ---- Footer ---- */
.site-footer { padding: 3rem 0; }
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer img { height: 22px; width: auto; }
.footer-meta { color: var(--muted-foreground); font-size: 0.875rem; text-align: right; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  section { padding: 3.5rem 0; }
  .hero { padding: 7.5rem 0 3.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .brand-lockup img { height: 22px; }
  .brand-lockup { gap: 0.5rem; }
  .header-cta .btn { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
  .btn { white-space: normal; text-align: center; }
  .btn-lg { font-size: 0.9rem; padding: 0.85rem 1.25rem; }
}
