@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Dark Theme Default */
  --background: #09090b;
  --foreground: #fafafa;
  
  --card: #121215;
  --card-foreground: #fafafa;
  --card-border: rgba(255, 255, 255, 0.08);

  --popover: #18181b;
  --popover-foreground: #fafafa;

  --primary: #f43f5e;
  --primary-foreground: #ffffff;
  
  --secondary: #1e1e24;
  --secondary-foreground: #e4e4e7;

  --muted: #27272a;
  --muted-foreground: #a1a1aa;

  --accent: #27272a;
  --accent-foreground: #fafafa;

  --destructive: #ef4444;
  --destructive-foreground: #fafafa;

  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #f43f5e;

  /* Pill tokens for cinematic footer */
  --pill-bg-1: rgba(255, 255, 255, 0.05);
  --pill-bg-2: rgba(255, 255, 255, 0.02);
  --pill-shadow: rgba(0, 0, 0, 0.6);
  --pill-highlight: rgba(255, 255, 255, 0.15);
  --pill-inset-shadow: rgba(0, 0, 0, 0.8);
  --pill-border: rgba(255, 255, 255, 0.12);

  --pill-bg-1-hover: rgba(255, 255, 255, 0.12);
  --pill-bg-2-hover: rgba(255, 255, 255, 0.05);
  --pill-border-hover: rgba(255, 255, 255, 0.3);
  --pill-shadow-hover: rgba(0, 0, 0, 0.8);
  --pill-highlight-hover: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] {
  --background: #f8fafc;
  --foreground: #0f172a;
  
  --card: #ffffff;
  --card-foreground: #0f172a;
  --card-border: rgba(0, 0, 0, 0.08);

  --popover: #ffffff;
  --popover-foreground: #0f172a;

  --primary: #e11d48;
  --primary-foreground: #ffffff;
  
  --secondary: #f1f5f9;
  --secondary-foreground: #334155;

  --muted: #f1f5f9;
  --muted-foreground: #64748b;

  --accent: #f1f5f9;
  --accent-foreground: #0f172a;

  --border: rgba(0, 0, 0, 0.08);
  --input: rgba(0, 0, 0, 0.12);
  --ring: #e11d48;

  --pill-bg-1: rgba(0, 0, 0, 0.04);
  --pill-bg-2: rgba(0, 0, 0, 0.01);
  --pill-shadow: rgba(0, 0, 0, 0.08);
  --pill-highlight: rgba(255, 255, 255, 0.8);
  --pill-inset-shadow: rgba(0, 0, 0, 0.05);
  --pill-border: rgba(0, 0, 0, 0.1);

  --pill-bg-1-hover: rgba(0, 0, 0, 0.08);
  --pill-bg-2-hover: rgba(0, 0, 0, 0.03);
  --pill-border-hover: rgba(0, 0, 0, 0.2);
  --pill-shadow-hover: rgba(0, 0, 0, 0.15);
  --pill-highlight-hover: rgba(255, 255, 255, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* =========================================================================
   1. Three.js Background Shader Canvas
   ========================================================================= */
#dotted-canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-gradient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 10%, rgba(244, 63, 94, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 90% 40%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 40%);
}

/* =========================================================================
   2. Sticky Header & Navigation Menu
   ========================================================================= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  background-color: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] header.site-header.scrolled {
  background-color: rgba(248, 250, 252, 0.85);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: opacity 0.2s;
}

.logo-link:hover {
  opacity: 0.9;
}

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

.nav-item {
  position: relative;
}

.nav-trigger {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.2s ease;
}

.nav-trigger:hover, .nav-trigger.active {
  color: var(--foreground);
  background-color: var(--accent);
}

.nav-trigger svg.chevron {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.25s ease;
}

.nav-item.open .nav-trigger svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu Container */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
  padding: 0.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-product {
  width: 580px;
}

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

.dropdown-link-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-link-item:hover {
  background-color: var(--accent);
}

.dropdown-link-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--primary);
}

.dropdown-link-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}

.dropdown-link-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.3;
}

.dropdown-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.dropdown-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.dropdown-footer a:hover {
  text-decoration: underline;
}

.dropdown-company {
  width: 520px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

.dropdown-simple-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
}

.dropdown-simple-links a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-simple-links a:hover {
  color: var(--foreground);
  background-color: var(--accent);
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-outline {
  border-color: var(--border);
  background: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

.theme-toggle-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-toggle-btn:hover {
  color: var(--foreground);
  background: var(--accent);
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-drawer {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  z-index: 45;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================================
   3. Hero Section & Interactive Image Accordion
   ========================================================================= */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 32rem;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.hero-stat-item .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
  font-family: var(--font-display);
}

.hero-stat-item .stat-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* Interactive Image Accordion */
.accordion-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  padding: 1rem;
  overflow-x: auto;
}

.accordion-card {
  position: relative;
  height: 480px;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.accordion-card.active {
  width: 380px;
}

.accordion-card:not(.active) {
  width: 65px;
}

.accordion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-card:hover img {
  transform: scale(1.06);
}

.accordion-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  transition: background 0.3s ease;
}

.accordion-card.active .card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.accordion-card .card-caption {
  position: absolute;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.accordion-card.active .card-caption {
  bottom: 2rem;
  left: 2rem;
  font-size: 1.35rem;
  transform: rotate(0deg);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.accordion-card.active .card-caption-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.accordion-card:not(.active) .card-caption {
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.accordion-card:not(.active) .card-caption-desc {
  display: none;
}

/* =========================================================================
   4. Features Section (FeatureGrid)
   ========================================================================= */
.features-section {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.features-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .features-header {
    flex-direction: row;
    align-items: center;
  }
}

.features-header-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.highlight-underline-wrapper {
  position: relative;
  display: inline-block;
}

.highlight-underline-svg {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  overflow: visible;
}

.features-header-text p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 38rem;
}

.features-illustration-badge {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.features-illustration-badge img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.features-container-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.features-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem 2rem;
}

.feature-category-col {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: 1rem;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.feature-category-col:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(244, 63, 94, 0.2);
  transform: translateY(-2px);
}

[data-theme="light"] .feature-category-col:hover {
  background: rgba(0, 0, 0, 0.02);
}

.feature-cat-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.feature-cat-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.feature-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item-list li a, .feature-item-list li span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

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

.features-card-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* =========================================================================
   5. Glowing Showcase Card (FooterGlow from Footer.txt)
   ========================================================================= */
.glow-showcase-section {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.glow-card-container {
  position: relative;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.glow-orb-rose {
  position: absolute;
  top: -6rem;
  left: 15%;
  width: 20rem;
  height: 20rem;
  background: rgba(244, 63, 94, 0.25);
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}

.glow-orb-indigo {
  position: absolute;
  bottom: -6rem;
  right: 15%;
  width: 22rem;
  height: 22rem;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
}

.glow-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.glow-brand-col {
  display: flex;
  flex-direction: column;
}

.glow-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.glow-logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.4);
}

.glow-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #fda4af, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-brand-desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 22rem;
}

.glow-social-row {
  display: flex;
  gap: 0.75rem;
}

.glow-social-btn {
  --brand-pink: #d03577;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(208, 53, 119, 0.1);
  border: 1px solid rgba(208, 53, 119, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-pink);
  text-decoration: none;
  transition: all 0.2s ease;
}

.glow-social-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.glow-social-btn:hover {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(208, 53, 119, 0.6);
}

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

.glow-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fb7185;
  margin-bottom: 1.25rem;
}

.glow-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.glow-link-list a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.glow-link-list a:hover {
  color: var(--foreground);
}

/* =========================================================================
   6. Comprehensive 4-Column Footer (Footer4Col from Footer.txt)
   ========================================================================= */
.directory-footer-section {
  position: relative;
  z-index: 10;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4.5rem 1.5rem 3rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

.directory-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (min-width: 1024px) {
  .directory-grid-main {
    grid-template-columns: 1.2fr 2.8fr;
  }
}

.directory-brand-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.directory-brand-info p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 24rem;
  margin-bottom: 1.5rem;
}

.directory-social-links {
  display: flex;
  gap: 0.75rem;
}

.directory-social-links a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.directory-social-links a:hover {
  color: var(--primary);
}

/* Brand-pink social buttons (shared with the showcase section) */
.directory-social-links a.glow-social-btn {
  color: var(--brand-pink);
}

.directory-social-links a.glow-social-btn:hover {
  color: #fff;
}

.directory-cols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.directory-col-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.directory-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.directory-nav-list a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.directory-nav-list a:hover {
  color: var(--foreground);
}

/* Pulsing ping indicator */
.ping-indicator-wrapper {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}

.ping-indicator-wave {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #10b981;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-indicator-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #10b981;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.directory-bottom-bar {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* =========================================================================
   7. Cinematic Curtain Reveal Finale (CinematicFooter from ScrollAreas.txt)
   ========================================================================= */
.cinematic-curtain-wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
  z-index: 10;
}

.cinematic-fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #09090b;
  color: #fafafa;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

/* Ambient Breathing Aurora Glow */
.footer-aurora {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80vw;
  height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(244, 63, 94, 0.18) 0%,
    rgba(99, 102, 241, 0.15) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: footer-breathe 8s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes footer-breathe {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Theme Adaptive Grid */
.footer-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
  z-index: 1;
}

/* Giant background text */
.footer-giant-bg-text {
  position: absolute;
  bottom: -4vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24vw;
  line-height: 0.75;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Tilted Marquee Banner */
.footer-marquee-band {
  position: absolute;
  top: 3rem;
  left: 0;
  width: 110%;
  margin-left: -5%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(12px);
  padding: 0.875rem 0;
  transform: rotate(-2deg);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.marquee-content-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-items-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.5rem;
}

/* Main Center Content of Curtain Footer */
.footer-center-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  margin-top: 5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.footer-heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 0px 25px rgba(255, 255, 255, 0.2));
}

/* Glass Magnetic Pills Layout */
.footer-pills-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.footer-primary-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-glass-pill {
  background: linear-gradient(145deg, var(--pill-bg-1) 0%, var(--pill-bg-2) 100%);
  box-shadow: 
      0 10px 30px -10px var(--pill-shadow), 
      inset 0 1px 1px var(--pill-highlight), 
      inset 0 -1px 2px var(--pill-inset-shadow);
  border: 1px solid var(--pill-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.footer-glass-pill:hover {
  background: linear-gradient(145deg, var(--pill-bg-1-hover) 0%, var(--pill-bg-2-hover) 100%);
  border-color: var(--pill-border-hover);
  box-shadow: 
      0 20px 40px -10px var(--pill-shadow-hover), 
      inset 0 1px 1px var(--pill-highlight-hover);
  color: #ffffff;
}

.pill-lg {
  padding: 1.125rem 2.25rem;
  border-radius: 9999px;
  font-size: 1rem;
}

.pill-sm {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.pill-sm:hover {
  color: var(--foreground);
}

.footer-secondary-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Bottom Bar of Cinematic Footer */
.footer-bottom-bar {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 1.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  order: 2;
}

@media (min-width: 768px) {
  .footer-copyright { order: 1; }
}

.footer-made-badge {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  order: 1;
}

@media (min-width: 768px) {
  .footer-made-badge { order: 2; }
}

.footer-heart {
  color: #ef4444;
  animation: heart-pulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  display: inline-block;
  font-size: 1rem;
}

@keyframes heart-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.5)); }
  15%, 45% { transform: scale(1.25); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.8)); }
  30% { transform: scale(1); }
}

.footer-back-to-top {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  order: 3;
}

.footer-back-to-top:hover svg {
  transform: translateY(-2px);
}

.footer-back-to-top svg {
  transition: transform 0.25s ease;
}

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .glow-content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu-list, .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .accordion-wrapper {
    gap: 0.5rem;
  }

  .accordion-card.active {
    width: 260px;
  }

  .accordion-card:not(.active) {
    width: 48px;
  }
}

/* Service card details */
.feature-cat-desc {
  font-size: 0.9375rem;
  color: var(--foreground);
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.feature-cat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 0.625rem;
}

.feature-item-list li span {
  align-items: flex-start;
  line-height: 1.45;
}

.feature-item-list li span svg {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.2rem;
  color: #f43f5e;
}

.feature-cat-best {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.feature-cat-best strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Service card → service page link (whole card is clickable) */
.feature-category-col {
  position: relative;
}

.feature-cat-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f43f5e;
  text-decoration: none;
}

.feature-cat-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.feature-cat-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
}

.feature-category-col:hover .feature-cat-link svg {
  transform: translateX(4px);
}

/* Phone fix: keep the hero (title + image accordion) inside the screen width */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding: 3rem 1rem 4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .hero-stats {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .accordion-wrapper {
    gap: 0.4rem;
    padding: 0.5rem 0;
    overflow: hidden;
  }

  .accordion-card {
    height: 380px;
  }

  .accordion-card.active {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .accordion-card:not(.active) {
    width: 40px;
  }

  .accordion-card:not(.active) .card-caption {
    font-size: 0.9rem;
  }
}
