/* BASE & DESIGN TOKENS */
:root {
  /* Light Theme Default */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --text-primary: #1e1e24;
  --text-secondary: #5a5a66;
  --border-color: rgba(0, 0, 0, 0.08);
  
  --accent-base: #5BA4F5;
  --accent-glow: rgba(91, 164, 245, 0.4);
  --accent-gradient: linear-gradient(135deg, #4A93E4, #5BA4F5);
  
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  
  --blob-1: rgba(91, 164, 245, 0.15);
  --blob-2: rgba(91, 164, 245, 0.15);
  --blob-3: rgba(14, 165, 233, 0.15);

  --success: #10b981;
  --warn: #ef4444;

  --nav-bg: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --border-color: rgba(255, 255, 255, 0.1);
  
  --accent-base: #5BA4F5;
  --accent-glow: rgba(91, 164, 245, 0.5);
  --accent-gradient: linear-gradient(135deg, #5BA4F5, #7BB8F7);
  
  --glass-bg: rgba(20, 20, 25, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  --blob-1: rgba(59, 130, 246, 0.3);
  --blob-2: rgba(96, 165, 250, 0.3);
  --blob-3: rgba(56, 189, 248, 0.3);

  --success: #34d399;
  --warn: #f87171;

  --nav-bg: rgba(10, 10, 12, 0.85);
}

/* RESET & TYPOGRAPHY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, .brand, .btn, .tier-name {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

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

/* UTILITIES */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--accent-base);
  font-weight: 600;
}

.highlight-warn {
  color: var(--warn);
  font-weight: 600;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 0.5rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.pill-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background: var(--border-color);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* THEME TOGGLE */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.05);
}

.toggle-thumb {
  width: 20px;
  height: 20px;
  background: var(--accent-base);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

[data-theme="dark"] .toggle-thumb {
  transform: translateX(30px);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand span {
  color: var(--accent-base);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-login {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* MOBILE HAMBURGER (hidden by default, shown at <=900px) */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.25rem;
}

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100%;
  background: var(--card-bg, #fff);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-overlay.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-links a:hover {
  background: var(--glass-border);
  color: var(--text-primary);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.8;
  animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
  top: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--blob-1);
}

.blob-2 {
  top: 40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: var(--blob-2);
  animation-delay: -5s;
}

.blob-3 {
  bottom: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: var(--blob-3);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--accent-base);
  color: var(--accent-base);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

/* HERO MOCKUP */
.hero-mockup-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
  z-index: 10;
}

.glass-mockup {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--glass-border);
  transform: rotateX(10deg) translateY(20px);
  animation: float-mockup 6s infinite ease-in-out;
}

.hero-dashboard-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--glass-border);
  transform: rotateX(5deg) translateY(0);
  animation: float-mockup 6s infinite ease-in-out;
}

.hero-dashboard-img img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes float-mockup {
  0%, 100% { transform: rotateX(5deg) translateY(0); }
  50% { transform: rotateX(5deg) translateY(-15px); }
}

.mockup-header {
  padding: 1rem;
  background: rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

[data-theme="dark"] .mockup-header {
  background: rgba(255,255,255,0.02);
}

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

.mac-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: monospace;
  margin: 0 auto;
  transform: translateX(-20px);
}

.mockup-body {
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chat-row {
  display: flex;
  gap: 1rem;
  max-width: 80%;
}

.chat-row.bot {
  align-self: flex-start;
}

.chat-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-row.bot .message {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.chat-row.user .message {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.message {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* SOCIAL PROOF */
.social-proof {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  overflow: hidden;
  white-space: nowrap;
}

.proof-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  flex-wrap: wrap;
}

.proof-track .dot {
  color: var(--border-color);
}

/* TWO COL GRID (Problem & Sections) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lead-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.problem-icon {
  font-size: 1.5rem;
  background: var(--bg-secondary);
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.problem-text {
  font-size: 1.05rem;
  padding-top: 0.5rem;
}

.quote-block {
  padding: 1.5rem;
  border-left: 4px solid var(--accent-base);
  background: var(--bg-secondary);
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
}

/* AMNESIA VISUAL */
.amnesia-card {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.amnesia-header {
  font-weight: 600;
  color: var(--warn);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amnesia-header::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
}

.amnesia-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amnesia-content div {
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.blur-out div {
  filter: blur(4px);
  opacity: 0.4;
  transition: all 2s ease;
}

.amnesia-card:hover .blur-out div {
  filter: blur(0px);
  opacity: 0.8;
}

.amnesia-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  color: var(--warn);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
  pointer-events: none;
}

/* SOLUTION GRID */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2.5rem 2rem;
  text-align: left;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-base);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.solution-disclaimer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* TIMELINE (HOW IT WORKS) */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 0 15px var(--accent-glow);
  z-index: 2;
}

.timeline-content {
  padding: 2rem;
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.timeline-content p {
  color: var(--text-secondary);
  margin: 0;
}

/* FEATURES SECTION */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-text h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.feature-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Constrained images for Under the Hood section */
.hood-section-img {
  max-width: 450px;
  width: 100%;
  height: auto;
  display: block;
}

.feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.visual-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animations for features */
.node-network {
  background: radial-gradient(circle at center, var(--glass-border) 0%, transparent 70%);
}

.node {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--accent-base);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-base);
}

.connections {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.pulse { animation: pulse 2s infinite; }
.pulse.delay-1 { animation-delay: 0.5s; }
.pulse.delay-2 { animation-delay: 1s; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 30px var(--accent-base); }
  100% { transform: scale(1); opacity: 0.8; }
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.tool-icon {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 12px;
  font-weight: bold;
}

.tool-icon:hover {
  border-color: var(--accent-base);
  transform: scale(1.05);
}

.team-visual {
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.agent-card {
  padding: 1rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--accent-base);
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-glow);
  width: 80%;
  text-align: center;
}

.arrow-down {
  color: var(--accent-base);
  font-weight: bold;
}

/* PROOF */
.proof-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
}

.proof-card p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.proof-card strong {
  color: var(--text-primary);
}

.proof-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 1.25rem;
  font-weight: 600;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.pricing-card {
  padding: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.premium {
  border-color: var(--accent-base);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1rem;
}

.tier-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.tier-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 48px;
}

.tier-features {
  margin-bottom: 3rem;
  flex-grow: 1;
}

.tier-features li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-base);
  font-weight: bold;
}

.tier-features li strong {
  color: var(--text-primary);
}

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

/* AUDIENCE SECTION */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.audience-card {
  padding: 2.5rem;
  border-top: 4px solid var(--accent-base);
}

.audience-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.audience-card p {
  color: var(--text-secondary);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 1.5rem 2rem;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-base);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* BOTTOM CTA */
.cta-box {
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.blobs-small {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--blob-1) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* FOOTER */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

.footer .logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.footer .logo span {
  color: var(--accent-base);
}

.footer .tagline {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* SCROLL ANIMATIONS (UTILITIES) */
.hidden-onload {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

@keyframes fadeUpIn {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-left.show {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-right.show {
  opacity: 1;
  transform: translateX(0);
}

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

/* TABLES */
.packages-table-wrapper {
  overflow-x: auto;
  padding: 1rem;
}

.packages-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.packages-table th, .packages-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.packages-table th {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.packages-table td {
  color: var(--text-secondary);
}

.packages-table tr:last-child td {
  border-bottom: none;
}

/* LOGOS & INTEGRATIONS */
.models-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.logo-item, .integration-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: default;
}

.integration-item {
  padding: 1.5rem;
  justify-content: center;
}

.logo-item:hover, .integration-item:hover {
  color: var(--text-primary);
  transform: translateY(-5px);
}

.logo-item:hover .logo-icon, .integration-item:hover .logo-icon {
  background-color: var(--accent-base);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.logo-icon {
  width: 28px;
  height: 28px;
  background-color: var(--text-secondary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: all 0.3s ease;
}

.text-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.logo-item:hover .text-logo {
  color: var(--accent-base);
  text-shadow: 0 0 15px var(--accent-glow);
}

/* Specific Logo Masks */
.logo-claude { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/claude.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/claude.svg'); }
.logo-gemini { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/googlegemini.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/googlegemini.svg'); }
.logo-openai { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/openai.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/openai.svg'); }
.logo-google { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/google.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/google.svg'); }
.logo-hubspot { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/hubspot.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/hubspot.svg'); }
.logo-googleads { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/googleads.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/googleads.svg'); }
.logo-zapier { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/zapier.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/zapier.svg'); }
.logo-slack { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/slack.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/slack.svg'); }
.logo-salesforce { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/salesforce.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/salesforce.svg'); }
.logo-notion { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/notion.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/notion.svg'); }
.logo-github { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg'); }
.logo-meta { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/meta.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/meta.svg'); }
.logo-docusign { -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/docusign.svg'); mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/docusign.svg'); }

/* Utility Additions */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}
.pt-4 { padding-top: 2.5rem; }
.pb-4 { padding-bottom: 2.5rem; }

/* ═══════════════════════════════════════════════════════════════════════
   WHY MEMENTOCLOUD PAGE
   ═══════════════════════════════════════════════════════════════════════ */

/* Hero variant for /why page */
.why-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

/* Category distinction section */
.why-category {
  padding: 6rem 0;
}

/* Two-column layout */
.why-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.why-col {
  padding: 2rem;
}

.why-col h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.why-col p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.why-col ul {
  list-style: none;
  padding: 0;
}

.why-col ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.why-col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-base);
  font-weight: bold;
}

.why-col-highlight {
  border-color: var(--accent-base);
  box-shadow: 0 0 30px var(--accent-glow);
}

.why-metric {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.why-metric strong {
  color: var(--accent-base);
}

.section-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 1rem;
}

/* Differentiator sections */
.why-diff {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.why-diff-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.why-diff-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent-base);
  flex-shrink: 0;
}

.why-diff-title {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

.why-diff-num {
  color: var(--accent-base);
  margin-right: 0.25rem;
}

.why-diff-body {
  /* container for content within differentiator */
}

/* 4-column feature grid */
.why-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.why-feature-card {
  padding: 1.75rem;
}

.why-feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

.why-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-base);
}

/* Result callout */
.why-result {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-style: italic;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
}

/* List style for differentiators */
.why-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.why-list li {
  position: relative;
  padding: 1rem 0 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.why-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-base);
  font-weight: bold;
}

.why-list li:last-child {
  border-bottom: none;
}

/* Steps layout */
.why-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.why-step {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.why-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px var(--accent-glow);
}

.why-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Comparison section */
.why-comparison {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

/* Table highlight column */
.why-table-highlight {
  background: rgba(91, 164, 245, 0.08);
  color: var(--text-primary) !important;
  font-weight: 500;
}

th.why-table-highlight {
  color: var(--accent-base) !important;
  font-weight: 700;
}

/* Audience section */
.why-audience {
  padding: 6rem 0;
}

/* Case study section */
.why-case-study {
  padding: 6rem 0;
  text-align: center;
}

.why-case-highlight {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}

.why-case-highlight p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.why-case-highlight p:last-child {
  margin-bottom: 0;
}

/* Pricing on why page */
.why-pricing {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

/* CTA section */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   DOCS PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2rem 4rem;
  gap: 3rem;
  min-height: 100vh;
}

/* Sidebar */
.docs-sidebar {
  position: relative;
}

.docs-sidebar-inner {
  position: sticky;
  top: 6rem;
}

.docs-sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.docs-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.docs-sidebar-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}

.docs-sidebar-link:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.docs-sidebar-link.active {
  color: var(--accent-base);
  border-left-color: var(--accent-base);
  background: rgba(91, 164, 245, 0.06);
}

.docs-sidebar-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Content */
.docs-content {
  max-width: 800px;
  min-width: 0;
}

.docs-section {
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
}

.docs-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.docs-h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.docs-h2 {
  font-size: 2rem;
  letter-spacing: -0.3px;
  margin-bottom: 0.75rem;
}

.docs-h3 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.docs-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.docs-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.docs-content strong {
  color: var(--text-primary);
}

/* Steps */
.docs-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.docs-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  box-shadow: 0 0 10px var(--accent-glow);
}

.docs-step h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.docs-step p, .docs-step ul {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.docs-step li {
  margin-bottom: 0.35rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* Callout */
.docs-callout {
  padding: 1.25rem 1.5rem;
  background: rgba(91, 164, 245, 0.06);
  border-left: 3px solid var(--accent-base);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.docs-callout strong {
  color: var(--text-primary);
}

/* 2-col card grid */
.docs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.docs-card {
  padding: 1.5rem;
}

.docs-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.docs-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.docs-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-base);
}

/* List */
.docs-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.docs-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border-color);
}

.docs-list li:last-child {
  border-bottom: none;
}

.docs-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-base);
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════════════════
   AGENCY PACK PAGE
   ═══════════════════════════════════════════════════════════════════════ */

/* Problem section */
.agency-problem {
  padding: 6rem 0;
}

.agency-pain-list {
  list-style: none;
  padding: 0;
}

.agency-pain-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.75rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 1.05rem;
}

.agency-pain-list li:last-child {
  border-bottom: none;
}

.agency-pain-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--warn);
  font-weight: 700;
  font-size: 1.2rem;
}

.agency-callout {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  padding: 1.5rem;
}

/* Solution section */
.agency-solution {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

/* What's Included section */
.agency-included {
  padding: 6rem 0;
}

.agency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.agency-deliverable {
  padding: 2rem;
}

.agency-deliverable:hover {
  transform: translateY(-4px);
  border-color: var(--accent-base);
}

.agency-deliverable-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.agency-deliverable-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent-base);
}

.agency-deliverable-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--border-color);
  line-height: 1;
}

.agency-deliverable-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.agency-deliverable-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.agency-deliverable-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.agency-deliverable-body ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.agency-deliverable-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-base);
  font-weight: bold;
  font-size: 0.85rem;
}

.agency-deliverable-body ul li strong {
  color: var(--text-primary);
}

/* Pricing section */
.agency-pricing {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.agency-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Process section */
.agency-process {
  padding: 6rem 0;
}

/* Audience section */
.agency-audience {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ═══════════════════════════════════════════════════════════════════════ */

.legal-page {
  padding: 10rem 0 6rem;
}

.legal-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.legal-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-body h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.legal-body h2:first-child {
  border-top: none;
  padding-top: 0;
}

.legal-body h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-body p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.legal-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-body ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-base);
  font-weight: bold;
}

.legal-body strong {
  color: var(--text-primary);
}

.legal-body a {
  color: var(--accent-base);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.legal-body a:hover {
  opacity: 0.8;
}

.legal-body .packages-table-wrapper {
  margin: 1.5rem 0;
}

/* FAQ section wrapper */
.faq-section {
  padding: 6rem 0;
}

.faq-section .faq-item {
  margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .two-col-grid, .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-row.reverse {
    direction: ltr;
  }

  .timeline-item {
    padding-left: 0;
    padding-top: 60px;
  }
  
  .timeline-line {
    display: none;
  }
  
  .timeline-number {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-links {
    display: none !important;
  }

  .nav-actions {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .glass-mockup {
    max-width: 100%;
  }

  .packages-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .packages-table {
    min-width: 500px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Docs page responsive */
  .docs-layout {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .docs-sidebar {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
  }

  .docs-sidebar-inner {
    position: static;
  }

  .docs-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .docs-sidebar-link {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }

  .docs-sidebar-link.active {
    border-left-color: transparent;
    border-bottom-color: var(--accent-base);
  }

  .docs-grid-2 {
    grid-template-columns: 1fr;
  }

  .docs-h1 {
    font-size: 2rem;
  }

  /* Agency page responsive */
  .agency-grid {
    grid-template-columns: 1fr;
  }

  .agency-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .agency-process .why-steps {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Why page responsive */
  .why-two-col {
    grid-template-columns: 1fr;
  }

  .why-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .why-steps {
    grid-template-columns: 1fr;
  }

  .why-hero {
    padding: 8rem 0 4rem;
    min-height: auto;
  }

  .why-diff-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 600px) {
  .hero-buttons, .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .why-grid-4 {
    grid-template-columns: 1fr;
  }

  .agency-process .why-steps {
    grid-template-columns: 1fr !important;
  }

  /* Tighten padding for narrow screens */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .glass-panel,
  .agency-deliverable,
  .why-step {
    padding: 1.25rem;
  }

  .docs-layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .docs-callout {
    padding: 1rem 1.25rem;
  }

  .docs-h1 {
    font-size: 1.75rem;
  }
}
