/* ==========================================
   RETICULO DESIGN SYSTEM (VANILLA CSS)
   Aesthetics: Permanent Light Theme, High Accessibility, Brand Navy Accents
   Preferred Brand Color: Deep Navy Blue (#0b2357 / #142253)
   Logos: Utilizing the Reticulo Light Logo everywhere (placed on dark navy backgrounds)
   ========================================== */

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

:root {
  /* Permanent Light Theme Configuration */
  --bg-dark: #f8fafc;           /* Light slate blue-gray page background */
  --bg-card: #ffffff;           /* Pure white card backgrounds */
  --bg-card-hover: #f1f5f9;      /* Light gray card hover state */
  --border-color: rgba(11, 35, 87, 0.08);
  --border-hover: rgba(11, 35, 87, 0.15);
  
  /* Typography Text Colors */
  --text-primary: #0b2357;      /* Preferred Brand Navy for headings & text */
  --text-secondary: #475569;    /* Muted slate text */
  --text-muted: #94a3b8;       /* Very light grey text */
  
  /* Brand/Theme Colors */
  --color-brand: #0b2357;       /* Logo Navy Blue */
  --color-brand-navy: #0b2357;
  --color-radlo: #475569;        /* Slate Grey for Radlo */
  --color-studio: #7c3aed;       /* Vibrant Purple for Studio */
  --color-agon: #991b1b;         /* Dark Crimson Red for Agon */
  --color-partners: #0891b2;     /* Fintech Cyan/Teal for Partnerships */
  
  /* Glow Shadows */
  --glow-brand: 0 4px 20px rgba(11, 35, 87, 0.08);
  --glow-radlo: 0 4px 20px rgba(71, 85, 105, 0.15);
  --glow-studio: 0 4px 20px rgba(124, 58, 237, 0.1);
  --glow-agon: 0 4px 20px rgba(153, 27, 27, 0.15);
  --glow-partners: 0 4px 20px rgba(8, 145, 178, 0.1);

  /* Layout Variables */
  --max-width: 1200px;
  --header-height: 80px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Header & Footer Custom (Dark Navy to match Light Logo) */
  --header-bg: #051230;
  --footer-bg: #051230;
  --panel-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(11, 35, 87, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(11, 35, 87, 0.02) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 968px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 968px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(11, 35, 87, 0.05);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  color: var(--color-brand);
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

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

/* Header & Navigation (Dark themed for contrast with Light Logo) */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal), height var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 46px;
  width: auto;
  transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 38px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--active-color, #ffffff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.nav-radlo { --active-color: #64748b; }
.nav-link.nav-studio { --active-color: #a78bfa; }
.nav-link.nav-agon { --active-color: #b91c1c; }
.nav-link.nav-partners { --active-color: #22d3ee; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.cta-primary {
  background: #ffffff;
  color: var(--color-brand-navy);
}

.cta-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .nav {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--header-bg);
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    gap: 20px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    pointer-events: none;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 8px;
    position: relative;
    width: 36px;
    height: 36px;
  }
  .mobile-menu-btn span {
    display: block;
    position: absolute;
    left: 8px;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-menu-btn span:nth-child(1) {
    top: 11px;
  }
  .mobile-menu-btn span:nth-child(2) {
    top: 17px;
  }
  .mobile-menu-btn span:nth-child(3) {
    top: 23px;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Buttons and Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-radlo {
  background: linear-gradient(135deg, var(--color-radlo), #334155);
  color: #ffffff;
}
.btn-radlo:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-radlo);
  opacity: 0.95;
}

.btn-studio {
  background: linear-gradient(135deg, var(--color-studio), #6d28d9);
  color: #ffffff;
}
.btn-studio:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-studio);
  opacity: 0.95;
}

.btn-agon {
  background: linear-gradient(135deg, var(--color-agon), #7f1d1d);
  color: #ffffff;
}
.btn-agon:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-agon);
  opacity: 0.95;
}

.btn-partners {
  background: linear-gradient(135deg, var(--color-brand-navy), #142e6d);
  color: #ffffff;
}
.btn-partners:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-brand);
  opacity: 0.95;
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(11, 35, 87, 0.02);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-content {
  z-index: 10;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--color-brand);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 40%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-radlo {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-radlo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-studio {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-studio) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-agon {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-agon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

@media (max-width: 1024px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 1024px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-globe {
  position: relative;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-primary);
  box-shadow: 0 0 10px var(--text-primary);
}

.node-center {
  width: 90px;
  height: 90px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(11, 35, 87, 0.08);
  animation: pulse-border 2s infinite alternate;
}

.node-1 { top: 15%; left: 20%; background: var(--color-radlo); box-shadow: 0 0 15px var(--color-radlo); }
.node-2 { top: 20%; right: 15%; background: var(--color-studio); box-shadow: 0 0 15px var(--color-studio); }
.node-3 { bottom: 20%; left: 15%; background: var(--color-agon); box-shadow: 0 0 15px var(--color-agon); }
.node-4 { bottom: 15%; right: 20%; background: var(--color-partners); box-shadow: 0 0 15px var(--color-partners); }

.node-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* Product Cards & Pillars Grid */
/* Product Cards & Pillars Grid (Accordion Styling) */
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 24px; /* Shorter padding by default */
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, var(--theme-gradient, transparent) 0%, transparent 60%);
  opacity: 0.06;
  transition: var(--transition-normal);
  pointer-events: none;
}

.pillar-card:hover {
  border-color: var(--theme-border, var(--border-hover));
  box-shadow: var(--theme-shadow, none);
}

.pillar-card.pillar-radlo {
  --theme-gradient: var(--color-radlo);
  --theme-border: var(--color-radlo);
  --theme-shadow: var(--glow-radlo);
}
.pillar-card.pillar-studio {
  --theme-gradient: var(--color-studio);
  --theme-border: var(--color-studio);
  --theme-shadow: var(--glow-studio);
}
.pillar-card.pillar-agon {
  --theme-gradient: var(--color-agon);
  --theme-border: var(--color-agon);
  --theme-shadow: var(--glow-agon);
}
.pillar-card.pillar-partners {
  --theme-gradient: var(--color-partners);
  --theme-border: var(--color-partners);
  --theme-shadow: var(--glow-partners);
}

/* Accordion Header Layout */
.pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-bottom: 0;
  user-select: none;
  transition: padding var(--transition-normal), margin var(--transition-normal);
}

.pillar-card:not(.collapsed) {
  padding: 40px;
}

.pillar-card:not(.collapsed) .pillar-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(11, 35, 87, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-color, var(--text-primary));
  flex-shrink: 0;
}

.pillar-radlo .pillar-icon { var(--theme-color): var(--color-radlo); }
.pillar-studio .pillar-icon { var(--theme-color): var(--color-studio); }
.pillar-agon .pillar-icon { var(--theme-color): var(--color-agon); }
.pillar-partners .pillar-icon { var(--theme-color): var(--color-partners); }

.pillar-title {
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  margin-bottom: 0;
}

.accordion-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal), color var(--transition-fast), background var(--transition-fast);
  background: rgba(11, 35, 87, 0.03);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card:hover .accordion-arrow {
  color: var(--text-primary);
  background: rgba(11, 35, 87, 0.06);
}

.pillar-card:not(.collapsed) .accordion-arrow {
  transform: rotate(180deg);
}

/* Accordion Body & Expand Mechanics */
.pillar-body {
  max-height: 800px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-normal);
}

.pillar-card.collapsed .pillar-body {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.pillar-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pillar-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features li::before {
  content: '✓';
  color: var(--theme-color, var(--color-brand));
  font-weight: bold;
}

.pillar-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.pillar-link span {
  transition: transform var(--transition-fast);
}

.pillar-card:hover .pillar-link span {
  transform: translateX(4px);
}

/* Feature Showcase */
.feature-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 968px) {
  .feature-showcase {
    grid-template-columns: 1fr !important;
  }
}

.showcase-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 576px) {
  .showcase-content {
    padding: 30px;
  }
}

.showcase-visual {
  background: rgba(11, 35, 87, 0.01);
  border-left: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

@media (max-width: 968px) {
  .showcase-visual {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

.showcase-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.ai-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(11, 35, 87, 0.05);
  border: 1px solid var(--color-brand);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* Feature Details */
.feature-detail-card {
  background: rgba(11, 35, 87, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all var(--transition-fast);
}

.feature-detail-card:hover {
  background: rgba(11, 35, 87, 0.04);
  border-color: var(--border-hover);
}

.feature-detail-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-detail-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Integration Grid */
.integration-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.integration-item:hover {
  border-color: var(--color-brand);
  box-shadow: var(--glow-brand);
  transform: scale(1.03);
}

.integration-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Pipeline timeline */
.pipeline-timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.pipeline-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-brand), var(--color-partners), transparent);
}

.pipeline-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.pipeline-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  z-index: 2;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.pipeline-step:hover .pipeline-number {
  border-color: var(--theme-color, var(--color-brand));
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(11, 35, 87, 0.05);
}

.pipeline-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  flex-grow: 1;
  transition: var(--transition-fast);
}

.pipeline-step:hover .pipeline-body {
  border-color: var(--theme-color, var(--border-hover));
}

.pipeline-step.step-studio { --theme-color: var(--color-studio); }
.pipeline-step.step-radlo { --theme-color: var(--color-radlo); }
.pipeline-step.step-partners { --theme-color: var(--color-partners); }

.pipeline-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.pipeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Call to Action Panel */
.cta-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(11, 35, 87, 0.03) 0%, transparent 60%);
  z-index: 1;
}

.cta-panel-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-panel-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-panel-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

/* Footer styling */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--footer-bg);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer h4 {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 2px;
}

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

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  color: rgba(255, 255, 255, 0.4);
}

.social-link:hover {
  color: #ffffff;
}

/* Contact / Demo Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr !important;
  }
}

.contact-info {
  padding: 60px;
  background: rgba(11, 35, 87, 0.005);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 968px) {
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

.contact-list {
  list-style: none;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-wrapper {
  width: 40px;
  height: 40px;
  background: rgba(11, 35, 87, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}

.contact-text h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form-wrapper {
  padding: 60px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 10px rgba(11, 35, 87, 0.08);
}

textarea.form-control {
  resize: vertical;
}

/* Animations */
@keyframes rotate-globe {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-border {
  0% { border-color: var(--border-color); box-shadow: 0 0 0 0px rgba(11, 35, 87, 0.01); }
  100% { border-color: var(--color-brand); box-shadow: 0 0 0 10px rgba(11, 35, 87, 0.03); }
}

/* Mockup display frame */
.mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 35, 87, 0.04);
}

.mockup-header {
  background: rgba(11, 35, 87, 0.03);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mockup-content {
  padding: 24px;
}

/* Tab controls */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--theme-color, var(--text-primary));
  border-bottom-color: var(--theme-color, var(--text-primary));
}

.tab-content {
  display: none;
  padding-top: 24px;
}

.tab-content.active {
  display: block;
}

/* Pose Assessment Custom Grid styling */
.pose-assessment-showcase {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.01) 0%, rgba(5, 150, 105, 0.03) 100%);
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: 20px;
  padding: 40px;
}

.pose-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 576px) {
  .pose-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.pose-metric-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(11, 35, 87, 0.08);
  border-radius: 8px;
  padding: 16px;
}

.pose-metric-val {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-brand);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 4px;
}

.pose-metric-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Smart Court Interactive Panel */
.court-architecture-map {
  background: rgba(11, 35, 87, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin-top: 45px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

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

.arch-node {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.arch-node::after {
  content: '→';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border-color);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .arch-node::after {
    content: '↓';
    right: auto;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.arch-node:last-child::after {
  display: none;
}

.arch-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--color-brand);
}

.arch-title {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.arch-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Table Styling for Structured Data */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 4px 15px rgba(11, 35, 87, 0.02);
}

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

.table-custom th {
  background: var(--color-brand-navy);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.table-custom td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

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

.table-custom tbody tr:hover td {
  background: rgba(11, 35, 87, 0.02);
  color: var(--text-primary);
}

.table-custom th.text-center, .table-custom td.text-center {
  text-align: center;
}

.checkmark-active {
  color: var(--color-radlo);
  font-weight: 800;
  font-size: 1.15rem;
}

.checkmark-inactive {
  color: var(--text-muted);
}

