@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Forest & Amber on Pearl */
  --color-bg: #FAF9FD;
  --color-text: #171226;
  --color-text-muted: #5C5470;
  --color-forest: #241442;
  --color-forest-rgb: 36, 20, 66;
  --color-sage: #6B5B95;
  --color-sage-rgb: 107, 91, 149;
  --color-amber: #00B4B4;
  --color-amber-hover: #009A9A;
  --color-card-bg: #FFFFFF;
  
  /* Glassmorphism Settings */
  --color-glass-bg: rgba(250, 251, 251, 0.72);
  --color-glass-border: rgba(36, 20, 66, 0.06);
  --color-glass-shadow: 0 16px 40px -12px rgba(36, 20, 66, 0.06);

  /* Elevation & Shadows */
  --shadow-soft: 0 16px 48px -16px rgba(36, 20, 66, 0.05);
  --shadow-ambient: 0 32px 64px -20px rgba(36, 20, 66, 0.07);
  --shadow-inner-glow: inset 0 1px 1px rgba(255, 255, 255, 0.95);
  --shadow-bezel-glow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
  --shadow-focus: 0 0 0 4px rgba(0, 180, 180, 0.12);

  /* Radius System (Concentric alignment) */
  --radius-outer: 28px;
  --radius-inner: 20px;
  --radius-pill: 9999px;

  /* Macro spacing to allow design to breathe heavily */
  --spacing-macro: 140px;
  --spacing-section: 180px;

  /* Custom cubic-bezier curves for haptic transitions */
  --transition-smooth: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-magnetic: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-bg);
  /* Organic background gradients for multi-dimensional warm sage & amber lighting */
  background-image:
    radial-gradient(circle at 10% 10%, rgba(107, 91, 149, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(0, 180, 180, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 65%, rgba(36, 20, 66, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 15% 90%, rgba(0, 180, 180, 0.14) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Subtle CSS Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-forest);
}

p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
  max-width: 65ch;
  line-height: 1.7;
}

/* Layout Utilities */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.section-padding {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* Double-Bezel Card Architecture (Doppelrand) */
.double-bezel {
  background: linear-gradient(135deg, rgba(36, 20, 66, 0.035), rgba(107, 91, 149, 0.01));
  border: 1px solid rgba(36, 20, 66, 0.06);
  padding: 8px;
  border-radius: var(--radius-outer);
  box-shadow: var(--shadow-bezel-glow);
  transition: var(--transition-smooth);
  height: 100%;
}

.double-bezel-inner {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-inner);
  padding: 48px;
  border: 1px solid rgba(36, 20, 66, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-inner-glow), var(--shadow-soft);
  transition: var(--transition-smooth);
}

/* Double Bezel Hover Effects */
.double-bezel:hover {
  transform: translateY(-8px) scale(1.008);
  border-color: rgba(36, 20, 66, 0.12);
  box-shadow: 0 32px 64px -16px rgba(36, 20, 66, 0.08);
}

.double-bezel:hover .double-bezel-inner {
  box-shadow: var(--shadow-inner-glow), var(--shadow-ambient);
}

/* Eyebrow Badge */
.eyebrow {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--color-forest);
  border: 1px solid rgba(36, 20, 66, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background-color: rgba(36, 20, 66, 0.03);
  margin-bottom: 28px;
}

/* Island Buttons & Interactive States */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: var(--color-forest);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  border: 1px solid rgba(36, 20, 66, 0.1);
  transition: var(--transition-spring);
  cursor: pointer;
  width: fit-content;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: 0.6s;
}

.btn-pill:hover::before {
  left: 100%;
}

.btn-pill:hover {
  background-color: #321c5b;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px -8px rgba(36, 20, 66, 0.25);
}

.btn-pill:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-forest);
  border: 1px solid rgba(36, 20, 66, 0.16);
}

.btn-secondary:hover {
  background-color: rgba(36, 20, 66, 0.04);
  border-color: var(--color-forest);
}

.btn-accent {
  background-color: var(--color-amber);
  color: var(--color-forest);
  border-color: rgba(0, 180, 180, 0.2);
}

.btn-accent:hover {
  background-color: var(--color-amber-hover);
  box-shadow: 0 12px 28px -8px rgba(0, 180, 180, 0.35);
}

/* Button-in-Button Trailing Icon */
.btn-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: inherit;
}

.btn-secondary .btn-icon-wrapper {
  background-color: rgba(36, 20, 66, 0.06);
}

.btn-pill:hover .btn-icon-wrapper {
  transform: translateX(6px) rotate(45deg);
  background-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover .btn-icon-wrapper {
  background-color: rgba(36, 20, 66, 0.12);
}

/* Navigation - Floating Island */
.nav-island-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 32px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  height: 68px;
  padding: 0 28px;
  background-color: transparent;
  border: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-pill);
  box-shadow: none;
  pointer-events: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-island.scrolled {
  background-color: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--color-glass-shadow);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper:hover {
  transform: translateY(-1px);
}

/* Original Brand Logo Image Styling */
.brand-logo-img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(36, 20, 66, 0.08));
}

.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 175px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper:hover .nav-logo-img {
  transform: scale(1.03);
}

/* Fallback vector logo emblem */
.logo-emblem {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-forest), var(--color-sage));
  display: inline-block;
  position: relative;
  box-shadow: var(--shadow-bezel-glow);
}

.logo-emblem::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background-color: var(--color-amber);
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--color-forest);
}

.logo-sub {
  color: var(--color-amber);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.83rem;
  }
  .nav-cta-btn {
    padding: 9px 18px;
    font-size: 0.83rem;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-forest);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-forest);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta-btn {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.mobile-menu-trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 1023px) {
  .nav-links, .nav-cta-btn {
    display: none;
  }
  .mobile-menu-trigger {
    display: block;
  }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-forest);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(36, 20, 66, 0.98);
  backdrop-filter: blur(28px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 28px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.mobile-logo-img {
  height: 46px;
  width: auto;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-nav-link {
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
}

.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 100px;
}

.neural-canvas,
.sound-wave-canvas,
.hero-neuron-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 1 !important;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(36, 20, 66, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 20, 66, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(107, 91, 149, 0.28) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 180, 180, 0.3) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(30px, 20px); opacity: 0.95; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  color: var(--color-forest);
}

.hero-title span {
  color: var(--color-amber);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
}

.hero-image-bezel {
  background: linear-gradient(135deg, rgba(36, 20, 66, 0.04), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(36, 20, 66, 0.08);
  padding: 12px;
  border-radius: 36px;
  box-shadow: var(--shadow-ambient);
  position: relative;
  overflow: hidden;
}

/* Glossy highlight on image bezel */
.hero-image-bezel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 5;
}

.hero-image-container {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-inner-glow);
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 12s linear;
  transform: scale(1.06);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Floating Glass Badges on Hero Image Frame */
.hero-floater {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px -8px rgba(36, 20, 66, 0.14);
  border-radius: 999px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 12;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-floater:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px -8px rgba(36, 20, 66, 0.2);
}

.floater-1 {
  top: 12%;
  left: -28px;
}

.floater-2 {
  bottom: 12%;
  right: -24px;
}

.floater-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(36, 20, 66, 0.08);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floater-2 .floater-icon-wrapper {
  background: rgba(0, 180, 180, 0.15);
  color: var(--color-amber);
}

.floater-text-wrapper {
  display: flex;
  flex-direction: column;
}

.floater-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1.2;
}

.floater-sub {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Interactive Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-sage);
  font-weight: 600;
  opacity: 0.8;
  z-index: 10;
}

.scroll-indicator-mouse {
  width: 20px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid var(--color-sage);
  position: relative;
}

.scroll-indicator-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--color-amber);
  border-radius: 1.5px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelAnim 2s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
  0% { top: 6px; opacity: 1; }
  50% { top: 14px; opacity: 0; }
  100% { top: 6px; opacity: 1; }
}

/* Social Proof logo wall directly below hero */
.logo-wall {
  background-color: rgba(36, 20, 66, 0.015);
  border-top: 1px solid rgba(36, 20, 66, 0.04);
  border-bottom: 1px solid rgba(36, 20, 66, 0.04);
  padding: 44px 0;
  overflow: hidden;
}

.logo-wall-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
}

.logo-wall-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-sage);
  font-weight: 600;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
}

.logo-item {
  height: 26px;
  opacity: 0.42;
  filter: grayscale(100%) brightness(0.2);
  transition: var(--transition-fast);
}

.logo-item:hover {
  opacity: 0.95;
  filter: grayscale(0);
}

/* About / Founders Section */
.about {
  background-color: #FFFFFF;
}

.about-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 90px;
}

.about-title {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  margin-top: 12px;
  margin-bottom: 24px;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.founder-card {
  height: auto;
}

.founder-card .double-bezel-inner::before,
.founder-card .border-glow-inner::before {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 180, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.founder-role {
  color: var(--color-amber);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.founder-name {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--color-forest);
  position: relative;
  z-index: 2;
}

.founder-bio {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

.bullet-icon {
  color: var(--color-amber);
  margin-top: 4px;
  font-size: 1.1rem;
}

/* Services Bento Grid */
.services {
  background-color: var(--color-bg);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 60px;
}

@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .bento-large-left {
    grid-column: span 8;
  }
  .bento-small-right {
    grid-column: span 4;
  }
  .bento-small-left {
    grid-column: span 4;
  }
  .bento-large-right {
    grid-column: span 8;
  }
  .bento-half {
    grid-column: span 6;
  }
  .bento-full {
    grid-column: span 12;
  }
}

.bento-card-bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transition: var(--transition-smooth);
  z-index: 1;
}

.bento-card-bg-img.dimmed {
  opacity: 0.12;
}

.double-bezel:hover .bento-card-bg-img,
.border-glow:hover .bento-card-bg-img {
  transform: scale(1.04);
  opacity: 0.42;
}

.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-title {
  font-size: 1.9rem;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.bento-desc {
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.bento-tag {
  font-size: 0.76rem;
  background-color: rgba(36, 20, 66, 0.05);
  color: var(--color-forest);
  border: 1px solid rgba(36, 20, 66, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Technology / Neurosound Highlight */
.tech-highlight {
  background-color: var(--color-forest);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.tech-highlight::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 180, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tech-highlight h2, .tech-highlight h3, .tech-highlight p {
  color: #FFFFFF;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 992px) {
  .tech-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.tech-image-bezel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 36px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.tech-image-bezel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 5;
}

.tech-image-container {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.tech-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: var(--transition-smooth);
}

.tech-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 24px;
  line-height: 1.12;
}

.tech-desc {
  font-size: 1.08rem;
  opacity: 0.88;
  margin-bottom: 40px;
  line-height: 1.75;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-box {
  padding: 28px;
  border-radius: var(--radius-inner);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition-fast);
}

.feature-box:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.92rem;
  opacity: 0.78;
}

/* Contact & Map Section */
.contact {
  background-color: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: clamp(2.2rem, 3.8vw, 2.8rem);
  margin-bottom: 18px;
}

.contact-lead {
  margin-bottom: 44px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: rgba(36, 20, 66, 0.04);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  border: 1px solid rgba(36, 20, 66, 0.05);
  transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
  background-color: var(--color-forest);
  color: #FFFFFF;
  transform: scale(1.05);
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-sage);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-value {
  font-weight: 600;
  color: var(--color-forest);
  font-size: 1.08rem;
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-value a:hover {
  color: var(--color-amber);
}

/* Dual Branch Selector Tabs */
.branch-selector-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.branch-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(36, 20, 66, 0.12);
  background: #FFFFFF;
  color: var(--color-forest);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(36, 20, 66, 0.04);
}

.branch-selector-btn:hover {
  border-color: var(--color-amber);
  transform: translateY(-2px);
}

.branch-selector-btn.active {
  background: var(--color-forest);
  color: #FFFFFF;
  border-color: var(--color-forest);
  box-shadow: 0 8px 20px -4px rgba(36, 20, 66, 0.25);
}

.branch-selector-btn.active i {
  color: var(--color-amber);
}

.branch-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.branch-panel.active {
  display: block;
}

.branch-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 180, 180, 0.15);
  color: #007A7A;
  border: 1px solid rgba(0, 180, 180, 0.3);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Map Bezel Framing */
.map-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.branch-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(36, 20, 66, 0.04);
  border-bottom: 1px solid rgba(36, 20, 66, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.branch-map-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  gap: 6px;
}

.branch-map-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-forest);
  background: rgba(0, 180, 180, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 180, 180, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.branch-map-link:hover {
  background: var(--color-amber);
  color: #FFFFFF;
}

.map-inner {
  padding: 0;
  height: 500px;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(10%) contrast(105%);
}

/* Footer styling */
.site-footer {
  background-color: var(--color-forest);
  color: #FFFFFF;
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-pill {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: fit-content;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.footer-logo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 180, 180, 0.35);
}

.footer-logo-img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span {
  color: var(--color-amber);
}

.footer-copy {
  font-size: 0.88rem;
  opacity: 0.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer-link {
  color: #FFFFFF;
  opacity: 0.65;
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-amber);
}

/* Scroll Animation Reveal Classes for GSAP */
.reveal-el {
  opacity: 0;
  transform: translateY(40px);
}

/* Responsiveness overrides below 768px */
@media (max-width: 767px) {
  :root {
    --spacing-macro: 70px;
    --spacing-section: 100px;
    --radius-outer: 22px;
    --radius-inner: 16px;
  }
  
  .container {
    padding: 0 24px;
  }
  
  .nav-links, .nav-cta-btn {
    display: none;
  }
  
  .mobile-menu-trigger {
    display: block;
  }
  
  .hero {
    padding-top: 110px;
    min-height: auto;
  }
  
  .hero-title {
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    margin-bottom: 32px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }
  
  .hero-ctas .btn-pill {
    width: 100%;
    justify-content: center;
  }
  
  .double-bezel-inner {
    padding: 28px;
  }
  
  .logo-wall-wrapper {
    justify-content: center;
    text-align: center;
  }
  
  .logo-track {
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .map-inner {
    height: 380px;
  }
}

/* Cinematic Page Transition Curtain */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  background-color: var(--color-forest);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0); /* Fully covers the viewport initially */
  will-change: transform;
}

.curtain-logo {
  opacity: 0;
  transform: scale(0.92);
  display: flex;
  align-items: center;
  gap: 16px;
}

.curtain-logo-img {
  height: clamp(52px, 8vw, 76px);
  width: auto;
  background: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.curtain-logo .logo-text {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.025em;
}

/* Active Nav Link Styles */
.nav-link.active {
  color: var(--color-forest) !important;
}

.nav-link.active::after {
  width: 100% !important;
}

/* Hero Ambient Glows & Grid Pattern */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  animation: orbPulse 8s infinite alternate ease-in-out;
}

.hero-glow-orb.orb-1 {
  top: 15%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(107, 91, 149, 0.35) 0%, transparent 80%);
}

.hero-glow-orb.orb-2 {
  bottom: 10%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 180, 180, 0.22) 0%, transparent 80%);
  animation-delay: -3s;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(36, 20, 66, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 20, 66, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  z-index: 1;
  pointer-events: none;
}

@keyframes orbPulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: translate(25px, -15px) scale(1.1);
    opacity: 0.45;
  }
}

/* Floating Glass Badges around Hero Image */
.hero-visual-wrapper {
  position: relative;
}

.hero-floater {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 12px 32px -8px rgba(36, 20, 66, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 18px;
  z-index: 5;
  animation: floatAnim 6s infinite ease-in-out;
  pointer-events: none;
}

.hero-floater.floater-1 {
  top: 20%;
  left: -35px;
  animation-delay: 0s;
}

.hero-floater.floater-2 {
  bottom: 15%;
  right: -30px;
  animation-delay: -3s;
}

@media (max-width: 1200px) {
  .hero-floater.floater-1 {
    left: 10px;
  }
  .hero-floater.floater-2 {
    right: 10px;
  }
}

@media (max-width: 991px) {
  .hero-floater {
    display: none;
  }
}

.floater-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-color: rgba(36, 20, 66, 0.05);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero-floater.floater-2 .floater-icon-wrapper {
  background-color: rgba(0, 180, 180, 0.06);
  color: var(--color-amber);
}

.floater-text-wrapper {
  display: flex;
  flex-direction: column;
}

.floater-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.floater-sub {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

@keyframes floatAnim {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.5deg);
  }
}

/* Hero Stats Section */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 20, 66, 0.06);
  position: relative;
  z-index: 3;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(36, 20, 66, 0.08);
}

@media (max-width: 575px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    width: 45%;
  }
}

/* Generative Neural Network Canvas */
.neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Sits on top of background lines, but below actual content */
  pointer-events: none;
}

/* Ebeveyn Kitaplığı / Resources Section */
.resources-section {
  background-color: var(--color-card-bg);
  border-top: 1px solid rgba(36, 20, 66, 0.04);
}

.resources-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
}

@media (min-width: 992px) {
  .resources-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

/* Download Cards */
.download-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .download-cards-container {
    grid-template-columns: 1fr 1fr;
  }
}

.download-card-wrapper {
  height: 100%;
}

.download-card-inner {
  padding: 32px;
  background-color: transparent;
  border-radius: var(--radius-inner);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: rgba(36, 20, 66, 0.05);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.download-card-wrapper:hover .download-icon {
  background-color: var(--color-forest);
  color: #FFFFFF;
}

.download-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.download-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.download-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.download-btn i {
  font-size: 1.1rem;
}

.download-btn:hover {
  color: var(--color-amber-hover);
  transform: translateX(4px);
}

/* Interactive Tabs for Zihin Kuramı */
.tabs-container {
  background-color: transparent;
  border-radius: var(--radius-inner);
  padding: 32px;
}

.tabs-header {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(36, 20, 66, 0.06);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background-color: rgba(36, 20, 66, 0.02);
  border: 1px solid rgba(36, 20, 66, 0.06);
  color: var(--color-text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  background-color: rgba(36, 20, 66, 0.05);
  color: var(--color-forest);
  border-color: rgba(36, 20, 66, 0.12);
  transform: translateY(-1px);
}

.tab-btn.active {
  background-color: var(--color-forest);
  color: #FFFFFF;
  border-color: var(--color-forest);
  box-shadow: 0 8px 20px -6px rgba(36, 20, 66, 0.25);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.tab-panel-context {
  font-size: 0.9rem;
  background-color: rgba(36, 20, 66, 0.03);
  padding: 16px;
  border-radius: 12px;
  border-left: 3px solid var(--color-amber);
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.5;
}

.tab-panel-q {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-forest);
  margin-top: 14px;
}

.tab-panel-answers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.tab-panel-answers li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tab-panel-answers i {
  color: var(--color-amber);
  margin-top: 4px;
}

/* Video Player Card */
.video-card-container {
  height: 100%;
}

.video-card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-title-wrapper {
  margin-bottom: 24px;
}

.video-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.video-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: var(--shadow-ambient);
  margin-bottom: 24px;
  border: 2px solid rgba(0, 180, 180, 0.35); /* Premium amber frame around screen */
}

.custom-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #FFFFFF;
}

.custom-video.is-playing {
  object-fit: contain;
  background-color: #0d0818;
}

.video-meta-info {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.video-meta-info i {
  color: var(--color-amber);
}

/* Video Card Double Bezel & Glow Aura */
.video-glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 180, 180, 0.32) 0%, rgba(107, 91, 149, 0.12) 55%, transparent 75%);
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
}

.double-bezel {
  background-color: rgba(36, 20, 66, 0.03); /* Richer glass outer frame */
  border: 1px solid rgba(36, 20, 66, 0.12);  /* Stronger outer border */
  border-radius: var(--radius-outer);
  padding: 12px;
  box-shadow: 
    0 32px 80px -20px rgba(36, 20, 66, 0.12),
    0 8px 24px -12px rgba(36, 20, 66, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.double-bezel:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 180, 0.4); /* Highlights with amber on hover! */
  box-shadow: 
    0 40px 100px -24px rgba(36, 20, 66, 0.18),
    0 12px 32px -16px rgba(36, 20, 66, 0.1);
}

.resources-section {
  background-color: rgba(36, 20, 66, 0.025) !important; /* Slightly darker background to make white card pop */
  position: relative;
  overflow: hidden;
}

/* Specialists Grid System */
.specialists-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .specialists-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .specialists-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.specialist-card {
  height: 100%;
}

.specialist-inner {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  justify-content: space-between;
  background-color: #FFFFFF;
  border-radius: var(--radius-inner);
}

.specialist-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 16px;
  padding: 5px;
  background: var(--color-forest);

  box-shadow: 0 8px 20px -6px rgba(36, 20, 66, 0.15);
}





.specialist-avatar-wrapper::after {
  content: '';
  position: absolute;
  top: 11px; left: 11px; right: 11px; bottom: 11px;
  border-radius: 50%;
  box-shadow: inset -6px 0px 0px 0px var(--color-amber);
  pointer-events: none;
  z-index: 2;
}

.specialist-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background-color: var(--color-bg);
  border: 6px solid #FFFFFF;
    position: relative;
    z-index: 1;
}

.specialist-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 4px;
}

.specialist-role {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-amber);
  margin-bottom: 14px;
}

.specialist-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.specialist-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(36, 20, 66, 0.04);
  color: var(--color-forest);
}

.cv-btn {
  font-size: 0.82rem;
  padding: 8px 18px;
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

/* Glassmorphic CV Modal */
.cv-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(36, 20, 66, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cv-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cv-modal-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-outer);
  max-width: 640px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 32px 80px -20px rgba(36, 20, 66, 0.25);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-fast);
  max-height: 85vh;
  overflow-y: auto;
}

.cv-modal-overlay.active .cv-modal-card {
  transform: scale(1) translateY(0);
}

.cv-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(36, 20, 66, 0.05);
  border: none;
  font-size: 1.4rem;
  color: var(--color-forest);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.cv-modal-close:hover {
  background-color: var(--color-forest);
  color: #FFFFFF;
}

.cv-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(36, 20, 66, 0.08);
}

.cv-modal-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-amber);
}

.cv-modal-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #241442 !important;
  margin-bottom: 4px;
  display: block !important;
}

.cv-modal-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: #00B4B4 !important;
  display: block !important;
}

.cv-modal-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #241442 !important;
  margin-bottom: 12px;
  margin-top: 16px;
  display: block !important;
}

.cv-modal-bio {
  font-size: 0.95rem;
  color: #2D3748 !important;
  line-height: 1.8;
  white-space: pre-line;
  display: block !important;
  opacity: 1 !important;
}

/* Service Detail Modal Custom Styling */
.service-modal-card {
  max-width: 720px;
}

.modal-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.modal-feature-box {
  background: rgba(36, 20, 66, 0.03);
  border: 1px solid rgba(36, 20, 66, 0.08);
  border-radius: var(--radius-inner);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--color-forest);
}

.modal-feature-box i {
  color: var(--color-amber);
  margin-right: 6px;
}

.modal-bullet-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-bullet-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--color-text);
  line-height: 1.6;
}

.modal-bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-amber);
  font-weight: 800;
}

.service-modal-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-inner);
  background: linear-gradient(135deg, rgba(0, 180, 180, 0.15), rgba(36, 20, 66, 0.06));
  border: 1px solid rgba(0, 180, 180, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-amber);
  flex-shrink: 0;
}

.service-modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 4px;
}

.service-modal-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 20, 66, 0.08);
  display: flex;
  justify-content: flex-end;
}

/* Clinic Gallery Section & Horizontal Swipe Carousel */
.gallery-section {
  background: linear-gradient(180deg, rgba(36, 20, 66, 0.02) 0%, rgba(0, 180, 180, 0.05) 50%, rgba(36, 20, 66, 0.02) 100%);
  border-top: 1px solid rgba(36, 20, 66, 0.04);
  position: relative;
  overflow: hidden;
}

.gallery-carousel-shell {
  position: relative;
  margin-top: 36px;
  padding: 0 32px;
}

.gallery-grid.gallery-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  margin-top: 0;
  padding: 14px 6px 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  outline: none;
}

.gallery-grid.gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-grid.gallery-carousel-track.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  max-width: calc((100% - 44px) / 3);
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(36, 20, 66, 0.06);
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item.is-active {
  border-color: rgba(0, 180, 180, 0.55);
  box-shadow: 0 18px 36px -12px rgba(0, 180, 180, 0.25);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(36, 20, 66, 0.16);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(36, 20, 66, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1);
  background: var(--color-amber);
}

.gallery-arrow-btn {
  position: absolute;
  top: calc(50% - 34px);
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-forest);
  border: 1.5px solid rgba(36, 20, 66, 0.12);
  box-shadow: 0 12px 28px -6px rgba(36, 20, 66, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-arrow-btn:hover {
  background: var(--color-amber);
  color: #FFFFFF;
  border-color: var(--color-amber);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 30px -6px rgba(0, 180, 180, 0.45);
}

.gallery-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-arrow-prev {
  left: -6px;
}

.gallery-arrow-next {
  right: -6px;
}

.gallery-carousel-footer {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery-counter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(36, 20, 66, 0.07);
  color: var(--color-forest);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(36, 20, 66, 0.18);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-dot:hover {
  background: rgba(0, 180, 180, 0.55);
}

.gallery-dot.active {
  width: 28px;
  background: var(--color-amber);
  box-shadow: 0 2px 8px rgba(0, 180, 180, 0.4);
}

.gallery-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--color-slate);
  opacity: 0.85;
}

.gallery-swipe-hint i {
  color: var(--color-amber);
  font-size: 1rem;
}

.gallery-caption {
  display: none !important;
}

/* Lightbox Stage & Prev/Next Controls */
.lightbox-stage {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 84vw;
  max-height: 82vh;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  cursor: default;
  user-select: none;
}

#lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 4;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-forest);
  border: 1px solid rgba(36, 20, 66, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 3;
  transition: all 0.22s ease;
}

.lightbox-nav-btn:hover {
  background: var(--color-amber);
  color: #FFFFFF;
  border-color: var(--color-amber);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-prev {
  left: -24px;
}

.lightbox-nav-next {
  right: -24px;
}

.lightbox-counter-badge {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(36, 20, 66, 0.88);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 1023px) {
  .gallery-item {
    flex: 0 0 calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
  }
}

@media (max-width: 639px) {
  .gallery-carousel-shell {
    padding: 0 6px;
  }
  .gallery-grid.gallery-carousel-track {
    gap: 14px;
    padding: 10px 6% 18px;
  }
  .gallery-item {
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
  }
  .gallery-arrow-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    top: calc(50% - 38px);
  }
  .gallery-arrow-prev {
    left: 2px;
  }
  .gallery-arrow-next {
    right: 2px;
  }
  .gallery-zoom-badge {
    opacity: 0.92;
    transform: scale(1);
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  #lightbox-img {
    max-width: 92vw;
    max-height: 76vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .lightbox-nav-prev {
    left: 8px;
  }
  .lightbox-nav-next {
    right: 8px;
  }
}

/* Quiz Section & Interactive Option Buttons */
.quiz-opt-btn {
  background: rgba(250, 251, 251, 0.9);
  border: 2px solid rgba(36, 20, 66, 0.08);
  border-radius: var(--radius-inner);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: inherit;
  font-weight: 700;
  color: var(--color-forest);
  text-align: center;
}

.quiz-opt-btn:hover {
  background: #FFFFFF;
  border-color: var(--color-amber);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 180, 180, 0.3);
}

.quiz-opt-btn:active,
.quiz-opt-btn.selected {
  transform: scale(0.96);
  border-color: var(--color-amber);
  background: rgba(0, 180, 180, 0.12);
}

/* FAQ Accordion Styling */
.faq-header:hover {
  background: rgba(0, 180, 180, 0.05);
}

/* Testimonial Cards Hover */
.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(36, 20, 66, 0.12);
}

/* ===================================================
   ZİHİN KURAMI & SOBECE & SOSYAL BECERİ VURGULARI
   =================================================== */

/* Üst Başlıklarda Göze Çarpan Zihin Kuramı Vurgusu */
.eyebrow-zihin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0, 180, 180, 0.22), rgba(36, 20, 66, 0.08));
  color: var(--color-forest);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 180, 180, 0.5);
  box-shadow: 0 2px 10px rgba(0, 180, 180, 0.18);
  letter-spacing: 0.04em;
  text-transform: none;
  transition: all 0.3s ease;
}

.eyebrow-zihin-badge i {
  color: var(--color-amber);
  font-size: 1.05em;
}

.eyebrow-zihin-badge:hover {
  background: linear-gradient(135deg, rgba(0, 180, 180, 0.32), rgba(36, 20, 66, 0.12));
  transform: scale(1.02);
}

/* Uzman Kartlarında Zihin Kuramı Vurgusu */
.specialist-tag-zihin {
  background: linear-gradient(135deg, rgba(0, 180, 180, 0.25), rgba(36, 20, 66, 0.08)) !important;
  color: #007A7A !important;
  border: 1px solid rgba(0, 180, 180, 0.6) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 180, 180, 0.22) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Bento Etiketlerinde Zihin Kuramı Göze Çarpan Rozeti */
.tag-highlight-zihin {
  background: linear-gradient(135deg, #00B4B4, #009E9E) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 4px 14px rgba(0, 180, 180, 0.38) !important;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px !important;
}

/* Bento Etiketlerinde SOBECE Rozeti */
.tag-sobece {
  background: linear-gradient(135deg, #241442, #372063) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(36, 20, 66, 0.25) !important;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px !important;
}

.tag-sobece i {
  color: var(--color-amber);
}

/* Sosyal Beceri & Drama Öne Çıkan Kart Stili */
.bento-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 180, 180, 0.16);
  color: #007A7A;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 180, 180, 0.4);
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 180, 180, 0.1);
}

.bento-featured-card {
  border-color: rgba(0, 180, 180, 0.35) !important;
  box-shadow: 0 16px 40px -12px rgba(0, 180, 180, 0.15) !important;
}

.bento-featured-card:hover {
  border-color: rgba(0, 180, 180, 0.6) !important;
  box-shadow: 0 24px 48px -12px rgba(0, 180, 180, 0.25) !important;
}









#service-modal-content p {
  color: #2D3748 !important;
  display: block !important;
  opacity: 1 !important;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.bento-tag { cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bento-tag:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(36, 20, 66, 0.1); }

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: min(92vw, 760px);
  background: rgba(36, 20, 66, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  border: 1px solid rgba(0, 180, 180, 0.35);
  border-radius: 22px;
  padding: 18px 24px;
  box-shadow: 0 20px 45px rgba(15, 8, 30, 0.35);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookie-consent-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cookie-consent-text a {
  color: #00E0E0;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #00B4B4;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 180, 180, 0.35);
}

.cookie-btn-accept:hover {
  background: #009E9E;
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    bottom: 14px;
    gap: 14px;
  }
  .cookie-consent-actions {
    justify-content: flex-end;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

