/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & THEME TOKENS
   ========================================================================== */
:root {
  /* Layout Gutters & Spacing */
  --side-gutter: clamp(16px, 4.5vw, 48px);

  /* New Typography Tokens */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  /* Dark Mode Palette (Default - Pure Dark Obsidian & Monochromatic) */
  --bg-base: #070709;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-nav: #a1a1aa;
  --nav-hover: #ffffff;
  
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(255, 255, 255, 0.35);
  
  --card-bg: rgba(18, 18, 22, 0.85);
  /* ─── NEW SOLID BENTO TOKENS (opaque, high‑contrast) ─── */
  --bento-card-bg: #090a0f;
  --bento-border-solid: rgba(255, 255, 255, 0.08);
  --bento-border-hover: rgba(255, 255, 255, 0.20);
  --bento-headline-color: #f4f4f5;
  --bento-text-main: #ffffff;
  --bento-text-muted: #9ca3af;
  --bento-badge-bg: rgba(59, 130, 246, 0.15);
  --bento-badge-text: #3b82f6;
  --bento-quote-mark: #1e293b;
  --bento-em-color: #3b82f6;
  --bento-cta-bg: #3b82f6;
  --bento-cta-text: #ffffff;
  --bento-cta-hover: #2563eb;


  --search-bg: rgba(18, 18, 22, 0.65);
  --search-input-text: #ffffff;
  --search-placeholder: #71717a;
  --search-btn-bg: #ffffff;
  --search-btn-text: #070709;
  --search-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);

  --connect-bg: rgba(255, 255, 255, 0.04);
  --connect-hover: rgba(255, 255, 255, 0.1);
  
  --grid-color: rgba(255, 255, 255, 0.035);
  /* Neutral Monochromatic Ambient Lighting (Blue Removed) */
  --spotlight-color: rgba(255, 255, 255, 0.03);
  --orb-1: rgba(255, 255, 255, 0.05);
  --orb-2: rgba(255, 255, 255, 0.03);
  --star-color: rgba(255, 255, 255, 0.28);

  /* FAQ Component Tokens (Dark Mode Default) */
  --faq-bg-left: #121214;
  --faq-grid-dots: #27272a;
  --faq-text-left-title: #ffffff;
  --faq-text-left-desc: #a1a1aa;
  --faq-eyebrow-color: #71717a;
  --faq-btn-bg: #1e1e22;
  --faq-btn-text: #ffffff;
  --faq-btn-hover: #27272a;
  --faq-btn-border: rgba(255, 255, 255, 0.12);
  
  --faq-card-right-bg: #09090b;
  --faq-card-right-border: rgba(255, 255, 255, 0.08);
  --faq-q-text-color: #ffffff;
  --faq-a-text-color: #a1a1aa;
}

/* High-Contrast Light Mode (Pure Whites & Light Grays) */
body.light-mode {
  --bg-base: #f8fafc;
  --text-main: #09090b;
  --text-muted: #4b5563;
  --text-nav: #4b5563;
  --nav-hover: #09090b;
  
  --border-subtle: rgba(0, 0, 0, 0.12);
  --border-focus: rgba(0, 0, 0, 0.4);
  
  --card-bg: #ffffff;
  /* ─── NEW SOLID BENTO TOKENS (light mode) ─── */
  --bento-card-bg: #ffffff;
  --bento-border-solid: rgba(0, 0, 0, 0.10);
  --bento-border-hover: rgba(0, 0, 0, 0.25);
  --bento-headline-color: #09090b;
  --bento-text-main: #09090b;
  --bento-text-muted: #4b5563;
  --bento-badge-bg: #eff6ff;
  --bento-badge-text: #2563eb;
  --bento-quote-mark: #64748b;
  --bento-em-color: #2563eb;
  --bento-cta-bg: #09090b;
  --bento-cta-text: #ffffff;
  --bento-cta-hover: #000000;
  
  --search-bg: #ffffff;
  --search-input-text: #09090b;
  --search-placeholder: #9ca3af;
  --search-btn-bg: #09090b;
  --search-btn-text: #ffffff;
  --search-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);

  --connect-bg: #ffffff;
  --connect-hover: #f1f5f9;
  
  --grid-color: rgba(0, 0, 0, 0.04);
  --spotlight-color: rgba(0, 0, 0, 0.03);
  --orb-1: rgba(0, 0, 0, 0.04);
  --orb-2: rgba(0, 0, 0, 0.02);
  --star-color: rgba(0, 0, 0, 0.25);

  /* FAQ Component Tokens (Light Mode) */
  --faq-bg-left: #ffffff;
  --faq-grid-dots: #e2e8f0;
  --faq-text-left-title: #09090b;
  --faq-text-left-desc: #4b5563;
  --faq-eyebrow-color: #64748b;
  --faq-btn-bg: #f1f5f9;
  --faq-btn-text: #09090b;
  --faq-btn-hover: #e2e8f0;
  --faq-btn-border: rgba(0, 0, 0, 0.12);
  
  --faq-card-right-bg: #ffffff;
  --faq-card-right-border: rgba(0, 0, 0, 0.08);
  --faq-q-text-color: #09090b;
  --faq-a-text-color: #4b5563;
}

/* ==========================================================================
   2. GLOBAL RESETS & BASE LAYOUT
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}


/* ==========================================================================
   3. BACKGROUND LAYERS & AMBIENT EFFECTS
   ========================================================================== */
.background-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 56px);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 25%, transparent 85%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.8;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.bg-orb-1 {
  top: 10%;
  left: 35%;
  width: clamp(220px, 35vw, 450px);
  height: clamp(220px, 35vw, 450px);
  background: radial-gradient(circle, var(--orb-1) 0%, transparent 70%);
}

.bg-orb-2 {
  top: 25%;
  right: 25%;
  width: clamp(180px, 30vw, 400px);
  height: clamp(180px, 30vw, 400px);
  background: radial-gradient(circle, var(--orb-2) 0%, transparent 70%);
  animation-delay: -7s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-25px, 25px) scale(0.95); }
}

.cursor-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--spotlight-color) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.star-accent {
  position: absolute;
  fill: none;
  stroke: var(--star-color);
  stroke-width: 1.2;
  animation: pulseStar 4s ease-in-out infinite alternate;
}

.star-bottom-right {
  bottom: clamp(20px, 4vw, 45px);
  right: clamp(20px, 4vw, 50px);
  width: clamp(16px, 2.5vw, 30px);
  height: clamp(16px, 2.5vw, 30px);
}

.star-top-left {
  top: clamp(80px, 12vw, 140px);
  left: clamp(20px, 5vw, 80px);
  width: clamp(12px, 1.8vw, 20px);
  height: clamp(12px, 1.8vw, 20px);
  opacity: 0.5;
  animation-delay: -2s;
}

@keyframes pulseStar {
  0% { opacity: 0.2; transform: scale(0.9) rotate(0deg); }
  100% { opacity: 0.6; transform: scale(1.1) rotate(6deg); }
}


/* ==========================================================================
   4. HERO CONTAINER & TYPOGRAPHY (Original PC Spacing + Mobile Fix)
   ========================================================================== */
.hero-container {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* EXACT original PC spacing */
  padding-top: clamp(60px, 12vh, 155px);
  padding-bottom: clamp(30px, 5vw, 60px);
  padding-left: var(--side-gutter);
  padding-right: var(--side-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: clamp(12px, 2vw, 22px);
  line-height: 1.08;
  width: 100%;
}

.title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(4px, 1.2vw, 12px);
  white-space: nowrap;
}

.font-sans-bold {
  font-family: var(--font-display); /* Space Grotesk */
  font-size: clamp(24px, 6.2vw, 84px);
  font-weight: 700; 
  letter-spacing: clamp(-1.5px, -0.2vw, -2.5px);
  color: var(--text-main);
}

.font-serif-italic {
  font-family: var(--font-serif); /* Source Serif 4 */
  font-size: clamp(28px, 7.2vw, 98px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.font-serif-roman {
  font-family: var(--font-serif); /* Source Serif 4 */
  font-size: clamp(28px, 7.2vw, 98px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: clamp(10.5px, 1.4vw, 17.5px);
  font-weight: 450;
  color: var(--text-muted);
  letter-spacing: -0.2px;
  line-height: 1.55;
  max-width: clamp(280px, 48vw, 580px);
  margin: 0 auto clamp(16px, 3vw, 34px);
}

/* ==========================================================================
   TARGETED MOBILE/TABLET ADJUSTMENTS ONLY (Leaves PC 100% Untouched)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    padding-top: 40px; /* Clean tablet gap */
  }
}

@media (max-width: 600px) {
  .hero-container {
    padding-top: 22px; /* Small clean gap on mobile phones */
    padding-bottom: 24px;
  }
}


/* ==========================================================================
   5. SEARCH BAR COMPONENT & HERO TAGS (Responsive)
   ========================================================================== */
.search-wrapper {
  width: 100%;
  max-width: 520px;
  position: relative;
  box-sizing: border-box;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--search-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 6px 7px 6px clamp(12px, 2vw, 18px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--search-shadow);
  z-index: 25;
  box-sizing: border-box;
}

.search-form:hover {
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

.search-form:focus-within {
  border-color: var(--border-focus);
  box-shadow: var(--search-shadow), 0 0 0 2px var(--border-focus);
  transform: translateY(-2px);
}

.search-icon {
  width: clamp(16px, 1.8vw, 19px);
  height: clamp(16px, 1.8vw, 19px);
  color: var(--search-placeholder);
  flex-shrink: 0;
  margin-right: clamp(8px, 1.2vw, 12px);
  transition: color 0.2s ease;
}

.search-form:focus-within .search-icon {
  color: var(--text-main);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--search-input-text);
  font-family: inherit;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 450;
  letter-spacing: -0.1px;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--search-placeholder);
  font-weight: 400;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: clamp(8px, 1vw, 10px) clamp(12px, 1.6vw, 18px);
  border-radius: 9999px;
  border: none;
  background-color: var(--search-btn-bg);
  color: var(--search-btn-text);
  font-family: inherit;
  font-size: clamp(12px, 1.2vw, 13.5px);
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.search-btn span {
  display: inline-block;
}

.search-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.search-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.search-btn:hover svg {
  transform: translateX(2px);
}

/* Quick Filter Tags */
.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Wraps cleanly on mobile devices */
  gap: clamp(6px, 1vw, 8px);
  margin-top: clamp(14px, 2vw, 20px);
  max-width: 100%;
}

.tag-label {
  font-size: clamp(11px, 1.1vw, 12px);
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 2px;
  letter-spacing: -0.1px;
}

.hero-tags a {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-nav);
  font-size: clamp(11px, 1.1vw, 12px);
  font-weight: 500;
  padding: 4px clamp(8px, 1.2vw, 12px);
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.1px;
}

.hero-tags a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-main);
  transform: translateY(-1px);
}

body.light-mode .hero-tags a {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

body.light-mode .hero-tags a:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.3);
}

/* Live Counter */
.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(16px, 2.4vw, 24px);
  font-size: clamp(11.5px, 1.2vw, 12.5px);
  font-weight: 450;
  color: var(--text-muted);
  letter-spacing: -0.1px;
  text-align: center;
  max-width: 100%;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: pulseLiveDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Responsive Breakpoint Adjustments for Hero */
@media (max-width: 900px) {
  .hero-container {
    padding-top: 40px;
  }
}

@media (max-width: 600px) {
  .hero-container {
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .title-line {
    gap: 8px;
  }

  .search-form {
    padding: 4px 5px 4px 12px;
  }

  .search-btn {
    padding: 7px 12px;
  }
}


/* ==========================================================================
   6. LIVE SEARCH AUTOCOMPLETE DROPDOWN
   ========================================================================== */
.search-dropdown {
  position: absolute;
  top: calc(100% + clamp(6px, 1vw, 10px));
  left: 0;
  right: 0;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(12px, 1.5vw, 18px);
  padding: clamp(6px, 1vw, 12px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  z-index: 20;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

body.light-mode .search-dropdown {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.1);
}

.search-dropdown.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-header {
  font-size: clamp(8px, 0.95vw, 11px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 4px;
  padding: 4px clamp(4px, 0.7vw, 8px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(6px, 0.9vw, 10px) clamp(8px, 1.1vw, 12px);
  border-radius: clamp(8px, 1vw, 12px);
  color: var(--text-main);
  text-decoration: none;
  font-size: clamp(9px, 1.15vw, 13.5px);
  font-weight: 450;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

body.light-mode .dropdown-item:hover {
  background-color: #f1f5f9;
}

.dropdown-item-left {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.9vw, 10px);
}

.item-icon {
  width: clamp(10px, 1.3vw, 15px);
  height: clamp(10px, 1.3vw, 15px);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.dropdown-item:hover .item-icon {
  color: var(--text-main);
}

.dropdown-tag {
  font-size: clamp(7.5px, 0.9vw, 10.5px);
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px clamp(4px, 0.6vw, 7px);
  border-radius: 5px;
}

body.light-mode .dropdown-tag {
  background: rgba(0, 0, 0, 0.04);
}


/* ==========================================================================
   7. THE TRANSITION STRIP (Infinite Marquee - No Background)
   ========================================================================== */
.transition-strip-section {
  width: 100%;
  margin-top: clamp(20px, 6vw, 40px);
  padding: clamp(36px, 5vw, 70px) 0 clamp(50px, 7vw, 90px);
  position: relative;
  z-index: 5;
  overflow: hidden; 
}

.transition-strip-container {
  width: 100%;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.transition-strip-eyebrow {
  display: inline-block;
  font-size: clamp(10.5px, 1.1vw, 12.5px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: clamp(1.4px, 0.22vw, 2.2px);
  color: var(--text-muted);
  opacity: 0.8;
  margin-bottom: clamp(32px, 6vw, 48px);
}

/* Container for the entire scrolling area */
.transition-logos-row {
  width: max-content; 
  display: flex;
  flex-wrap: nowrap;
  /* Adjust duration (e.g. 25s) to tweak speed across the 4 sets */
  animation: marquee 25s linear infinite;
  will-change: transform;
}

.transition-logos-row:hover {
  animation-play-state: paused;
}

/* Each repeating set */
.marquee-set {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 40px); 
  padding-right: clamp(14px, 3vw, 40px); 
}

/* Moving by -25% since there are 4 identical sets in the DOM */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.transition-logo-img {
  height: clamp(16px, 2.4vw, 28px);
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.38;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.transition-logo-img:hover {
  opacity: 0.85;
  filter: grayscale(20%);
  transform: translateY(-1px);
}

body.light-mode .transition-logo-img {
  filter: grayscale(100%) invert(1);
  opacity: 0.45;
}

body.light-mode .transition-logo-img:hover {
  opacity: 0.85;
  filter: grayscale(20%) invert(1);
}

/* ==========================================================================
   8. THREE-COLUMN FEATURES (Always Proportional)
   ========================================================================== */
.agency-features-section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--side-gutter) clamp(30px, 4vw, 60px); /* Reduced bottom padding */
  position: relative;
  z-index: 5;
}

.agency-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3.5vw, 48px);
}

.feature-heading {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.6vw, 20px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-bottom: clamp(6px, 1.2vw, 16px);
}

.feature-paragraph {
  font-size: clamp(8.5px, 1.15vw, 14.5px);
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.1px;
}

.agency-feature-col {
  padding: clamp(12px, 1.5vw, 20px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 0.2s ease;
}

.agency-feature-col:hover {
  background: rgba(255, 255, 255, 0.03);
}

body.light-mode .agency-feature-col:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   8.5 CORE VALUE PILLARS - MOBILE OPTIMIZATION (Exact PC Style)
   ========================================================================== */
@media (max-width: 767px) {
  .agency-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 3vw, 16px);
  }

  /* Hide the 3rd pillar on mobile since it makes the layout cramped */
  .agency-feature-col:nth-child(3) {
    display: none;
  }

  /* Inherit exact PC card styling (no borders) */
  /* Just fluidly scale the text using clamp() */
  .feature-heading {
    font-size: clamp(9.5px, 3.5vw, 12px);
    margin-bottom: clamp(6px, 1.5vw, 10px);
  }

  .feature-paragraph {
    font-size: clamp(10.5px, 2.8vw, 12px);
    line-height: 1.5;
  }
}


/* ==========================================================================
   INTEGRATION / ECOSYSTEM SECTION
   ========================================================================== */
/* Optimized Ecosystem Container */
.ecosystem-section {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1380px; /* Expanded max-width for wider orbit spacing */
  margin: 0 auto;
  aspect-ratio: 16 / 7; /* Increased vertical space ratio */
  padding: clamp(3rem, 6vw, 5rem) var(--side-gutter);
}

/* Sizing Adjustments for Tiles */
.ecosystem-tile {
  position: absolute;
  width: clamp(48px, 4.2vw, 68px); /* Slightly reduced footprint */
  height: clamp(48px, 4.2vw, 68px);
  transform: translate(-50%, -50%);
  background: var(--bento-card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ecosystem-tile:hover {
  border-color: var(--border-focus);
  transform: translate(-50%, -55%);
}

.ecosystem-tile svg,
.ecosystem-tile img {
  width: 48%;
  height: 48%;
  object-fit: contain;
}

/* Outer Orbit Coordinate Positions */
.t-globe   { left: 24.5%; top: 18%; }  /* Top Left */
.t-chart   { left: 75.5%; top: 18%; }  /* Top Right */
.t-flower  { left: 14.0%; top: 50%; }  /* Mid Left (Pushed far left) */
.t-quote   { left: 86.0%; top: 50%; }  /* Mid Right (Pushed far right) */
.t-refresh { left: 22.0%; top: 82%; }  /* Bottom Left */
.t-house   { left: 78.0%; top: 82%; }  /* Bottom Right */
.t-plane   { left: 50.0%; top: 92%; }  /* Center Bottom (Pushed lower) */

/* Constrained Center Block */
.ecosystem-content {
  position: absolute;
  top: 48%; 
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 540px; /* Tightened width so text doesn't hit side icons */
  width: 88%;
  z-index: 5;
}

.ecosystem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.ecosystem-eyebrow svg { width: 14px; height: 14px; }

.ecosystem-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.ecosystem-subtext {
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.ecosystem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--connect-bg);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecosystem-btn:hover {
  border-color: var(--border-focus);
  background: var(--connect-hover);
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
  .ecosystem-tile { display: none; }
  .ecosystem-section { aspect-ratio: auto; }
  .ecosystem-content {
    position: static;
    transform: none;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100%;
  }
}


/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS SECTION (Split-Card Design)
   ========================================================================== */

.exact-faq-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px) var(--side-gutter, 20px) clamp(50px, 8vw, 120px);
  position: relative;
  z-index: 5;
}

.exact-faq-container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}

/* Left Card: CTA Block */
.faq-left-card {
  background-color: var(--faq-bg-left);
  background-image: radial-gradient(var(--faq-grid-dots) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--faq-eyebrow-color);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.faq-left-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--faq-text-left-title);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.faq-left-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--faq-text-left-desc);
  margin-bottom: 28px;
}

.faq-bottom-cta {
  margin-top: auto;
}

.btn-suggest-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: var(--faq-btn-bg);
  color: var(--faq-btn-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-suggest-app:hover {
  background: var(--faq-btn-hover);
  transform: translateY(-2px);
}

/* Right Card: Dark Accordion Container */
.faq-right-card {
  background: var(--faq-card-right-bg);
  border: 1px solid var(--faq-card-right-border);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
}

.faq-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-row:last-child {
  border-bottom: none;
}

.faq-btn {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faq-q-text-color);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-q-text {
  font-size: clamp(15px, 1.2vw, 16.5px);
  font-weight: 600;
  color: var(--faq-q-text-color);
  letter-spacing: -0.2px;
}

.faq-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-row.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--faq-q-text-color);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-row.active .faq-panel {
  max-height: 180px;
}

.faq-panel p {
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--faq-a-text-color);
}

/* Mobile Responsiveness */
@media (max-width: 820px) {
  .exact-faq-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BENTO GRID — PC & TABLET (Perfect as is, fluid structure)
   ========================================================================== */

/* Outer Section & Header */
.bento-section {
  width: 100%;
  max-width: 1100px;
  margin: clamp(40px, 8vw, 60px) auto;
  padding: 0 var(--side-gutter, 20px);
  box-sizing: border-box;
}

.bento-header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.bento-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--bento-headline-color);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Grid Wrapper - Strictly horizontal */
.bento-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 20px);
  width: 100%;
  align-items: stretch;
}

/* Base Card */
.bento-card {
  background: var(--bento-card-bg);
  border: 1px solid var(--bento-border-solid);
  border-radius: clamp(14px, 2vw, 20px);
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
  border-color: var(--bento-border-hover);
  transform: translateY(-2px);
}

/* Left Hero Card */
.bento-tall {
  flex: 0 0 clamp(180px, 42%, 42%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 3.5vw, 40px);
  min-width: 0;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: clamp(10px, 1.2vw, 11px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bento-badge-bg);
  color: var(--bento-badge-text);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.ed-quote-mark {
  width: clamp(20px, 3vw, 28px);
  height: clamp(14px, 2vw, 20px);
  color: var(--bento-quote-mark);
  margin-top: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(6px, 1vw, 8px);
}

.ed-quote {
  font-family: var(--font-serif); /* Source Serif 4 */
  font-size: clamp(16px, 2.5vw, 28px);
  line-height: 1.25;
  color: var(--bento-text-main);
  margin-bottom: auto;
  word-break: break-word;
}

.ed-quote em {
  font-style: italic;
  color: var(--bento-em-color);
}

.ed-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 600;
  color: var(--bento-em-color);
  text-decoration: none;
  margin-top: clamp(20px, 3vw, 32px);
  white-space: nowrap;
}

.ed-quote-link svg {
  width: 14px;
  height: 14px;
}

/* Right Column */
.bento-right-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 20px);
  min-width: 0;
}

.bento-top-row {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 20px);
  flex: 1;
}

.bento-feature-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 3vw, 36px) clamp(12px, 2.5vw, 30px);
  min-width: 0;
}

.feature-title {
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--bento-text-main);
  margin-bottom: clamp(4px, 1vw, 10px);
  word-break: break-word;
}

.feature-desc {
  font-size: clamp(10px, 1.2vw, 14px);
  color: var(--bento-text-muted);
  line-height: 1.45;
  word-break: break-word;
}

/* Bottom CTA Banner */
.bento-bottom-banner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 20px);
  padding: clamp(16px, 3.5vw, 32px) clamp(16px, 4vw, 36px);
}

.banner-content {
  min-width: 0;
}

.banner-headline {
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 700;
  color: var(--bento-text-main);
  margin-bottom: 4px;
  word-break: break-word;
}

.banner-subhead {
  font-size: clamp(10px, 1.5vw, 14px);
  color: var(--bento-text-muted);
  word-break: break-word;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bento-cta-bg);
  color: var(--bento-cta-text);
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 600;
  padding: clamp(8px, 1.5vw, 12px) clamp(10px, 2.5vw, 22px);
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.banner-cta svg {
  width: 14px;
  height: 14px;
}

.banner-cta:hover {
  background-color: var(--bento-cta-hover);
}

/* ==========================================================================
   BENTO GRID — FLUID MOBILE LAYOUT (Phones under 768px)
   Uses clamp() to scale perfectly with ANY phone screen size
   ========================================================================== */
@media (max-width: 767px) {
  .bento-wrapper {
    flex-direction: column;
    gap: clamp(8px, 2.5vw, 12px);
  }

  /* Make all cards full width */
  .bento-card {
    width: 100%;
  }

  /* Tall Quote Card */
  .bento-tall {
    flex: none;
    padding: clamp(16px, 4vw, 20px);
    min-height: 160px;
  }

  .ed-quote {
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.25;
  }

  .card-badge {
    font-size: clamp(9px, 2.5vw, 10px);
    padding: 4px 8px;
  }

  .ed-quote-link {
    font-size: clamp(11px, 3.5vw, 12.5px);
    margin-top: clamp(12px, 3vw, 16px);
  }

  .ed-quote-mark {
    width: clamp(18px, 4vw, 20px);
    height: clamp(13px, 3vw, 14px);
    margin-top: clamp(12px, 3vw, 14px);
    margin-bottom: clamp(5px, 1.5vw, 6px);
  }

  /* Right Column */
  .bento-right-group {
    flex: none;
    gap: clamp(8px, 2.5vw, 10px);
  }

  /* Top Feature Cards Stack on Top of Each Other */
  .bento-top-row {
    flex-direction: column;
    gap: clamp(8px, 2.5vw, 10px);
  }

  .bento-feature-card {
    flex: none;
    padding: clamp(14px, 3.8vw, 16px);
  }

  .feature-title {
    font-size: clamp(14px, 3.8vw, 15.5px);
    margin-bottom: 5px;
  }

  .feature-desc {
    font-size: clamp(11px, 3vw, 12.5px);
    line-height: 1.4;
  }

  /* Bottom Banner: Stacks, Button full width */
  .bento-bottom-banner {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(12px, 3vw, 14px);
    padding: clamp(16px, 4vw, 18px);
  }

  .banner-headline {
    font-size: clamp(15px, 4.5vw, 17px);
  }

  .banner-subhead {
    font-size: clamp(11px, 3vw, 12.5px);
  }

  .banner-cta {
    width: 100%;
    padding: clamp(8px, 2.5vw, 10px) clamp(12px, 4vw, 14px);
    font-size: clamp(12px, 3.5vw, 13px);
    border-radius: 8px;
  }
}

/* ==========================================================================
   LATEST NEWS SECTION (Fluid Sizing & 4:3 Media Aspect Ratio)
   ========================================================================== */

/* Design Tokens for News Component (Dark Mode Default) */
:root {
  --news-tag-bg-blue: rgba(59, 130, 246, 0.12);
  --news-tag-text-blue: #60a5fa;
  --news-tag-bg-purple: rgba(168, 85, 247, 0.12);
  --news-tag-text-purple: #c084fc;
  
  --news-mockup-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --news-mockup-border: rgba(255, 255, 255, 0.09);
  --news-divider: rgba(255, 255, 255, 0.08);
  
  --news-cta-bg: linear-gradient(180deg, rgba(28, 34, 58, 0.5) 0%, rgba(13, 14, 20, 0.85) 100%);
  --news-cta-border: rgba(255, 255, 255, 0.09);
  --news-input-bg: #141418;
  --news-input-text: #ffffff;
  --news-input-border: rgba(255, 255, 255, 0.12);
  --news-submit-bg: #ffffff;
  --news-submit-color: #070709;
}

/* Light Mode Overrides */
body.light-mode {
  --news-tag-bg-blue: #eff6ff;
  --news-tag-text-blue: #2563eb;
  --news-tag-bg-purple: #f5f3ff;
  --news-tag-text-purple: #7c3aed;
  
  --news-mockup-bg: linear-gradient(145deg, #f0f4ff 0%, #fcfaff 100%);
  --news-mockup-border: rgba(0, 0, 0, 0.06);
  --news-divider: rgba(0, 0, 0, 0.08);
  
  --news-cta-bg: linear-gradient(180deg, #edf2fe 0%, #fbfaff 100%);
  --news-cta-border: rgba(0, 0, 0, 0.06);
  --news-input-bg: #ffffff;
  --news-input-text: #09090b;
  --news-input-border: rgba(0, 0, 0, 0.06);
  --news-submit-bg: #09090b;
  --news-submit-color: #ffffff;
}

/* Section Wrapper */
.latest-news-section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(32px, 5.5vw, 72px) var(--side-gutter) clamp(44px, 7vw, 96px);
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.latest-news-container {
  width: 100%;
}

/* Header Area */
.latest-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.latest-news-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: clamp(-0.5px, -0.025em, -1.2px);
  color: var(--text-main);
  line-height: 1.12;
}

.btn-browse-articles {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 9px);
  padding: clamp(6px, 0.8vw, 9px) clamp(12px, 1.4vw, 18px);
  border-radius: clamp(9px, 1vw, 12px);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-main);
  font-size: clamp(12px, 1.15vw, 13.5px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-browse-articles:hover {
  border-color: var(--border-focus);
  background: var(--connect-bg);
  transform: translateY(-1px);
}

.browse-icon {
  width: clamp(12px, 1.2vw, 14px);
  height: clamp(12px, 1.2vw, 14px);
}

/* 3-Column Layout Grid */
.latest-news-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(16px, 2.6vw, 36px);
  align-items: stretch;
}

/* Column 1: Featured Main Card */
.featured-news-card {
  display: flex;
  flex-direction: column;
}

.featured-media-link {
  text-decoration: none;
  display: block;
  margin-bottom: clamp(14px, 1.8vw, 20px);
  border-radius: clamp(18px, 2.2vw, 26px);
  overflow: hidden;
  border: 1px solid var(--news-mockup-border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.featured-media-link:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
}

/* Legacy SVG Mockup Wrapper (Maintains 4:3 Aspect Ratio) */
.featured-mockup-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--news-mockup-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 24px);
  box-sizing: border-box;
}

/* Mockup Canvas Visuals */
.mockup-canvas {
  position: relative;
  width: 90%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-window {
  width: 84%;
  height: 78%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: clamp(12px, 1.5vw, 16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body:not(.light-mode) .mockup-window {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.mockup-bar {
  position: absolute;
  top: clamp(10px, 1.4vw, 15px);
  width: 46%;
  height: clamp(4px, 0.6vw, 6px);
  background: #cbd5e1;
  border-radius: 999px;
  opacity: 0.85;
}

body:not(.light-mode) .mockup-bar {
  background: rgba(255, 255, 255, 0.2);
}

.mockup-selection-box {
  position: absolute;
  top: clamp(22px, 3.2vw, 34px);
  width: 58%;
  height: clamp(18px, 2.4vw, 26px);
  background: rgba(147, 197, 253, 0.5);
  border: 1.5px solid #60a5fa;
  border-radius: clamp(6px, 0.8vw, 8px);
}

.mockup-body-shape {
  position: absolute;
  bottom: 0;
  width: 54%;
  height: clamp(38px, 5.2vw, 54px);
  background: rgba(255, 255, 255, 0.95);
  border-top-left-radius: clamp(10px, 1.4vw, 14px);
  border-top-right-radius: clamp(10px, 1.4vw, 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

body:not(.light-mode) .mockup-body-shape {
  background: rgba(255, 255, 255, 0.08);
}

.mockup-img-icon {
  width: clamp(12px, 1.5vw, 16px);
  height: clamp(12px, 1.5vw, 16px);
  color: #94a3b8;
}

/* User Cursor Badges */
.user-cursor-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.4vw, 5px);
  padding: clamp(3px, 0.4vw, 5px) clamp(8px, 1vw, 11px);
  border-radius: 999px;
  font-size: clamp(9.5px, 0.9vw, 11.5px);
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.cursor-pointer {
  width: clamp(8px, 0.9vw, 10px);
  height: clamp(8px, 0.9vw, 10px);
}

.badge-sophie {
  bottom: 22%;
  left: -2%;
  background-color: #818cf8;
}

.badge-john {
  top: 24%;
  right: -3%;
  background-color: #3b82f6;
}

/* Sparkle Glass Badge */
.glass-spark-badge {
  position: absolute;
  bottom: 2%;
  right: 6%;
  width: clamp(36px, 4.2vw, 48px);
  height: clamp(36px, 4.2vw, 48px);
  border-radius: clamp(10px, 1.2vw, 14px);
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.75), rgba(216, 180, 254, 0.75));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
  z-index: 3;
}

.glass-spark-badge svg {
  width: clamp(16px, 2vw, 22px);
  height: clamp(16px, 2vw, 22px);
}

/* Meta info (Tag + Date) */
.featured-news-meta,
.article-list-meta {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 14px);
  margin-bottom: clamp(8px, 1.1vw, 12px);
}

.news-tag {
  display: inline-block;
  padding: clamp(2px, 0.35vw, 4px) clamp(8px, 0.9vw, 11px);
  border-radius: 9999px;
  font-size: clamp(10.5px, 0.95vw, 12px);
  font-weight: 600;
  letter-spacing: -0.1px;
}

.tag-blue {
  background: var(--news-tag-bg-blue);
  color: var(--news-tag-text-blue);
}

.tag-purple {
  background: var(--news-tag-bg-purple);
  color: var(--news-tag-text-purple);
}

.news-date {
  font-size: clamp(11.5px, 1.05vw, 13px);
  font-weight: 450;
  color: var(--text-muted);
}

.featured-news-title {
  font-size: clamp(16.5px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.featured-news-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.featured-news-title a:hover {
  color: #3b82f6;
}

/* Column 2: Stacked Articles List */
.articles-list-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.article-list-item {
  padding-bottom: clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--news-divider);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-list-title {
  font-size: clamp(14.5px, 1.25vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: clamp(8px, 1.1vw, 12px);
}

.article-list-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.article-list-title a:hover {
  color: #3b82f6;
}

/* Column 3: Newsletter CTA Card */
.newsletter-cta-card {
  background: var(--news-cta-bg);
  border: 1px solid var(--news-cta-border);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(20px, 2.6vw, 32px) clamp(16px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.newsletter-graphic-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1vw, 12px) 0 clamp(14px, 2vw, 24px);
}

.paper-plane-3d {
  width: clamp(84px, 8.5vw, 124px);
  height: clamp(84px, 8.5vw, 124px);
  filter: drop-shadow(0 12px 24px rgba(99, 102, 241, 0.22));
  animation: floatPlane 6s ease-in-out infinite alternate;
}

.paper-plane-3d svg {
  width: 100%;
  height: 100%;
}

@keyframes floatPlane {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-7px) rotate(2.5deg); }
}

.newsletter-card-body {
  display: flex;
  flex-direction: column;
}

.newsletter-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

.newsletter-card-form {
  display: flex;
  align-items: center;
  background: var(--news-input-bg);
  border: 1px solid var(--news-input-border);
  border-radius: clamp(12px, 1.4vw, 16px);
  padding: clamp(4px, 0.6vw, 6px) clamp(5px, 0.6vw, 7px) clamp(4px, 0.6vw, 6px) clamp(12px, 1.4vw, 16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease;
}

.newsletter-card-form:focus-within {
  border-color: var(--border-focus);
}

.newsletter-card-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: clamp(12.5px, 1.15vw, 14px);
  color: var(--news-input-text);
  min-width: 0;
}

.newsletter-card-input::placeholder {
  color: var(--text-muted);
}

.newsletter-card-submit {
  width: clamp(34px, 3.2vw, 38px);
  height: clamp(34px, 3.2vw, 38px);
  border-radius: clamp(8px, 1vw, 11px);
  background: var(--news-submit-bg);
  color: var(--news-submit-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.newsletter-card-submit svg {
  width: clamp(13px, 1.3vw, 15px);
  height: clamp(13px, 1.3vw, 15px);
}

.newsletter-card-submit:hover {
  opacity: 0.9;
  transform: translateX(1px);
}

/* ==========================================================================
   FLUID RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  .latest-news-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .newsletter-cta-card {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(20px, 3vw, 28px);
  }
  
  .newsletter-card-body {
    flex: 1;
  }
  
  .newsletter-graphic-area {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .latest-news-grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
  }
  
  .newsletter-cta-card {
    grid-column: span 1;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(22px, 3.5vw, 28px);
  }

  .newsletter-graphic-area {
    padding-bottom: 12px;
  }
}

/* ==========================================================================
   FEATURED ARTICLE IMAGE (Edge-to-Edge 4:3 Aspect Ratio)
   ========================================================================== */

/* Full-bleed Container: Overrides default wrapper styling to allow edge-to-edge media filling */
.featured-mockup-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--news-mockup-bg);
  box-sizing: border-box;
  padding: 0;         /* Removed clamp padding so image stretches flush to edges */
  display: block;     /* Converted from flex layout to block display for standard media scaling */
}

/* Responsive Image Component: Fills container completely without breaking ratio */
.featured-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Crops image cleanly to maintain exact 4:3 bounds without distortion */
  display: block;
  transition: transform 0.3s ease;
}

/* Smooth Scale Effect on Hover */
.featured-media-link:hover .featured-article-img {
  transform: scale(1.04);
}

