/* =========================================
   Twyne — Marketing Site Design System
   Brand: cyan #4ABDE6 → lime-green #8FD44C
   ========================================= */

:root {
  --brand-cyan:     #4ABDE6;
  --brand-green:    #8FD44C;
  --brand-teal:     #1E9BBF;
  --brand-light:    #EDF8FC;
  --brand-gradient: linear-gradient(135deg, #4ABDE6 0%, #8FD44C 100%);
  --brand-dark:     #0D1E2C;
  --brand-dark-alt: #0D2820;
  --text:           #111827;
  --text-muted:     #6b7280;
  --text-light:     #9ca3af;
  --border:         #e5e7eb;
  --bg:             #ffffff;
  --bg-soft:        #f9fafb;
  --radius:         8px;
  --radius-lg:      16px;
  --max-w:          1200px;
  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:     'Lora', Georgia, serif;
  --transition:     150ms ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }

.logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

/* Shared style for plain links and dropdown triggers */
.nav-link,
.nav-trigger {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 6px 12px;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover,
.nav-trigger:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-link.active,
.nav-dropdown.open .nav-trigger { color: white; }

.nav-link-pricing {
  color: white;
  font-weight: 600;
}

.nav-chevron {
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* ── Dropdown panel ── */
.nav-item {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 480px;
  background: #0e1e2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
.nav-panel-sm { min-width: 300px; }

.nav-dropdown.open .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-panel-sm .nav-panel-grid {
  grid-template-columns: 1fr;
}

.nav-panel-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background 0.15s ease;
  text-decoration: none;
}
.nav-panel-item:hover { background: rgba(255,255,255,0.07); }
.nav-panel-item.active { background: rgba(74,189,230,0.08); }

.nav-panel-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.nav-panel-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn-ghost {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.header-actions .btn-ghost:hover { color: white; background: rgba(255,255,255,0.08); }

/* Login popover */
.login-wrapper {
  position: relative;
}

.login-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 288px;
  background: #0f2233;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 200;
}

.login-popover.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.login-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-input-row {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  margin-bottom: 10px;
}

.login-input-row:focus-within {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0,212,212,0.12);
}

.login-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 10px 4px 10px 12px;
}

.login-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.login-suffix {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  padding: 10px 10px 10px 0;
  user-select: none;
  align-self: center;
}

.login-go {
  display: block;
  width: 100%;
  background: var(--brand-gradient);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 150ms ease, transform 150ms ease;
}

.login-go:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.login-go:active {
  transform: translateY(0);
  opacity: 1;
}

.nav-cta {
  background: var(--brand-gradient) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: opacity var(--transition) !important;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88 !important; background: rgba(255,255,255,0.08) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 200ms ease;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: white;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: white;
  color: var(--brand-dark);
  border: 2px solid white;
}
.btn-secondary:hover { background: rgba(255,255,255,0.9); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--brand-teal); color: var(--brand-teal); }

.btn-lg {
  font-size: 1rem;
  padding: 14px 30px;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 7px 16px;
}

/* =========================================
   HOMEPAGE HERO
   ========================================= */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #f0f9fd 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

/* =========================================
   LOGO STRIP (Social Proof)
   ========================================= */
.logo-strip-section {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.logo-strip-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 24px;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-item {
  color: var(--text-muted);
  opacity: 0.35;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.logo-item:hover { opacity: 0.6; }

.logo-item svg {
  height: 28px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-strip { gap: 28px; }
  .logo-item svg { height: 22px; }
}

/* =========================================
   FEATURE SHOWCASE (Homepage)
   ========================================= */
.feature-showcase-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

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

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Alternating feature rows --- */
.features-alt {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature-alt-row {
  display: flex;
  gap: 64px;
  align-items: center;
}

.feature-alt-row--flip .feature-alt-frame {
  order: -1;
}

.feature-alt-text {
  flex: 1;
  min-width: 0;
}

.feature-alt-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.feature-alt-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}

.feature-alt-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-alt-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-alt-bullets li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.feature-alt-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.feature-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-teal);
  transition: opacity 0.2s ease;
}
.feature-alt-link:hover { opacity: 0.7; }

/* --- Browser-chrome screenshot frame (shared) --- */
.feature-alt-frame {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.showcase-chrome {
  background: #1e2124;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.showcase-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.showcase-dots span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.showcase-dots span:nth-child(1) { background: #ff5f57; }
.showcase-dots span:nth-child(2) { background: #febc2e; }
.showcase-dots span:nth-child(3) { background: #28c840; }

.showcase-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 2px 14px;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  pointer-events: none;
}

.showcase-screen {
  background: var(--brand-dark);
}

.showcase-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================
   PLATFORM FEATURES SECTION
   ========================================= */
.features-section {
  padding: 80px 0 96px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Differentiator card grid ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.diff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.diff-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 4px 24px rgba(74,189,230,0.10);
}

.diff-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(74,189,230,0.1);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.diff-card-icon svg { width: 22px; height: 22px; }

.diff-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.diff-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.diff-card .diff-display-why { margin-top: auto; }

.diff-display-why {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 18px;
  background: rgba(74,189,230,0.07);
  border-left: 3px solid var(--brand-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.diff-why-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  opacity: 0.8;
}

.diff-why-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Supporting features ── */
.supporting-block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.supporting-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 20px;
  text-align: center;
}

.supporting-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 24px;
}

.supporting-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.supporting-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-teal);
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .supporting-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .diff-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .diff-card { padding: 28px 24px; }
  .supporting-list { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   COMPARISON SECTION
   ========================================= */
.comparison-section {
  padding: 80px 0;
  background: var(--bg);
}

.comparison-table {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
}

.comparison-header {
  background: var(--brand-dark);
  padding: 0;
}

.comparison-header > div {
  padding: 14px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.comparison-header .comparison-col-twyne {
  background: var(--brand-gradient);
  color: white;
  opacity: 1;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

.comparison-row {
  border-top: 1px solid var(--border);
  transition: background 0.15s ease;
}
.comparison-row:hover { background: var(--bg-soft); }

.comparison-col-feature {
  padding: 16px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}

.comparison-col-others {
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid var(--border);
}

.comparison-no svg   { color: #e05252; }
.comparison-partial svg { color: #d4a017; }

.comparison-col-twyne {
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,189,230,0.04);
}
.comparison-col-twyne svg { color: var(--brand-teal); flex-shrink: 0; }

@media (max-width: 768px) {
  .comparison-header,
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-header .comparison-col-feature { display: none; }
  .comparison-col-feature { border-right: none; border-bottom: 1px solid var(--border); font-size: 0.8rem; padding: 12px 16px; }
  .comparison-col-others,
  .comparison-col-twyne { padding: 10px 16px; border-right: none; }
  .comparison-col-others { border-bottom: 1px solid var(--border); }
}


/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
  padding: 64px 0;
  background: var(--brand-dark);
}

.stats-context {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* =========================================
   CTA BANNER (shared component)
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-alt) 100%);
  padding: 72px 0;
  border-top: 1px solid rgba(74,189,230,0.15);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  max-width: 480px;
  line-height: 1.3;
}

.cta-banner-text p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* =========================================
   PAGE HERO (sub-pages)
   ========================================= */
.page-hero {
  padding: 72px 0 64px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 720px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 620px;
  margin-bottom: 32px;
}

/* Keyword highlights — visible to skimmers */
.page-hero mark {
  background: rgba(74,189,230,0.1);
  color: var(--text);
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  -webkit-text-fill-color: var(--text);
}

/* =========================================
   FEATURE SUB-PAGE: BENEFITS
   ========================================= */
.benefits-section {
  padding: 80px 0;
  background: var(--bg);
}

.benefits-section + .benefits-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.benefits-section + .benefits-section + .benefits-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.benefits-header {
  margin-bottom: 40px;
}

.benefits-audience {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  background: var(--brand-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.benefits-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
}

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

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 4px 20px rgba(74,189,230,0.10);
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* bg alternation for benefit-card inside alternating sections */
.benefits-section + .benefits-section .benefit-card { background: var(--bg); }

.benefits-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* =========================================
   FEATURE SUB-PAGE: METRICS STRIP
   ========================================= */
.metrics-strip {
  padding: 48px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.metric-item:last-child { border-right: none; }

.metric-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* =========================================
   FEATURE SUB-PAGE: HOW IT WORKS
   ========================================= */
.steps-section {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

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

.step-item {
  display: flex;
  flex-direction: column;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================
   FEATURE SUB-PAGE: HERO ACTIONS
   ========================================= */
.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================
   FEATURE SUB-PAGE: ADVANTAGES
   ========================================= */
.advantages-section {
  padding: 80px 0;
  background: var(--brand-dark);
  border-top: none;
}

.advantages-section .section-title { color: white; }
.advantages-section .section-subtitle { color: rgba(255,255,255,0.55); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.advantage-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), background var(--transition);
}
.advantage-card:hover {
  border-color: rgba(74,189,230,0.4);
  background: rgba(255,255,255,0.08);
}

.advantage-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  line-height: 1.4;
}

.advantage-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* =========================================
   PRICE CALCULATOR
   ========================================= */
.calc-section {
  padding: 80px 0;
  background: var(--bg-soft);
}

.calc-card {
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}

/* Plan tabs */
.calc-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 4px;
  width: fit-content;
  margin-bottom: 36px;
}

.calc-tab {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 8px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.calc-tab--active {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.calc-tab:not(.calc-tab--active):hover {
  color: var(--text);
}

/* Sliders */
.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.calc-block-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.calc-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.calc-current {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-teal);
  min-width: 4ch;
  text-align: right;
}

/* Range input */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--brand-cyan) 0%,
    var(--brand-cyan) var(--fill, 0%),
    var(--border) var(--fill, 0%),
    var(--border) 100%
  );
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  --fill: 0%;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-teal);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
  transition: transform 120ms ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-teal);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
}

/* Step labels */
.calc-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
}

.calc-steps span {
  font-size: 0.68rem;
  color: var(--text-light);
  user-select: none;
}

/* Breakdown */
.calc-breakdown {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.calc-brow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 5px 0;
}

.calc-brow span:last-child,
.calc-brow span#cb-base,
.calc-brow span#cb-leads-val,
.calc-brow span#cb-clicks-val {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.calc-brow--dim {
  opacity: 0.45;
}

.calc-brow--total {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 6px 0 4px;
}

.calc-brow--total strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.calc-brow-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

/* Upgrade hint */
.calc-upgrade-hint {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(74,189,230,0.08);
  border: 1px solid rgba(74,189,230,0.25);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--brand-teal);
  line-height: 1.5;
}

.calc-upgrade-hint strong { color: var(--text); }

/* Footnote */
.calc-footnote {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.calc-footnote a { color: var(--brand-teal); text-decoration: underline; }

@media (max-width: 600px) {
  .calc-card { padding: 28px 20px; }
  .calc-brow--total strong { font-size: 1.35rem; }
}

/* =========================================
   COMPARE TABLE
   ========================================= */
.compare-section {
  padding: 80px 0;
  background: var(--bg);
}

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-col-label  { width: 33%; }
.compare-col-featured { /* no extra style; handled via .is-featured cells */ }

/* Plan header cells */
.compare-th-label {
  border-bottom: 1px solid var(--border);
}

.compare-th-plan {
  padding: 28px 16px 24px;
  text-align: center;
  vertical-align: bottom;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.compare-th-plan.is-featured {
  background: var(--brand-light);
  border-color: var(--brand-cyan);
}

.compare-badge {
  display: block;
  margin: 0 auto 12px;
  width: fit-content;
  background: var(--brand-gradient);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.compare-plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 6px;
}

.compare-plan-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.compare-plan-price span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Category header rows */
.compare-category-row td {
  padding: 12px 16px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* for Firefox fallback */
  color: var(--brand-teal);
}

/* Use a pseudo-element for the actual background so gradient text works */
.compare-category-row {
  background: var(--bg-soft);
}

.compare-category-link {
  margin-left: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brand-teal);
  -webkit-text-fill-color: var(--brand-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.compare-category-link:hover { opacity: 1; }

/* Feature rows */
.compare-row {
  border-top: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: none; }

.compare-row:hover .compare-feature,
.compare-row:hover .compare-cell:not(.is-featured) {
  background: #fafbfc;
}

.compare-feature {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text);
  position: sticky;
  left: 0;
  background: var(--bg);
  z-index: 1;
}

.compare-cell {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  vertical-align: middle;
}

.compare-cell.is-featured {
  background: rgba(74,189,230,0.05);
  border-left-color: var(--brand-cyan);
}

.compare-th-plan.is-featured ~ .compare-th-plan,
.compare-cell.is-featured ~ .compare-cell {
  border-left-color: var(--border);
}

.compare-check { display: flex; justify-content: center; }
.compare-dash  { color: var(--text-light); }

.compare-included {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-teal);
}

.compare-cell-text {
  font-variant-numeric: tabular-nums;
}

/* Footer CTA row */
.compare-footer-row {
  border-top: 2px solid var(--border);
}

.compare-footer-cell {
  padding: 20px 12px;
  text-align: center;
  border-left: 1px solid var(--border);
}

.compare-footer-cell.is-featured {
  background: var(--brand-light);
  border-left-color: var(--brand-cyan);
}

.compare-footer-row .compare-feature { background: var(--bg); }

@media (max-width: 860px) {
  .compare-table { min-width: 600px; }
  .compare-plan-price { font-size: 1.35rem; }
  .compare-th-plan { padding: 20px 10px 18px; }
}

/* =========================================
   PLANS PAGE
   ========================================= */
.plans-section {
  padding: 80px 0;
  background: var(--bg);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.plan-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 8px 32px rgba(74,189,230,0.12);
}

.plan-card.plan-featured {
  background: linear-gradient(180deg, #f0f9fd 0%, var(--bg) 100%);
  border-color: var(--brand-cyan);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}


.plan-roi {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(74,189,230,0.07);
  border: 1px solid rgba(74,189,230,0.18);
  border-radius: var(--radius);
  padding: 9px 12px;
  margin-top: 12px;
  line-height: 1.5;
}
.plan-roi svg { color: var(--brand-teal); flex-shrink: 0; margin-top: 2px; }

.plan-edge {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.plan-edge svg { color: var(--brand-teal); flex-shrink: 0; margin-top: 2px; }

.plan-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--brand-gradient);
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Add-ons */
.addons-section {
  padding: 64px 0 80px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.addon-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.addon-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.addon-card .addon-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-teal);
  margin-bottom: 14px;
}

.addon-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.faq-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
  padding: 80px 0;
  background: var(--brand-dark);
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

.about-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.about-section:last-of-type {
  border-bottom: none;
}

.about-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-section-inner.reverse { direction: rtl; }
.about-section-inner.reverse > * { direction: ltr; }

.about-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
}

.about-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-section p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-visual {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0D2820 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74,189,230,0.2);
  text-align: center;
}

.about-visual-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
  line-height: 1.6;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section {
  padding: 80px 0;
  background: var(--bg-soft);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(74,189,230,0.12);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* =========================================
   BOOK DEMO PAGE
   ========================================= */
.demo-hero {
  text-align: center;
}

.demo-hero h1 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.demo-hero p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.demo-section {
  padding: 72px 0 96px;
  background: var(--bg);
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 72px;
  align-items: flex-start;
}

.demo-info h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
}

/* Checklist */
.demo-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.demo-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.demo-check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.demo-checklist li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.demo-checklist li p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Who this is for */
.demo-who {
  margin-bottom: 36px;
}

.demo-who h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.demo-who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand-teal);
  background: var(--brand-light);
  border: 1px solid rgba(74,189,230,0.25);
  border-radius: 20px;
  padding: 4px 12px;
}

/* Meta row */
.demo-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.demo-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.demo-meta-icon {
  font-size: 1rem;
}

/* Calendly container */
.demo-calendly {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Responsive */
@media (max-width: 900px) {
  .demo-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-calendly {
    order: -1;
  }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--brand-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {}

.footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-signup-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-signup {
  display: flex;
  gap: 8px;
}

.footer-signup input {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: white;
  padding: 9px 14px;
  outline: none;
  flex: 1;
  min-width: 0;
  transition: border-color var(--transition);
}
.footer-signup input::placeholder { color: rgba(255,255,255,0.3); }
.footer-signup input:focus { border-color: var(--brand-cyan); }

.footer-signup button {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--brand-gradient);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.footer-signup button:hover { opacity: 0.88; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

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

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.55); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-alt-row {
    flex-direction: column;
    gap: 32px;
  }
  .feature-alt-row--flip .feature-alt-frame {
    order: 0;
  }
}

@media (max-width: 768px) {
  .features-alt { gap: 56px; }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    padding: 12px 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    z-index: 99;
    gap: 0;
  }
  /* In mobile, flatten all items */
  .site-nav.open .nav-item { width: 100%; }
  .site-nav.open .nav-trigger,
  .site-nav.open .nav-link {
    width: 100%;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
    justify-content: space-between;
  }
  /* Show panel inline when open on mobile */
  .site-nav.open .nav-dropdown.open .nav-panel {
    position: static;
    transform: none;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    padding: 4px 0 4px 16px;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav.open .nav-panel-grid { grid-template-columns: 1fr; gap: 0; }
  .site-nav.open .nav-panel-item {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .site-nav.open .nav-panel-item:last-child { border-bottom: none; }

  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .site-header { position: relative; }

  .hero { padding: 56px 0 48px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }

  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { border-right: none; border-bottom: 1px solid var(--border); }
  .metric-item:last-child { border-bottom: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }

  .plans-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .about-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-section-inner.reverse { direction: ltr; }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }

  .cta-banner-inner { flex-direction: column; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .page-hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Integrations Section ── */
.integrations-section {
  padding: 96px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.integration-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  cursor: default;
}

.integration-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 4px 16px rgba(74, 189, 230, 0.12);
  transform: translateY(-2px);
}

.integration-card--more {
  background: linear-gradient(135deg, rgba(74,189,230,0.06) 0%, rgba(143,212,76,0.06) 100%);
  border-color: var(--brand-cyan);
  color: var(--brand-teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.integration-more-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand-gradient);
  color: white;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-section { padding: 64px 0; }
}

/* =========================================
   LEGAL PAGES (Terms of Service, Privacy Policy)
   ========================================= */
.legal-hero {
  padding: 72px 0 56px;
  background: var(--brand-dark);
  text-align: center;
}

.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

.legal-body {
  padding: 64px 0 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content ul {
  margin: 0.5rem 0 1.25rem 1.5rem;
  padding: 0;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--brand-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--brand-cyan);
}

.legal-content address {
  font-style: normal;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  line-height: 2;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-hero { padding: 56px 0 40px; }
  .legal-body { padding: 48px 0 72px; }
  .legal-content h2 { font-size: 1.2rem; }
}

/* =========================================
   GLOSSARY
   ========================================= */

.glossary-section {
  padding: 64px 0 80px;
}

.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.glossary-nav-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-teal);
  border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.glossary-nav-letter:hover {
  background: var(--brand-light);
  border-color: var(--brand-teal);
}

.glossary-letter-group {
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}

.glossary-letter-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.glossary-list {
  display: grid;
  gap: 0;
}

.glossary-term {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  padding: 20px 0 8px;
  margin: 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 96px;
}

.glossary-term:first-child {
  border-top: none;
}

.glossary-definition {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 20px;
  max-width: 760px;
}

.glossary-cta-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}

.glossary-cta-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.glossary-cta-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.35;
}

.glossary-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .glossary-section { padding: 48px 0 64px; }
  .glossary-letter-heading { font-size: 1.5rem; }
  .glossary-nav-letter { width: 32px; height: 32px; font-size: 0.8125rem; }
  .glossary-cta-heading { font-size: 1.25rem; }
}
