/* ==========================================================================
   TeraRobots India - Modern SaaS & Industry 4.0 Stylesheet
   Designed to match the reference UI layout while using 100% authentic
   TeraRobots India content, photography, and services.
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif-italic: 'Newsreader', 'Playfair Display', Georgia, serif;
  
  --color-bg: #fbfcfd;
  --color-bg-alt: #f4f6f9;
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.78);
  --color-surface-glass-border: rgba(255, 255, 255, 0.9);
  
  --color-primary: #0f172a;
  --color-primary-hover: #1e293b;
  --color-accent-blue: #0284c7;
  --color-accent-cyan: #06b6d4;
  --color-accent-green: #10b981;
  --color-accent-purple: #8b5cf6;
  --color-accent-pink: #ec4899;
  
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-subtle: #94a3b8;
  --color-border: rgba(226, 232, 240, 0.85);
  --color-border-dark: rgba(255, 255, 255, 0.12);
  
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px -10px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  --shadow-glass: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

/* --- Typography --- */
.italic-accent {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  color: var(--color-text-muted);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

/* --- Pills & Badges --- */
.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pill-badge.badge-green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill-badge.badge-pink {
  background: #fdf2f8;
  color: #db2777;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.pill-badge.badge-blue {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.pill-badge.badge-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.pill-badge.badge-dark {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-dark {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.btn-dark:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* --- Floating Pill Navigation --- */
.nav-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-surface-glass-border);
  box-shadow: var(--shadow-glass);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-smooth);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-main);
}

.nav-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-brand-logo:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.menu-logo-img {
  height: 26px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-text-main);
}

.mobile-nav-drawer {
  position: fixed;
  top: 84px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }
  .nav-mobile-toggle {
    display: block;
  }
  .nav-pill {
    padding: 8px 18px;
    gap: 16px;
  }
}

/* --- Hero Section (Matches Reference Mockup) --- */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(56, 189, 248, 0.28) 0%, rgba(224, 242, 254, 0.35) 30%, rgba(248, 250, 252, 0) 75%);
}

.hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.12;
  color: #091e42;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}

.hero-title .italic-accent {
  font-weight: 400;
  color: #0284c7;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto 32px auto;
  line-height: 1.65;
}

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

/* Hero Stage & Authentic Robotics Showcase */
.hero-stage-container {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
}

.hero-showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.14);
  padding: 40px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
}

.hero-showcase-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.hero-tech-emblem-img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.12));
  transition: transform 0.6s ease;
}

.hero-tech-emblem-img:hover {
  transform: scale(1.02);
}

/* Hero Floating Glass Cards */
.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  z-index: 10;
  transition: transform var(--transition-smooth);
}

.floating-glass-card:hover {
  transform: translateY(-4px);
}

/* Left Hero Card: Donut Chart */
.hero-card-left {
  top: 40px;
  left: -20px;
  width: 250px;
  padding: 18px;
}

.card-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.donut-chart-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.donut-svg-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1;
}

.donut-center-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* Right Hero Card: Customer Metric */
.hero-card-right {
  top: 90px;
  right: -20px;
  width: 320px;
  padding: 16px 20px;
}

.user-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.user-avatar-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-metric-info {
  flex: 1;
}

.user-metric-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

.user-metric-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.user-metric-stat {
  text-align: right;
}

.user-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0284c7;
}

.user-stat-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
}

.metric-bar-progress {
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 9999px;
  margin-top: 10px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: 9999px;
  width: 84%;
}

@media (max-width: 980px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-card-left {
    position: static;
    margin: 20px auto 0;
    width: 90%;
  }
  .hero-card-right {
    position: static;
    margin: 16px auto 0;
    width: 90%;
  }
  .hero-showcase-card {
    min-height: 360px;
  }
  .hero-tech-emblem-img {
    max-height: 300px;
  }
}

/* --- Section 2: Data-Driven Insights (Matches Bottom-Left Mockup) --- */
.insights-section {
  background-color: var(--color-bg);
}

.insights-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 48px;
}

.insights-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.15;
}

.insights-title .italic-accent {
  font-weight: 400;
  color: #0284c7;
}

.insights-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .insights-header-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .insights-title {
    font-size: 2rem;
  }
}

.insights-showcase-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .insights-showcase-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.insights-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-item {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-item:hover:not(.active) {
  background: #f8fafc;
}

.tab-item-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-subtle);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.tab-item-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.tab-item.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #ec4899);
}

.tab-item.active .tab-item-num {
  color: #38bdf8;
}

.tab-item.active .tab-item-title {
  color: #ffffff;
}

.tab-item.active .tab-item-desc {
  color: #94a3b8;
}

.analytics-display-card {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.6) 0%, rgba(253, 242, 248, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.analytics-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.analytics-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analytics-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.analytics-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
}

.bar-chart-stage {
  margin-top: 36px;
  position: relative;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 24px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.bar-pillar {
  width: 24px;
  background: #e2e8f0;
  border-radius: 6px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-col:hover .bar-pillar {
  background: #94a3b8;
}

.bar-pillar.active-pillar {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.bar-pillar.active-pillar::after {
  content: '+28%';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.bar-day-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-subtle);
}

.chart-spline-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* --- Section 3: Feature Row (Matches Top-Right Mockup) --- */
.feature-row-section {
  background: #ffffff;
}

.section-headline-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px auto;
}

.section-headline-center h2 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.section-headline-center h2 .italic-accent {
  color: #0284c7;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.3);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #f0f9ff;
  border: 1px solid rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.feature-card-link:hover {
  gap: 10px;
  color: #0284c7;
}

/* --- Section 4: Omni-Channel Bento Grid (Matches Mockup) --- */
.bento-section {
  background: #f8fafc;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

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

.bento-left-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .bento-left-col {
    grid-template-columns: 1fr;
  }
}

/* Bento Card 1: Interactive Learning with KAT VR */
.bento-card-dashboard {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-dashboard h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.bento-card-dashboard p {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.katvr-preview-container {
  background: radial-gradient(circle at center, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  overflow: hidden;
}

.katvr-preview-container img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.katvr-preview-container:hover img {
  transform: scale(1.05);
}

/* Bento Card 2: Collaborative (Dark Card with 3D Sphere Glow) */
.bento-card-collab {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bento-card-collab h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.bento-card-collab p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.sphere-glow-container {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sphere-wireframe {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.4), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-avatar-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  font-size: 0.65rem;
  color: #e2e8f0;
  white-space: nowrap;
}

.floating-avatar-badge.badge-top-left {
  top: 10px;
  left: -10px;
}

.floating-avatar-badge.badge-bottom-right {
  bottom: 10px;
  right: -10px;
}

/* Bento Card 3: STEM Field Trip (Span 2 Columns) */
.bento-card-empire {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 40%, #ffffff 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

@media (max-width: 640px) {
  .bento-card-empire {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

.empire-text-col {
  max-width: 320px;
}

.empire-text-col h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.empire-text-col p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.empire-preview-col {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.preview-row:last-child {
  border-bottom: none;
}

/* Bento Card 4: Tall Right Card Featuring Authentic VR Experience */
.bento-card-tall {
  position: relative;
  background: #090d16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  color: #ffffff;
}

.bento-card-tall img.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.85;
  transition: transform 0.6s ease;
}

.bento-card-tall:hover img.bento-bg-img {
  transform: scale(1.03);
}

.bento-tall-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.45) 55%, rgba(15, 23, 42, 0.25) 100%);
  pointer-events: none;
}

.bento-tall-content {
  position: relative;
  z-index: 2;
}

.bento-tall-content h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.bento-tall-content p {
  color: #cbd5e1;
  font-size: 0.92rem;
  max-width: 360px;
  line-height: 1.55;
}

.map-tags-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.floating-tag-chip {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffffff;
}

/* --- Section 5: Brand Partners Marquee --- */
.partners-section {
  padding: 48px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partners-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo-item {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: all var(--transition-fast);
}

.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo-item img {
  max-height: 36px;
  width: auto;
}

/* --- Section 6: Testimonials (Original Clients: John Doe, Sophia, Alex Carter) --- */
.testimonials-section {
  background: var(--color-bg);
}

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

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast);
}

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

.testimonial-stars {
  height: 20px;
  margin-bottom: 16px;
}

.testimonial-stars img {
  height: 100%;
  width: auto;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

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

/* --- Section 7: FAQ Accordion --- */
.faq-section {
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: flex-start;
}

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

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: #0284c7;
  background: #f8fafc;
}

.faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--color-text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #0284c7;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  max-height: 220px;
  padding-bottom: 20px;
}

/* --- Section 8: Lab Visit & Consultation CTA (Replaces Fake Mobile App Banner) --- */
.cta-banner-section {
  background: var(--color-bg);
}

.cta-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 60px 52px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .cta-banner-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
}

.cta-text-side h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-text-side p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.65;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-image-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-photo-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-photo-box img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

/* --- Section 9: Footer --- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

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

.footer-brand-col img.footer-logo {
  max-height: 42px;
  margin-bottom: 16px;
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.social-icon-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-icon-btn:hover img {
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #0284c7;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-text-subtle);
  flex-wrap: wrap;
  gap: 16px;
}
