/* ============================================
   AlertHamster - Public Website Styles
   Color Palette:
     Primary:    #E04832 (Warm Red)
     Secondary:  #F08C00 (Hamster Orange)
     Accent:     #F59E0B (Amber)
     Success:    #10B981 (Emerald)
     Danger:     #EF4444 (Red)
     Dark BG:    #1E2A3A (Warm Charcoal)
     Light BG:   #F8FAFC (Slate-50)
   Fonts: Raleway (headings), Inter (body)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #E04832;
  --primary-dark: #C93A25;
  --primary-light: #F5AEA4;
  --secondary: #F08C00;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --dark: #1E2A3A;
  --dark-2: #2D3B4D;
  --dark-3: #3D4F63;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --light: #F8FAFC;
  --light-2: #F1F5F9;
  --light-3: #E2E8F0;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.938rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 72, 50, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--primary);
  background: rgba(224, 72, 50, 0.06);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-block {
  width: 100%;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  height: 100px;
}

.site-header.scrolled {
  height: 72px;
  border-bottom-color: var(--light-3);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-img {
  height: 80px;
  width: auto;
}

.site-header.scrolled .logo-img {
  height: 56px;
}

.footer-brand .logo-img {
  height: 64px;
  filter: brightness(1.6) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
}

.logo-highlight {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

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

.main-nav > a::after,
.nav-dropdown > .nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
  border-radius: 1px;
}

.main-nav > a:hover::after,
.nav-dropdown:hover > .nav-dropdown-trigger::after {
  width: 100%;
}

/* Nav Dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

.nav-dropdown-trigger:hover {
  color: var(--primary);
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--light-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(4px);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-dropdown-menu a:hover {
  background: rgba(224, 72, 50, 0.06);
  color: var(--primary);
}

.nav-dropdown-menu a .nav-link-desc {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-light);
  margin-top: 2px;
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(224, 72, 50, 0.08);
  border: 1px solid rgba(224, 72, 50, 0.15);
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-trust > span {
  font-size: 0.813rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  gap: 24px;
}

.trust-logo {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--light-3);
  letter-spacing: 0.02em;
}

/* Hero Mascot */
.hero-mascot {
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(224, 72, 50, 0.15));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* CTA Mascot */
.cta-mascot {
  max-height: 200px;
  width: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

/* Section Mascot (use-case / about pages) */
.section-mascot {
  max-height: 360px;
  width: auto;
  filter: drop-shadow(0 12px 32px rgba(224, 72, 50, 0.12));
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--dark);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--gray-light);
  font-weight: 500;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.063rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 100px 0;
  background: var(--white);
}

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

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--light-3);
  background: var(--white);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--icon-color, var(--primary)) 10%, transparent);
  color: var(--icon-color, var(--primary));
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  padding: 100px 0;
  background: var(--light);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: rgba(224, 72, 50, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 100px;
  opacity: 0.5;
}

/* ---------- INTEGRATIONS ---------- */
.integrations {
  padding: 100px 0;
  background: var(--white);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--light-3);
  background: var(--white);
  transition: all 0.3s ease;
}

.integration-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.integration-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-card span {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--gray);
}

/* ---------- LIFECYCLE ---------- */
.lifecycle {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}

.lifecycle .section-tag {
  color: var(--primary-light);
}

.lifecycle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lifecycle-content p {
  color: var(--gray-light);
  font-size: 1.063rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.lifecycle h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.lifecycle-stages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lifecycle-stage {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stage-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.stage-indicator.triggered { background: var(--danger); box-shadow: 0 0 10px rgba(239,68,68,0.4); }
.stage-indicator.acknowledged { background: var(--accent); box-shadow: 0 0 10px rgba(245,158,11,0.4); }
.stage-indicator.resolved { background: var(--success); box-shadow: 0 0 10px rgba(16,185,129,0.4); }

.lifecycle-stage strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.lifecycle-stage span {
  font-size: 0.875rem;
  color: var(--gray-light);
}

/* Lifecycle flow visual */
.lifecycle-visual {
  display: flex;
  justify-content: center;
}

.lifecycle-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-node {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.938rem;
}

.flow-node svg {
  flex-shrink: 0;
}

.flow-node.triggered {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.flow-node.acknowledged {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FCD34D;
}

.flow-node.resolved {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  opacity: 0.6;
}

/* ---------- PRICING ---------- */
.pricing {
  padding: 100px 0;
  background: var(--light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--light-3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-xl);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

.pricing-price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--light-3);
}

.price-amount {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--dark);
}

.price-period {
  display: block;
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--dark-3);
}

.pricing-features li svg {
  flex-shrink: 0;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

.cta-inner h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-3);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-light);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.813rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.813rem;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ---------- ANIMATIONS (scroll reveal) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    min-width: auto;
  }

  .nav-dropdown-trigger svg {
    display: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--light-3);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lifecycle-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lifecycle h2 {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-inner h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.875rem;
  }

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

  .stat-number {
    font-size: 1.75rem;
  }

}

/* ---------- PAGE-SPECIFIC (Features, Pricing, About) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
  text-align: center;
}

.page-hero-mascot {
  max-height: 180px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.page-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About page */
.about-section {
  padding: 80px 0;
}

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

.about-section:nth-child(even) {
  background: var(--light);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-content p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.value-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--light-3);
  background: var(--white);
}

.value-card h3 {
  font-size: 1.125rem;
  margin: 16px 0 8px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-3);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 72, 50, 0.1);
}

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

/* ---------- USE CASE PAGES ---------- */
.use-case-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.use-case-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.use-case-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.use-case-hero p {
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.use-case-benefits {
  list-style: none;
}

.use-case-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.938rem;
  color: var(--dark-3);
}

.use-case-benefits li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Use cases overview cards */
.use-case-card {
  display: block;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-3);
  background: var(--white);
  transition: all 0.3s ease;
  text-align: center;
}

.use-case-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.use-case-card h3 {
  font-size: 1.25rem;
  margin: 20px 0 10px;
}

.use-case-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.use-case-card .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- CAREERS ---------- */
.job-card {
  padding: 28px 32px;
  border: 1px solid var(--light-3);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.job-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.job-title {
  font-size: 1.063rem;
  font-weight: 700;
}

.job-meta {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.job-meta span {
  font-size: 0.813rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- FAQ PAGE ---------- */
.faq-item {
  border-bottom: 1px solid var(--light-3);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 1.063rem;
  font-weight: 700;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-answer {
  color: var(--gray);
  font-size: 0.938rem;
  line-height: 1.7;
}

/* ---------- PARTNER PROGRAM ---------- */
.partner-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-tier {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-3);
  background: var(--white);
  text-align: center;
}

.partner-tier h3 {
  font-size: 1.25rem;
  margin: 16px 0 10px;
}

.partner-tier p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.partner-benefits {
  list-style: none;
  text-align: left;
}

.partner-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.813rem;
  color: var(--dark-3);
}

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 28px 0 8px;
  color: var(--dark-2);
}

.legal-content p {
  font-size: 0.938rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 16px 24px;
}

.legal-content li {
  font-size: 0.938rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

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

.legal-updated {
  font-size: 0.813rem;
  color: var(--gray-light);
  font-style: italic;
  margin-bottom: 32px;
}

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

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

  .page-hero h1 {
    font-size: 2rem;
  }

  .use-case-hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .use-case-hero h1 {
    font-size: 2rem;
  }

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

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-tiers {
    grid-template-columns: 1fr;
  }

  .hero-mascot {
    max-height: 320px;
  }

  .section-mascot {
    max-height: 260px;
  }

  .page-hero-mascot {
    max-height: 140px;
  }

  .cta-mascot {
    max-height: 160px;
  }
}
