/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.nav.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-teal);
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.4);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-teal);
  color: white;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-out);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
  color: white;
}

/* Mobile menu toggle */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease-out),
              opacity var(--duration-fast);
}

.nav__burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 247, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease-out);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink);
}

.nav__mobile a:hover {
  color: var(--teal);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
}


/* ═══════════════════════════════════════════
   HERO — Visual Flow Diagram
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--cream);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--warm-white);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero__title {
  font-size: clamp(2.5rem, 5vw, var(--text-6xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto var(--space-2xl);
}

/* ─── Hero Visual Flow Diagram ─── */
.hero__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-3xl) auto;
  max-width: 1000px;
  padding: 0 var(--space-md);
}

/* Chat Input Card */
.hero__chat-input {
  flex: 0 0 320px;
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.hero__chat-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  background: var(--warm-gray-50);
  border-bottom: 1px solid var(--border-light);
}

.hero__chat-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__chat-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.hero__chat-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.hero__chat-mic {
  margin-left: auto;
  opacity: 0.7;
}

.hero__chat-body {
  padding: var(--space-lg);
}

.hero__chat-bubble {
  background: #DCF8C6;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1.5;
  position: relative;
}

.hero__chat-bubble::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left-color: #DCF8C6;
  border-bottom-color: #DCF8C6;
}

.hero__chat-time {
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: right;
  margin-top: 4px;
}

/* Hero Voice Message */
.hero__voice-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #DCF8C6;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  margin-top: var(--space-md);
}

.hero__voice-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__voice-play svg {
  margin-left: 2px;
}

.hero__voice-svg {
  flex: 1;
  height: 24px;
  display: block;
}

.hero__voice-dur {
  font-size: 11px;
  font-weight: 600;
  color: #5CB85C;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Flow Arrow */
.hero__flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.hero__flow-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-teal);
  border-radius: 2px;
  position: relative;
}

.hero__flow-line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left-color: var(--teal-light);
}

.hero__flow-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* AI Core Node */
.hero__ai-core {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-teal), 0 0 40px rgba(13, 148, 136, 0.2);
  position: relative;
}

.hero__ai-core::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(13, 148, 136, 0.3);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__ai-icon {
  font-size: 32px;
}

.hero__ai-label {
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* Result Cards Stack */
.hero__results {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero__result-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.hero__result-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.hero__result-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hero__result-icon--calendar {
  background: var(--info-muted);
}

.hero__result-icon--task {
  background: var(--success-muted);
}

.hero__result-icon--reply {
  background: var(--teal-muted);
}

.hero__result-content {
  flex: 1;
  min-width: 0;
}

.hero__result-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.hero__result-text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.hero__result-check svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
}

/* Hero CTA */
.hero__cta {
  margin-top: var(--space-3xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-teal);
  color: white;
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration) var(--ease-out);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
  color: white;
}

.btn-primary svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--teal-subtle);
  color: var(--teal-dark);
}

/* Hero Mobile Responsive */
@media (max-width: 960px) {
  .hero__flow {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero__chat-input,
  .hero__results {
    flex: 0 0 auto;
    width: 100%;
    max-width: 360px;
  }

  .hero__flow-arrow {
    transform: rotate(90deg);
  }

  .hero__flow-line {
    width: 40px;
  }
}

@media (max-width: 480px) {
  .hero__chat-input,
  .hero__results {
    max-width: 100%;
  }

  .hero__ai-core {
    width: 80px;
    height: 80px;
  }

  .hero__ai-icon {
    font-size: 24px;
  }
}


/* ═══════════════════════════════════════════
   CHAT DEMOS (See It In Action)
   ═══════════════════════════════════════════ */

.demos {
  background: var(--warm-gray-50);
}

.demos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.demo {
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.demo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.demo__header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  background: var(--warm-gray-50);
}

.demo__header svg {
  flex-shrink: 0;
}

.demo__header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.demo__chat {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 200px;
}

.chat-msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--teal);
  color: white;
  border-bottom-right-radius: 6px;
}

.chat-msg--ai {
  align-self: flex-start;
  background: var(--warm-gray-100);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.demo__label {
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  font-size: var(--text-xs);
  color: var(--teal);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--teal-subtle);
}

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


/* ─── Voice Note Demo ─── */

.demo--voice {
  grid-column: 1 / -1;
}

.demo--voice .demo__header {
  background: linear-gradient(135deg, var(--warm-gray-50) 0%, rgba(37, 211, 102, 0.05) 100%);
}

.demo--voice .demo__chat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.demo--voice .chat-msg {
  max-width: 100%;
  align-self: auto;
}

@media (max-width: 768px) {
  .demo--voice .demo__chat {
    grid-template-columns: 1fr;
  }
}

.chat-msg--voice {
  background: transparent !important;
  padding: 0 !important;
}

.voice-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 20px;
  background: var(--teal);
}

.voice-note__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.voice-note__icon svg {
  stroke: white;
}

.voice-note__wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 24px;
  padding: 0 4px;
}

.voice-note__wave span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  animation: voice-wave 1.2s ease-in-out infinite alternate;
}

.voice-note__wave span:nth-child(1)  { height: 6px;  animation-delay: 0s; }
.voice-note__wave span:nth-child(2)  { height: 12px; animation-delay: 0.05s; }
.voice-note__wave span:nth-child(3)  { height: 18px; animation-delay: 0.1s; }
.voice-note__wave span:nth-child(4)  { height: 10px; animation-delay: 0.15s; }
.voice-note__wave span:nth-child(5)  { height: 20px; animation-delay: 0.2s; }
.voice-note__wave span:nth-child(6)  { height: 14px; animation-delay: 0.25s; }
.voice-note__wave span:nth-child(7)  { height: 8px;  animation-delay: 0.3s; }
.voice-note__wave span:nth-child(8)  { height: 16px; animation-delay: 0.35s; }
.voice-note__wave span:nth-child(9)  { height: 22px; animation-delay: 0.4s; }
.voice-note__wave span:nth-child(10) { height: 12px; animation-delay: 0.45s; }
.voice-note__wave span:nth-child(11) { height: 18px; animation-delay: 0.5s; }
.voice-note__wave span:nth-child(12) { height: 8px;  animation-delay: 0.55s; }
.voice-note__wave span:nth-child(13) { height: 14px; animation-delay: 0.6s; }
.voice-note__wave span:nth-child(14) { height: 20px; animation-delay: 0.65s; }
.voice-note__wave span:nth-child(15) { height: 10px; animation-delay: 0.7s; }
.voice-note__wave span:nth-child(16) { height: 6px;  animation-delay: 0.75s; }

@keyframes voice-wave {
  0%   { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.voice-note__duration {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}


/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

/* Connecting line */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: var(--gradient-teal);
  opacity: 0.3;
  border-radius: 1px;
}

.step {
  text-align: center;
  position: relative;
}

.step__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.step:hover .step__icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step__icon svg {
  stroke: var(--teal);
}

.step__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 28ch;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .how-it-works__steps::before {
    display: none;
  }
}


/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */

.features {
  background: var(--warm-gray-50);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.feature-card {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--teal-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-card__icon svg {
  stroke: var(--teal);
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 600px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════
   ARCHITECTURE (Simplified)
   ═══════════════════════════════════════════ */

.arch {
  overflow: hidden;
}

.simple-arch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
}

.simple-arch__block {
  text-align: center;
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  min-width: 180px;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.simple-arch__block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.simple-arch__block--highlight {
  border-color: var(--teal);
  background: linear-gradient(180deg, var(--teal-subtle) 0%, var(--warm-white) 100%);
}

.simple-arch__block-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}

.simple-arch__block-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.simple-arch__block--highlight .simple-arch__block-title {
  color: var(--teal);
}

.simple-arch__block-sub {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.simple-arch__arrow {
  color: var(--teal);
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .simple-arch {
    flex-direction: column;
  }
  .simple-arch__arrow {
    transform: rotate(90deg);
  }
}


/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */

.pricing {
  background: var(--warm-gray-50);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  align-items: stretch;
}

.pricing-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  background: var(--warm-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}

.pricing-card--popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-teal);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--gradient-teal);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pricing-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.pricing-card__amount {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--ink);
  flex-wrap: wrap;
}

.pricing-card__feature .brand-icons-row {
  display: inline-flex;
}

.pricing-card__check {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: var(--text-base);
}

.pricing-card__cta {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration) var(--ease-out);
  text-align: center;
  text-decoration: none;
  display: block;
}

.pricing-card__cta--primary {
  background: var(--gradient-teal);
  color: white;
}

.pricing-card__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
  color: white;
}

.pricing-card__cta--outline {
  border: 1px solid var(--border-strong);
  color: var(--ink);
}

.pricing-card__cta--outline:hover {
  border-color: var(--teal);
  background: var(--teal-subtle);
  color: var(--teal-dark);
}

@media (max-width: 960px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ═══════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════ */

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.use-case {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.use-case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.use-case__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--teal-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.use-case__icon svg {
  stroke: var(--teal);
}

.use-case__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.use-case__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

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


/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */

.faq {
  background: var(--warm-gray-50);
}

.faq__list {
  max-width: 720px;
  margin: var(--space-3xl) auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--border-light);
}

.faq__question {
  width: 100%;
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  cursor: pointer;
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--duration-fast) var(--ease-out);
}

.faq__question:hover {
  color: var(--teal);
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 14px;
}

.faq__item.open .faq__icon::after {
  transform: rotate(90deg);
}

.faq__item.open .faq__icon::before,
.faq__item.open .faq__icon::after {
  background: var(--teal);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease-out);
}

.faq__answer-inner {
  padding-bottom: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 60ch;
}

.faq__item.open .faq__answer {
  max-height: 400px;
}


/* ═══════════════════════════════════════════
   CTA / WAITLIST
   ═══════════════════════════════════════════ */

.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-gray-50) 100%);
}

.cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, var(--teal-subtle) 0%, transparent 70%);
  pointer-events: none;
}

.cta .section-title,
.cta .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.cta__form {
  display: flex;
  max-width: 480px;
  margin: var(--space-2xl) auto 0;
  gap: var(--space-sm);
}

.cta__input {
  flex: 1;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--warm-white);
  color: var(--ink);
  font-size: var(--text-base);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.cta__input::placeholder {
  color: var(--text-tertiary);
}

.cta__input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-muted);
}

.cta__submit {
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-teal);
  color: white;
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration) var(--ease-out);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.cta__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.cta__note {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-md);
}

.cta__success {
  display: none;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--teal);
  background: var(--teal-subtle);
  color: var(--teal-dark);
  font-weight: 600;
}

.cta__success.visible {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out);
}

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

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


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-light);
  background: var(--cream);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__col a:hover {
  color: var(--teal);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

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

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.footer__social:hover {
  border-color: var(--teal);
  color: var(--teal);
}


/* ═══════════════════════════════════════════
   BRAND ICONS
   ═══════════════════════════════════════════ */

/* Brand icon base styles */
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon svg {
  display: block;
}

/* Small badge-size icons (16-20px) */
.brand-icon--sm {
  width: 18px;
  height: 18px;
}

.brand-icon--sm svg {
  width: 18px;
  height: 18px;
}

/* Medium icons (20-24px) */
.brand-icon--md {
  width: 22px;
  height: 22px;
}

.brand-icon--md svg {
  width: 22px;
  height: 22px;
}

/* Large icons (28-32px) */
.brand-icon--lg {
  width: 28px;
  height: 28px;
}

.brand-icon--lg svg {
  width: 28px;
  height: 28px;
}

/* Brand icon row for showcasing integrations */
.brand-icons-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.brand-icons-row--compact {
  gap: var(--space-sm);
}

.brand-icons-row--centered {
  justify-content: center;
}


/* ═══════════════════════════════════════════
   INTEGRATIONS STRIP
   ═══════════════════════════════════════════ */

.integrations-strip {
  background: var(--warm-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.integrations-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.integrations-strip__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.integrations-strip__icons {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.integrations-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.integrations-strip__item:hover {
  color: var(--ink);
}

.integrations-strip__item svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .integrations-strip__inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .integrations-strip__icons {
    gap: var(--space-lg);
  }
}
