/* ============================================
   KLYENT — Design System & Global Styles
   Apple-inspired interactive website
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-bg: #050510;
  --color-bg-alt: #0a0a1a;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f0f0f5;
  --color-text-secondary: #8888aa;
  --color-text-muted: #555577;

  /* Brand colors */
  --color-primary: #8b5cf6;
  --color-primary-light: #a78bfa;
  --color-primary-dark: #6d28d9;
  --color-accent: #06d6a0;
  --color-accent-light: #34e8b8;
  --color-cyan: #22d3ee;
  --color-pink: #ec4899;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06d6a0 100%);
  --gradient-hero: linear-gradient(180deg, #050510 0%, #0d0d2b 50%, #050510 100%);
  --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 214, 160, 0.05) 100%);
  --gradient-text: linear-gradient(135deg, #8b5cf6, #22d3ee, #06d6a0);
  --gradient-glow: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 160px);
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.6s var(--ease-out-expo);
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.container--wide {
  max-width: var(--container-wide);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Scroll-based Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease-out-quart);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-icon svg,
.navbar__logo-icon img {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.navbar__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.navbar__link:hover {
  color: var(--color-text);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  background: var(--gradient-primary);
  color: white;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

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

.hero__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: var(--gradient-glow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 2rem;
  animation: fadeInDown 1s var(--ease-out-expo) 0.2s both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn__arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s var(--ease-out-expo) 1.2s both;
}

.hero__scroll-indicator span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Animation keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MARQUEE / LOGOS SECTION
   ============================================ */
.marquee-section {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.marquee-section__label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.marquee__item:hover {
  opacity: 0.8;
}

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

/* ============================================
   ABOUT KLYRA SECTION
   ============================================ */
.about {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.about__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__visual-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(6, 214, 160, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite;
}

.about__visual-frame {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.15), 0 0 120px rgba(6, 214, 160, 0.08);
  animation: floatVisual 6s ease-in-out infinite;
  background: rgba(5, 5, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.about__visual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about__visual-label {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.about__visual-label-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

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

.about__content {
  padding-right: 2rem;
}

.about__text {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: all 0.4s var(--ease-out-expo);
}

.about__feature:hover {
  background: var(--color-surface-hover);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(8px);
}

.about__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about__feature-text h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* ============================================
   HOW IT WORKS — STICKY SCROLL SECTION
   ============================================ */
.how-it-works {
  padding: var(--section-padding) 0;
  position: relative;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 5rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 3rem 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.step:hover::before {
  opacity: 1;
}

.step:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: scale(1.02);
}

.step > * {
  position: relative;
  z-index: 1;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step__content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step__content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ============================================
   STATS / METRICS SECTION
   ============================================ */
.stats {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.5;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-8px);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* ============================================
   FEATURES SHOWCASE
   ============================================ */
.features {
  padding: var(--section-padding) 0;
}

.features__header {
  text-align: center;
  margin-bottom: 5rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  background: var(--color-surface-hover);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-6px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   DEMO / INTERACTIVE PREVIEW SECTION
   ============================================ */
.demo {
  padding: var(--section-padding) 0;
}

.demo__container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.demo__info {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo__info .section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.demo__info .section-subtitle {
  margin-bottom: 2rem;
}

.demo__chat {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 500px;
  border-left: 1px solid var(--color-border);
}

.chat-message {
  max-width: 85%;
  padding: 1rem 1.4rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  animation: messageIn 0.5s var(--ease-out-expo) both;
}

.chat-message--bot {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.2);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.chat-message--user {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.chat-message__sender {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 0.35rem;
  display: block;
}

.chat-message--user .chat-message__sender {
  color: var(--color-text-muted);
  text-align: right;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-typing {
  display: flex;
  gap: 5px;
  padding: 1rem 1.4rem;
  align-self: flex-start;
}

.chat-typing__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary-light);
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}

.chat-typing__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: var(--section-padding) 0;
}

.pricing__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 214, 160, 0.08) 100%);
  border-color: rgba(139, 92, 246, 0.3);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.pricing-card__feature-check {
  color: var(--color-accent);
  font-weight: 700;
}

.pricing-card__btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: auto;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */
.cta {
  padding: var(--section-padding) 0;
}

.cta__container {
  padding: 4rem 3.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 214, 160, 0.06) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.cta__container::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent);
  top: -200px;
  right: -200px;
  border-radius: 50%;
}

.cta__container::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.15), transparent);
  bottom: -150px;
  left: -150px;
  border-radius: 50%;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.cta__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 550px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.cta__trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.cta__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Contact Form */
.cta__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(5, 5, 16, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 600px;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cta__form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta__form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.cta__form-input::placeholder {
  color: var(--color-text-muted);
}

.cta__form-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.cta__form-textarea {
  resize: vertical;
  min-height: 100px;
}

.cta__form-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--color-primary-light);
}

.footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer__social:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  
  .navbar__links.active {
    display: flex;
  }
  
  .navbar__links .navbar__link {
    font-size: 1.3rem;
  }
  
  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }
  
  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about__visual {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .about__content {
    padding-right: 0;
  }
  
  .demo__container {
    grid-template-columns: 1fr;
  }
  
  .demo__chat {
    border-left: none;
    border-top: 1px solid var(--color-border);
    min-height: 400px;
  }
  
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .pricing-card--featured {
    transform: none;
  }
  
  .pricing-card--featured:hover {
    transform: translateY(-8px);
  }
  
  .features__grid {
    grid-template-columns: 1fr;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step {
    grid-template-columns: 60px 1fr;
    padding: 2rem 1.5rem;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  .cta__container {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

/* --- About Hero --- */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12rem 5% 6rem;
  overflow: hidden;
}

.about-hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.about-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.about-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

/* --- Vision Section --- */
.vision-section {
  padding: 8rem 5%;
  position: relative;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: center;
}

.vision-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.vision-text p strong {
  color: var(--text-color);
}

.vision-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Values Section --- */
.values-section {
  padding: 10rem 5%;
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.value-card {
  background: rgba(10, 10, 26, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Manifesto Section --- */
.manifesto-section {
  padding: 8rem 5%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.manifesto-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.manifesto-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.manifesto-author {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.manifesto-author-info {
  text-align: left;
}

.manifesto-author-info strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 0.2rem;
}

.manifesto-author-info span {
  color: var(--primary-light);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- About Responsive --- */
@media (max-width: 968px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .manifesto-text {
    font-size: 1.5rem;
  }
  
  .about-hero {
    padding: 10rem 5% 4rem;
  }
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* --- Blog Header & Filters --- */
.blog-header {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 5% 4rem;
  overflow: hidden;
  text-align: center;
}

.blog-header__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.blog-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.blog-header__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.blog-filter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.blog-filter:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.blog-filter.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

/* --- Featured Post --- */
.blog-featured {
  padding: 2rem 5% 6rem;
  position: relative;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(10, 10, 26, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 2rem;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
}

.featured-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
}

.featured-card__image {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.featured-card:hover .featured-card__image {
  transform: scale(1.03);
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 214, 160, 0.2) 100%);
  mix-blend-mode: overlay;
  z-index: 1;
}

.featured-card__content {
  padding-right: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.post-tag {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-light);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-date {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.featured-card__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.featured-card__excerpt {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  object-fit: contain;
  padding: 4px;
}

.post-author__info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-color);
}

.post-author__info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Post Grid --- */
.blog-grid-section {
  padding: 4rem 5% 8rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.post-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 214, 160, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.post-card__image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.post-card__image {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card__image {
  transform: scale(1.05);
}

.post-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.post-card__excerpt {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.read-time {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.read-more {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #fff;
}

.blog-pagination {
  text-align: center;
}

/* --- Newsletter Section --- */
.newsletter-section {
  padding: 8rem 5%;
  position: relative;
}

.newsletter-box {
  background: linear-gradient(145deg, rgba(20, 20, 40, 0.6) 0%, rgba(10, 10, 26, 0.8) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 32px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

.newsletter-icon {
  margin: 0 auto 2rem;
  width: 80px;
  height: 80px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.newsletter-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  white-space: nowrap;
}

.newsletter-legal {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin: 0 !important;
}

/* --- Blog Responsive --- */
@media (max-width: 968px) {
  .featured-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  
  .featured-card__content {
    padding-right: 0;
  }
  
  .featured-card__image-wrapper {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-box {
    padding: 3rem 1.5rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

/* --- Careers Hero --- */
.careers-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12rem 5% 6rem;
  overflow: hidden;
  text-align: center;
}

.careers-hero__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.careers-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.careers-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 3rem;
}

/* --- Benefits Section --- */
.benefits-section {
  padding: 6rem 5% 10rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

/* Inheriting .value-card and .value-icon from about.html for consistency */

/* --- Openings Section --- */
.openings-section {
  padding: 8rem 5%;
  position: relative;
}

.job-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-department {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mt-4 {
  margin-top: 4rem;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.job-card:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(10px);
}

.job-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.job-card:hover .job-title {
  color: var(--primary-light);
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.job-meta .dot {
  color: rgba(255,255,255,0.2);
}

.job-arrow {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.job-card:hover .job-arrow {
  color: var(--primary-light);
  transform: translateX(5px);
}

.general-application {
  margin-top: 5rem;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(10, 10, 26, 0.4);
  border: 1px dashed rgba(139, 92, 246, 0.3);
  border-radius: 24px;
}

.general-application p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ============================================
   LEGAL PAGE STYLES (HUB)
   ============================================ */
.legal-page {
  background: var(--bg-alt);
}

.legal-header {
  padding: 12rem 5% 4rem;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.legal-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.legal-header__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-header__updated {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-hub {
  padding: 4rem 5% 8rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-nav__link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.legal-nav__link:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-color);
}

.legal-nav__link.active {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-light);
  border-color: rgba(139, 92, 246, 0.2);
}

.legal-content {
  background: var(--bg-color);
  padding: 4rem;
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

.legal-section {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin: 2.5rem 0 1rem;
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.legal-section li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.legal-section li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

/* --- Careers & Legal Responsive --- */
@media (max-width: 968px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .legal-sidebar {
    position: relative;
    top: 0;
  }
  
  .legal-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .legal-nav__link {
    white-space: nowrap;
  }
  
  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .job-arrow {
    align-self: flex-end;
  }
  
  .legal-section h2 {
    font-size: 1.8rem;
  }
}
