/* ==========================================================================
   Timelier Public Website - Main Stylesheet
   Modern, High-Converting SaaS Marketing Design System
   Brand Colors: Timelier Blue (#3665C1) & Bell Accent (#7991D1)
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary: #3665C1;
  --primary-hover: #2a52a3;
  --primary-light: #eef4ff;
  --primary-border: #bfdbfe;
  --accent: #7991D1;
  --accent-light: #f1f5f9;

  /* Neutrals */
  --dark: #0f172a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Semantic */
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;

  /* Layout */
  --max-w: 1280px;
  --header-h: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.1), 0 4px 8px -4px rgb(0 0 0 / 0.06);
  --shadow-xl: 0 20px 35px -5px rgb(0 0 0 / 0.12), 0 8px 16px -6px rgb(0 0 0 / 0.08);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all var(--transition);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

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

.nav-item {
  position: relative;
}

.nav-item>a {
  color: var(--slate-700);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition);
}

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

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  min-width: 260px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 200;
  animation: dropdownFade 0.15s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

.nav-item:hover .dropdown-menu {
  display: flex;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
}

.dropdown-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dropdown-title {
  font-weight: 600;
  font-size: 0.88rem;
}

.dropdown-desc {
  font-size: 0.76rem;
  color: var(--slate-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-link {
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
}

.login-link:hover {
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-700) !important;
  border: 1px solid var(--slate-200);
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--slate-50);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:hover {
  color: var(--primary);
  background-color: var(--slate-100);
}

.hamburger-icon {
  display: block;
}

.hamburger-icon line {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-origin: center;
}

.mobile-toggle.is-active .line-top {
  transform: translateY(5px) rotate(45deg);
}

.mobile-toggle.is-active .line-mid {
  opacity: 0;
}

.mobile-toggle.is-active .line-bot {
  transform: translateY(-5px) rotate(-45deg);
}

/* Body scroll lock when mobile navigation is open */
body.mobile-nav-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: var(--header-h, 72px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 890;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: var(--header-h, 72px);
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-h, 72px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.25s ease;
  z-index: 895;
}

.mobile-menu-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-inner .nav-links {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  list-style: none;
}

.mobile-nav-inner .nav-item {
  width: 100%;
}

.mobile-nav-inner .nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-800);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-inner .nav-item > a:hover {
  background: var(--slate-50);
  color: var(--primary);
}

.mobile-chevron-icon {
  transition: transform 0.2s ease;
}

.mobile-chevron-icon.rotate-180 {
  transform: rotate(180deg);
}

.mobile-has-submenu .dropdown-menu {
  position: static !important;
  display: none;
  box-shadow: none !important;
  border: 1px solid var(--slate-200) !important;
  background: var(--slate-50) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.5rem !important;
  margin: 0.25rem 0 0.5rem !important;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  animation: none !important;
}

.mobile-has-submenu .dropdown-menu.is-open {
  display: flex !important;
}

.mobile-has-submenu .dropdown-link {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.mobile-actions-inner {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
}

.mobile-actions-inner .login-link {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  text-decoration: none;
}

.mobile-actions-inner .login-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--slate-50);
}

.mobile-actions-inner .btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #3665C1 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.micro-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hero Visual Mockup */
.hero-visual-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.mockup-header {
  background: #f1f5f9;
  border-bottom: 1px solid var(--slate-200);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.browser-nav-icons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--slate-400);
}

.browser-address-bar {
  flex: 1;
  max-width: 260px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--slate-600);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.browser-address-bar svg {
  color: var(--slate-400);
}

.browser-meta-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #15803d;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.event-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-900);
}

.event-details p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.event-status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #dcfce7;
  color: #15803d;
}

/* SMS Preview Bubble */
.sms-preview-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  position: relative;
}

.sms-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.sms-message {
  font-size: 0.88rem;
  color: var(--slate-800);
  line-height: 1.5;
}

.sms-segment-chip {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: #15803d;
  font-weight: 600;
  display: inline-block;
}

/* ==========================================================================
   Logo & Integration Bar
   ========================================================================== */
.integrations-bar {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--slate-200);
  background: var(--white);
  text-align: center;
}

.integrations-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.integrations-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.integration-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
}

.integration-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-bg {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

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

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.step-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  overflow: hidden;
}

.step-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition);
}

.step-card:hover .step-img {
  transform: scale(1.02);
}

.step-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Features Grid (6 Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}

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

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
}

.feature-box p {
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Use Cases Banner
   ========================================================================== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.usecase-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.usecase-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.usecase-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.usecase-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.usecase-link {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--slate-100);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.author-role {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Bottom Call to Action
   ========================================================================== */
.cta-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3665C1 100%);
  color: var(--white);
  text-align: center;
}

.cta-box {
  max-width: 720px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-box p {
  font-size: 1.15rem;
  color: #dbeafe;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.btn-white {
  background: var(--white);
  color: var(--primary) !important;
  font-weight: 700;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: var(--slate-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-col a {
  color: var(--slate-400);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-microcopy {
    justify-content: center;
  }

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

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

@media (max-width: 768px) {

  .nav-links,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

  .steps-grid,
  .features-grid,
  .testimonials-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ==========================================================================
   Inner Page Hero & Components (Phase 2 & Subpages)
   ========================================================================== */

/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--slate-600);
  text-decoration: none;
  transition: color var(--transition);
}

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

.breadcrumb span {
  color: var(--slate-900);
  font-weight: 500;
}

/* Page Hero */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
}

.page-hero.page-hero-left {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

.page-hero-left .page-subtitle {
  margin: 0;
}

/* Page Hero Two-Column Grid (for Email & SMS Landing Pages) */
.page-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  transition: transform var(--transition);
}

.hero-image-card:hover {
  transform: translateY(-4px);
}

.hero-landing-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: contain;
}

/* ==========================================================================
   Feature Split & Benefit Lists (Feature Landing Pages)
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

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

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

.feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.02rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.benefit-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Comparison Table Matrix
   ========================================================================== */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0 3rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: middle;
}

.comparison-table th {
  background: var(--slate-50);
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1rem;
}

/* Sticky First Column for Comparison Table */
.comparison-table th:first-child,
.comparison-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 2;
  border-right: 1px solid var(--slate-200);
}

.comparison-table th:first-child {
  background: var(--slate-50);
  z-index: 3;
}

.comparison-table tbody tr:hover td:first-child {
  background: var(--slate-50);
}

.comparison-table th:first-child::after,
.comparison-table td:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  bottom: 0;
  width: 6px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0));
}

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

.comparison-table tbody tr:hover td {
  background: var(--slate-50);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: #f0f7ff !important;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.comparison-table th.highlight {
  color: var(--primary);
  font-weight: 800;
}

.check-yes {
  color: #059669;
  font-weight: 700;
}

.check-no {
  color: var(--slate-400);
  font-weight: 500;
}

/* ==========================================================================
   Pricing Page Grid & Cards
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 3.5rem auto 4rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

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

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 24px -4px rgba(54, 101, 193, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.35rem;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-500);
}

.plan-discount {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.9rem;
}

.price-strikethrough {
  text-decoration: line-through;
  color: var(--slate-400);
  font-weight: 600;
}

.badge-save {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.plan-sub {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.plan-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #10b981;
}

.feature-note {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: normal;
}

/* ==========================================================================
   FAQ Grid
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.faq-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.faq-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

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

/* ==========================================================================
   Prose / Longform Articles (Legal & Comparisons & Guides)
   ========================================================================== */
.prose-content {
  max-width: 860px;
  margin: 3.5rem auto 5rem;
  line-height: 1.75;
  color: var(--slate-700);
  font-size: 1.05rem;
}

.prose-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
  line-height: 1.3;
}

.prose-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 2.25rem 0 0.85rem;
  line-height: 1.35;
}

.prose-content p {
  margin-bottom: 1.4rem;
}

.prose-content strong {
  color: var(--slate-900);
}

.prose-content ul,
.prose-content ol {
  margin: 1.25rem 0 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prose-content li {
  line-height: 1.65;
}

.prose-content a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ==========================================================================
   Responsive Overrides for Subpages
   ========================================================================== */
@media (max-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .page-hero-copy {
    align-items: center;
  }

  .feature-split,
  .feature-split.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

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

@media (max-width: 768px) {
  .page-title {
    font-size: 2.15rem;
  }

  .page-subtitle {
    font-size: 1.05rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 0.95rem;
    font-size: 0.85rem;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 140px;
    max-width: 165px;
  }

  .comparison-table th:not(:first-child),
  .comparison-table td:not(:first-child) {
    min-width: 130px;
  }
}