/* ============================================
   MODERN RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366F1;
  --secondary: #06B6D4;
  --accent: #A7F3D0;
  --dark: #0F172A;
  --darker: #020617;
  --light: #F8FAFC;
  --purple: #8B5CF6;
  --spacing: clamp(1rem, 5vw, 3rem);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: var(--darker);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #020617 0%, #0F172A 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent);
  bottom: -100px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--spacing);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(2, 6, 23, 0.7);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.4s ease;
}

header.scrolled nav {
  padding: 1rem var(--spacing);
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

header.scrolled .logo-img {
  height: 35px;
}

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

.nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--light);
  transition: all 0.3s ease;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem var(--spacing);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.story-page section,
body.platform-page section,
body.industries-page section,
body.resources-page section {
  min-height: auto;
  align-items: flex-start;
}

body.story-page #hero,
body.platform-page #hero,
body.industries-page #hero,
body.resources-page #hero {
  padding-top: 8rem;
}

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

/* ============================================
   VIDEO HERO SECTION
   ============================================ */
.video-hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
}
/*
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.4) 0%,
    rgba(2, 6, 23, 0.6) 50%,
    rgba(2, 6, 23, 0.8) 100%
  );
  z-index: 2;
  pointer-events: none;
}
*/
/* ============================================
   HERO SECTION (ABOUT)
   ============================================ */
.hero {
  text-align: center;
  padding: 2.5rem var(--spacing) 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
}

.badge-icon {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

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

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

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -3px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E9D5FF 30%, #A7F3D0 60%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.2s both;
}

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

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #94A3B8;
  max-width: 800px;
  margin: 0 auto 0.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  color: white;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(248, 250, 252, 0.05);
  color: var(--light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(10px);
}

.btn.loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.btn-secondary:hover {
  background: rgba(248, 250, 252, 0.1);
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF, #E9D5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.1rem;
  color: #94A3B8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   CARD SYSTEM
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.card-icon .icon {
  width: 32px;
  height: 32px;
  color: var(--secondary);
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}

.card:hover .card-icon .icon {
  color: var(--accent);
  transform: scale(1.1);
}

.card-icon-positive {
  background: rgba(34, 211, 238, 0.15);
}

.card-icon-positive .icon {
  color: #22D3EE;
}

.card-icon-negative {
  background: rgba(239, 68, 68, 0.15);
}

.card-icon-negative .icon {
  color: #EF4444;
}

.card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.card p {
  color: #94A3B8;
  line-height: 1.7;
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  margin-top: 1rem;
  text-align: left;
}

.card li {
  color: #CBD5E1;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.reality-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  color: #A7F3D0;
  font-weight: 500;
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

/* ============================================
   PROBLEM SCENARIO
   ============================================ */
.problem-scenario {
  border: 2px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(20px);
  margin: 48px 0;
  background: rgba(31, 41, 55, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.problem-scenario:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 60px rgba(110, 0, 255, 0.2);
}

.user-query {
  font-size: 24px;
  font-style: italic;
  color: #A7F3D0;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 500;
}

.problem-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
  align-items: start;
}

.problem-list {
  list-style: none;
  margin: 0;
  text-align: left;
}

.problem-list li {
  margin: 20px 0;
  padding-left: 32px;
  position: relative;
  font-size: 18px;
  line-height: 1.7;
  color: #CBD5E1;
}

.problem-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: -0.35em;
  color: #22D3EE;
  font-weight: 700;
  font-size: 30px;
}

.problem-list strong {
  color: #A7F3D0;
}

.challenges-box {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 36px;
  margin: 0;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.challenges-box:hover {
  border-color: rgba(34, 211, 238, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(110, 0, 255, 0.35);
}

.challenges-box h4 {
  color: #A7F3D0;
  margin-bottom: 20px;
  font-size: 18px;
  text-align: center;
}

.challenges-box ul {
  list-style: none;
  margin: 0;
}

.challenges-box li {
  margin: 12px 0;
  padding-left: 24px;
  position: relative;
  color: #ffffff;
  line-height: 1.6;
}

.challenges-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #22D3EE;
  font-weight: 700;
}

/* ============================================
   CODE BLOCKS
   ============================================ */
.code-block {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Courier New', monospace;
  font-size: 15px;
  color: #A7F3D0;
  line-height: 1.9;
  overflow-x: auto;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.code-block:hover {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 12px 40px rgba(110, 0, 255, 0.3);
}

.code-block-highlight {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(6, 182, 212, 0.05);
}

.code-label {
  color: #22D3EE;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* ============================================
   FOLD EXPLANATION
   ============================================ */
.fold-explanation {
  margin: 60px 0;
  padding: 40px;
  background: rgba(31, 41, 55, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fold-explanation h3 {
  font-size: 24px;
  color: #A7F3D0;
  margin-bottom: 24px;
  text-align: center;
}

.fold-explanation p {
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.fold-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.fold-list li {
  color: #22D3EE;
  margin: 10px 0;
  display: flex;
  align-items: flex-start;
  padding-left: 24px;
  position: relative;
}

.fold-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #22D3EE;
  font-weight: 700;
}

.fold-conclusion {
  color: #A7F3D0 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin-top: 12px !important;
}

.visual-box-highlight {
  border-color: rgba(34, 211, 238, 0.5);
}

/* ============================================
   FLOW STEPS
   ============================================ */
.flow-step {
  margin: 32px 0;
  padding: 24px;
  background: rgba(31, 41, 55, 0.6);
  border-radius: 12px;
  border-left: 4px solid #22D3EE;
  transition: all 0.3s ease;
}

.flow-step:hover {
  background: rgba(31, 41, 55, 0.8);
  transform: translateX(8px);
}

.flow-step h5 {
  color: #22D3EE;
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.flow-step p {
  color: #E9D5FF;
  line-height: 1.7;
  font-size: 15px;
}

.flow-arrow {
  text-align: center;
  color: #A7F3D0;
  font-size: 32px;
  margin: 16px 0;
  font-weight: 700;
}

/* ============================================
   MATTER CARDS
   ============================================ */
.why-matters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.matter-card {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  text-align: center;
}

.matter-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(110, 0, 255, 0.3);
}

.matter-card h4 {
  font-size: 20px;
  color: #22D3EE;
  margin-bottom: 16px;
  font-weight: 600;
}

.matter-card p {
  color: #E9D5FF;
  line-height: 1.6;
  font-size: 15px;
}

/* ============================================
   BUSINESS IMPACT
   ============================================ */
.business-impact {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0;
}

.business-impact h4 {
  font-size: 22px;
  color: #A7F3D0;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.business-impact ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 0;
}

.business-impact li {
  padding: 16px;
  padding-left: 40px;
  position: relative;
  color: #E9D5FF;
  line-height: 1.6;
  font-size: 15px;
  background: rgba(110, 0, 255, 0.1);
  border-radius: 8px;
}

.business-impact li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: #22D3EE;
  font-weight: 700;
  font-size: 18px;
}

.hero-emphasis {
  font-size: 20px;
  font-weight: 600;
  color: #A7F3D0;
  margin-top: 0.5rem;
  text-align: center;
}

/* ============================================
   INDUSTRY SECTIONS
   ============================================ */
.industry-section {
  min-height: auto;
  padding: 2.5rem var(--spacing);
  position: relative;
}

.industry-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* ============================================
   STORY BLOCKS
   ============================================ */
.story-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.story-block p {
  color: #E9D5FF;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0.75rem 0;
  text-align: left;
}

.story-block p em {
  color: #A7F3D0;
  font-style: italic;
}

.story-block p strong {
  color: #22D3EE;
  font-weight: 600;
}

/* ============================================
   INTERACTIVE LISTS
   ============================================ */
.interactive-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.interactive-list li {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  padding-left: 4rem;
  margin: 1rem 0;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.interactive-list li::before {
  content: attr(data-number);
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.2rem;
}

.interactive-list li:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateX(10px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.interactive-list li strong {
  color: #22D3EE;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Fix for icon-based comparison lists - prevents text overlap and removes numbering */
.interactive-list li[style*="position: relative"] {
  padding-left: 2.5rem !important;  /* Increased from 2rem for icon clearance */
}

.interactive-list li[style*="position: relative"]::before {
  content: none !important;  /* Disable numbered badges for icon-based lists */
}

/* ============================================
   ANIMATED GRAPHICS
   ============================================ */
.graphic-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #06B6D4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.3));
  border: 2px solid rgba(34, 211, 238, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #A7F3D0;
  backdrop-filter: blur(20px);
  animation: float-node 3s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.node:hover {
  transform: scale(1.2);
  border-color: #22D3EE;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
}

@keyframes float-node {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #6366F1, #06B6D4);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-radius: 50%;
  border: 4px solid var(--darker);
  transform: translateX(-50%);
  z-index: 2;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}

.timeline-content h4 {
  color: #22D3EE;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ============================================
   FEATURE GRID ENHANCED
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.feature-icon-large {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-icon-large .icon {
  width: 40px;
  height: 40px;
  color: #22D3EE;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon-large {
  transform: rotateY(360deg) scale(1.1);
}

.feature-item:hover .feature-icon-large .icon {
  color: #A7F3D0;
}

.feature-item h4 {
  color: #A7F3D0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-item p {
  color: #E9D5FF;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ============================================
   COMPARISON SLIDER
   ============================================ */
.comparison-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
}

.comparison-slider::before {
  content: 'VS';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(34, 211, 238, 0.35);
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  z-index: 5;
  pointer-events: none;
}

.comparison-side {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.comparison-side.negative {
  border-color: rgba(239, 68, 68, 0.3);
}

.comparison-side.positive {
  border-color: rgba(34, 211, 238, 0.4);
}

.comparison-side:hover {
  transform: scale(1.05);
}

.comparison-side.negative:hover {
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
}

.comparison-side.positive:hover {
  box-shadow: 0 10px 40px rgba(34, 211, 238, 0.3);
}

/* ============================================
   STAT COUNTER ANIMATED
   ============================================ */
.stat-counter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.counter-item {
  text-align: center;
  padding: 2rem;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.counter-item:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-5px);
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #A7F3D0, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1rem 0;
}

.counter-label {
  color: #E9D5FF;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ACCORDION COMPONENT
   ============================================ */
.accordion {
  margin: 2rem 0;
}

.accordion-item {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  margin: 1rem 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: rgba(99, 102, 241, 0.1);
}

.accordion-header h4 {
  color: #A7F3D0;
  margin: 0;
  font-size: 1.1rem;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  color: #22D3EE;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: #E9D5FF;
  line-height: 1.7;
}

.accordion-list {
  margin-top: 1rem;
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */
@media (max-width: 768px) {
  .comparison-slider {
    grid-template-columns: 1fr;
  }

  .comparison-slider::before {
    position: absolute;
    font-size: 2rem;
    height: 50px;
    margin-top: -17px;
    margin-left: auto;
    margin-right: auto;
  }

  .process-timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .timeline-dot {
    left: 20px;
  }

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

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-wrapper {
  overflow-x: auto;
  margin: 3rem 0;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: rgba(99, 102, 241, 0.2);
  padding: 1.5rem;
  text-align: left;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

td {
  padding: 1.5rem;
  color: #CBD5E1;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  font-size: 0.95rem;
}

tr:hover td {
  background: rgba(99, 102, 241, 0.05);
}

.highlight-row {
  background: rgba(6, 182, 212, 0.1);
  border-left: 4px solid var(--secondary);
}

.highlight-row:hover td {
  background: rgba(6, 182, 212, 0.15);
}

/* ============================================
   VISUAL COMPARISON
   ============================================ */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.visual-item {
  text-align: center;
}

.visual-box {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.visual-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.visual-box:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.visual-box:hover::after {
  width: 400px;
  height: 400px;
}

.visual-box img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.visual-item h4 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.visual-item p {
  color: #94A3B8;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 2rem;
  margin: 1rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
  animation: rotate 20s linear infinite;
}

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

.highlight-box h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.highlight-box p {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.highlight-box p:first-of-type {
  margin-top: 1rem;
}

.highlight-box p + p {
  margin-top: 0.75rem;
}

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 20px;
  transition: all 0.4s ease;
}

.stat-icon .icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.3));
  transform: translateY(-4px);
}

.stat-card:hover .stat-icon .icon {
  color: var(--secondary);
  transform: scale(1.15) rotate(5deg);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94A3B8;
  font-size: 0.9rem;
}

/* ============================================
   FORM SECTION
   ============================================ */
.form-wrapper {
  max-width: 600px;
  margin: 3rem auto 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 3rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: var(--light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(2, 6, 23, 0.95);
  padding: 3rem var(--spacing);
  text-align: center;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

footer p {
  color: #94A3B8;
  margin: 0.5rem 0;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }

  header.scrolled .logo-img {
    height: 28px;
  }

  .video-hero {
    min-height: 70vh;
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    transform: none;
  }

  .problem-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem-scenario {
    padding: 24px;
  }

  .user-query {
    font-size: 20px;
  }

  .problem-list li {
    font-size: 16px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 350px;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(99, 102, 241, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  section {
    padding: 2rem 1.5rem;
  }

  .card-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .comparison-wrapper {
    overflow-x: scroll;
  }

  table {
    min-width: 600px;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   FIXES PARA ICONOS EN TEXTOS
   Agregar al final de style.css
   ============================================ */

/* Fix para h4 con iconos inline */
.timeline-content h4,
.accordion-header h4 {
  display: block;
  line-height: 1.6;
  min-height: 28px;
}

.timeline-content h4 i,
.accordion-header h4 i {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Asegurar que los textos de botones no se superpongan con iconos */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn span {
  display: inline-block;
}

.btn-icon {
  flex-shrink: 0;
}

/* Fix para feature items con iconos */
.feature-item h4 {
  line-height: 1.5;
  margin-top: 0;
}

/* Fix para cards con iconos en el header */
.card h3,
.card h4 {
  line-height: 1.5;
  word-wrap: break-word;
}

/* Asegurar separación correcta en listas con iconos */
.interactive-list li {
  line-height: 1.7;
  min-height: 24px;
  display: block;
  position: relative;
}

/* Fix para comparison slider items */
.comparison-side ul li {
  line-height: 1.7;
  min-height: 24px;
  padding: 0.8rem 0 0.8rem 2rem;
}

/* Accordion header spacing */
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.accordion-header h4 {
  flex: 1;
  margin: 0;
  padding-right: 1rem;
}

/* Timeline content spacing */
.timeline-content {
  padding: 1.5rem 2rem;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin-top: 1rem;
  line-height: 1.7;
  color: #CBD5E1;
}
/* ============================================
   VIDEO BACKGROUND EN ABOUT SECTION
   Agregar al final de style.css
   ============================================ */

/* About section con video background */
#about {
  position: relative;
  overflow: hidden;
}

.about-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-facade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.6) 0%, rgba(2, 6, 23, 0.8) 100%);
  backdrop-filter: blur(4px);
}

.video-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.4);
  background: rgba(15, 23, 42, 0.6);
  color: #E9D5FF;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-play-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(167, 243, 208, 0.8);
}

.video-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(167, 243, 208, 0.15);
  font-size: 12px;
}

.about-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* Ratio 16:9 */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 ratio inverso */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.5) 0%,
    rgba(2, 6, 23, 0.7) 50%,
    rgba(2, 6, 23, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Asegurar que el contenido esté encima del video */
#about .container {
  position: relative;
  z-index: 2;
}

/* Responsive para video en about section */
@media (max-width: 768px) {
  .about-video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
  }

  .about-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    transform: none;
  }
  
  .about-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.7) 0%,
      rgba(2, 6, 23, 0.85) 100%
    );
  }
}

/*===============
uday
=================*/
.container.hero-section {
  padding: 80px 0px !important;
}

.hero-section .cta-group {
  margin-top: 50px;
}
.feature-icon-large {
  margin-left: auto !important;
  margin-right: auto !important;
}
.story-block p {
  text-align: center !important;
}
@media (max-width: 768px) { 
  .container.hero-section {
    padding: 40px 0px !important;
  }
  .card-container {
    display: inline-block !important;
  }
  .form-wrapper {
    padding-left: 0px;
    padding-right: 0px;
  }
  .mobile-center {
    text-align: center !important;
  }
}
#problem {
  padding: 60px 0px;
}
