/* ==========================================================================
   KAVACH PRIVACY — DESIGN SYSTEM
   Modern Editorial Craftsmanship, Tactile Obsidian & Warm Indian Accents
   Inspired by Linear.app, Stripe Press & Vercel
   ========================================================================== */

:root {
  /* Surfaces & Foundation */
  --bg-primary: #08090c;
  --bg-secondary: #0d0f14;
  --bg-card: rgba(16, 19, 26, 0.75);
  --bg-card-hover: rgba(22, 26, 36, 0.9);
  --bg-card-solid: #11141c;
  --bg-input: #13161f;
  
  /* Hairline Borders with Tactile Bevel */
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-active: #3b82f6;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Text Tones */
  --text-primary: #f5f6f9;
  --text-secondary: #9aa1b1;
  --text-muted: #5e6676;
  --text-accent: #38bdf8;

  /* Brand Accents: Warm Saffron + Deep Cobalt + Forest Emerald */
  --saffron-warm: #ff6a1f;
  --saffron-light: #fb923c;
  --accent-blue: #3875f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Gradients */
  --gradient-saffron: linear-gradient(135deg, #fb923c 0%, #ff6a1f 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-card: 0 16px 40px -8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-elevated: 0 24px 60px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  /* Bespoke 28px tactile grid */
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(56, 117, 246, 0.08) 0%, transparent 60%);
  background-size: 28px 28px, 100% 100%;
  background-position: 0 0, 0 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Alert Banner */
.top-banner {
  background: rgba(14, 17, 24, 0.95);
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.84rem;
  padding: 10px 0;
  color: var(--text-secondary);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 10px var(--accent-rose);
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.banner-link {
  color: var(--saffron-light);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s;
}

.banner-link:hover {
  color: #fff;
}

/* Header & Floating Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
  margin-right: 12px;
}

.logo-icon-img-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.brand-logo:hover .logo-icon-img-wrap {
  border-color: rgba(255, 106, 31, 0.5);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.accent-text {
  color: var(--saffron-warm);
}

.badge-tag {
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-tagline-nav {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.desktop-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Modern Tactile Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap; /* CRITICAL: Never wrap button text */
  flex-shrink: 0;      /* CRITICAL: Never let buttons squeeze or shrink */
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  font-family: inherit;
  line-height: 1.2;
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-whatsapp {
  background: #10b981;
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
  background: #059669;
  color: #ffffff;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* Solid White Primary Button (Linear / Vercel style) */
.btn-primary {
  background: #ffffff;
  color: #090a0d;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
  background: #ededed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Secondary Frosted Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
  background: #1f8b4d;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-whatsapp:hover {
  background: #25a25a;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
}

/* Emblem & Tagline Pill */
.brand-hero-emblem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-hero-logo-frame {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 106, 31, 0.4), rgba(56, 117, 246, 0.4));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}

.brand-hero-logo-frame:hover {
  transform: scale(1.04);
}

.hero-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 3px);
  display: block;
}

.emblem-halo {
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(255, 106, 31, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 19, 27, 0.85);
  border: 1px solid var(--border-medium);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  justify-content: center;
}

.tagline-en {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tagline-divider {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.tagline-hi {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fbbf24;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 920px;
  margin: 0 auto 20px;
}

.italic-serif-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--saffron-warm);
  padding: 0 4px;
}

.hero-subtitle {
  font-size: 1.16rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

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

/* Metrics Bar */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.metric-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.metric-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Header Shared */
.section-header {
  margin-bottom: 44px;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--saffron-warm);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   DPDP SPIRIT & PILLARS SECTION
   ========================================================================== */
.dpdp-spirit-section {
  padding: 80px 0 90px;
  border-top: 1px solid var(--border-hairline);
}

.spirit-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pillar-lang-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.pillar-step {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.pillar-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
}

.pillar-points li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.pillar-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--saffron-warm);
  font-weight: 800;
}

/* ==========================================================================
   OFFICIAL DPDPA ENFORCEMENT TIMELINE SECTION
   ========================================================================== */
.timeline-section {
  padding: 90px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

/* Stepper Track */
.timeline-stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 44px;
  padding: 0 40px;
}

.stepper-track-line {
  position: absolute;
  top: 26px;
  left: 70px;
  right: 70px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stepper-progress-fill {
  width: 50%;
  height: 100%;
  background: #3b82f6;
}

.stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #11141c;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.active-step .step-icon-bubble {
  border-color: #3b82f6;
  color: #38bdf8;
  background: #121827;
}

.pulse-step .step-icon-bubble {
  border-color: var(--saffron-warm);
  color: var(--saffron-light);
}

.future-step .step-icon-bubble {
  border-color: rgba(244, 63, 94, 0.4);
  color: #f43f5e;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* 3 Phase Cards */
.timeline-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.timeline-phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s;
}

.timeline-phase-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.timeline-phase-card.highlight-card {
  border-color: rgba(255, 106, 31, 0.35);
  background: linear-gradient(180deg, rgba(255, 106, 31, 0.05) 0%, rgba(16, 19, 26, 0.85) 100%);
}

.timeline-phase-card.critical-card {
  border-color: rgba(244, 63, 94, 0.3);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.05) 0%, rgba(16, 19, 26, 0.85) 100%);
}

.phase-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.phase-date {
  font-size: 1.32rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: -0.02em;
}

.phase-date.highlight {
  color: var(--saffron-light);
}

.phase-date.critical {
  color: #f87171;
}

.phase-status-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.phase-status-tag.passed {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.phase-status-tag.upcoming {
  background: rgba(255, 106, 31, 0.12);
  color: var(--saffron-light);
  border: 1px solid rgba(255, 106, 31, 0.3);
}

.phase-status-tag.penalty {
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.phase-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.phase-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.phase-impact {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-left: 2px solid var(--accent-blue);
}

.phase-impact strong {
  color: var(--text-primary);
}

/* Transformation Journey Banner (Exact Match to User Reference Screenshot) */
.transformation-journey-card {
  position: relative;
  background: #f6f8fc;
  border: 1px solid rgba(0, 82, 204, 0.18);
  border-radius: 12px;
  padding: 28px 36px 28px 42px;
  margin-top: 42px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 82, 204, 0.12);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.transformation-journey-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38), 0 0 24px rgba(0, 82, 204, 0.2);
}

.transformation-left-accent {
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 5px;
  background: #0052cc;
  border-radius: 4px;
}

.transformation-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 36px;
}

.transformation-text-block {
  flex: 1;
}

.transformation-title {
  font-family: var(--font-sans);
  font-size: 1.34rem;
  font-weight: 750;
  color: #111827;
  line-height: 1.32;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.transformation-sub {
  font-size: 0.94rem;
  color: #374151;
  margin-bottom: 10px;
  line-height: 1.5;
}

.transformation-sub strong {
  color: #111827;
  font-weight: 750;
}

.transformation-desc {
  font-size: 0.91rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

.transformation-countdown-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.countdown-badge {
  background: #003795;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 55, 149, 0.35);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.countdown-badge:hover {
  background: #002d7a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 55, 149, 0.45);
}

@media (max-width: 900px) {
  .transformation-journey-card {
    padding: 24px 20px 24px 28px;
  }
  .transformation-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .transformation-countdown-block {
    align-items: flex-start;
    width: 100%;
  }
  .countdown-badge {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 18px;
  }
}

/* ==========================================================================
   KEY PILLARS OF COMPREHENSIVE PRIVACY PRODUCTS
   Staggered Alternating Timeline (Image 1 Specification)
   ========================================================================== */
.privacy-pillars-section {
  padding: 90px 0 100px;
  border-top: 1px solid var(--border-hairline);
  position: relative;
  overflow: hidden;
}

.pillars-stepper-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

/* 4-Column Grid for Top and Bottom Rows */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.pillars-top-row {
  margin-bottom: 24px;
}

.pillars-bottom-row {
  margin-top: 24px;
}

/* Pillar Card Box */
.pillar-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-box-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 31, 0.4);
  box-shadow: var(--shadow-elevated);
}

.pillar-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pillar-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--saffron-warm);
  letter-spacing: -0.01em;
}

.pillar-sec {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-left: 4px;
}

/* Badges: SERVICE (Green) & PRODUCT (Blue) */
.pillar-type-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.pillar-type-badge.service {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pillar-type-badge.product {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.pillar-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.pillar-box-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Connector Lines */
.pillar-connector-line {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 24px;
  border-left: 2px dashed rgba(255, 106, 31, 0.4);
  pointer-events: none;
}

.pillar-connector-line.down {
  bottom: -24px;
}

.pillar-connector-line.up {
  top: -24px;
}

/* Central Orange Track */
.pillars-central-track {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.central-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316 0%, #ff6a1f 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.45);
}

.central-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff6a1f;
  border: 2.5px solid #08090c;
  box-shadow: 0 0 8px rgba(255, 106, 31, 0.7);
  z-index: 2;
  transition: transform 0.2s;
}

.central-dot:hover {
  transform: translate(-50%, -50%) scale(1.3);
}

.central-dot.dot-1 { left: 12.5%; }
.central-dot.dot-2 { left: 12.5%; }
.central-dot.dot-3 { left: 37.5%; }
.central-dot.dot-4 { left: 37.5%; }
.central-dot.dot-5 { left: 62.5%; }
.central-dot.dot-6 { left: 62.5%; }
.central-dot.dot-7 { left: 87.5%; }
.central-dot.dot-8 { left: 87.5%; }

@media (max-width: 992px) {
  .pillars-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pillars-central-track { display: none; }
  .pillar-connector-line { display: none; }
}

@media (max-width: 640px) {
  .pillars-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PERSONAS SECTION
   ========================================================================== */
.personas-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-hairline);
}

.persona-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

@media (max-width: 1024px) {
  .persona-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .persona-tabs {
    grid-template-columns: 1fr;
  }
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
  color: inherit;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
}

.tab-btn.active {
  background: #0f1422;
  border-color: var(--saffron-warm);
  box-shadow: 0 0 24px rgba(255, 106, 31, 0.15);
}

.tab-btn.active .tab-title {
  color: #fff;
}

.tab-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.tab-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.tab-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Architecture Flaw Callout */
.flaw-callout {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
}

.flaw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f87171;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.flaw-desc {
  font-size: 0.88rem;
  color: #fca5a5;
  line-height: 1.5;
  margin: 0;
}

/* 4-Pillar Remediation Lifecycle */
.lifecycle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.lifecycle-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lifecycle-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.lifecycle-tag.audit { color: #60a5fa; border-color: rgba(96, 165, 250, 0.3); background: rgba(96, 165, 250, 0.08); }
.lifecycle-tag.advisory { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.08); }
.lifecycle-tag.code { color: #34d399; border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.08); }
.lifecycle-tag.monitor { color: #c084fc; border-color: rgba(192, 132, 252, 0.3); background: rgba(192, 132, 252, 0.08); }

.persona-pane {
  display: none;
}

.persona-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

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

.pane-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.badge-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.25);
  margin-bottom: 14px;
}

.badge-status.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.pane-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.pane-content p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.benefit-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.benefit-list strong {
  color: var(--text-primary);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pane-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.guarantee-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Pane Mockup Card */
.pane-card {
  background: #090b10;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.card-header-mockup {
  background: #0f1218;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-hairline);
}

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

.mockup-title {
  margin-left: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.card-body-mockup {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-line {
  line-height: 1.5;
}

.c-key { color: #93c5fd; }
.c-val { color: #fde047; }
.c-accent { color: #38bdf8; font-weight: 600; }
.c-green { color: #4ade80; font-weight: 600; }
.c-red { color: #f87171; font-weight: 600; }
.c-comment { color: var(--text-muted); }

.code-badge-verified {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.74rem;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 90px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.calculator-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
}

.calc-val-badge {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--border-hairline);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1b1f2b;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-box-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 500;
  transition: border-color 0.15s;
}

.check-box-card:hover {
  border-color: var(--border-medium);
}

.check-box-card input {
  accent-color: var(--accent-blue);
  width: 15px;
  height: 15px;
}

.field-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.select-field {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

.select-field:focus {
  border-color: var(--accent-blue);
}

/* Calculator Results Card */
.result-card {
  background: #0f121a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.result-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
  margin-bottom: 12px;
}

.result-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.result-stat {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 4px 0 12px;
}

.result-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 20px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.b-label { color: var(--text-muted); }
.b-val { color: var(--text-primary); font-weight: 600; text-align: right; }
.b-val.highlight { color: var(--accent-emerald); }

.sub-cta-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   AUDIT SCOPE & CODE DIFF
   ========================================================================== */
.audit-scope-section {
  padding: 90px 0;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.audit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.audit-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.audit-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-warm);
  margin-bottom: 18px;
}

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

.audit-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tags span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
}

/* Real Engineering Code Diff Component */
.code-diff-container {
  margin-top: 44px;
  background: #0a0c10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: var(--font-mono);
}

.code-diff-header {
  background: #10131a;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-hairline);
  flex-wrap: wrap;
  gap: 8px;
}

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

.diff-file-tag {
  font-size: 0.8rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-hairline);
}

.diff-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.diff-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.code-diff-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-x: auto;
}

.diff-line {
  display: flex;
  gap: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}

.diff-line .line-no {
  color: var(--text-muted);
  user-select: none;
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}

.diff-line.unchanged {
  color: var(--text-secondary);
}

.diff-line.removed {
  background: rgba(244, 63, 94, 0.1);
  color: #fca5a5;
  border-left: 2px solid #f43f5e;
}

.diff-line.added {
  background: rgba(16, 185, 129, 0.1);
  color: #86efac;
  border-left: 2px solid #10b981;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
/* ==========================================================================
   3-WAY COMPARISON: BIG 4 vs POINT SAAS (ManageEngine) vs KAVACH PRIVACY
   ========================================================================== */
.comparison-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-hairline);
}

/* 3-Way Overview Cards */
.comparison-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.comp-card:hover {
  border-color: var(--border-medium);
}

.comp-card.comp-winner {
  border: 1px solid var(--saffron-warm);
  background: linear-gradient(180deg, rgba(255, 106, 31, 0.06) 0%, rgba(13, 16, 23, 0.98) 100%);
  box-shadow: 0 0 35px rgba(255, 106, 31, 0.16);
}

.comp-winner-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron-warm);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 106, 31, 0.4);
}

.comp-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.comp-card-badge.winner-badge {
  color: var(--saffron-warm);
}

.comp-card-title {
  font-size: 1.34rem;
  font-weight: 750;
  margin-bottom: 4px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.comp-card-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  min-height: 20px;
}

/* Price Box */
.comp-card-price-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
}

.comp-card-price-box.winner-price-box {
  background: rgba(255, 106, 31, 0.04);
  border-color: rgba(255, 106, 31, 0.22);
}

.price-amount {
  font-size: 1.48rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.price-amount.highlight-price {
  color: var(--accent-emerald);
}

.price-unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-period {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Executive Technical Specs Rows */
.comp-specs-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.comp-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 9px 12px;
  border-radius: var(--radius-xs);
}

.spec-name {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.spec-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pill-danger {
  background: rgba(244, 63, 94, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.pill-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.pill-success {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.pill-neutral {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Footer & Verdict */
.comp-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
}

.comp-verdict {
  font-size: 0.8rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comp-verdict .verdict-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.comp-verdict.bad {
  color: #fca5a5;
}

.comp-verdict.warning {
  color: #fcd34d;
}

.comp-verdict.winner {
  color: #6ee7b7;
}

/* Comparison Matrix Table */
.comparison-matrix-wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  margin-bottom: 36px;
}

.matrix-header-callout {
  background: #0d121c;
  border-bottom: 1px solid var(--border-hairline);
  padding: 12px 20px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.matrix-header-callout strong {
  color: #fff;
}

.three-way-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-card);
}

.three-way-table th, .three-way-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.86rem;
  line-height: 1.45;
}

.three-way-table th {
  background: #0d1017;
  color: var(--text-secondary);
  font-weight: 600;
  vertical-align: top;
}

.three-way-table th .th-sub {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-muted);
}

.th-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.th-brand-name {
  font-size: 0.98rem;
  font-weight: 750;
  color: #fff;
}

.th-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--saffron-warm);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.three-way-table .highlight-col {
  background: rgba(255, 106, 31, 0.04);
  border-left: 1px solid rgba(255, 106, 31, 0.25);
  border-right: 1px solid rgba(255, 106, 31, 0.25);
}

.three-way-table th.highlight-col {
  background: rgba(255, 106, 31, 0.12);
}

.highlight-emerald {
  color: var(--accent-emerald);
}

.badge-yes {
  color: var(--accent-emerald);
  font-weight: 600;
}

.badge-no {
  color: var(--accent-rose);
  font-weight: 500;
}

/* Comparison Bottom CTA */
.comparison-bottom-cta {
  background: linear-gradient(135deg, rgba(20, 26, 40, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
  border: 1px solid rgba(56, 117, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-banner-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cta-banner-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.comparison-bottom-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .comparison-cards-grid {
    grid-template-columns: 1fr;
  }
  .comp-card.comp-winner {
    transform: none;
  }
  .comparison-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-hairline);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.pricing-card.popular {
  border: 1px solid var(--saffron-warm);
  box-shadow: 0 0 35px rgba(255, 106, 31, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron-warm);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Enterprise & NSE/BSE Listed Card Styling */
.pricing-card.enterprise-card {
  border: 1px solid rgba(56, 117, 246, 0.4);
  background: linear-gradient(180deg, rgba(56, 117, 246, 0.05) 0%, rgba(13, 16, 23, 0.98) 100%);
  box-shadow: 0 0 35px rgba(56, 117, 246, 0.12);
}

.pricing-card.enterprise-card:hover {
  border-color: rgba(56, 117, 246, 0.65);
}

.enterprise-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.custom-tier-price {
  font-size: 1.85rem;
  color: #60a5fa;
}

.custom-tier-price .price-suffix {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.enterprise-cta-btn {
  border-color: rgba(56, 117, 246, 0.5);
  color: #93c5fd;
}

.enterprise-cta-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.tier-header {
  margin-bottom: 20px;
}

.tier-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.tier-price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
}

.price-suffix {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tier-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex-grow: 1;
}

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

.feature-item strong {
  color: var(--text-primary);
}

.feature-item.muted {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-hairline);
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--saffron-warm);
  transition: transform 0.2s ease;
}

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

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

.faq-item.open .faq-answer {
  max-height: 280px;
  padding-bottom: 18px;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.final-cta-section {
  padding: 60px 0 90px;
}

.cta-card {
  background: #0e1118;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cta-card h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

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

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-hairline);
  padding: 48px 0 28px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-clean-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}

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

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

.footer-brand p.footer-desc {
  margin-top: 10px;
  line-height: 1.6;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-tagline-bilingual {
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--saffron-warm);
  padding-left: 12px;
  margin: 10px 0 8px;
}

.tagline-hi-footer {
  font-size: 0.78rem;
  color: #fbbf24;
  display: inline-block;
  margin-top: 2px;
}

.footer-city {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.footer-clean-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-clean-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-clean-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-clean-links a:hover {
  color: #ffffff;
}

.footer-clean-links a.highlight-rule {
  color: var(--accent-orange);
  font-weight: 600;
}

.footer-clean-links a.highlight-rule:hover {
  color: #ff8c42;
}

.footer-clean-links a.highlight-blog {
  color: var(--saffron-light);
  font-weight: 600;
}

.footer-clean-links a.highlight-blog:hover {
  color: #ffffff;
}

.footer-clean-links a.footer-wa-link {
  color: #34d399;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-clean-links a.footer-wa-link:hover {
  color: #6ee7b7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-status-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .footer-clean-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-clean-nav,
  .footer-clean-links {
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #0e1118;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-elevated);
}

/* Story & Roadmap Modal */
.story-modal-card {
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.story-modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border-hairline);
  background: #090c12;
  position: relative;
}

.story-modal-header .modal-close {
  top: 20px;
  right: 20px;
}

.story-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.story-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.story-tab-btn.active {
  background: var(--saffron-warm);
  color: #000;
  border-color: var(--saffron-warm);
  font-weight: 700;
}

.story-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.story-modal-body::-webkit-scrollbar {
  width: 6px;
}

.story-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.story-badge.roadmap-badge {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
}

.story-pane {
  display: none;
}

.story-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.story-pane h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.story-lead {
  font-size: 1.02rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.story-callout {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--saffron-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px;
  margin: 18px 0;
}

.story-callout .callout-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.story-callout .callout-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

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

/* Roadmap Timeline Styles */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 22px 0;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.roadmap-item {
  position: relative;
}

.roadmap-dot {
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--text-muted);
}

.roadmap-item.current .roadmap-dot {
  background: var(--saffron-warm);
  border-color: #fff;
  box-shadow: 0 0 10px var(--saffron-warm);
}

.roadmap-phase {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--saffron-light);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.roadmap-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.roadmap-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.story-footer-action {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.story-footer-action p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

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

.modal-close:hover {
  color: #fff;
}

.modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 6px;
  display: inline-block;
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-header p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.form-input {
  width: 100%;
  padding: 10px 12px;
  background: #141722;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

.form-input:focus {
  border-color: #3b82f6;
}

.form-footnote {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 2px solid var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.modal-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-success p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.7rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pane-grid { grid-template-columns: 1fr; }
  .calculator-box { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .blog-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .persona-tabs { grid-template-columns: 1fr; }
  .pane-grid { padding: 22px; }
  .calculator-box { padding: 22px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .blog-hero-title { font-size: 2rem; }
  .newsletter-form { flex-direction: column; }
}

/* ==========================================================================
   Blog Portal & Publication Pipeline Styles
   ========================================================================== */
.blog-page-body {
  background: #08090C;
  color: #e2e8f0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.blog-hero-section {
  padding: 64px 0 44px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 106, 31, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-hairline);
}

.blog-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 14px;
}

.blog-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.blog-status-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.84rem;
  color: #93c5fd;
  max-width: 820px;
  margin: 0 auto;
}

.status-pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.blog-grid-section {
  padding: 54px 0 90px;
}

.blog-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 18px;
}

.pipeline-count-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card.upcoming-card {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  position: relative;
}

.blog-card.upcoming-card:hover {
  border-color: rgba(255, 106, 31, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-category-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
}

.blog-category-tag.procurement {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.blog-category-tag.database {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.blog-category-tag.fintech {
  background: rgba(255, 106, 31, 0.12);
  color: #ff9a60;
  border: 1px solid rgba(255, 106, 31, 0.3);
}

.blog-category-tag.frontend {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.blog-category-tag.devops {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.blog-category-tag.regulatory {
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.blog-status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.blog-status-pill.reviewing {
  background: rgba(234, 179, 8, 0.12);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.blog-status-pill.drafting {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.blog-card-title {
  font-size: 1.24rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 106, 31, 0.2);
  color: #ff9a60;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 106, 31, 0.3);
}

.author-info {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-notify-topic {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-notify-topic:hover {
  background: rgba(255, 106, 31, 0.15);
  border-color: #ff6a1f;
  color: #fff;
}

/* Newsletter Card */
.blog-newsletter-card {
  background: linear-gradient(180deg, rgba(20, 24, 34, 0.8) 0%, rgba(13, 16, 23, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 760px;
  margin: 0 auto;
}

.newsletter-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--saffron-light);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: inline-block;
}

.blog-newsletter-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.blog-newsletter-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 12px;
}

.newsletter-input {
  flex: 1;
  background: #08090C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input:focus {
  border-color: var(--saffron-warm);
}

.newsletter-footnote {
  font-size: 0.76rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   Homepage Blog Preview Section
   ========================================================================== */
.blog-preview-section {
  padding: 90px 0;
  background: rgba(13, 16, 23, 0.4);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.featured-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 36px auto 0;
}

@media (max-width: 860px) {
  .featured-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}

.preview-topic-card {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
}

.preview-topic-card:hover {
  border-color: rgba(255, 106, 31, 0.3);
  transform: translateY(-2px);
}

.preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.preview-topic-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
}

.preview-topic-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.preview-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-preview-cta-wrap {
  text-align: center;
  margin-top: 20px;
}

/* ==========================================================================
   Blog Index / Hub Listing Page Styles
   ========================================================================== */
.blog-hub-hero {
  text-align: center;
  padding: 50px 20px 30px;
  max-width: 860px;
  margin: 0 auto;
}

.blog-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.blog-hub-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-hub-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.blog-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.blog-post-card {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.blog-post-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.08);
}

.blog-post-card.accent-lending:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.08);
}

.blog-post-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-post-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
}

.blog-post-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-post-title a:hover {
  color: #38bdf8;
}

.blog-post-card.accent-lending .blog-post-title a:hover {
  color: #fca5a5;
}

.blog-post-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.blog-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Long-Form Article View Styles
   ========================================================================== */
.article-page-wrap {
  padding: 50px 0 90px;
  background: radial-gradient(circle at 50% 5%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
}

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

.article-header {
  margin-bottom: 38px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 26px;
}

.article-meta-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-read-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.article-statutory-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid var(--border-hairline);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.article-main-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-copy-url {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-url:hover {
  background: rgba(255, 106, 31, 0.15);
  border-color: #ff6a1f;
  color: #fff;
}

.article-body-content {
  font-size: 1.05rem;
  line-height: 1.82;
  color: #cbd5e1;
}

.article-body-content p {
  margin-bottom: 22px;
}

.article-lead-p {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #f8fafc;
  font-weight: 500;
}

.article-highlight-box {
  background: rgba(255, 106, 31, 0.08);
  border-left: 3px solid var(--saffron-warm);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.02rem;
  color: #f8fafc;
}

.highlight-quote-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.article-subheading {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin: 44px 0 16px;
  letter-spacing: -0.015em;
}

.article-role-list {
  margin: 14px 0 24px 22px;
  line-height: 1.85;
}

.article-role-list li {
  margin-bottom: 8px;
}

/* ASCII Diagram Box */
.article-diagram-wrapper {
  background: #07090e;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  overflow: hidden;
  margin: 30px 0 38px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.diagram-top-bar {
  background: #0e131d;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
}

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

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

.diagram-dots .dot.red { background: #ef4444; }
.diagram-dots .dot.yellow { background: #f59e0b; }
.diagram-dots .dot.green { background: #10b981; }

.diagram-title {
  color: #94a3b8;
  font-size: 0.75rem;
}

.diagram-type {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.ascii-diagram-code {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #7dd3fc;
  overflow-x: auto;
  margin: 0;
  background: #06080d;
}

/* Article Table */
.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.article-table th {
  background: #0f131c;
  color: #f8fafc;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
}

.article-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  line-height: 1.6;
}

.article-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.col-highlight {
  color: #38bdf8;
  font-weight: 600;
}

.badge-danger {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  margin-right: 6px;
  display: inline-block;
}

.badge-warning {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  margin-right: 6px;
  display: inline-block;
}

.article-takeaway-card {
  background: linear-gradient(180deg, rgba(255, 106, 31, 0.08) 0%, rgba(13, 16, 23, 0.95) 100%);
  border: 1px solid rgba(255, 106, 31, 0.35);
  border-radius: 12px;
  padding: 32px;
  margin: 44px 0 20px;
}

/* ==========================================================================
   Mobile Responsiveness for Blog Hub & Article Pages
   ========================================================================== */
@media (max-width: 768px) {
  .blog-hub-hero {
    padding: 36px 16px 20px;
  }

  .blog-hub-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .blog-hub-subtitle {
    font-size: 0.95rem;
  }

  .blog-hub-grid {
    padding: 0 14px;
    gap: 20px;
  }

  .blog-post-card {
    padding: 22px 18px;
  }

  .blog-post-title {
    font-size: 1.25rem;
    line-height: 1.38;
  }

  .blog-post-excerpt {
    font-size: 0.88rem;
  }

  .article-page-wrap {
    padding: 28px 0 60px;
  }

  .article-container {
    padding: 0 16px;
  }

  .article-main-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .article-lead-p {
    font-size: 1.05rem;
  }

  .article-body-content {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .article-subheading {
    font-size: 1.35rem;
    margin: 32px 0 14px;
  }

  .ascii-diagram-code {
    padding: 16px;
    font-size: 0.75rem;
  }

  .article-takeaway-card {
    padding: 22px;
  }

  .featured-articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-article-card {
    padding: 22px !important;
  }
}

