/* ========================================
   SVSS Ventures LLC — Main Stylesheet
   ======================================== */

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

:root {
  /* Muted accents (less saturated, more "professional" tone) */
  --purple: #5A2F7E;
  --blue: #2B5AAE;
  --teal: #1A7A72;
  --cyan: #1D95A9;
  --highlight-purple: #B7A6E8;
  --highlight-blue: #86BFE6;
  --highlight-teal: #86D6C8;
  --dark: #0F172A;
  --gray-900: #1E293B;
  --gray-700: #334155;
  --gray-500: #64748B;
  --gray-300: #CBD5E1;
  --gray-100: #F1F5F9;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--purple), var(--blue), var(--teal));
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ========================================
   NAVIGATION
   ======================================== */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-logo-primary {
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--highlight-purple), var(--highlight-blue), var(--highlight-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-sub {
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.62);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 10px;
  transition: all .25s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}


/* ========================================
   HAMBURGER (MOBILE)
   ======================================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
  transition: all .3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .35s ease, transform .35s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 14px 40px;
  border-radius: 14px;
  transition: background .25s;
  letter-spacing: -0.01em;
}

.mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); }


/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1E293B, var(--purple), var(--blue), var(--cyan), var(--teal));
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 0%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139, 92, 246, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(29, 149, 169, 0.18), transparent),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(43, 90, 174, 0.14), transparent);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 140px 32px 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge svg { width: 18px; height: 18px; fill: currentColor; }

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 44px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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


/* ========================================
   SECTIONS — COMMON
   ======================================== */

section { padding: 100px 32px; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 56px;
}


/* ========================================
   PLATFORMS
   ======================================== */

.platforms {
  background: var(--gray-100);
  position: relative;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border-radius: 20px;
  padding: 32px 36px;
  border-left: 5px solid transparent;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: all .35s;
  cursor: default;
}

.platform-card:nth-child(1) { border-left-color: #7C6BD6; }
.platform-card:nth-child(2) { border-left-color: #4C7FC9; }
.platform-card:nth-child(3) { border-left-color: #5B7BA8; }
.platform-card:nth-child(4) { border-left-color: #C9892A; }

.platform-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.platform-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-card:nth-child(1) .platform-icon { background: linear-gradient(135deg, #B7A6E8, #6E5AC7); }
.platform-card:nth-child(2) .platform-icon { background: linear-gradient(135deg, #8BB2DD, #3E6FB8); }
.platform-card:nth-child(3) .platform-icon { background: linear-gradient(135deg, #9BB6CC, #2B5AAE); }
.platform-card:nth-child(4) .platform-icon { background: linear-gradient(135deg, #E7C46B, #B36B1E); }

.platform-icon svg { width: 30px; height: 30px; fill: var(--white); }

.platform-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.platform-text p {
  font-size: 0.98rem;
  color: var(--gray-500);
  line-height: 1.65;
}


/* ========================================
   SERVICES — BENTO GRID
   ======================================== */

.services { background: var(--white); }

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition: all .35s;
  cursor: default;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 20px 20px 0 0;
}

/* Card 1: Gradient card */
.bento-card:nth-child(1) {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  border: none;
}
.bento-card:nth-child(1) .bento-num,
.bento-card:nth-child(1) h3,
.bento-card:nth-child(1) p { color: var(--white); }
.bento-card:nth-child(1) .bento-num { opacity: 0.5; }
.bento-card:nth-child(1) p { opacity: 0.85; }

/* Card 2: Top accent bar */
.bento-card:nth-child(2)::before { background: linear-gradient(90deg, #4C7FC9, var(--cyan)); }

/* Card 3: Gradient card */
.bento-card:nth-child(3) {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: none;
}
.bento-card:nth-child(3) .bento-num,
.bento-card:nth-child(3) h3,
.bento-card:nth-child(3) p { color: var(--white); }
.bento-card:nth-child(3) .bento-num { opacity: 0.5; }
.bento-card:nth-child(3) p { opacity: 0.85; }

/* Card 4: Top accent bar */
.bento-card:nth-child(4)::before { background: linear-gradient(90deg, #C9892A, #B85C5C); }

/* Card 5: Gradient card */
.bento-card:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(560px, 100%);
  background: linear-gradient(135deg, var(--teal), #2F8D5E);
  border: none;
}
.bento-card:nth-child(5) .bento-num,
.bento-card:nth-child(5) h3,
.bento-card:nth-child(5) p { color: var(--white); }
.bento-card:nth-child(5) .bento-num { opacity: 0.5; }
.bento-card:nth-child(5) p { opacity: 0.85; }

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.bento-num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  opacity: 0.6;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 0.98rem;
  color: var(--gray-500);
  line-height: 1.7;
}


/* ========================================
   ABOUT
   ======================================== */

.about {
  background: linear-gradient(135deg, #1E293B, #2C3F6A, #234B46);
  background-size: 200% 200%;
  animation: aboutGradient 10s ease infinite;
  color: var(--white);
}

@keyframes aboutGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about .section-label {
  background: linear-gradient(90deg, var(--highlight-purple), var(--highlight-blue), var(--highlight-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about .section-title { color: var(--white); }

.about-text { max-width: 780px; }

.about-text p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-highlight {
  margin-top: 44px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about-stat {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-stat .num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--highlight-purple), var(--highlight-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}


/* ========================================
   CONTACT
   ======================================== */

.contact {
  background: var(--white);
  text-align: center;
  padding: 100px 32px 80px;
}

.contact .section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.contact .section-desc {
  max-width: 500px;
  margin: 0 auto 36px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 16px;
  background: var(--gradient);
  background-size: 200% 200%;
  animation: heroGradient 8s ease infinite;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 6px 28px rgba(90, 47, 126, 0.18);
  letter-spacing: -0.01em;
}

.contact-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(90, 47, 126, 0.26);
}

.contact-email svg { width: 22px; height: 22px; fill: currentColor; }


/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--dark);
  text-align: center;
  padding: 36px 32px;
}

footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
  font-weight: 500;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 72px 20px; }
  .hero-content { padding: 120px 20px 100px; }

  .platform-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 24px;
  }

  .bento { grid-template-columns: 1fr; }
  .bento-card:nth-child(1),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) { grid-column: 1; }

  .about-highlight { gap: 16px; }
  .about-stat { padding: 18px 24px; flex: 1; min-width: 120px; }
  .about-stat .num { font-size: 1.7rem; }
  .nav-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.3rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
  .contact-email { font-size: 1rem; padding: 16px 28px; }
  .section-title { font-size: 1.8rem; }
}


/* ========================================
   ANIMATIONS
   ======================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   NEURAL NETWORK CANVAS (Hero)
   ======================================== */

#neuralCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: contents;
}


/* ========================================
   TYPING CURSOR
   ======================================== */

.typing-wrap { white-space: nowrap; }

.cursor {
  display: inline-block;
  width: 0.16em;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.85);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 3px;
}

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


/* ========================================
   AI CHIP BADGES (on platform cards)
   ======================================== */

.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--highlight-purple);
  background: rgba(183, 166, 232, 0.08);
  border: 1px solid rgba(183, 166, 232, 0.16);
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}


/* ========================================
   AI-POWERED SECTION
   ======================================== */

.ai-section {
  position: relative;
  background: linear-gradient(135deg, #0C0A1A, #0F172A, #0A1628);
  padding: 120px 32px;
  overflow: hidden;
  color: #FFFFFF;
}

#codeRainCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  will-change: contents;
}

.ai-section-inner {
  position: relative;
  z-index: 1;
}

.ai-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.ai-section .section-label {
  background: linear-gradient(90deg, var(--highlight-purple), var(--highlight-blue), var(--highlight-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-section .section-title {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

/* Brain icon with pulse rings */
.ai-brain-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(183, 166, 232, 0.22);
  transform: translate(-50%, -50%);
  animation: pulseExpand 3s ease-out infinite;
}

.pulse-ring-2 {
  animation-delay: 1.5s;
}

@keyframes pulseExpand {
  0% { width: 64px; height: 64px; opacity: 0.6; }
  100% { width: 140px; height: 140px; opacity: 0; }
}

/* Feature cards */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.ai-feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all .35s;
  cursor: default;
}

.ai-feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(183, 166, 232, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(90, 47, 126, 0.12);
}

.ai-feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ai-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #F1F5F9;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.ai-feature-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* AI Tools Row */
.ai-tools {
  text-align: center;
  margin-top: 72px;
}

.ai-tools-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.ai-tools-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ai-tool {
  padding: 10px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all .3s;
  cursor: default;
}

.ai-tool:hover {
  background: rgba(183, 166, 232, 0.12);
  border-color: rgba(183, 166, 232, 0.28);
  color: var(--highlight-purple);
  transform: translateY(-2px);
}


/* ========================================
   SOFTWARE — DOWNLOADX PAGE
   ======================================== */

.dx-hero {
  min-height: auto;
  padding-top: 140px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(280px, 1fr);
  align-items: center;
  gap: 38px;
}

.dx-hero-content {
  text-align: left;
  max-width: 560px;
  padding: 0;
}

.dx-hero-content h1 {
  margin-bottom: 10px;
}

.dx-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.dx-hero-content p {
  margin: 0;
  max-width: 560px;
}

.dx-store-links {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  max-width: 215px;
}

.dx-store-link {
  display: inline-block;
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.dx-store-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.25);
}

.dx-store-badge {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.dx-hero-shot-wrap {
  position: relative;
  z-index: 2;
}

.dx-shot {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.25);
}

.dx-shot-hero {
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
}

.dx-features {
  background: var(--gray-100);
}

.dx-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dx-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  padding: 28px;
  transition: all .35s;
}

.dx-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08);
}

.dx-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.dx-feature-card p {
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
}

.dx-feature-wide {
  grid-column: 1 / -1;
}

.dx-meta-note {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.dx-meta-note p {
  margin: 0;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--gray-700);
  font-size: 0.94rem;
  line-height: 1.6;
}

.dx-how {
  background: var(--white);
}

.dx-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dx-step {
  border: 1px solid var(--gray-300);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(183, 166, 232, 0.08), rgba(134, 191, 230, 0.05), transparent 70%);
}

.dx-step-num {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.dx-step h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.dx-step p {
  margin: 0;
  color: var(--gray-500);
  line-height: 1.7;
}

.dx-cta {
  background: linear-gradient(135deg, #1E293B, #2B5AAE, #1A7A72);
  background-size: 220% 220%;
  animation: heroGradient 10s ease infinite;
  position: relative;
  overflow: hidden;
}

.dx-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
              radial-gradient(circle at 90% 85%, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.dx-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.dx-cta .section-label {
  background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dx-cta .section-title,
.dx-cta .section-desc {
  color: var(--white);
}

.dx-cta .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.dx-cta-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}


/* ========================================
   STAT COUNTER ANIMATION
   ======================================== */

.about-stat .num.counted::after {
  content: '+';
}

.about-stat .num.ai-text {
  background: linear-gradient(90deg, var(--highlight-purple), var(--highlight-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ========================================
   RESPONSIVE — AI ADDITIONS
   ======================================== */

@media (max-width: 768px) {
  .ai-features { grid-template-columns: 1fr; }
  .ai-chip { display: none; }
  .ai-section { padding: 80px 20px; }
  .ai-tools-row { gap: 10px; }
  .ai-tool { padding: 8px 16px; font-size: 0.8rem; }

  .dx-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 120px;
    padding-bottom: 72px;
  }

  .dx-hero-content {
    text-align: center;
  }

  .dx-store-links {
    max-width: 190px;
    margin: 24px auto 0;
  }

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

  .dx-feature-card,
  .dx-step {
    padding: 22px;
  }
}


/* ========================================
   DARK MODE (auto via prefers-color-scheme)
   ======================================== */

@media (prefers-color-scheme: dark) {

  :root {
    --dark: #E2E8F0;
    --gray-900: #F1F5F9;
    --gray-700: #CBD5E1;
    --gray-500: #94A3B8;
    --gray-300: #334155;
    --gray-100: #0F172A;
    --white: #0B0F19;
  }

  body {
    background: #0B0F19;
    color: #F1F5F9;
  }

  /* --- Navigation --- */
  nav {
    background: rgba(20, 27, 45, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-logo {
    color: #F1F5F9;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.75);
  }

  .nav-links a:hover {
    color: #FFFFFF;
  }

  /* --- Mobile Menu --- */
  .mobile-menu {
    background: rgba(20, 27, 45, 0.98);
  }

  .mobile-menu a {
    color: #F1F5F9;
  }

  /* --- Hamburger Menu --- */
  .hamburger span {
    background: #F1F5F9;
  }

  /* --- Hero bottom fade into dark bg --- */
  .hero::after {
    background: linear-gradient(to top, #0B0F19, transparent);
  }

  /* --- Hero primary button dark mode --- */
  .btn-primary {
    background: #E2E8F0;
    color: #0F172A;
  }

  /* --- Platform cards --- */
  .platforms {
    background: #0F172A;
  }

  .platform-card {
    background: #141B2D;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  }

  .platform-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  }

  .platform-text h3 {
    color: #F1F5F9;
  }

  .platform-text p {
    color: #94A3B8;
  }

  .platform-icon svg {
    fill: #FFFFFF;
  }

  /* --- Services / Bento --- */
  .services {
    background: #0B0F19;
  }

  .bento-card {
    background: #141B2D;
    border-color: #1E293B;
  }

  .bento-card h3 {
    color: #F1F5F9;
  }

  .bento-card p {
    color: #94A3B8;
  }

  .bento-num {
    color: #64748B;
  }

  /* --- Bento cards 2 & 4 (non-gradient) need dark bg --- */
  .bento-card:nth-child(2),
  .bento-card:nth-child(4) {
    background: #141B2D;
    border-color: #1E293B;
  }

  /* --- Section titles & desc in dark mode --- */
  .section-title {
    color: #F1F5F9;
  }

  .section-desc {
    color: #94A3B8;
  }

  /* --- About section — deepen the gradient slightly --- */
  .about {
    background: linear-gradient(135deg, #2E1065, #172554, #042F2E);
    background-size: 200% 200%;
  }

  /* --- Contact --- */
  .contact {
    background: #0B0F19;
  }

  .contact .section-title {
    color: #F1F5F9;
  }

  /* --- Footer --- */
  footer {
    background: #060910;
    border-top: 1px solid #1E293B;
  }

  footer p {
    color: rgba(255, 255, 255, 0.35);
  }

  /* --- Hover shadows deeper in dark --- */
  .bento-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }

  .contact-email:hover {
    box-shadow: 0 10px 40px rgba(107, 33, 168, 0.5);
  }

  .dx-features {
    background: #0F172A;
  }

  .dx-feature-card {
    background: #141B2D;
    border-color: #1E293B;
  }

  .dx-feature-card h3 {
    color: #F1F5F9;
  }

  .dx-feature-card p {
    color: #94A3B8;
  }

  .dx-meta-note p {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.09);
    color: #CBD5E1;
  }

  .dx-how {
    background: #0B0F19;
  }

  .dx-step {
    background: linear-gradient(160deg, rgba(183, 166, 232, 0.12), rgba(134, 191, 230, 0.1), rgba(30, 41, 59, 0.9) 75%);
    border-color: #1E293B;
  }

  .dx-step h3 {
    color: #F1F5F9;
  }

  .dx-step p {
    color: #94A3B8;
  }

  .dx-step-num {
    color: #86BFE6;
  }

  .dx-shot {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}
