/* ============================================
   AGORACREW — Red Sun Editorial Design System
   Coral (#EF4623) + Ink (#2D3B42)
   ============================================ */

/* --- Google Fonts: Instrument Serif + Manrope --- */
/* PERF: @import removed — fonts now loaded via <link rel="preconnect"> + <link rel="stylesheet"> in HTML <head> to avoid chained blocking request */

/* --- CSS Custom Properties (Neo-Brutalist) --- */
:root {
  /* Primary palette */
  --yellow: #ffe17c;
  --black: #171e19;
  --charcoal: #171e19;
  --sage: #b7c6c2;
  --white: #ffffff;

  /* Backward-compatible aliases for pages that reference old names.
     --coral is used for BACKGROUNDS (buttons, badges, dots) — keep as yellow.
     Text accent colors should use var(--black) directly.
     --peach is used for LIGHT BACKGROUNDS — a faint warm tint. */
  --coral: #ffe17c;
  --ink: #171e19;
  --peach: #fef9e7;

  /* Opacity variants */
  --ink-90: rgba(23, 30, 25, 0.9);
  --ink-80: rgba(23, 30, 25, 0.8);
  --ink-70: rgba(23, 30, 25, 0.7);
  --ink-50: rgba(23, 30, 25, 0.5);
  --ink-30: rgba(23, 30, 25, 0.3);
  --ink-10: rgba(23, 30, 25, 0.1);
  --ink-5: rgba(23, 30, 25, 0.05);
  --coral-20: rgba(255, 225, 124, 0.2);
  --coral-10: rgba(255, 225, 124, 0.1);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-5: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-heading: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  --font-body: 'Satoshi', 'Cabinet Grotesk', sans-serif;
  --font-serif: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  --font-sans: 'Satoshi', 'Cabinet Grotesk', sans-serif;

  /* Layout */
  --max-w: 1280px;

  /* Neo-Brutalist design tokens */
  --border: 2px solid var(--black);
  --radius: 4px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 4px;
  --shadow-sm: 4px 4px 0px 0px var(--black);
  --shadow-lg: 8px 8px 0px 0px var(--black);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Keyframe Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDialog {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-up {
  animation: fadeUp 0.8s var(--ease-out) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s var(--ease-out) forwards;
}

.animate-fade-in-overlay {
  animation: fadeInOverlay 0.4s var(--ease-out) forwards;
}

.animate-slide-up-overlay {
  animation: fadeInDialog 0.5s var(--ease-out) forwards;
  transform: translate(-50%, -50%);
}

/* --- Fontshare: Cabinet Grotesk + Satoshi --- */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@100,200,300,400,500,600,700,800,900&f[]=satoshi@300,400,500,600,700,800,900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--yellow); color: var(--black); }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================
   NAVIGATION (Neo-Brutalist)
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--yellow);
  border-bottom: var(--border);
  transition: box-shadow 0.3s var(--ease-out);
}

.navbar.scrolled {
  box-shadow: 0 4px 0 0 rgba(23, 30, 25, 0.05);
}

.navbar .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
}

.nav-logo-img {
  height: 3.3rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  transition: filter 0.2s;
}

/* Old logo-icon class kept for backward compat (components.js) */
.nav-logo-icon {
  width: 64px;
  height: 48px;
  background-image: url('logo-new-orange.png');
  background-repeat: no-repeat;
  background-size: 137px 79px;
  background-position: -37px 0;
  flex-shrink: 0;
  filter: brightness(0);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-center a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--black);
  font-weight: 700;
  transition: opacity 0.2s;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s var(--ease-out);
}

.nav-center a:hover { opacity: 0.6; }
.nav-center a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-secondary {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-cta-secondary:hover {
  opacity: 1;
}

.nav-cta {
  font-family: var(--font-heading);
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 20px;
  border: var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-cta:hover {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.nav-lang-switch {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  border: var(--border);
  border-radius: var(--radius);
  padding: 4px 10px;
  margin-left: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-lang-switch:hover { background: var(--black); color: var(--yellow); }

.nav-lang-switch-mobile {
  font-family: var(--font-body);
  font-size: 0.85rem;
  opacity: 0.5;
  text-align: center;
  margin-top: 8px;
  padding: 8px 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 0;
  transition: all 0.3s var(--ease-out);
}

/* Mobile slide-out nav — hidden on desktop */
.nav-links {
  display: none;
}

/* --- Nav Dropdown (Desktop) --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--black);
  font-weight: 700;
  transition: opacity 0.2s;
  position: relative;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s var(--ease-out);
}

.nav-dropdown-trigger:hover { opacity: 0.6; }
.nav-dropdown-trigger:hover::after { width: 100%; }
.nav-dropdown:hover .nav-dropdown-trigger { opacity: 0.6; }
.nav-dropdown:hover .nav-dropdown-trigger::after { width: 100%; }

.nav-dropdown-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  opacity: 0.5;
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  z-index: 1001;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* Invisible hover bridge so cursor can move from trigger to dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-col-title {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-30);
  padding: 0 12px 8px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--ink-10);
}

.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease-out);
}

.nav-dropdown-link:hover {
  background: var(--yellow);
}

.nav-dropdown-link-text {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-link-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.nav-dropdown-link-desc {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-50);
  line-height: 1.4;
  margin-top: 2px;
}

/* --- Mobile Dropdown Accordion --- */
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 16px 0;
  border-bottom: 2px solid var(--ink-10);
  color: var(--black);
  font-weight: 700;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.mobile-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  opacity: 0.4;
  transition: transform 0.3s var(--ease-out);
}

.mobile-dropdown-toggle.open svg {
  transform: rotate(180deg);
}

.mobile-dropdown-items {
  display: none;
  flex-direction: column;
  padding: 4px 0 8px 16px;
  gap: 0;
}

.mobile-dropdown-items.open {
  display: flex;
}

.mobile-dropdown-items a {
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--ink-5) !important;
  color: var(--ink-50) !important;
}

.mobile-dropdown-items a:last-child {
  border-bottom: none !important;
}

.mobile-dropdown-items a:hover {
  color: var(--black) !important;
}

/* ============================================
   FOOTER (Neo-Brutalist)
   ============================================ */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0 24px;
  border-top: var(--border);
}
.footer .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand .nav-logo-icon { filter: brightness(0) invert(1); }
.footer-brand .nav-logo-img { filter: brightness(0) invert(1); }
.footer-brand p { font-family: var(--font-body); font-size: 0.85rem; opacity: 0.5; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-bottom: 1rem;
}
.footer-col a { display: block; font-family: var(--font-body); font-size: 0.9rem; opacity: 0.6; padding: 4px 0; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 0.8rem; opacity: 0.35; }
.footer-tax-id { font-size: 0.75rem !important; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; opacity: 0.4; transition: opacity 0.2s; }
.footer-bottom-links a:hover { opacity: 0.8; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  overflow: visible;
}

/* One warm peach ground behind the headline — the same peach the alternating
   sections use — instead of a pair of floating blurred coral orbs. */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 130%);
  height: 640px;
  background: radial-gradient(58% 58% at 50% 42%, var(--peach) 0%, rgba(253, 241, 238, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--peach);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 32px;
}

/* The same live-status dot the section labels use, rather than a lone emoji. */
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* Hero Heading */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-title .accent-text {
  display: block;
  -webkit-text-stroke: 2.5px var(--black);
  -webkit-text-fill-color: transparent;
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--ink-70);
  margin-bottom: 36px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 400;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 8px 30px var(--coral-20);
}

.hero-cta:hover {
  background: #d93d1e;
  box-shadow: 0 12px 40px var(--coral-20);
  transform: translateY(-2px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ink);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  border: 2px solid var(--ink-10);
}

.hero-cta-secondary:hover {
  border-color: var(--ink-30);
  background: var(--peach);
}

/* Hero Trial Note */
.hero-trial-note {
  font-size: 0.85rem;
  color: var(--ink-50);
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero-trial-note strong { color: var(--ink-70); }

/* --- Tab Bar --- */
.tab-bar {
  display: inline-flex;
  background: var(--peach);
  border-radius: var(--radius-md);
  padding: 5px;
  margin-bottom: 32px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-50);
  transition: all 0.3s var(--ease-out);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tab-btn:hover:not(.active) {
  color: var(--ink-80);
}

.tab-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tab-divider {
  width: 1px;
  height: 20px;
  background: var(--ink-10);
  align-self: center;
}

/* Mobile Tab Grid */
.tab-grid-mobile {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  background: var(--peach);
  border-radius: var(--radius-md);
  padding: 5px;
  margin-bottom: 32px;
}

/* --- Video / Overlay Section --- */
.hero-video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 500px;
  background: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(45, 59, 66, 0.3);
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Backdrop */
.tab-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 59, 66, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay Card */
.overlay-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  width: 380px;
  max-width: 90%;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.overlay-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.overlay-card-subtitle {
  font-size: 0.8rem;
  color: var(--ink-50);
  margin-bottom: 4px;
  font-weight: 500;
}

/* Progress Bar */
.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--peach);
  border-radius: 3px;
  margin: 12px 0 20px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s var(--ease-out);
}

.progress-bar-fill.purple { background: var(--coral); }
.progress-bar-fill.orange { background: #f97316; }
.progress-bar-fill.green { background: #22c55e; }

/* Overlay Steps / Metrics */
.overlay-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overlay-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-70);
}

.overlay-step .step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-dot.done { background: var(--coral); }
.step-dot.active { background: #f97316; }
.step-dot.pending { background: var(--ink-10); }

/* Overlay Metrics Grid */
.overlay-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.overlay-metric {
  text-align: center;
  padding: 12px 8px;
  background: var(--peach);
  border-radius: var(--radius-sm);
}

.overlay-metric .metric-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
}

.overlay-metric .metric-label {
  font-size: 0.7rem;
  color: var(--ink-50);
  margin-top: 2px;
  font-weight: 500;
}

/* Test Success */
.test-success-icon {
  width: 48px;
  height: 48px;
  background: var(--peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.test-success-icon svg { color: var(--black); }

.test-success-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-70);
  margin-bottom: 16px;
}

.test-success-count {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
}

.test-success-sub {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-50);
}

/* Deploy Checklist */
.deploy-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.deploy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-70);
}

.deploy-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deploy-check svg { width: 12px; height: 12px; color: var(--black); }

.deploy-btn {
  width: 100%;
  padding: 12px;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: default;
}

/* ============================================
   PLATFORMS & INDUSTRIES
   ============================================ */
.platforms {
  padding: 56px 24px;
  border-top: 1px solid var(--ink-5);
  border-bottom: 1px solid var(--ink-5);
  background: var(--peach);
}

.platforms .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.platforms-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.platforms-row, .industries-row { text-align: center; }

.platforms-row p, .industries-row p {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 20px;
}

.platform-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.platform-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-50);
  transition: all 0.3s var(--ease-out);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.platform-logo:hover {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.platform-logo .brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: var(--ink-10);
}

.industry-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--ink-5);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-70);
  transition: all 0.3s var(--ease-out);
}

.industry-tag:hover {
  border-color: var(--coral-20);
  color: var(--ink);
  box-shadow: 0 2px 8px var(--coral-10);
  transform: translateY(-1px);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 16px;
  padding: 6px 18px;
  background: var(--peach);
  border: 1px solid var(--ink-5);
  border-radius: 9999px;
}

.section-label .dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title .accent-text {
  -webkit-text-stroke: 2px var(--black);
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink-50);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 400;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
  padding: 120px 24px;
  background: var(--white);
  position: relative;
}

.benefits .section-container { max-width: var(--max-w); margin: 0 auto; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.benefit-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--ink-5);
  border-radius: var(--radius-xl);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--coral-10);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.benefit-card:hover {
  border-color: var(--ink-10);
  box-shadow: 0 16px 48px -12px rgba(45, 59, 66, 0.1);
  transform: translateY(-4px);
}

.benefit-card:hover::before {
  opacity: 1;
}

/* Dark card variant */
.benefit-card--dark {
  background: var(--ink);
  border-color: var(--ink);
}

.benefit-card--dark:hover {
  border-color: var(--ink);
  box-shadow: 0 20px 60px -12px rgba(45, 59, 66, 0.3);
}

.benefit-card--dark .benefit-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
}

.benefit-card--dark .benefit-title { color: var(--white); }
.benefit-card--dark .benefit-text { color: rgba(255, 255, 255, 0.6); }

/* Peach card variant */
.benefit-card--peach {
  background: var(--peach);
  border-color: transparent;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--peach);
  border: 1px solid var(--ink-5);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.benefit-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--ink);
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--ink-50);
  line-height: 1.75;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 120px 24px;
  background: var(--peach);
  position: relative;
}

.how-it-works .section-container { max-width: var(--max-w); margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--coral), var(--ink-10));
  z-index: 0;
  border-radius: 1px;
}

.step-card { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  background: var(--white);
  border: 2px solid var(--ink-5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  transition: all 0.4s var(--ease-out);
}

.step-card:hover .step-number {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 8px 24px var(--coral-20);
  transform: scale(1.05);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--ink);
}

.step-text {
  font-size: 0.85rem;
  color: var(--ink-50);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   PRICING & SERVICES
   ============================================ */
.pricing-services {
  padding: 120px 24px;
  background: var(--white);
}

.pricing-services .section-container { max-width: var(--max-w); margin: 0 auto; }

/* --- AI Plans Side-by-Side Grid --- */
.ai-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* --- AI Plan Card (shared base) --- */
.ai-plan-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.ai-plan-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: var(--coral-10);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ai-plan-content {
  position: relative;
  z-index: 1;
}

.ai-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.ai-plan-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.ai-plan-content h3 em {
  font-style: italic;
  color: var(--black);
}

.ai-plan-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.ai-plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.ai-plan-feature .ai-check {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.ai-plan-pricing-side {
  position: relative;
  z-index: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  margin-top: auto;
}

.ai-plan-price-highlight {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.ai-plan-price-highlight span {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.ai-plan-price {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.ai-plan-price .ai-price-currency {
  font-size: 1.8rem;
  vertical-align: top;
  position: relative;
  top: 8px;
}

.ai-plan-price .ai-price-period {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.ai-plan-price-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  line-height: 1.5;
}

.ai-plan-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(239, 70, 35, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-plan-cta:hover {
  background: #d93d1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 70, 35, 0.4);
}

.ai-plan-savings {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* --- AI Growth Plan Banner Card Variant --- */
.ai-plan-card--growth::before {
  top: -60px;
  left: -80px;
  right: auto;
  background: rgba(245, 158, 11, 0.12);
}

.ai-plan-card--growth .ai-plan-badge {
  background: linear-gradient(135deg, #F59E0B, #EF4623);
}

.ai-plan-card--growth .ai-check {
  color: #F59E0B;
}

.ai-plan-card--growth .ai-plan-features strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.ai-plan-card--growth .ai-plan-cta {
  background: linear-gradient(135deg, #F59E0B, #EF4623);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.ai-plan-card--growth .ai-plan-cta:hover {
  background: linear-gradient(135deg, #E08E00, #d93d1e);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* Currency Toggle */
.currency-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0;
}

.currency-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-30);
  transition: color 0.2s var(--ease-out);
  cursor: pointer;
  user-select: none;
}

.currency-label--active { color: var(--ink); font-weight: 700; }

.currency-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.currency-switch input { display: none; }

.currency-slider {
  position: absolute;
  inset: 0;
  background: var(--ink-10);
  border-radius: 13px;
  transition: background 0.3s var(--ease-out);
}

.currency-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.currency-switch input:checked + .currency-slider { background: var(--coral); }
.currency-switch input:checked + .currency-slider::before { transform: translateX(22px); }

/* Pricing Cards Grid */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--ink-5);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.price-card:hover {
  border-color: var(--ink-10);
  box-shadow: 0 24px 64px -16px rgba(45, 59, 66, 0.12);
  transform: translateY(-6px);
}

.price-card--featured {
  border-color: var(--coral);
  box-shadow: 0 4px 24px var(--coral-10);
}

.price-card--featured:hover {
  border-color: var(--coral);
  box-shadow: 0 24px 64px -16px var(--coral-20);
}

.price-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.price-card-header { margin-bottom: 24px; }

.price-card-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 14px;
}

.price-card-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
}

.price-value {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-value--custom {
  font-size: 2.4rem;
  color: var(--ink);
}

.price-period {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink-50);
  margin-left: 4px;
  font-weight: 400;
}

.price-card-sub {
  font-size: 0.88rem;
  color: var(--ink-50);
  margin-top: 10px;
  line-height: 1.6;
}

.price-card-divider {
  height: 1px;
  background: var(--ink-5);
  margin-bottom: 24px;
}

.price-card-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.price-card-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ink-70);
}

.feature-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.feature-check--note { color: var(--ink-30); }

.price-card-feature--note { color: var(--ink-30); font-size: 0.8rem; }

.price-card-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  border: 2px solid var(--ink-10);
  color: var(--ink-70);
  background: var(--white);
}

.price-card-cta:hover {
  background: var(--peach);
  border-color: var(--ink-30);
  color: var(--ink);
}

.price-card-cta--primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 4px 16px var(--coral-20);
}

.price-card-cta--primary:hover {
  background: #d93d1e;
  color: var(--white);
  border-color: #d93d1e;
  box-shadow: 0 8px 24px var(--coral-20);
  transform: translateY(-1px);
}

/* Trial Guarantee */
.pricing-trial-guarantee {
  margin-top: 40px;
  padding: 24px 30px;
  background: var(--peach);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.pricing-trial-guarantee p {
  font-size: 0.9rem;
  color: var(--ink-50);
  line-height: 1.75;
}

.pricing-trial-guarantee strong { color: var(--ink); }

/* Quality Assurance Section */
.qa-section {
  margin-top: 64px;
  border: 1px solid var(--ink-5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
}

.qa-section-inner {
  padding: 56px 40px;
}

.qa-section-header { margin-bottom: 24px; text-align: center; }

.qa-section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.qa-section-subtitle {
  font-size: 0.95rem;
  color: var(--ink-50);
  line-height: 1.7;
}

.qa-section-body {
  margin-bottom: 32px;
}

.qa-section-body p {
  font-size: 0.92rem;
  color: var(--ink-50);
  line-height: 1.85;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.qa-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.qa-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 12px;
  background: var(--peach);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.qa-highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 70, 35, 0.06);
}

.qa-highlight-icon { font-size: 1.5rem; }

.qa-highlight-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-70);
}

/* ============================================
   TRIAL BANNER
   ============================================ */
.trial-banner {
  padding: 40px 24px;
}

.trial-banner .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.trial-banner-inner {
  background: var(--coral);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Dot grid pattern */
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  background-color: var(--coral);
}

.trial-banner-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.trial-banner-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.trial-banner-inner > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.trial-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out);
  border: none;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--peach);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-primary span { position: relative; z-index: 1; }
.btn-primary::before { display: none; }

/* Trust bar */
.trial-trust-bar {
  margin-top: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

/* ============================================
   LOCATION / BUDAPEST
   ============================================ */
.location {
  padding: 120px 24px;
  background: var(--white);
}

.location .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-content { max-width: 540px; }

.location-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.location-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-50);
}

.loc-icon {
  width: 40px;
  height: 40px;
  background: var(--peach);
  border: 1px solid var(--ink-5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.location-image img {
  border-radius: var(--radius-xl);
  width: 100%;
  object-fit: cover;
  box-shadow: 0 24px 64px -16px rgba(45, 59, 66, 0.15);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 24px;
  background: var(--peach);
}

.contact .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.contact-grid--single {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.form-side {
  background: var(--white);
  border: 1px solid var(--ink-5);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: 0 8px 32px rgba(45, 59, 66, 0.04);
}

.form-side h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-side > p {
  font-size: 0.92rem;
  color: var(--ink-50);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-70);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-30);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232D3B42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-submit {
  padding: 16px 28px;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px var(--coral-20);
}

.form-submit:hover {
  background: #d93d1e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--coral-20);
}

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-privacy {
  font-size: 0.78rem;
  color: var(--ink-30);
  text-align: center;
  margin-top: 4px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show { display: block; }

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--black);
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--ink-50);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  padding: 72px 24px 36px;
}

.footer .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer .nav-logo { margin-bottom: 16px; }

.footer .nav-logo-icon {
  width: 77px;
  height: 58px;
  background-size: 166px 95px;
  background-position: -44px 0;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  max-width: 300px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s var(--ease-out);
}

.footer-col a:hover { color: var(--white); }

.footer-col--contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-minimap {
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--white-10);
  display: block;
  max-width: 180px;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}

.footer-minimap:hover { opacity: 1; }
.footer-minimap img { width: 100%; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--white-5);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s var(--ease-out);
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-tax-id {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ============================================
   OVERAGE CALLOUT
   ============================================ */
/* Marginal note on the pricing table — same coral-edge treatment the guide
   pages use for callouts. */
.overage-callout {
  margin-top: 24px;
  margin-bottom: 64px;
  padding: 24px 30px;
  background: var(--peach);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.overage-callout p {
  font-size: 0.9rem;
  color: var(--ink-50);
  line-height: 1.75;
}

.overage-callout strong { color: var(--ink); }

/* ============================================
   HUMAN PRICING HEADER
   ============================================ */
.human-pricing-header {
  margin-top: 24px;
  margin-bottom: 8px;
  padding-top: 64px;
  border-top: 1px solid var(--ink-5);
}

.human-pricing-header .section-subtitle {
  margin-bottom: 0;
}

/* ============================================
   3-COLUMN STEPS GRID VARIANT
   ============================================ */
.steps-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px) rotate(2deg);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .animate-fade-up,
  .animate-fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards .price-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .qa-highlights { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-content { max-width: 100%; }
  .ai-plans-grid { grid-template-columns: 1fr 1fr; }
  .ai-plan-card { padding: 36px 28px; }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-center { display: none; }
  .nav-right { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--yellow);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 32px 32px;
    gap: 0;
    transition: right 0.4s var(--ease-out);
    box-shadow: -8px 0 0 0 var(--black);
    border-left: var(--border);
    z-index: 999;
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 16px 0;
    width: 100%;
    border-bottom: 2px solid var(--ink-10);
    color: var(--black);
    font-weight: 700;
  }

  .nav-links .nav-cta {
    margin-top: 20px;
    text-align: center;
    border-bottom: none;
  }

  /* Hero */
  .hero { padding: 110px 20px 48px; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-video-container { height: 300px; }
  /* PERF/iOS: the hero ground is a plain gradient (no blur() filter) — iOS WebKit
     cannot composite large blurred layers without stalling. */
  .hero::before { height: 460px; }
  .hero-cta-group { flex-direction: column; gap: 12px; }
  .hero-cta, .hero-cta-secondary { width: 100%; justify-content: center; }

  /* Tab bar mobile */
  .tab-bar { display: none; }
  .tab-grid-mobile { display: grid; }

  /* AI Plan Cards */
  .ai-plans-grid { grid-template-columns: 1fr; }
  .ai-plan-card { padding: 32px 24px; }
  .ai-plan-content h3 { font-size: 1.5rem; }
  .ai-plan-pricing-side { padding: 28px 20px; }
  .ai-plan-price { font-size: 2.8rem; }

  /* Sections */
  .benefits { padding: 80px 24px; }
  .how-it-works { padding: 80px 24px; }
  .pricing-services { padding: 80px 24px; }
  .location { padding: 80px 24px; }
  .contact { padding: 80px 24px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid--three { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-cards .price-card:last-child { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-side { padding: 32px 24px; }

  .trial-banner-inner { padding: 48px 28px; }
  .trial-badge-row { gap: 8px; }
  .trial-badge { font-size: 0.75rem; padding: 6px 14px; }

  .overlay-card { width: 320px; padding: 24px; }

  .platform-logos { gap: 20px; }
  .qa-highlights { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid--three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .qa-highlights { grid-template-columns: 1fr; }
  .overlay-card { width: 280px; padding: 20px; }
  .hero-title { font-size: 2.2rem; }
  .trial-banner-inner h2 { font-size: 1.8rem; }
  .section-title { font-size: 1.7rem; }
}

/* ==================== ROI CALCULATOR ==================== */
.roi-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 56px;
  align-items: stretch;
}

.roi-calc-card {
  background: var(--peach);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.roi-calc-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 24px;
}

.roi-field { margin-bottom: 24px; }

.roi-field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-70);
  margin-bottom: 10px;
}

.roi-field-value {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--black);
}

.roi-field-value input {
  width: 64px;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--black);
  text-align: right;
  padding: 0;
}

.roi-field-value input:focus { outline: none; border-bottom: 1px solid var(--coral); }

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink-10);
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.roi-divider {
  height: 1px;
  background: var(--ink-10);
  margin: 8px 0 20px;
}

.roi-output-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--ink-70);
  margin-bottom: 10px;
}

.roi-output-row strong {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--ink);
}

.roi-savings-block { margin-top: 4px; }

.roi-savings-amount {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--black);
  line-height: 1.1;
}

.roi-savings-subline {
  font-size: 0.85rem;
  color: var(--ink-50);
  margin-top: 4px;
  margin-bottom: 24px;
}

.roi-neutral-message {
  font-size: 0.95rem;
  color: var(--ink-70);
  margin: 4px 0 24px;
}

.roi-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.roi-cta-primary {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
}

.roi-cta-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ink);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--ink-10);
}

.roi-stats-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roi-stats-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.roi-stat {
  padding-top: 24px;
}

.roi-stat + .roi-stat {
  border-top: 1px solid var(--ink-10);
}

.roi-stat-figure {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--black);
  line-height: 1.1;
}

.roi-stat-text {
  font-size: 0.95rem;
  color: var(--ink-70);
  margin-top: 6px;
}

.roi-stat-source {
  font-size: 0.75rem;
  color: var(--ink-50);
  margin-top: 10px;
}

@media (max-width: 768px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi-calc-card { padding: 28px 24px; }
}

/* ============================================
   LANGUAGE BANNER
   ============================================ */
.lang-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--peach);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
  font-size: 0.9rem;
}
.lang-banner a {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.lang-banner button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink-70);
  padding: 0;
  margin-left: auto;
}
