/* -----------------------------------------------------
   Leads Hub 360 - Refreshed UI System
   ----------------------------------------------------- */
:root {
  /* Gradient palette */
  --grad-a: #050d1c;
  --grad-b: #081223;
  --grad-c: #0a172a;
  --grad-overlay: linear-gradient(135deg, rgba(19, 84, 230, 0.14), transparent 55%),
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.05), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(123, 175, 212, 0.08), transparent 50%);

  /* Brand */
  --brand: #7bafd4;
  --brand-500: #6b9ec2;
  --brand-600: #4e83aa;
  --accent: #8d7aff;
  --text: #f0f5ff;
  --muted: #b6c3d8;

  /* UI */
  --surface: rgba(9, 15, 32, 0.85);
  --surface-strong: rgba(14, 25, 47, 0.9);
  --card-bg: rgba(12, 22, 45, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow-1: 0 28px 80px rgba(4, 9, 22, 0.45);

  /* Layout */
  --nav-h: 72px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xl: 28px;
  --max-width: 1140px;
  --transition: 260ms ease;

  /* Spacing system (8px base, 4-step scale) */
  --space-xs: 0.5rem;   /*  8px - chips, labels, tight gaps */
  --space-sm: 1rem;     /* 16px - between elements within a block */
  --space-md: 2rem;     /* 32px - between blocks within a section */
  --space-lg: 4rem;     /* 64px - between sections */
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(circle at 10% 5%, rgba(123, 175, 212, 0.13), transparent 45%),
    radial-gradient(circle at 85% 40%, rgba(141, 122, 255, 0.08), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(123, 175, 212, 0.07), transparent 40%),
    linear-gradient(180deg, var(--grad-a) 0%, var(--grad-b) 50%, var(--grad-c) 100%);
  background-attachment: fixed;
}

body {
  margin: 0;
  background: transparent;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .6rem;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

p {
  margin: .6rem 0 1.2rem;
}

.small {
  font-size: .85rem;
}

.muted {
  color: var(--muted);
}

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--space-md) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.mt-24 {
  margin-top: 1.5rem;
}

/* Buttons & badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.8rem;
  min-width: 260px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: 600 1rem/1.5 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
}

.btn.primary {
  background: var(--brand);
  border-color: transparent;
  color: #031225;
  box-shadow: 0 12px 30px rgba(123, 175, 212, .35);
}

.btn.primary:hover {
  background: var(--brand-600);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--card-border);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}


.pill,
.pill-light {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
  color: var(--text);
}

.pill::before,
.pill-light::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand) 0%, rgba(255, 255, 255, 0) 70%);
}

.pill-light {
  background: rgba(123, 175, 212, .12);
  border-color: rgba(123, 175, 212, .3);
  color: #d9e9f8;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(8, 16, 32, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.logo {
  height: 40px;
  width: auto;
}

.menu-overlay {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: .62rem;
  justify-self: center;
  justify-content: center;
  min-width: max-content;
  height: 100%;
}

.menu a {
  padding: .4rem .58rem;
  border-radius: 8px;
  transition: var(--transition);
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.1;
  white-space: nowrap;
}

.menu a:hover,
.menu a.active {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.menu a.active {
  box-shadow: inset 0 -2px 0 var(--brand);
  color: var(--brand);
}

.menu .badge {
  line-height: 1.1;
}

.nav-apply {
  background: var(--brand);
  border-color: transparent;
  color: #031225;
  box-shadow: 0 12px 30px rgba(123, 175, 212, .35);
  text-transform: none;
  letter-spacing: .01em;
  padding: .5rem 1rem;
  line-height: 1.1;
  font-size: .95rem;
  font-weight: 600;
}

.nav-apply:hover {
  background: var(--brand-600);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger .bar {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
}

@media (max-width: 900px) {
  .hamburger {
    display: inline-flex;
  }

  .nav {
    overflow: visible;
  }

  /* Overlay oscuro detrás del panel */
  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .menu-overlay.open {
    display: block;
  }

  .menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: calc(100vh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    padding: 0 !important;
    background: #050d1c;
    border-right: 1px solid rgba(123, 175, 212, .2);
    display: none;
    z-index: 999;
    box-shadow: 8px 0 32px rgba(0, 0, 0, .7);
    transform: translateX(-100%);
    transition: transform 280ms ease;
    overflow: hidden;
  }

  .menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.75rem !important;
    font-size: 1rem !important;
    font-weight: 500;
    color: #f0f5ff;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    box-sizing: border-box;
    letter-spacing: .01em;
  }

  .menu a.badge {
    display: none;
  }

  .menu a:hover,
  .menu a.active {
    color: #7bafd4;
    background: rgba(123, 175, 212, .1);
  }


  .menu.open {
    display: flex;
    transform: translateX(0);
  }
}

/* Eyebrow badge: wrap on small screens */
@media (max-width: 768px) {
  .eyebrow.badge {
    letter-spacing: .1em;
    font-size: .72rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 1240px) {
  .nav-inner {
    max-width: 1200px;
    padding: 0 1.1rem;
    gap: .7rem;
  }

  .menu {
    gap: .45rem;
  }

  .menu a {
    font-size: .92rem;
    padding: .38rem .5rem;
  }

  .nav-apply {
    font-size: .9rem;
    padding: .47rem .9rem;
  }
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-h) + 1.5rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(123, 175, 212, .25), transparent 55%);
  opacity: .85;
  pointer-events: none;
}

/* Hero 3-block layout */
.hero-head {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-md);
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-actions {
  margin-top: 0;
}

.hero-producer-line {
  margin-top: auto;
  color: var(--muted);
  font-size: .9rem;
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.hero-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.hero-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-sm);
}

.hero-checklist li {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem 1rem 2.4rem;
  position: relative;
  line-height: 1.55;
}

.hero-checklist strong {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.hero-checklist li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow: 0 0 0 4px rgba(123, 175, 212, .25);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}



.hero--without-panel .hero-layout {
  grid-template-columns: minmax(0, 1fr);
}

.hero--without-panel .hero-panel {
  display: none;
}

.hero-panel--image {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
}

.hero-dashboard-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(2, 9, 22, .55);
  display: block;
}

.hero-dashboard-caption {
  text-align: center;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--muted, #8899aa);
  letter-spacing: 0.01em;
}

.hero-panel {
  background: var(--surface-strong);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 2.2rem 2rem;
  border: 1px solid rgba(123, 175, 212, .3);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -50% -40% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(123, 175, 212, .35), transparent 65%);
}

.hero-panel__header {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.hero-panel__header h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0;
}

.hero-panel__header .per {
  font-size: .5em;
  font-weight: 600;
  color: var(--muted);
  margin-left: .35rem;
}

.stat-grid {
  display: grid;
  gap: 1rem;
}

.stat-grid div {
  display: grid;
  gap: .35rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
}

.stat-grid dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.stat-grid dd {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.panel-foot {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* About & features */
.about-layout,
.voice-layout,
.chat-layout {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.section-intro {
  display: grid;
  gap: var(--space-md);
  align-content: start;
}

.section-intro > .btn {
  justify-self: start;
}

.section-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.feature-cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 175, 212, .28);
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(2, 8, 21, .35);
  display: grid;
  gap: .6rem;
}

.features-intro {
  text-align: center;
  display: grid;
  gap: var(--space-sm);
  justify-items: center;
  max-width: 740px;
  margin: 0 auto var(--space-md);
}

.feature-stacks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}

.stack-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  line-height: 1.45;
  color: var(--muted);
}

.stack-list li::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(123, 175, 212, .15);
  border: 1.5px solid var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%237bafd4' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

.stack-card {
  background: rgba(12, 23, 45, .78);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 175, 212, .24);
  padding: 1.7rem;
  box-shadow: 0 18px 44px rgba(2, 8, 22, .4);
  display: grid;
  gap: 1.1rem;
}

.stack-card header {
  display: grid;
  gap: .75rem;
}

.list {
  margin: 0;
  padding-left: 1.2rem;
}

.list li {
  margin: .45rem 0;
}

.list-columns {
  columns: 2;
  column-gap: 2rem;
}

.list-columns li {
  break-inside: avoid;
}

.callout {
  margin-top: 1.5rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(123, 175, 212, .22);
  display: grid;
  gap: .7rem;
  box-shadow: 0 15px 30px rgba(2, 9, 20, .28);
}

/* Feature chips - horizontal pill list */
.feature-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
}

.feature-chips--stack {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.feature-chips--stack li {
  text-align: left;
  gap: .9rem;
}

.feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(123, 175, 212, .08);
  border: 1px solid rgba(123, 175, 212, .25);
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.3;
}

.feature-chips li::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(123, 175, 212, .2);
}

/* Accent callout */
.callout-accent {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(123, 175, 212, .06);
  border-left: 3px solid var(--brand);
  border-top: 1px solid rgba(123, 175, 212, .15);
  border-right: 1px solid rgba(123, 175, 212, .15);
  border-bottom: 1px solid rgba(123, 175, 212, .15);
}

.callout-accent__icon {
  flex-shrink: 0;
  margin-top: .15rem;
}

.callout-accent__label {
  margin: 0 0 .35rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand);
}

.callout-accent p.muted {
  margin: 0;
}

/* Voice & chat demo */
.demo-card {
  background: rgba(12, 22, 45, .82);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(123, 175, 212, .3);
  box-shadow: 0 24px 52px rgba(3, 9, 25, .5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% 40%;
  height: 160px;
  background: radial-gradient(circle, rgba(123, 175, 212, .22), transparent 70%);
  pointer-events: none;
}

.demo-card__header {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.demo-card__footer {
  text-align: center;
}

.center-text {
  text-align: center;
}


.demo-card__frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistant-frame {
  width: 100%;
  max-width: 320px;
  height: 200px;
  min-height: unset;
  border: none;
  display: block;
}

.demo-card__footer {
  padding-top: .5rem;
  text-align: center;
}

.demo-suggestions {
  padding: .75rem 1.25rem .25rem;
}

.demo-suggestions__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .5rem;
  text-align:center
}

.demo-suggestions__chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .4rem;
}

.demo-chip {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: 20px;
  background: rgba(123, 175, 212, .1);
  border: 1px solid rgba(123, 175, 212, .25);
  color: var(--brand);
  cursor: default;
  transition: background var(--transition);
}

.demo-chip:nth-child(n+4) {
  grid-column: span 3;
}

.demo-chip:hover {
  background: rgba(123, 175, 212, .2);
}

.chat-card {
  background: rgba(12, 22, 45, .78);
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(123, 175, 212, .3);
  box-shadow: 0 20px 46px rgba(2, 9, 24, .45);
  padding: 1.8rem;
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.chat-card--arrow {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.chat-arrow-demo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

/* Punto de origen de la flecha en el card */
.chat-arrow-origin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-arrow-origin__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(123, 175, 212, .2), 0 0 12px rgba(123, 175, 212, .4);
  animation: originPulse 2s ease-in-out infinite;
}

@keyframes originPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(123, 175, 212, .2), 0 0 12px rgba(123, 175, 212, .4); }
  50%       { box-shadow: 0 0 0 8px rgba(123, 175, 212, .1), 0 0 20px rgba(123, 175, 212, .6); }
}

/* SVG overlay fijo */
.chat-arrow-svg-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 998;
  opacity: 0;
  transition: opacity .4s ease;
}

.chat-arrow-svg-overlay.is-visible {
  opacity: 1;
}

.chat-arrow-line {
  stroke: #7bafd4;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

#testChatBtn {
  border: 2px solid #7bafd4;
  color: #7bafd4;
}

.chat-intro {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.chat-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.chat-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.chat-card__body {
  display: grid;
  gap: 1rem;
}

.chat-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.chat-card__footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.2rem;
}

/* Dashboard showcase */
.dash-showcase {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
}

.dash-tabs {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.dash-tabs::-webkit-scrollbar {
  display: none;
}

.dash-tab {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: left;
  width: 100%;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.dash-tab:hover {
  background: rgba(123, 175, 212, .07);
  color: var(--text);
}

.dash-tab.is-active {
  background: rgba(123, 175, 212, .12);
  color: var(--text);
  border-left-color: var(--brand);
}

.dash-tab__num {
  font-size: .68rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .06em;
  flex-shrink: 0;
}

.dash-tab__label {
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Dashboard section */
#dashboard .container {
  max-width: var(--max-width);
}


#dashboard > .container > h2,
#dashboard > .container > p,
#pricing > .container > h2,
#reviews > .container > h2 {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
}

.dash-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 175, 212, .22);
  box-shadow: 0 20px 60px rgba(2, 9, 22, .5);
  background: rgba(5, 11, 26, .95);
}

.dash-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(123, 175, 212, .3);
  background: rgba(6, 13, 30, .72);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  line-height: 1;
}

.dash-arrow:hover {
  background: rgba(123, 175, 212, .18);
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.08);
}

.dash-arrow--prev { left: .65rem; }
.dash-arrow--next { right: .65rem; }


.dash-slide {
  display: none;
  animation: fadeSlide .22s ease;
}

.dash-slide.is-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 0;
  /* neutralize .dash-item card styles */
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
}

.dash-slide.is-active img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.dash-slide.is-active figcaption {
  flex-shrink: 0;
  padding: .6rem 1.2rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(5, 11, 26, .92);
  border-top: 1px solid rgba(123, 175, 212, .12);
  text-align: center;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Legacy gallery (kept for compatibility) */
.dash-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.dash-item {
  background: rgba(12, 22, 45, .78);
  border: 1px solid rgba(123, 175, 212, .22);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 16px 36px rgba(2, 9, 22, .35);
  box-sizing: border-box;
}

.dash-item img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-md);
  display: block;
}

.dash-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-zoomable] {
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

[data-zoomable]:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(4, 12, 28, .45);
}

[data-zoomable]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.dash-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.dash-lightbox.is-active {
  display: flex;
}

.dash-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, .8);
  backdrop-filter: blur(8px);
}

.dash-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: min(88vh, 900px);
  background: rgba(9, 17, 35, .96);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(123, 175, 212, .35);
  box-shadow: 0 28px 60px rgba(2, 9, 22, .55);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.dash-lightbox__content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.dash-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(9, 17, 35, .85);
  color: var(--muted);
  cursor: pointer;
}

.dash-lightbox__close::before,
.dash-lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.dash-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.dash-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.dash-lightbox__close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .35);
}

.dash-lightbox__caption {
  display: none;
  color: var(--muted);
}

@media (max-width: 768px) {
  .dash-showcase {
    grid-template-columns: 1fr;
  }

  .dash-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: .3rem;
    -webkit-overflow-scrolling: touch;
  }

  .dash-tab {
    border-left: none;
    border-bottom: 2px solid transparent;
    width: auto;
  }

  .dash-tab.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--brand);
  }

  .dash-gallery {
    grid-template-columns: 1fr;
  }

  .dash-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dash-item {
    padding: .85rem;
  }

  .dash-lightbox__content {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .dash-lightbox__close {
    top: .6rem;
    right: .6rem;
  }
}

/* Pricing */
.job-grid {
  display: grid;
  gap: 1.5rem;
}

.pricing-nav {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.pricing-arrow {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(123, 175, 212, .3);
  background: rgba(6, 13, 30, .72);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.pricing-arrow:hover {
  background: rgba(123, 175, 212, .18);
  border-color: var(--brand);
}

.pricing-nav__label {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}

@keyframes pricingFromRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pricingFromLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .pricing-wrap {
    position: relative;
  }

  .pricing-nav {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    justify-content: space-between;
    align-items: center;
    padding: 0 .5rem;
    pointer-events: none;
  }

  .pricing-arrow {
    pointer-events: all;
  }

  .pricing-nav__label {
    display: none;
  }

  #pricing-track.is-slider {
    position: relative;
    overflow: hidden;
  }

  #pricing-track.is-slider .job {
    display: none;
  }

  #pricing-track.is-slider .job.is-active {
    display: grid;
    animation: pricingFromRight .3s ease;
  }

  #pricing-track.is-slider .job.is-active.from-left {
    animation: pricingFromLeft .3s ease;
  }
}

.job-grid .job {
  background: rgba(14, 25, 47, .75);
  border: 1px solid rgba(123, 175, 212, .25);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: 0 20px 40px rgba(3, 9, 25, .35);
  display: grid;
  gap: .8rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: .82rem;
}


/* Forms */
.form {
  display: grid;
  gap: 1.2rem;
  background: rgba(12, 22, 45, .78);
  border: 1px solid rgba(123, 175, 212, .25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(2, 8, 21, .45);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .9rem;
}

.input,
select,
textarea {
  width: 100%;
  padding: .75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  transition: border .2s ease, box-shadow .2s ease;
}

select {
  background: var(--grad-c);
  color: var(--muted);
  appearance: auto;
}

select option {
  background: var(--grad-b);
  color: var(--text);
}

.input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(123, 175, 212, .25);
  outline: none;
}

/* Footer */
.footer-legal {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal__sep {
  color: var(--muted);
}

.footer {
  text-align: center;
  padding: 2rem 0;
  color: #cfd8e3;
  background: rgba(5, 10, 22, .82);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Anchors offset for fixed nav */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-stacks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero-body,
  .about-layout,
  .features-layout,
  .voice-layout,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .hero-body aside {
    order: -1;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero-checklist li {
    padding-left: 1.6rem;
  }

  .hero-checklist li::before {
    left: .7rem;
  }

  .list-columns {
    columns: 1;
  }

  .demo-card__header,
  .chat-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .assistant-frame {
    height: 280px;
  }


  .controls {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* -----------------------------------------------------
   Mobile & Tablet responsive improvements
   ----------------------------------------------------- */

/* Nav: compress on very small phones */
@media (max-width: 480px) {
  .nav-inner {
    padding-inline: .9rem;
    gap: .3rem;
  }

  .nav-apply {
    font-size: .8rem;
    padding: .38rem .6rem;
    letter-spacing: 0;
  }
}

/* Hero: cap image height so it doesn't dominate on mobile */
@media (max-width: 960px) {
  .hero-body {
    min-height: auto;
  }

  .hero-panel--image {
    max-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
  }

  .hero-dashboard-img {
    height: 280px;
    object-fit: cover;
    object-position: top center;
  }
}

@media (max-width: 768px) {
  /* Justify paragraph descriptions across all sections */
  .section-intro p,
  .hero-text p,

  #dashboard > .container > p {
    text-align: justify;
    hyphens: auto;
  }

  /* Center all hero text on mobile */
  .hero-head,
  .hero-text {
    text-align: center;
    align-items: center;
  }

  .hero-pill-group,
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  /* Image fills full container width */
  .hero-panel--image {
    width: 100%;
    max-height: none;
    border-radius: var(--radius-lg);
  }

  .hero-dashboard-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 540px) {
  .hero-panel--image {
    max-height: 200px;
  }

  .hero-dashboard-img {
    height: 200px;
  }
}

/* About: 2 cols on tablet, 1 on phone */
@media (min-width: 540px) and (max-width: 959px) {
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Scale spacing tokens down on mobile */
@media (max-width: 768px) {
  :root {
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.625rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
  }
}

/* Section intros: center on mobile when columns stack */
@media (max-width: 960px) {
  .section-intro {
    text-align: center;
    align-items: center;
  }

  .section-intro > .btn {
    justify-self: center;
  }

}

/* Chat AI: fix mobile layout */
@media (max-width: 768px) {
  /* Chips wrap on mobile instead of overflowing */
  .feature-chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Center chat intro and buttons */
  .chat-intro {
    text-align: center;
    align-items: center;
  }

  .chat-btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-btn-group .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Voice AI: reduce iframe height on mobile */
@media (max-width: 768px) {
  .demo-card {
    padding: 1.3rem;
    gap: 1rem;
  }

  .assistant-frame {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .assistant-frame {
    height: 220px;
  }
}

/* Dashboard: better mobile experience */
@media (max-width: 768px) {
  #dashboard .container {
    padding-inline: 1.4rem;
  }

  .dash-stage {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .dash-tab {
    min-width: 115px;
    padding: .55rem .7rem;
    flex-shrink: 0;
  }
}




/* Pricing: tighter padding on mobile cards */
@media (max-width: 540px) {
  .job-grid .job {
    padding: 1rem;
  }

  .stack-card {
    padding: 1.2rem;
  }

  .feature-card {
    padding: 1.1rem;
  }
}

/* Footer: compact on mobile */
@media (max-width: 540px) {
  .footer {
    padding: 1.4rem 0;
    font-size: .88rem;
  }
}

/* Chat card: tighter on mobile */
@media (max-width: 540px) {
  .chat-card {
    padding: 1.3rem;
  }
}

/* Section title in dashboard: smaller on mobile */
@media (max-width: 540px) {
  #dashboard h2 {
    font-size: clamp(22px, 5vw, 28px);
  }
}

/* Callout (voice AI): tighter on mobile */
@media (max-width: 540px) {
  .callout {
    padding: 1rem 1.1rem;
  }
}

/* -----------------------------------------------------
   Admin manager styles
   ----------------------------------------------------- */

.admin-body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 8% -10%, rgba(123, 175, 212, 0.12), transparent 55%),
    linear-gradient(180deg, var(--grad-a) 0%, var(--grad-b) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  padding: 40px 24px 80px;
}

.manager-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 32px;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.manager-shell.is-locked {
  display: none;
}

.manager-login {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 13, 30, 0.76);
  backdrop-filter: blur(14px);
  z-index: 1200;
}

.manager-login.is-visible {
  display: flex;
}

.manager-login__panel {
  width: min(420px, 100%);
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manager-login__header h1 {
  margin: 0;
  font-size: clamp(26px, 5vw, 32px);
}

.manager-login__header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.manager-login__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.manager-login__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.manager-login__field input {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 25, 40, 0.6);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.manager-login__field input:focus {
  border-color: rgba(98, 193, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(98, 193, 255, 0.2);
}

.manager-login__error {
  min-height: 20px;
  color: #ffb3b3;
  font-weight: 600;
  margin: 0;
}

.manager-login__submit {
  width: 100%;
}

@media (max-width: 540px) {
  .admin-body {
    padding: 32px 20px 56px;
  }

  .manager-login__panel {
    padding: 24px;
    gap: 20px;
  }
}

.manager-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manager-header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
}

.manager-header p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.manager-header__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.manager-status {
  min-height: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.manager-status.is-success {
  color: #88e5b6;
}

.manager-status.is-error {
  color: #ffb3b3;
}

.manager-toast {
  position: fixed;
  inset: auto 32px 32px auto;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}

.manager-toast.is-success {
  border-color: rgba(136, 229, 182, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.manager-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.manager-toast.is-muted {
  display: none;
}

.manager-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.manager-section {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.manager-section h2 {
  margin: 0;
  font-size: 1.25rem;
}

.manager-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.manager-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manager-field--nested {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.manager-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.manager-field input,
.manager-field textarea,
.manager-input {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.manager-field textarea {
  min-height: 96px;
  resize: vertical;
}

.manager-input {
  min-height: auto;
}

.manager-field input:focus,
.manager-field textarea:focus,
.manager-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(123, 175, 212, 0.4);
}

.manager-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.manager-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.manager-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.manager-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  color: var(--muted);
}

.manager-collection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.manager-collection__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.manager-collection__item--repeater {
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.manager-collection__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-weight: 600;
  font-size: 0.95rem;
}

.manager-collection__body {
  display: grid;
  gap: 14px;
}

.manager-add,
.manager-remove {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.manager-add:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.manager-remove {
  color: #ffb7b7;
  border-color: rgba(255, 183, 183, 0.4);
}

.manager-remove:hover {
  border-color: #ffb7b7;
  color: #ffc5c5;
}

.manager-footer {
  display: flex;
  justify-content: flex-end;
}

.manager-footer .btn {
  min-width: 160px;
}

@media (max-width: 840px) {
  .manager-shell {
    padding: 24px;
  }

  .manager-collection__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .admin-body {
    padding: 32px 16px 64px;
  }

  .manager-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .manager-header__actions .btn {
    width: 100%;
    text-align: center;
  }

  .manager-footer {
    justify-content: stretch;
  }

  .manager-footer .btn {
    width: 100%;
  }
}

/* =====================================================
   NEW PRICING SECTION
   ===================================================== */

.pricing-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.pricing-header h2 {
  margin-bottom: 0.75rem;
}

.pricing-subheadline {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Main card --- */
.pricing-main-card {
  background: linear-gradient(135deg, rgba(19, 84, 230, 0.12), rgba(123, 175, 212, 0.06));
  border: 1px solid rgba(123, 175, 212, 0.45);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 32px 80px rgba(3, 9, 25, 0.5), 0 0 0 1px rgba(123, 175, 212, 0.1);
  margin-bottom: 1.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.pricing-main-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pricing-plan-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
  justify-self: center;
}

.pricing-price-block {
  margin-bottom: 0.4rem;
}

.pricing-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.pricing-price-big {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.pricing-price-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-price-sep {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  justify-self: center;
}

.pricing-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
  border-top: 1px solid rgba(123, 175, 212, 0.15);
  border-bottom: 1px solid rgba(123, 175, 212, 0.15);
  padding: 1.5rem 0;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.pricing-features-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8' stroke='%237bafd4' stroke-width='1.5'/%3E%3Cpath d='M5.5 9l2.5 2.5 4.5-4.5' stroke='%237bafd4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-main-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.pricing-main-card__cta .btn {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.pricing-scarcity {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.pricing-bold-note {
  font-size: 0.9rem;
  color: var(--brand);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 480px;
}

/* --- Secondary row (addon + agency side by side) --- */
.pricing-secondary-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-secondary-row > * {
  flex: 1;
  min-width: 0;
}

/* --- Add-on card --- */
.pricing-addon-card {
  background: rgba(14, 25, 47, 0.65);
  border: 1px solid rgba(123, 175, 212, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
}

.pricing-addon-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-addon-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.pricing-addon-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0;
}

.pricing-addon-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(123, 175, 212, 0.12);
  border: 1px solid rgba(123, 175, 212, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-addon-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.pricing-addon-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.pricing-addon-list li::before {
  content: '-';
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-addon-note {
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.7;
  margin: 0;
}

/* --- Agency card --- */
.pricing-agency-card {
  background: rgba(9, 15, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
}

.pricing-agency-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-agency-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
}

.pricing-agency-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
  max-width: 540px;
}

.pricing-agency-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  flex-direction: column;
}

.pricing-agency-list li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-agency-list li::before {
  content: '·';
  color: var(--brand);
  font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .pricing-features-list {
    grid-template-columns: 1fr;
  }

  .pricing-agency-card__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-agency-card__inner .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .pricing-secondary-row {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .pricing-main-card {
    padding: 1.5rem;
  }

  .pricing-addon-card,
  .pricing-agency-card {
    padding: 1.2rem;
  }

  .pricing-addon-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-price-big {
    font-size: 1.8rem;
  }
}

/* =====================================================
   CONTACT / FORM SECTION
   ===================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-intro h2 {
  margin: 0 0 0.85rem;
  font-size: 2rem;
  line-height: 1.25;
}

.contact-subtext {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.contact-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-trust svg {
  flex-shrink: 0;
}

/* Form fields */
.contact-form {
  background: rgba(12, 22, 45, .78);
  border: 1px solid rgba(123, 175, 212, .25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(2, 8, 21, .45);
  display: grid;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-label-optional {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.input--textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.form-consent {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.consent-checkbox {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-heading {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.consent-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--fg);
}

.consent-legal {
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(123, 175, 212, .12);
}

.consent-legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-legal a:hover {
  color: #fff;
}

.form-error-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(220, 60, 60, .12);
  border: 1px solid rgba(220, 60, 60, .4);
  color: #f87171;
  font-size: 0.82rem;
  line-height: 1.4;
}

.input.is-error {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, .2);
}

.consent-checkbox.is-error {
  outline: 2px solid #f87171;
  outline-offset: 2px;
  border-radius: 2px;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.form-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.contact-submit-btn {
  width: 100%;
}

/* Success state */
.form-success[hidden] {
  display: none;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(123, 175, 212, 0.08);
  border: 1px solid rgba(123, 175, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.form-success svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.form-success p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-intro h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 540px) {
  .contact-form {
    padding: 1.4rem;
  }
}

/* Booking success state + calendar (shown after form submit) */
.booking-calendar[hidden],
.booking-success[hidden] {
  display: none;
}

.booking-success {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-success__cta {
  display: flex;
  justify-content: flex-start;
}

.booking-calendar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.booking-calendar__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(123, 175, 212, 0.08);
  border: 1px solid rgba(123, 175, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.booking-calendar__header svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-calendar__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
}

.booking-calendar__subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.booking-prefill-hint {
  background: rgba(123, 175, 212, 0.08);
  border: 1px solid rgba(123, 175, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-prefill-hint__label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-prefill-hint__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.booking-prefill-hint__field {
  font-size: 0.88rem;
  color: var(--text);
}

.booking-prefill-hint__field strong {
  color: var(--muted);
  font-weight: 600;
}

.booking-calendar__frame {
  border-radius: var(--radius-lg);
  overflow: visible;
  background: #fff;
}

.booking-calendar__frame iframe {
  display: block;
  width: 100%;
  height: 1000px;
  border: none;
  transition: height 0.2s ease;
}

/* Right panel wrapper — form and calendar occupy the same cell */
.contact-right-panel {
  position: relative;
}

/* Ensure hidden overrides display: grid on the form */
.contact-form[hidden] {
  display: none;
}

/* Move reCAPTCHA badge to bottom-left to avoid overlap with chat widget */
.grecaptcha-badge {
  left: 14px !important;
  right: auto !important;
}
