/* 
  ─── MASTER CODING STYLES ─── 
*/

:root {
  /* Colors - Inverted for Light Theme */
  --bg-dark: #ffffff;
  --bg-card: #f9fafb;
  --text-primary: #0a0a0b;
  --text-secondary: #4b5563;
  --accent-primary: #7c3aed;
  --accent-secondary: #db2777;
  --accent-blue: #2563eb;
  --accent-cyan: #0891b2;
  --border-color: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);
  
  /* Gradients */
  --gradient-main: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  --gradient-surface: linear-gradient(to bottom, #ffffff, #f3f4f6);

  /* Spacing & Misc */
  --container-max: 1200px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BASE RESET ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  /* Hide default for custom cursor */
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* ─── UTILITIES ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

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


/* ─── CUSTOM CURSOR ─── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.15s var(--ease-out);
}

.cursor-trail-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.trail {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.4;
  pointer-events: none;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-primary);
  color: var(--bg-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--text-primary);
  white-space: nowrap;
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn-primary.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-block {
  display: flex !important;
  justify-content: center;
  width: 100%;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-color);
  height: 70px;
}

.nav-inner {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo-icon {
  font-size: 1.8rem;
  background: var(--gradient-main);
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  text-align: center;
  background: #ffffff;
}

.hero-canvas {
  display: none;
}


.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -3px;
  margin-bottom: 2rem;
}

.title-line {
  display: block;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.btn-video {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.play-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-video:hover .play-icon {
  background: var(--text-primary);
  color: var(--bg-dark);
  transform: scale(1.1);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--border-color);
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-right: 4rem;
  color: rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.marquee-content span:hover {
  color: var(--text-primary);
}

.sep {
  color: var(--accent-primary) !important;
  opacity: 0.5 !important;
}

/* ─── SECTION STYLES ─── */
section {
  padding: 10rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

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

.section-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* ─── FEATURES ─── */
/* ─── ENGINEERING SHOWCASE (REVAMPED) ─── */
.engineering-showcase {
  text-align: center;
}

.eng-header {
  margin-bottom: 6rem;
}

.eng-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.eng-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 2rem;
}

.eng-lead {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.eng-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}

.eng-pillar {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  text-align: left;
}

.eng-item {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--transition);
}

.eng-item:hover {
  border-color: var(--accent-primary);
  transform: translateX(10px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.eng-pillar:last-child .eng-item:hover {
  transform: translateX(-10px);
}

.eng-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.eng-item h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.eng-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Center Visual: The Core */
.eng-center {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.eng-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eng-core {
  width: 120px;
  height: 120px;
  background: var(--gradient-main);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  z-index: 10;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.4);
}

@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.core-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-primary);
  border-radius: inherit;
  animation: corePulse 3s ease-out infinite;
}

@keyframes corePulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.orbit-ring {
  position: absolute;
  border: 1px dashed var(--border-color);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.ring-1 { width: 250px; height: 250px; animation-duration: 25s; }
.ring-2 { width: 350px; height: 350px; animation-duration: 40s; animation-direction: reverse; }
.ring-3 { width: 450px; height: 450px; animation-duration: 60s; }

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

@media (max-width: 1024px) {
  .eng-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .eng-center { height: 300px; order: -1; }
  .eng-item:hover { transform: translateY(-10px); }
  .eng-pillar:last-child .eng-item:hover { transform: translateY(-10px); }
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 3rem;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.step-connector {
  position: absolute;
  left: 30px;
  top: 60px;
  width: 1px;
  height: calc(100% + 4rem);
  background: var(--border-color);
  z-index: -1;
}

/* ─── SHOWCASE ─── */
.code-window {
  max-width: 1000px;
  margin: 0 auto 3rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
}

.code-window-bar {
  background: #f9fafb;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.code-window-title {
  margin-left: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: monospace;
}

.code-window-badge {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.code-body {
  padding: 2rem;
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  line-height: 1.7;
}

.code-line {
  margin-bottom: 0.2rem;
}

.code-keyword {
  color: var(--accent-primary);
}

.code-func {
  color: var(--accent-blue);
}

.code-string {
  color: #10b981;
}

.code-num {
  color: #f59e0b;
}

.code-comment {
  color: #4b5563;
}

.code-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2rem;
  background: var(--text-primary);
  margin-left: 5px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.showcase-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.pill {
  padding: 0.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.pill.active,
.pill:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* ─── TESTIMONIALS (GLOW ENHANCED) ─── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.testi-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.testi-card[data-glow]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 70%, var(--accent-primary), var(--accent-secondary), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin {
  from { --angle: 0deg; }
  to { --angle: 360deg; }
}

.testi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.testi-card:hover[data-glow]::before {
  opacity: 1;
  animation: spin 3s linear infinite;
}

.testi-card--featured {
  background: #fdfaff;
  border-color: rgba(124, 58, 237, 0.2);
}

.testi-stars {
  color: #fca311;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.testi-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

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

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.testi-author strong {
  display: block;
}

.testi-author span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Glowing Button Section */
.testi-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-glow-wrap {
  position: relative;
  background: #000;
  color: #fff;
  padding: 1.25rem 3rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  overflow: hidden;
  border: none;
  display: inline-block;
  transition: var(--transition);
}

.btn-glow-inner {
  position: relative;
  z-index: 2;
}

.btn-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: conic-gradient(from 0deg, var(--accent-primary), var(--accent-secondary), var(--accent-blue), var(--accent-cyan), var(--accent-primary));
  transform: translate(-50%, -50%) rotate(0deg);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.5s;
}

.btn-glow-wrap:hover .btn-glow-bg {
  opacity: 0.8;
  animation: spin 2s linear infinite;
}

.btn-glow-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

/* ─── PRICING MATRIX (PROFESSIONAL) ─── */
.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.matrix-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.matrix-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-hover);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.matrix-featured {
  border-color: var(--accent-primary);
  background: linear-gradient(to bottom, #fff, #fdfaff);
  transform: scale(1.05);
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
  z-index: 2;
}

.matrix-featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.matrix-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gradient-main);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.matrix-header {
  margin-bottom: 3rem;
  text-align: left;
}

.matrix-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.matrix-price {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.m-currency {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 500;
  color: var(--text-secondary);
}

.m-amount {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
}

.m-period {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.matrix-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.matrix-features {
  margin-bottom: 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.m-feat {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.m-feat.m-no {
  opacity: 0.4;
  text-decoration: line-through;
}

.matrix-footer {
  margin-top: 5rem;
  background: #0a0a0b;
  color: #fff;
  padding: 3rem 4rem;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.m-ent-info h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.m-ent-info p {
  color: rgba(255,255,255,0.6);
}

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

.btn-outline:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 1024px) {
  .pricing-matrix { grid-template-columns: 1fr; }
  .matrix-featured { transform: scale(1); }
  .matrix-featured:hover { transform: translateY(-10px); }
  .matrix-footer { flex-direction: column; gap: 2.5rem; text-align: center; }
}

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-inner p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
}

/* ─── FOOTER ─── */
.footer {
  padding: 8rem 0 3rem;
  background: #f9fafb;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 8rem;
  margin-bottom: 5rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-btn:hover {
  background: var(--text-primary);
  color: var(--bg-dark);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ─── MOBILE ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1500;
  padding: 10rem 2rem;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

@media (max-width: 1024px) {

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

  .feat-card--large,
  .feat-card--right {
    grid-column: span 1;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .features-grid,
  .testi-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-div {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1.5rem;
  }

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

/* ─── VIDEO MODAL ─── */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #000;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.5s var(--ease-out);
}

.video-modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.modal-close:hover {
  background: #fff;
  color: #000;
  transform: rotate(90deg);
}

.video-container {
  width: 100%;
  height: 100%;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-modal { padding: 1rem; }
}