/* ScaleDM — AI Agent Connector & Instagram Automation Platform (Pristine Light Mode) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #0084ff;
  --primary-hover: #0073e6;
  --primary-light: #e0f2fe;
  --primary-dark: #0056b3;
  --secondary: #1d9bf0;
  --accent-cyan: #0284c7;
  --accent-purple: #7c3aed;
  --accent-pink: #e1306c;

  /* Pure Light Mode Color System */
  --bg-body: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --border-highlight: rgba(0, 132, 255, 0.35);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 12px 40px rgba(0, 132, 255, 0.12);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 74px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-body);
  color: var(--text-primary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
}

/* Subtle, Soft Ambient Lighting for Light Mode */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
}

.bg-orb--1 {
  top: -15%;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.8) 0%, rgba(224, 242, 254, 0.3) 60%, transparent 80%);
}

.bg-orb--2 {
  top: 35%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.7) 0%, rgba(241, 245, 249, 0.4) 65%, transparent 80%);
}

.bg-orb--3 {
  bottom: 0%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.7) 0%, transparent 75%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 860px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 132, 255, 0.3));
}

.nav-logo-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #e0f2fe;
  color: #0284c7;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0084ff 0%, #1d9bf0 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 132, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0073e6 0%, #0c87dc 100%);
  box-shadow: 0 6px 24px rgba(0, 132, 255, 0.45);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-1px);
}

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

/* Hero Section */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 70px;
  z-index: 1;
}

.hero-inner {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 132, 255, 0.08);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #0084ff 0%, #0284c7 60%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 34px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 14px 28px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.meta-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.meta-badge-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Integrations Trust Bar */
.trust-bar {
  padding: 30px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.trust-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #64748b;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.trust-logo-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Interactive Simulator Section */
.interactive-section {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}

.simulator-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 980px) {
  .simulator-wrapper {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.sim-controls-header {
  margin-bottom: 22px;
}

.sim-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.sim-controls-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.sim-controls-header p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.sim-features-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.sim-toggle-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.sim-toggle-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.sim-toggle-card.active {
  background: #f0f9ff;
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(0, 132, 255, 0.15);
}

.sim-toggle-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sim-toggle-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-toggle-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0284c7;
}

.sim-toggle-info p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.sim-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.quick-chip {
  padding: 6px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-chip:hover {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: var(--primary);
}

.sim-status-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

.sim-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #059669;
  font-weight: 700;
}

.sim-status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

/* Phone Screen Mockup (Sleek Clean Instagram Light Mode) */
.mockup-phone {
  background: #ffffff;
  border-radius: 38px;
  border: 8px solid #0f172a;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  max-width: 410px;
  margin: 0 auto;
}

.mockup-notch {
  width: 120px;
  height: 20px;
  background: #0f172a;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin: 0 auto 4px;
}

.mockup-header {
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.mockup-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mockup-avatar img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.mockup-user-info h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-icon {
  color: #0084ff;
  font-size: 0.8rem;
}

.mockup-user-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-chat-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  min-height: 430px;
  max-height: 460px;
  overflow-y: auto;
}

.msg-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

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

.msg-incoming {
  align-self: flex-start;
  background: #f1f5f9;
  color: #1e293b;
  border-bottom-left-radius: 4px;
}

.msg-outgoing {
  align-self: flex-end;
  background: linear-gradient(135deg, #0084ff 0%, #1d9bf0 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 132, 255, 0.25);
}

.msg-meta-stamp {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 5px;
  display: block;
}

.msg-incoming .msg-meta-stamp {
  color: #94a3b8;
}

.mockup-comment-preview {
  background: #f8fafc;
  border-left: 3px solid #0084ff;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mockup-comment-preview .comment-header {
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.mockup-comment-preview .comment-reply {
  color: #0284c7;
  font-weight: 600;
  margin-top: 4px;
}

.msg-action-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
}

.msg-action-btn {
  display: block;
  text-align: center;
  background: #0084ff;
  color: #ffffff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  margin-top: 6px;
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast);
}

.msg-action-btn:hover {
  background: #0073e6;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 15px;
  background: #f1f5f9;
  border-radius: 18px;
  width: fit-content;
  border-bottom-left-radius: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.mockup-input-bar {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-input-field {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.86rem;
  color: var(--text-primary);
  outline: none;
}

.mockup-input-field:focus {
  border-color: var(--primary);
}

/* How It Works Section */
.how-it-works-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: all var(--transition-fast);
}

.step-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid #bae6fd;
}

.step-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature Grid Section */
.features-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 1.6rem;
  box-shadow: 0 2px 8px rgba(0, 132, 255, 0.1);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feature-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 9px;
}

.feature-bullets li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Use Cases Section */
.use-cases-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.use-case-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all var(--transition-fast);
}

.use-case-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.use-case-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0284c7;
  display: inline-block;
  margin-bottom: 14px;
}

.use-case-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.use-case-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* AI Agent Connector Deep Dive */
.ai-agent-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.ai-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .ai-split-layout {
    grid-template-columns: 1fr;
  }
}

.ai-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 18px;
}

.ai-content p {
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.ai-feature-row {
  display: flex;
  gap: 14px;
}

.ai-feature-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
}

.ai-feature-row h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ai-feature-row p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Code Snippet Box (High-Contrast Slate) */
.code-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot--red { background: #ef4444; }
.code-dot--yellow { background: #eab308; }
.code-dot--green { background: #22c55e; }

.code-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
}

.code-body {
  padding: 22px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: #f1f5f9;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-function { color: #38bdf8; }
.code-string { color: #4ade80; }
.code-comment { color: #94a3b8; font-style: italic; }

/* Official Instagram API Section */
.compliance-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.compliance-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

@media (max-width: 880px) {
  .compliance-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.compliance-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.compliance-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.compliance-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compliance-badge-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.compliance-badge-card h5 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compliance-badge-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: #f8fafc;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-chevron {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  padding: 18px 22px;
  max-height: 300px;
}

/* Call to Action Section */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-xl);
  padding: 68px 36px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.cta-card p {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 20px;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 260px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.96rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.2);
}

.waitlist-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: #f8fafc;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-nav-groups {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 600px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Legal Pages (Privacy & Terms in Pure Light Mode) */
.legal-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  background: #f8fafc;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
}

.legal-card h1 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-effective {
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.legal-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.legal-card li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-highlight-box {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 24px 0;
}

.legal-highlight-box p {
  color: var(--text-primary);
  margin-bottom: 0;
  font-size: 0.96rem;
  font-weight: 500;
}

/* ==========================================================================
   Visual Showcase Sections (Reel-to-DM, Workflow Canvas, Multi-Channel)
   ========================================================================== */
.visual-showcase-section {
  padding: 88px 0;
  position: relative;
  background: #ffffff;
}

.visual-showcase-section.alt-bg {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.visual-card-wrapper {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.visual-card-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
}

.visual-card-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.showcase-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.showcase-highlight-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.showcase-highlight-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-sm);
}

.showcase-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.showcase-highlight-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.showcase-highlight-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================================
   ScaleDM vs. ManyChat Comparison Matrix
   ========================================================================== */
.comparison-section {
  padding: 96px 0;
  background: var(--bg-body);
  position: relative;
}

.comparison-table-wrapper {
  margin-top: 48px;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table thead th {
  background: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table thead th.col-scaledm {
  background: #f0f9ff;
  color: var(--primary);
  font-size: 1.15rem;
  border-bottom: 2px solid var(--primary);
}

.comparison-table thead th.col-scaledm .badge-best {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-left: 8px;
  vertical-align: middle;
}

.comparison-table tbody tr:hover td {
  background: #fafafa;
}

.comparison-table tbody tr:hover td.col-scaledm {
  background: #e0f2fe;
}

.comparison-table td.feature-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.98rem;
  width: 34%;
}

.comparison-table td.feature-title span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 3px;
}

.comparison-table td.col-scaledm {
  background: #f0f9ff;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.96rem;
  width: 36%;
  border-left: 1px solid #bae6fd;
  border-right: 1px solid #bae6fd;
}

.comparison-table td.col-manychat {
  color: var(--text-secondary);
  font-size: 0.93rem;
  width: 30%;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16a34a !important;
  font-weight: 800;
  margin-right: 6px;
  font-size: 1.05rem;
}

.cross-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dc2626 !important;
  font-weight: 800;
  margin-right: 6px;
  font-size: 1.05rem;
}

.warn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706 !important;
  font-weight: 800;
  margin-right: 6px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .visual-showcase-section {
    padding: 60px 0;
  }
  .visual-card-wrapper {
    padding: 10px;
    border-radius: var(--radius-lg);
  }
  .comparison-section {
    padding: 60px 0;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 14px 16px;
  }
}
