/* ==========================================================================
   SheetsDuty Design System & Stylesheet
   Dark Glassmorphic SaaS Theme (Batman Slate & Electric Yellow Accents)
   ========================================================================== */



:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(26, 38, 66, 0.75);
  --bg-surface: #0b101d;
  --bg-elevated: #111827;

  --accent-yellow: #facc15;
  --accent-yellow-glow: rgba(250, 204, 21, 0.25);
  --accent-yellow-dark: #ca8a04;
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.2);
  
  --status-green: #22c55e;
  --status-green-glow: rgba(34, 197, 94, 0.2);
  --status-red: #ef4444;
  --status-red-glow: rgba(239, 68, 68, 0.2);
  --status-amber: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(250, 204, 21, 0.4);
  --border-cyan: rgba(56, 189, 248, 0.3);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-yellow: 0 0 25px rgba(250, 204, 21, 0.25);
  --shadow-cyan: 0 0 25px rgba(56, 189, 248, 0.2);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(250, 204, 21, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(34, 197, 94, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

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

a:hover {
  color: #fde047;
}

ul {
  list-style: none;
}

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

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #07090e;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(250, 204, 21, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(250, 204, 21, 0.1);
  color: #fde047;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(7, 9, 14, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07090e;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-yellow);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 600px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-full);
  color: var(--status-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--status-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--status-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Interactive Demo / Mockup Component */
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  position: relative;
}

.demo-header {
  background: rgba(11, 16, 29, 0.9);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

/* Animated Product Showcase Component */
.showcase-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.2rem;
}

.showcase-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.showcase-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.showcase-tab-btn.active {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.5);
  color: var(--accent-yellow);
  font-weight: 600;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.showcase-tab-btn.active .step-num {
  background: var(--accent-yellow);
  color: #07090e;
}

.showcase-live-badge {
  font-size: 0.725rem;
  color: #22c55e;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.showcase-viewport {
  padding: 1.5rem;
  min-height: 320px;
}

.showcase-step-card {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.showcase-step-card.active {
  display: block;
}

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

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

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

.showcase-visual {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.mock-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  font-family: var(--font-code);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.url-badge.error {
  color: #fca5a5;
}

.status-pill.error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.mock-browser-content {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.outage-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.mock-browser-content h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.mock-browser-content p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mock-sheet-preview {
  font-family: var(--font-code);
}

.sheet-bar-top {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.sheet-row-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.sheet-row-highlight.open {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.sheet-row-highlight.resolved {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sheet-row-dim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  opacity: 0.5;
  font-size: 0.75rem;
}

.cell-id { font-weight: 700; color: var(--accent-yellow); }
.cell-url { color: var(--accent-cyan); overflow: hidden; text-overflow: ellipsis; }
.cell-badge { font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 3px; }
.cell-badge.open { background: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.cell-badge.resolved { background: rgba(34, 197, 94, 0.3); color: #86efac; }
.cell-code { color: var(--text-muted); }
.cell-time { color: var(--text-dim); }

.mock-email-preview {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 1rem;
}

.email-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.email-icon { font-size: 1.5rem; }
.email-sender { font-size: 0.75rem; color: var(--text-dim); }
.email-subject { font-size: 0.85rem; font-weight: 700; color: #fca5a5; }

.email-body p { font-size: 0.825rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.btn-ack-preview {
  display: inline-block;
  background: var(--accent-yellow);
  color: #07090e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-tag {
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}

.tag-red { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.tag-yellow { background: rgba(245, 158, 11, 0.2); color: #fde047; }
.tag-cyan { background: rgba(56, 189, 248, 0.2); color: #7dd3fc; }
.tag-green { background: rgba(34, 197, 94, 0.2); color: #86efac; }

.showcase-info h3 {
  font-size: 1.35rem;
  color: var(--text-main);
}

.showcase-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-list-mini {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.mini-item {
  font-size: 0.825rem;
  color: var(--text-main);
  font-family: var(--font-code);
}

.showcase-footer {
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-caption {
  color: var(--text-muted);
}

.auto-play-indicator {
  color: var(--accent-yellow);
  font-weight: 600;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.feature-icon.yellow {
  background: rgba(250, 204, 21, 0.1);
  border-color: rgba(250, 204, 21, 0.3);
  color: var(--accent-yellow);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

/* Architecture Showcase */
.how-it-works {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
  color: #07090e;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
}

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

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  position: relative;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.pricing-toggle {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px;
  display: flex;
  position: relative;
  cursor: pointer;
}

.toggle-option {
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  color: var(--text-muted);
  user-select: none;
}

.toggle-option.active {
  background: var(--accent-yellow);
  color: #07090e;
}

.discount-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--status-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(15px);
  transition: all var(--transition-normal);
}

.pricing-card.popular {
  border-color: var(--accent-yellow);
  box-shadow: var(--shadow-yellow);
  background: rgba(20, 26, 42, 0.85);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
  color: #07090e;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  min-height: 48px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.price-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-period {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.plan-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-item.highlight {
  color: var(--text-main);
  font-weight: 600;
}

.check-icon {
  color: var(--accent-yellow);
  font-weight: 900;
}

.cross-icon {
  color: var(--text-dim);
}

/* FAQ Accordion */
.faq {
  padding: 6rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-cyan);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--accent-yellow);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 300px;
}

/* Bottom CTA Banner Component */
.cta-section {
  padding: 3rem 0 6rem;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 16, 29, 0.95) 100%),
              radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.12) 0%, transparent 70%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-yellow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 2rem 0 4rem;
  }
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-desc {
    font-size: 1rem;
  }
}

/* Legal Pages Styling (Privacy & Terms) */
.legal-page {
  padding: 10rem 0 6rem;
}

.legal-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
}

.legal-title {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.legal-date {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(15px);
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.25rem 0 1rem;
  color: var(--accent-yellow);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-main);
}

.legal-content p {
  margin-bottom: 1.25rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-box {
  background: rgba(250, 204, 21, 0.05);
  border-left: 4px solid var(--accent-yellow);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-flow {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .grid-3, .grid-2, .pricing-grid, .step-flow {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 1.5rem;
  }

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

/* Persona & Use Cases Section Styling */
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
}

.persona-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-yellow);
}

.persona-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--accent-yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.persona-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  font-style: italic;
  position: relative;
}

.persona-pain {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.persona-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.persona-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* ==========================================================================
   CRO & UX Enhancements Styling
   ========================================================================== */

/* Hero ROI & Cost Comparison Badge */
.badge-roi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

/* Social Proof Trust Badges */
.trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.trust-badge-sep {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Demo Header View Toggle Switcher */
.demo-view-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.view-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.view-tab-btn.active {
  background: rgba(250, 204, 21, 0.18);
  color: var(--accent-yellow);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Split Demo Layout Container */
.demo-split-container {
  display: grid;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.demo-split-container.view-split {
  grid-template-columns: 1fr 1fr;
}

.demo-split-container.view-sheet-only {
  grid-template-columns: 1fr;
}

.demo-split-container.view-sheet-only .demo-alert-panel {
  display: none;
}

.demo-split-container.view-alert-only {
  grid-template-columns: 1fr;
}

.demo-split-container.view-alert-only .demo-sheet-panel {
  display: none;
}

.demo-panel {
  background: rgba(11, 16, 29, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel-header-bar {
  padding: 0.5rem 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-table-wrapper {
  overflow-x: auto;
  flex: 1;
}

/* Notification Alert Card Styling */
.notification-alert-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.notification-alert-card.card-open {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.notification-alert-card.card-ack {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.notification-alert-card.card-resolved {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.alert-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.alert-pulse-icon {
  font-size: 1.25rem;
}

.alert-sender {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.alert-subject {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.alert-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
}

.meta-lbl {
  color: var(--text-muted);
}

.alert-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.alert-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Pricing Differentiator Box */
.pricing-differentiator-box {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.1);
  backdrop-filter: blur(10px);
}

.diff-icon-wrap {
  font-size: 2.25rem;
  line-height: 1;
  background: rgba(250, 204, 21, 0.15);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.diff-content {
  flex: 1;
}

.diff-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 0.25rem;
}

.diff-text {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.4;
}

.diff-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Mobile Media Queries for Split Container & Pricing Differentiator */
@media (max-width: 900px) {
  .demo-split-container.view-split {
    grid-template-columns: 1fr;
  }

  .pricing-differentiator-box {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .diff-badge {
    align-self: center;
  }
}

/* ==========================================================================
   Programmatic SEO & Comparison Page Styles
   ========================================================================== */

/* Breadcrumbs */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb-link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--accent-yellow);
}

.breadcrumb-separator {
  color: var(--text-dim);
}

.breadcrumb-current {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* Hero VS Badges & Highlight */
.hero-vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-usecase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Comparison Tables */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 3rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

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

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: rgba(11, 16, 29, 0.8);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th.col-winner,
.comparison-table td.col-winner {
  background: rgba(250, 204, 21, 0.04);
  border-left: 1px solid rgba(250, 204, 21, 0.2);
  border-right: 1px solid rgba(250, 204, 21, 0.2);
}

.comparison-table th.col-winner {
  color: var(--accent-yellow);
}

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

.feature-title-cell {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.feature-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.table-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.9rem;
}

.table-cross {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.table-winner-badge {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--accent-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
}

/* Cost Comparison Cards */
.cost-comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.cost-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  position: relative;
  display: flex;
  flex-direction: column;
}

.cost-card-competitor {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.cost-card-sheetsduty {
  border-color: rgba(250, 204, 21, 0.4);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.08) 0%, rgba(15, 23, 42, 0.7) 100%);
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.12);
}

.cost-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-expensive {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.badge-savings {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

.cost-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.cost-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.cost-number {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1;
}

.cost-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cost-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.cost-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.cost-item strong {
  color: var(--text-main);
}

.cost-annual-box {
  margin-top: auto;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cost-annual-box strong {
  color: var(--accent-yellow);
}

/* Deep-dive Why Cards */
.deepdive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.deepdive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.deepdive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.4);
}

.deepdive-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.deepdive-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.deepdive-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Problem vs Solution Dynamic */
.problem-solution-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.problem-box {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.solution-box {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.problem-solution-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.problem-box .problem-solution-title {
  color: #f87171;
}

.solution-box .problem-solution-title {
  color: #4ade80;
}

.problem-solution-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.problem-solution-item strong {
  color: var(--text-main);
}

/* Use-Case Workflow Grid */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  position: relative;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
}

.workflow-step-num {
  font-family: var(--font-code);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
}

.workflow-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.workflow-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Free Utility Tool: HTTP & SSL Status Checker Widget
   ========================================================================== */

.tool-widget-card {
  background: var(--bg-card);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 40px rgba(250, 204, 21, 0.08);
  margin: 2.5rem 0;
}

.tool-form-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tool-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tool-input:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.25);
}

.tool-btn {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-yellow-dark) 100%);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tool-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.tool-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.tool-examples-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.tool-example-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tool-example-pill:hover {
  color: var(--accent-yellow);
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.08);
}

/* Scanner Live Animation */
.scanner-animation-box {
  display: none;
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.scanner-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(250, 204, 21, 0.2);
  border-top-color: var(--accent-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

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

/* Diagnostic Results Box */
.diagnostic-results-box {
  display: none;
  margin-top: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.diag-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.diag-url-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.diag-target-url {
  font-family: var(--font-code);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.diag-status-badge {
  font-family: var(--font-code);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-200 {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

.badge-300 {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
}

.badge-400, .badge-500 {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.diag-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.diag-metric-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.diag-metric-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.diag-metric-value {
  font-family: var(--font-code);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.ssl-health-box {
  background: rgba(11, 16, 29, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.ssl-health-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.ssl-health-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ssl-days-left {
  font-family: var(--font-code);
  font-size: 0.875rem;
  font-weight: 700;
  color: #4ade80;
}

.ssl-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ssl-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: var(--radius-full);
  width: 85%;
  transition: width 0.6s ease;
}

.diag-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.btn-export-sheet {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.btn-export-sheet:hover {
  background: rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
  color: #fff;
}

.btn-monitor-lead {
  background: var(--accent-yellow);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-monitor-lead:hover {
  background: #fde047;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
}

/* Modal Lead Capture */
.lead-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lead-modal-overlay.active {
  display: flex;
}

.lead-modal {
  background: var(--bg-surface);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(250, 204, 21, 0.15);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-features-list {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

/* Expanded Multi-Column Footer */
.footer-grid-5 {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

/* Mobile Responsiveness for Comparison & Tools */
@media (max-width: 992px) {
  .cost-comparison-container,
  .problem-solution-container {
    grid-template-columns: 1fr;
  }

  .deepdive-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .tool-btn {
    padding: 0.85rem;
    justify-content: center;
  }

  .diag-metrics-grid {
    grid-template-columns: 1fr;
  }

  .diag-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

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

/* Legal Disclaimer Box for Comparison Pages */
.legal-disclaimer-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 3rem 0 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.legal-disclaimer-box strong {
  color: var(--text-muted);
}




