/* ═══════════════════════════════════════════════════════════════
   KAIMERA MARKETING — Global Styles
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #050508;
  --surface: rgba(15, 15, 25, 0.8);
  --surface-hover: rgba(25, 25, 40, 0.9);
  --border: rgba(255, 255, 255, 0.06);
  --foreground: #e0ddd6;
  --muted: #9a9790;
  --cyan: #00d4ff;
  --purple: #8B5CF6;
  --gold: #F59E0B;
  --pink: #EC4899;
  --orange: #F97316;
  --red: #EF4444;
  --green: #10B981;
  --blue: #3B82F6;
  --font-display: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--foreground);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.body-text {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.85;
  color: #c8c4bb;
  max-width: 650px;
}

.body-text em { color: var(--cyan); font-style: italic; }
.body-text strong { color: #fff; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px;
  overflow: hidden;
}

.section--auto { min-height: auto; }
.section--tight { padding: 80px 24px; }

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,8,0.88) 0%,
    rgba(5,5,8,0.45) 35%,
    rgba(5,5,8,0.45) 65%,
    rgba(5,5,8,0.92) 100%
  );
}

.content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.content--wide { max-width: 1200px; }
.content--left { text-align: left; }

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 28px auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,212,255,0.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

.btn--glow {
  animation: btn-glow 2.5s ease-in-out infinite;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 50px rgba(0,212,255,0.4); }
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  height: 32px;
  opacity: 0.9;
}

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

.nav-links a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:visited { color: var(--muted); }
.nav-links a:hover { color: #fff; }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.nav-cta:hover { background: rgba(255,255,255,0.14) !important; }

.nav-lang-mobile {
  display: none;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-lang-mobile:hover { background: rgba(139, 92, 246, 0.15); }

/* ── Hero ── */
.hero { min-height: 100vh; padding-top: 80px; }
.hero .section-bg { animation: slow-zoom 30s ease-in-out infinite alternate; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.6;
  font-weight: 300;
}

.hero-trust {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  margin-top: 48px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
  animation: float 2.5s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
  margin: 10px auto 0;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Character Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.char-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.char-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.char-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.char-info {
  padding: 16px 20px 20px;
}

.char-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.char-role {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.char-quote {
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}

.step {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.4;
  margin-bottom: 16px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Feature Blocks ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
}

.feature-block {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-block:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.feature-block h3 { font-size: 18px; margin-bottom: 8px; }
.feature-block p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Capabilities Grid ── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 20px;
}

.cap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cap-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--agent-color, var(--cyan));
  opacity: 0.6;
}
.cap-item:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px color-mix(in srgb, var(--agent-color, var(--cyan)) 15%, transparent);
}

.cap-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--agent-color, var(--cyan));
  box-shadow: 0 0 16px color-mix(in srgb, var(--agent-color, var(--cyan)) 25%, transparent);
}

.cap-text {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.3;
}

.cap-baby {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--agent-color, var(--muted));
  display: block;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* ── Integration Logos ── */
.integration-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 40px auto 0;
}

.int-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.3s, transform 0.2s;
}
.int-badge:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-1px); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.price-card {
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  border-color: rgba(0,212,255,0.3);
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(139,92,246,0.06));
}

.price-tier {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-ui);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.price-amount span { font-size: 14px; font-weight: 400; color: var(--muted); }

.price-credits {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.price-features li {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.price-features li::before {
  content: '✓ ';
  color: var(--cyan);
}

/* ── Lore Section ── */
.lore-preview {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 32px auto;
}

.lore-preview img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.lore-preview img:hover { opacity: 1; }

/* ── Split Layout ── */
.split {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.split-image {
  flex: 0 0 360px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
.split-image img { width: 100%; display: block; }

.split-text { flex: 1; text-align: left; }

/* ── Footer ── */
.footer {
  padding: 60px 32px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.15);
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-lang-mobile { display: block; }
  .split { flex-direction: column; gap: 32px; }
  .split-image { flex: none; width: 100%; max-width: 320px; }
  .split-text { text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr !important; max-width: 100% !important; padding: 0 !important; margin-left: 0; margin-right: 0; }
  .price-card { max-width: 100%; width: 100%; box-sizing: border-box; }
  .cap-grid { grid-template-columns: 1fr; }
  .lore-preview img { width: 120px; height: 80px; }
  .integration-strip { gap: 8px; }
  .int-badge { font-size: 11px; padding: 8px 14px; }
}
