/* ═══════════════════════════════════════════════════
   KORTEX — MASTER STYLESHEET v2.0
   Aesthetic: Dark Luxury · Cursive Intelligence · GEO-First
   Palette: Midnight Black · Crimson · Synthetic Violet
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #050507;
  --deep: #080810;
  --surface: #121218;
  --card: #1a1a24;
  --edge: #2a2a38;
  --muted: #5a5a6a;
  --subtle: #8888a0;
  --text: #d0d0e0;
  --bright: #eeeef8;
  --white: #ffffff;
  --primary: #E50914;
  --primary-glow: rgba(229, 9, 20, 0.25);
  --secondary: #8B5CF6;
  --secondary-glow: rgba(139, 92, 246, 0.2);
  --accent: #06b6d4;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-ui: 'Syne', sans-serif;
  --ff-mono: 'DM Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-ui);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ─── CUSTOM MAGNETIC CURSOR ─── */
/* ═══ REPLACE CURSOR SECTION ═══ */

/* Magnetic Cursor - Fast & Snappy */
@keyframes cursorGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.5), 0 0 45px rgba(139, 92, 246, 0.35);
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  will-change: transform;
  transition: width 0.12s, height 0.12s, background 0.12s;
  animation: cursorGlow 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(139, 92, 246, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.2s;
}

.cursor-dot.hovered {
  width: 20px;
  height: 20px;
  background: var(--secondary);
}

.cursor-ring.hovered {
  width: 50px;
  height: 50px;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.cursor-dot.clicking {
  transform: translate(-50%, -50%) scale(0.6);
}

/* ═══ TEXT CONTRAST & READABILITY ═══ */

:root {
  /* Enhanced contrast colors */
  --text-bright: #f5f5ff;
  /* Was #d0d0e0 - now brighter */
  --text-primary: #e8e8f8;
  /* Primary text - higher contrast */
  --text-secondary: #c0c0d8;
  /* Secondary text - still readable */
  --text-muted: #8a8aaa;
  /* Muted - improved from #5a5a6a */
  --text-label: #9999bb;
  /* Form labels - clearer */
}

body {
  color: var(--text-primary);
}

/* All text elements - improved contrast */
p,
li,
span,
div {
  color: var(--text-primary);
}

.text-mono {
  color: var(--primary);
  opacity: 0.95;
  /* Ensure clarity */
}

.section-subtitle {
  color: var(--text-secondary);
}

.muted,
.text-muted {
  color: var(--text-muted);
}

/* Form labels - much clearer */
label {
  color: var(--text-label) !important;
  font-weight: 500;
}

/* Button text - max contrast */
.btn-primary,
.btn-secondary {
  color: var(--white);
  font-weight: 700;
}

/* Footer - better readability */
.footer-tagline {
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-bright);
}

/* Blog cards - readable */
.blog-card p {
  color: var(--text-secondary);
}

.blog-tag {
  color: var(--secondary);
}

/* Feature cards */
.feature-card p {
  color: var(--text-secondary);
}

.feature-card h3 {
  color: var(--white);
}

/* FAQ items */
.faq-item p {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Pipeline steps */
.pipeline-step p {
  color: var(--text-secondary);
}

/* Pricing */
.price-period {
  color: var(--text-muted);
}

.features-list li {
  color: var(--text-primary);
}

/* ─── PROGRESS BAR ─── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 99997;
  width: 0%;
  transition: width 0.08s linear;
}

/* ─── CANVAS BACKGROUND ─── */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  will-change: transform;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 42, 56, 0.8);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
  background: rgba(5, 5, 7, 0.92);
  border-bottom-color: var(--primary);
}

.nav-logo {
  font-family: var(--ff-ui);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: text-shadow 0.3s;
}

.nav-logo:hover {
  text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(229, 9, 20, 0.4);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 8px var(--primary), 0 0 16px rgba(229, 9, 20, 0.4);
  }

  50% {
    box-shadow: 0 0 18px var(--primary), 0 0 36px rgba(229, 9, 20, 0.6);
  }
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.35s var(--ease-out);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.nav-cta {
  padding: 11px 22px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  border: none;
  border-radius: 2px;
  font-family: var(--ff-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: none;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.25);
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-size: 13px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: #ff1020;
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border: 1.5px solid var(--secondary);
  border-radius: 2px;
  font-family: var(--ff-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: none;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 13px;
}

.btn-secondary:hover {
  background: var(--secondary);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.45);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 20px 52px;
  font-size: 14px;
}

/* ─── FORMS ─── */
.form-group {
  margin-bottom: 22px;
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--edge);
  padding: 15px 18px;
  color: var(--white);
  font-family: var(--ff-mono);
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  border-radius: 2px;
}

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

.form-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.2), inset 0 0 12px rgba(139, 92, 246, 0.04);
  background: rgba(139, 92, 246, 0.025);
}

.form-error {
  display: block;
  color: #ff6b6b;
  font-family: var(--ff-mono);
  font-size: 11px;
  margin-top: 6px;
  min-height: 16px;
  letter-spacing: 0.05em;
}

.form-message {
  padding: 14px 18px;
  border-radius: 2px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--secondary);
  animation: slideIn 0.4s var(--ease-out);
  font-size: 13px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── LAYOUT ─── */
main {
  position: relative;
  z-index: 10;
  padding-top: 120px;
  min-height: 100vh;
  padding-bottom: 100px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── TYPOGRAPHY ─── */
.title-display {
  font-family: var(--ff-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.title-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--secondary), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-display strong {
  font-weight: 600;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.text-mono {
  font-family: var(--ff-mono);
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-mono::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.section-subtitle {
  font-family: var(--ff-display);
  font-size: clamp(17px, 2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 0;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

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

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

/* Stagger delays */
.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.12s;
}

.stagger-3 {
  transition-delay: 0.19s;
}

.stagger-4 {
  transition-delay: 0.26s;
}

/* ─── HERO ─── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  padding-bottom: 60px;
  position: relative;
}

.hero-content {
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.15s var(--ease-out) forwards;
}

.hero-title {
  font-size: clamp(62px, 8.5vw, 120px);
  font-family: var(--ff-display);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s var(--ease-out) forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--secondary) 0%, #c084fc 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 52px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeInUp 0.8s 0.45s var(--ease-out) forwards;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s var(--ease-out) forwards;
}

/* Hero glow blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(229, 9, 20, 0.08);
  top: -80px;
  right: -60px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.07);
  bottom: 0;
  left: -40px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 3.5s infinite ease-in-out;
  color: var(--muted);
}

.scroll-dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: bounce 2s infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes bounce {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── STATS SECTION ─── */
.stats-section {
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.stat-card {
  background: var(--surface);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.stat-card:hover {
  background: var(--card);
}

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

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, var(--white), var(--subtle));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ─── PIPELINE GRID (SOLUTIONS) ─── */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--edge);
  margin-top: 80px;
  border: 1px solid var(--edge);
}

.pipeline-step {
  background: var(--surface);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  animation: slideInUp 0.6s var(--ease-out) calc(0.1s * var(--step)) both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pipeline-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.pipeline-step:hover {
  background: var(--card);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
  transform: translateY(-6px);
  z-index: 2;
}

.pipeline-step:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-family: var(--ff-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  opacity: 0.8;
}

.pipeline-step h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
}

.pipeline-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.step-icon {
  position: absolute;
  bottom: 22px;
  right: 22px;
  font-size: 22px;
  opacity: 0.15;
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
}

.pipeline-step:hover .step-icon {
  opacity: 0.9;
  transform: translateX(6px);
  color: var(--secondary);
}

/* ─── FEATURE CARDS ─── */
.features-section {
  margin-top: 120px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  padding: 44px 36px;
  border-radius: 2px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.15);
  transform: translateY(-8px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.4s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.25) rotate(-8deg);
}

.feature-card h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 80px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  padding: 40px;
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}

.blog-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.12), 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

.blog-card:hover::before {
  transform: scaleY(1);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-read-time {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.blog-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.blog-card:hover .blog-tag {
  background: rgba(229, 9, 20, 0.1);
  border-color: rgba(229, 9, 20, 0.3);
  color: var(--primary);
}

.blog-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.blog-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
}

.blog-date {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted);
}

.read-more {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  color: var(--primary);
  gap: 12px;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 80px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  padding: 44px;
  border-radius: 2px;
  position: relative;
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.pricing-card:hover {
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.12);
  transform: translateY(-8px);
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-card-featured {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.18), inset 0 0 40px rgba(139, 92, 246, 0.04);
  animation: pulse-featured 4.5s infinite alternate;
}

.pricing-card-featured::after {
  opacity: 1;
}

@keyframes pulse-featured {
  0% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
  }

  100% {
    box-shadow: 0 0 80px rgba(229, 9, 20, 0.25);
  }
}

.recommended-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  padding: 5px 20px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.5);
}

.pricing-card h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 20px;
}

.price {
  font-family: var(--ff-display);
  font-size: 60px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}

.price-featured {
  font-size: 78px;
  color: var(--secondary);
}

.price-period {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.features-list {
  list-style: none;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--edge);
}

.features-list li {
  color: var(--text);
  font-size: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(42, 42, 56, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.features-list li:first-child {
  border-top: none;
}

.features-list li:hover {
  color: var(--bright);
}

.features-list li.disabled {
  color: var(--muted);
  opacity: 0.5;
}

/* ─── FAQ ─── */
.faq-section {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid var(--edge);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.faq-item {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.12);
  transform: translateX(4px);
}

.faq-item h4 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
}

.faq-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── CONTACT FORM ─── */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 2px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--ff-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s var(--ease-out);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.2);
}

.form-submit:hover {
  background: #ff1020;
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.55);
  transform: translateY(-2px);
}

.submit-loader {
  letter-spacing: 0.4em;
  animation: blink 1.2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* ─── LOGIN ─── */
.auth-form {
  margin-top: 28px;
}

.card-animated-border {
  position: relative;
  background: var(--surface);
  padding: 48px;
  border-radius: 4px;
  animation: pulse-featured 4.5s infinite alternate;
}

.card-animated-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  z-index: -1;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 300% 300%;
  animation: border-flow 4s linear infinite;
}

.card-animated-border::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--surface);
  z-index: -1;
  border-radius: 4px;
}

@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ─── SEO / GEO SCHEMA INDICATOR (hidden visually, accessible) ─── */
.schema-data {
  display: none;
}

/* ─── MAGNETIC BUTTON CLASS ─── */
.magnetic {
  display: inline-block;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--edge);
  padding: 80px 5% 48px;
  margin-top: 120px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-logo {
  font-family: var(--ff-ui);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--ff-display);
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--bright);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--edge);
}

.footer-copy {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted);
}

.footer-tech {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-badge {
  padding: 4px 12px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─── GLOWING DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--edge) 20%, var(--secondary) 50%, var(--edge) 80%, transparent 100%);
  margin: 80px 0;
  opacity: 0.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .nav-cta {
    padding: 10px 16px !important;
    font-size: 11px !important;
  }

  .hero-title {
    font-size: 52px;
  }

  .title-display {
    font-size: 44px;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .hero-cta-group {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .container {
    width: 95%;
  }

  .navbar {
    padding: 0 4%;
    height: 70px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .hero-title {
    font-size: 40px;
  }

  .title-display {
    font-size: 36px;
  }

  main {
    padding-top: 90px;
  }

  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ═══ LANGUAGE SWITCHER ═══ */

.lang-switcher {
  position: relative;
  margin-left: 20px;
}

.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--edge);
  color: var(--text-bright);
  padding: 8px 12px;
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.lang-toggle:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.lang-icon {
  font-size: 14px;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 2px;
  overflow: hidden;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 999;
}

.lang-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 14px;
  width: 100%;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 11px;
  cursor: none;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(42, 42, 56, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: var(--card);
  color: var(--text-bright);
}

.lang-option.active {
  background: rgba(229, 9, 20, 0.08);
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: 12px;
  }

  .lang-toggle {
    padding: 6px 10px;
    font-size: 10px;
  }

  .lang-menu {
    min-width: 120px;
  }

  .lang-option {
    padding: 8px 12px;
    font-size: 10px;
  }
}