/* ==========================================================================
   WAudience — Modern Design System (site.css)
   An initiative by RT Internet Services
   ========================================================================== */

:root {
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-light: #ecfdf5;
  --primary-glow: rgba(16, 185, 129, 0.25);

  --secondary: #2563eb;
  --secondary-hover: #1d4ed8;
  --secondary-light: #eff6ff;

  --dark-bg: #090d16;
  --dark-card: #0f172a;
  --dark-border: rgba(255, 255, 255, 0.08);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --bg-page: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.35);

  --container-max: 1240px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  vertical-align: middle;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo-icon {
  transform: scale(1.05);
}

.brand-name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.brand-name span {
  color: var(--primary);
}

.brand-sub {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

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

.nav-item a {
  font-size: 0.93rem;
  font-weight: 600;
  color: #334155;
  padding: 0.5rem 0.25rem;
  position: relative;
}

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

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
  padding: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: #1e293b;
}

.btn-outline:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #047857;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.4rem;
  max-width: 950px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 2.25rem;
}

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

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-badge-item svg {
  color: var(--primary);
}

/* Hero Preview Mockup */
.hero-mockup-wrapper {
  margin-top: 3.5rem;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 40px rgba(16, 185, 129, 0.15);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.mockup-url-bar {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 1.25rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
}

.mockup-side {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.mockup-main {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
}

/* ==========================================================================
   Metrics Counter Banner
   ========================================================================== */
.metrics-banner {
  background: #0f172a;
  color: #fff;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-card-item {
  padding: 1rem;
}

.metric-num {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
  font-family: var(--font-sans);
}

.metric-lbl {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-pad {
  padding: 5.5rem 0;
}

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

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: #047857;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.icon-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.icon-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}
.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #9333ea;
}
.icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}

.feature-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.feature-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-points {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.feature-points li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Showcase / Deep Dives
   ========================================================================== */
.deep-dive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.deep-dive-row.reverse {
  direction: rtl;
}
.deep-dive-row.reverse > * {
  direction: ltr;
}

.deep-dive-content h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #0f172a;
}

.deep-dive-content p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.deep-dive-bullets {
  list-style: none;
  margin-bottom: 2rem;
}

.deep-dive-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  color: #1e293b;
  font-weight: 600;
}

.deep-dive-bullets li svg {
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.deep-dive-visual {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.comp-table th {
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid var(--border);
}

.comp-table th.highlight-col {
  background: var(--primary-light);
  color: #047857;
  font-weight: 800;
}

.comp-table td {
  padding: 1.1rem 1.5rem;
  font-size: 0.93rem;
  color: #334155;
  border-bottom: 1px solid var(--border-light);
}

.comp-table tr:hover td {
  background: #fafafa;
}

.comp-table td.highlight-col {
  background: rgba(16, 185, 129, 0.04);
  font-weight: 700;
  color: #0f172a;
}

.check-yes {
  color: #10b981;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.check-no {
  color: #ef4444;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.pricing-badge-promo {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.pricing-tier-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pricing-tier-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.pricing-price-box {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-promo-notice {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 0.75rem;
}

.pricing-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.65;
}

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

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand-col p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 1.25rem 0 1rem;
  color: #64748b;
  max-width: 320px;
}

.rt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #e2e8f0;
  font-weight: 600;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.5;
  margin-top: 0.75rem;
}

/* ==========================================================================
   Blog Hub & Article Layouts
   ========================================================================== */
.blog-hero {
  padding: 4rem 0 3rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

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

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-cat-tag {
  display: inline-block;
  background: var(--primary-light);
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--primary-hover);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* Single Blog Post Layout */
.article-header {
  padding: 4rem 0 2.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.article-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
  flex-wrap: wrap;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  padding: 3.5rem 0;
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #334155;
}

.article-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.6rem;
}

.article-callout {
  background: #ecfdf5;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.98rem;
  color: #065f46;
}

.toc-box {
  position: sticky;
  top: 95px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 0.65rem;
}

.toc-list li a {
  font-size: 0.88rem;
  color: #64748b;
  display: block;
}

.toc-list li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

/* ==========================================================================
   Contact Form Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group-site {
  margin-bottom: 1.4rem;
}

.form-group-site label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.45rem;
}

.form-control-site {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.form-control-site:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .article-layout { grid-template-columns: 1fr; }
  .toc-box { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1.05rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .deep-dive-row { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
