/* ============================================
   CAIT — Computational & AI Technologies
   Main Stylesheet
   ============================================ */

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

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* CAIT Brand Colors */
  --cait-blue-1: #2196F3;
  --cait-blue-2: #1976D2;
  --cait-blue-3: #1565C0;
  --cait-blue-4: #0D47A1;
  --cait-gold-1: #FFD700;
  --cait-gold-2: #D4A843;
  --cait-gold-3: #B8860B;

  /* Dark Theme Base */
  --bg-primary: #0A0E1A;
  --bg-secondary: #0F1629;
  --bg-tertiary: #141B2D;
  --bg-card: rgba(15, 22, 41, 0.7);
  --bg-card-hover: rgba(20, 27, 45, 0.9);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B0BEC5;
  --text-muted: #78909C;
  --text-accent: #2196F3;

  /* EmoSphere Colors */
  --emo-pink: #E948A0;
  --emo-purple: #9B6FCE;
  --emo-cyan: #00D4FF;
  --emo-bg: #0A0A1A;

  /* Hermyon Colors */
  --herm-silver: #B0C4DE;
  --herm-ice: #87CEEB;
  --herm-deep-blue: #1A237E;
  --herm-gold: #D4A843;
  --herm-bg: #000000;

  /* Orionus Colors */
  --ori-green-1: #00E676;
  --ori-green-2: #00C853;
  --ori-green-3: #2E7D32;
  --ori-silver: #C0C0C0;
  --ori-bg: #0A0F0A;

  /* Psyntary Colors */
  --psy-gold: #D4A843;
  --psy-amber: #FF8F00;
  --psy-bronze: #CD7F32;
  --psy-bg: #0A0A00;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--cait-blue-1), var(--cait-gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--cait-blue-1), var(--cait-blue-4));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--cait-gold-2), var(--cait-gold-1));
  clip-path: polygon(50% 25%, 15% 100%, 85% 100%);
  position: absolute;
  top: 12px;
}

.nav-logo-text {
  background: linear-gradient(135deg, var(--cait-blue-1), var(--cait-gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cait-blue-1), var(--cait-gold-2));
  transition: width var(--transition-medium);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-medium);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0A0E1A 0%, #0F1629 40%, #0D1B3E 70%, #0A0E1A 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(33, 150, 243, 0.05) 0%, transparent 70%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-logo-img {
  width: 340px;
  height: 340px;
  margin: 0 auto 2.5rem;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 45px rgba(33, 150, 243, 0.5));
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.3));
}

.nav-logo-name {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(33, 150, 243, 0.2));
}

.hero-name-img {
  display: block;
  width: 280px;
  height: auto;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.35));
}

.footer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.3));
}

.footer-name-img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.2));
}

.footer-brand-compact {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.footer-brand-compact .nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.footer-logo-icon {
  width: auto;
  height: 100%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.3));
}

.footer-logo-img-sm {
  width: 44px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.25));
}

.footer-name-img-sm {
  width: 80px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(33, 150, 243, 0.2));
}

.product-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover .product-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.25));
}

.product-hero-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-md);
}

.product-hero-logo-img.hero-logo-animated {
  width: 200px;
  height: 200px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(233, 72, 160, 0.4));
}

.product-hero-name-img {
  display: block;
  width: 320px;
  height: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.hero-logo-placeholder {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--cait-blue-1), var(--cait-blue-4));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-logo-placeholder::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  top: 30px;
  left: 25px;
  background: linear-gradient(135deg, var(--cait-gold-2), var(--cait-gold-1));
  clip-path: polygon(50% 25%, 15% 100%, 85% 100%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 6px;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--cait-blue-1) 0%, #64B5F6 30%, var(--cait-gold-2) 70%, var(--cait-gold-1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-medium);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cait-blue-1), var(--cait-blue-3));
  color: white;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(33, 150, 243, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--cait-gold-2);
  border: 1.5px solid var(--cait-gold-2);
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero-scroll-indicator svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-muted);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   About Section
   ============================================ */
#about {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.method-card {
  background: var(--bg-card);
  border: 1px solid rgba(33, 150, 243, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 150, 243, 0.3);
  box-shadow: 0 12px 40px rgba(33, 150, 243, 0.1);
  background: var(--bg-card-hover);
}

.method-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(13, 71, 161, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.method-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.method-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.athens-badge {
  text-align: center;
  margin-top: 3rem;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-xl);
  color: var(--cait-gold-2);
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   Products Section
   ============================================ */
#products {
  background: var(--bg-secondary);
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
  border: 1px solid transparent;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card:hover {
  transform: translateY(-8px);
}

/* EmoSphere Card */
.product-card.emosphere {
  border-color: rgba(233, 72, 160, 0.2);
}
.product-card.emosphere::before {
  background: linear-gradient(90deg, var(--emo-pink), var(--emo-purple), var(--emo-cyan));
}
.product-card.emosphere:hover {
  box-shadow: 0 16px 50px rgba(233, 72, 160, 0.15), 0 0 80px rgba(155, 111, 206, 0.08);
  border-color: rgba(233, 72, 160, 0.35);
}
.product-card.emosphere .product-name {
  background: linear-gradient(135deg, var(--emo-pink), var(--emo-purple), var(--emo-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hermyon Card */
.product-card.hermyon {
  border-color: rgba(176, 196, 222, 0.2);
}
.product-card.hermyon::before {
  background: linear-gradient(90deg, var(--herm-silver), var(--herm-ice), var(--cait-blue-4));
}
.product-card.hermyon:hover {
  box-shadow: 0 16px 50px rgba(135, 206, 235, 0.12), 0 0 80px rgba(176, 196, 222, 0.08);
  border-color: rgba(176, 196, 222, 0.35);
}
.product-card.hermyon .product-name {
  background: linear-gradient(135deg, var(--herm-silver), var(--herm-ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Orionus Card */
.product-card.orionus {
  border-color: rgba(0, 230, 118, 0.2);
}
.product-card.orionus::before {
  background: linear-gradient(90deg, var(--ori-green-1), var(--ori-green-2), var(--ori-green-3));
}
.product-card.orionus:hover {
  box-shadow: 0 16px 50px rgba(0, 230, 118, 0.12), 0 0 80px rgba(0, 200, 83, 0.08);
  border-color: rgba(0, 230, 118, 0.35);
}
.product-card.orionus .product-name {
  background: linear-gradient(135deg, var(--ori-green-1), var(--ori-green-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Psyntary Card */
.product-card.psyntary {
  border-color: rgba(212, 168, 67, 0.2);
}
.product-card.psyntary::before {
  background: linear-gradient(90deg, var(--psy-gold), var(--psy-amber), var(--psy-bronze));
}
.product-card.psyntary:hover {
  box-shadow: 0 16px 50px rgba(212, 168, 67, 0.12), 0 0 80px rgba(255, 143, 0, 0.08);
  border-color: rgba(212, 168, 67, 0.35);
}
.product-card.psyntary .product-name {
  background: linear-gradient(135deg, var(--psy-gold), var(--psy-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.emosphere .product-logo-placeholder {
  background: linear-gradient(135deg, rgba(233, 72, 160, 0.2), rgba(0, 212, 255, 0.2));
  color: var(--emo-pink);
}

.hermyon .product-logo-placeholder {
  background: linear-gradient(135deg, rgba(176, 196, 222, 0.2), rgba(13, 71, 161, 0.2));
  color: var(--herm-silver);
}

.orionus .product-logo-placeholder {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(46, 125, 50, 0.2));
  color: var(--ori-green-1);
}

.psyntary .product-logo-placeholder {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.2), rgba(205, 127, 50, 0.2));
  color: var(--psy-gold);
}

.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.4rem;
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.product-features {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
}

.product-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.badge-coming-soon {
  background: rgba(212, 168, 67, 0.15);
  color: var(--psy-gold);
  border: 1px solid rgba(212, 168, 67, 0.3);
}

.btn-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-medium);
  letter-spacing: 0.5px;
}

.emosphere .btn-product {
  background: linear-gradient(135deg, rgba(233, 72, 160, 0.2), rgba(155, 111, 206, 0.2));
  color: var(--emo-pink);
  border: 1px solid rgba(233, 72, 160, 0.3);
}
.emosphere .btn-product:hover {
  background: linear-gradient(135deg, rgba(233, 72, 160, 0.3), rgba(155, 111, 206, 0.3));
  box-shadow: 0 4px 20px rgba(233, 72, 160, 0.2);
}

.hermyon .btn-product {
  background: linear-gradient(135deg, rgba(176, 196, 222, 0.2), rgba(13, 71, 161, 0.2));
  color: var(--herm-ice);
  border: 1px solid rgba(176, 196, 222, 0.3);
}
.hermyon .btn-product:hover {
  background: linear-gradient(135deg, rgba(176, 196, 222, 0.3), rgba(13, 71, 161, 0.3));
  box-shadow: 0 4px 20px rgba(135, 206, 235, 0.2);
}

.orionus .btn-product {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(46, 125, 50, 0.2));
  color: var(--ori-green-1);
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.orionus .btn-product:hover {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.3), rgba(46, 125, 50, 0.3));
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.2);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-medium);
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-left: 10px;
}
.emosphere .btn-demo {
  background: linear-gradient(135deg, #E948A0, #9B6FCE);
  color: #fff;
  border: 1px solid rgba(233, 72, 160, 0.5);
}
.emosphere .btn-demo:hover {
  background: linear-gradient(135deg, #C2185B, #7C3AED);
  box-shadow: 0 4px 24px rgba(233, 72, 160, 0.4);
  transform: translateY(-2px);
}
.hermyon .btn-demo {
  background: linear-gradient(135deg, #1A237E, #0D47A1);
  color: #B0C4DE;
  border: 1px solid rgba(176, 196, 222, 0.5);
}
.hermyon .btn-demo:hover {
  background: linear-gradient(135deg, #283593, #1565C0);
  box-shadow: 0 4px 24px rgba(135, 206, 235, 0.4);
  transform: translateY(-2px);
}
.orionus .btn-demo {
  background: linear-gradient(135deg, #2E7D32, #1B5E20);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.5);
}
.orionus .btn-demo:hover {
  background: linear-gradient(135deg, #388E3C, #2E7D32);
  box-shadow: 0 4px 24px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   Applications Section
   ============================================ */
#applications {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.app-card {
  background: var(--bg-card);
  border: 1px solid rgba(33, 150, 243, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-medium);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 150, 243, 0.25);
  box-shadow: 0 8px 30px rgba(33, 150, 243, 0.08);
}

.app-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.12), rgba(13, 71, 161, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.app-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ============================================
   Sectors Section
   ============================================ */
#sectors {
  background: var(--bg-primary);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sector-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.sector-card.healthcare::before { background: var(--cait-blue-1); }
.sector-card.healthcare:hover { border-color: rgba(33, 150, 243, 0.3); }

.sector-card.security::before { background: var(--ori-green-1); }
.sector-card.security:hover { border-color: rgba(0, 230, 118, 0.3); }

.sector-card.transport::before { background: var(--emo-cyan); }
.sector-card.transport:hover { border-color: rgba(0, 212, 255, 0.3); }

.sector-card.mental::before { background: var(--cait-gold-2); }
.sector-card.mental:hover { border-color: rgba(212, 168, 67, 0.3); }

.sector-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sector-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.sector-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Technology Section
   ============================================ */
#technology {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
}

.tech-item {
  background: var(--bg-card);
  border: 1px solid rgba(33, 150, 243, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-medium);
}

.tech-item:hover {
  border-color: rgba(33, 150, 243, 0.3);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.tech-item-icon {
  font-size: 1.3rem;
}

.tech-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 168, 67, 0.1);
}

/* ============================================
   Team Section
   ============================================ */
#team {
  background: var(--bg-secondary);
}

/* ── Researcher Profile ────────────────────────────── */
.researcher-profile {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(10px);
}

.researcher-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 2rem;
}

.researcher-photo-wrapper {
  flex-shrink: 0;
}

.researcher-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(212, 168, 67, 0.4);
  box-shadow: 0 4px 25px rgba(33, 150, 243, 0.2);
}

.researcher-photo-fallback {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cait-blue-2), var(--cait-gold-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  border: 3px solid rgba(212, 168, 67, 0.4);
  box-shadow: 0 4px 25px rgba(33, 150, 243, 0.2);
}

.researcher-intro {
  text-align: left;
}

.researcher-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.researcher-title {
  color: var(--cait-gold-2);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.researcher-affiliation {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.researcher-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.researcher-email {
  color: var(--cait-blue-1);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.researcher-email:hover {
  color: #64B5F6;
}

.researcher-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.researcher-bio em {
  color: var(--text-primary);
  font-style: italic;
}

/* Research Areas Tags */
.researcher-areas {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.researcher-areas h4,
.citation-metrics h4,
.researcher-education h4,
.researcher-publications h4,
.academic-profiles h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(13, 71, 161, 0.1));
  color: var(--cait-blue-1);
  border: 1px solid rgba(33, 150, 243, 0.2);
  transition: all 0.2s;
}
.area-tag:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(13, 71, 161, 0.2));
  border-color: rgba(33, 150, 243, 0.4);
}

/* Citation Metrics */
.citation-metrics {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.citation-metrics h4 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metrics-status {
  font-size: 0.8rem;
  animation: spin 2s linear infinite;
}
.metrics-status.live {
  animation: none;
  color: #00E676;
}
.metrics-status.cached {
  animation: none;
  color: var(--cait-gold-2);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-card {
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
}

.metric-source {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.metric-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-col-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cait-blue-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(33, 150, 243, 0.15);
}

.metric-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cait-gold-2);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.metrics-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: right;
}

/* Education */
.researcher-education {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.edu-item {
  padding-left: 20px;
  border-left: 3px solid rgba(33, 150, 243, 0.3);
}

.edu-degree {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.edu-year {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Publications */
.researcher-publications {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pub-count {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pub-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(10, 14, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s;
}
.pub-item:hover {
  border-color: rgba(33, 150, 243, 0.15);
}

.pub-citations {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(184, 134, 11, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cait-gold-2);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.pub-title {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}

.pub-journal {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.btn-view-all {
  display: inline-block;
  margin-top: 16px;
  color: var(--cait-blue-1);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-view-all:hover {
  color: #64B5F6;
}

/* Academic Profiles */
.academic-profiles {
  margin-bottom: 0;
}

.profiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 14, 26, 0.5);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.profile-link:hover {
  border-color: rgba(33, 150, 243, 0.3);
  background: rgba(33, 150, 243, 0.08);
  color: var(--text-primary);
}
.profile-link svg {
  opacity: 0.7;
}
.profile-link:hover svg {
  opacity: 1;
}
.profile-link.google-scholar:hover { border-color: rgba(66, 133, 244, 0.5); color: #4285F4; }
.profile-link.orcid:hover { border-color: rgba(166, 206, 57, 0.5); color: #A6CE39; }
.profile-link.scopus:hover { border-color: rgba(227, 114, 34, 0.5); color: #E37222; }
.profile-link.github:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

/* ── Responsive: Researcher Profile ──── */
@media (max-width: 768px) {
  .researcher-header {
    flex-direction: column;
    text-align: center;
  }
  .researcher-intro {
    text-align: center;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .researcher-profile {
    padding: 32px 20px;
  }
  .researcher-photo {
    width: 120px;
    height: 120px;
  }
}

/* ============================================
   Contact Section
   ============================================ */
#contact {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--cait-blue-1);
}

.contact-item a:hover {
  color: #64B5F6;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(33, 150, 243, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cait-blue-1);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--cait-blue-1), var(--cait-blue-3));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-submit:hover {
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #060912;
  border-top: 1px solid rgba(33, 150, 243, 0.08);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: stretch;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: block;
}

/* footer-logo-img defined above with nav styles */

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cait-blue-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   Product Pages — Shared
   ============================================ */
.product-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.product-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.product-hero-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.product-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 0.6rem;
}

.product-hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-hero .description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color var(--transition-fast);
  position: absolute;
  left: 24px;
  top: 100px;
}

.back-link:hover {
  color: var(--text-primary);
}

/* Product Feature Sections */
.feature-section {
  padding: 80px 0;
}

.feature-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-medium);
}

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

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-card .feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

/* Emotion cards */
.emotion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.emotion-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-medium);
}

.emotion-card:hover {
  transform: translateY(-3px);
}

.emotion-card .emoji {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.emotion-card .label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.data-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.data-table td {
  color: var(--text-muted);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Info boxes */
.info-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 3px solid;
  margin: 1.5rem 0;
}

.info-box h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   EmoSphere Page Specific
   ============================================ */
.page-emosphere {
  background: var(--emo-bg);
}

.page-emosphere .product-hero {
  background: linear-gradient(160deg, #0A0A1A 0%, #1A0A2E 40%, #0A1A2E 70%, #0A0A1A 100%);
}

.page-emosphere .product-hero h1 {
  background: linear-gradient(135deg, var(--emo-pink), var(--emo-purple), var(--emo-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-emosphere .product-hero-logo {
  background: linear-gradient(135deg, rgba(233, 72, 160, 0.2), rgba(0, 212, 255, 0.2));
  color: var(--emo-pink);
  border: 1px solid rgba(233, 72, 160, 0.3);
}

.page-emosphere .section-title {
  background: linear-gradient(135deg, var(--emo-pink), var(--emo-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-emosphere .feature-card:hover {
  border-color: rgba(233, 72, 160, 0.3);
  box-shadow: 0 8px 30px rgba(233, 72, 160, 0.08);
}

.page-emosphere .stat-number {
  background: linear-gradient(135deg, var(--emo-pink), var(--emo-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-emosphere .info-box { border-color: var(--emo-purple); }

.page-emosphere .navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
}

/* ============================================
   Hermyon Page Specific
   ============================================ */
.page-hermyon {
  background: var(--herm-bg);
}

.page-hermyon .product-hero {
  background: linear-gradient(160deg, #000000 0%, #0A0A2E 40%, #0D1B3E 70%, #000000 100%);
}

.page-hermyon .product-hero h1 {
  background: linear-gradient(135deg, var(--herm-silver), var(--herm-ice), var(--herm-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hermyon .product-hero-logo {
  background: linear-gradient(135deg, rgba(176, 196, 222, 0.2), rgba(13, 71, 161, 0.2));
  color: var(--herm-ice);
  border: 1px solid rgba(176, 196, 222, 0.3);
}

.page-hermyon .section-title {
  background: linear-gradient(135deg, var(--herm-silver), var(--herm-ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hermyon .feature-card:hover {
  border-color: rgba(176, 196, 222, 0.3);
  box-shadow: 0 8px 30px rgba(135, 206, 235, 0.08);
}

.page-hermyon .stat-number {
  background: linear-gradient(135deg, var(--herm-silver), var(--herm-ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hermyon .info-box { border-color: var(--herm-ice); }

.page-hermyon .navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

/* ============================================
   Orionus Page Specific
   ============================================ */
.page-orionus {
  background: var(--ori-bg);
}

.page-orionus .product-hero {
  background: linear-gradient(160deg, #0A0F0A 0%, #0A1A0A 40%, #0A150F 70%, #0A0F0A 100%);
}

.page-orionus .product-hero h1 {
  background: linear-gradient(135deg, var(--ori-green-1), var(--ori-green-2), var(--ori-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-orionus .product-hero-logo {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(46, 125, 50, 0.2));
  color: var(--ori-green-1);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.page-orionus .section-title {
  background: linear-gradient(135deg, var(--ori-green-1), var(--ori-green-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-orionus .feature-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.08);
}

.page-orionus .stat-number {
  background: linear-gradient(135deg, var(--ori-green-1), var(--ori-green-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-orionus .info-box { border-color: var(--ori-green-2); }

.page-orionus .navbar.scrolled {
  background: rgba(10, 15, 10, 0.95);
}

/* Threat level badges */
.threat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.threat-none { background: rgba(100, 100, 100, 0.2); color: #999; }
.threat-low { background: rgba(0, 230, 118, 0.15); color: var(--ori-green-1); }
.threat-elevated { background: rgba(255, 193, 7, 0.15); color: #FFC107; }
.threat-high { background: rgba(255, 152, 0, 0.15); color: #FF9800; }
.threat-critical { background: rgba(244, 67, 54, 0.15); color: #F44336; }

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
    letter-spacing: 4px;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
  }

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

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

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

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

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

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right var(--transition-medium);
    border-left: 1px solid rgba(33, 150, 243, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

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

  .product-hero h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .data-table {
    font-size: 0.8rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}
