:root {
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-accent: #06B6D4;
  --color-accent-light: #22D3EE;
  --color-accent-glow: rgba(34, 211, 238, 0.4);
}

html { scroll-behavior: smooth; }

body {
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: url('../hero-bg.png') center/cover;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 50%, black 100%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 50%, black 100%);
}

::selection { background-color: #cffafe; color: #0e7490; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02),
    inset 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Utopian button */
.utopian-button {
  position: relative; overflow: hidden;
  display: inline-block;
  background-color: #0F172A; color: #fff;
  padding: 12px 32px; border-radius: 9999px;
  font-weight: 500; font-size: 14px;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .3s;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}
.utopian-button:hover {
  background-color: #0891b2;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}
.utopian-button.lg { padding: 16px 40px; font-size: 18px; }
.utopian-button.xl { padding: 16px 48px; font-size: 18px; box-shadow: 0 10px 30px rgba(6,182,212,.2); }
.utopian-button.xl:hover { box-shadow: 0 0 40px rgba(34, 211, 238, 0.5); }

/* Nav link underline */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #06b6d4;
  transition: width .3s;
  box-shadow: 0 0 10px rgba(6,182,212,.5);
}
.nav-link:hover::after { width: 100%; }

.text-glow { text-shadow: 0 0 20px rgba(34, 211, 238, 0.3); }

/* Fade-up animation */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Mobile Menu */
.mobile-menu-btn {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: 1.5px solid #E2E8F0; border-radius: 10px;
  cursor: pointer; color: #475569; transition: all .2s;
}
.mobile-menu-btn:hover { border-color: #06B6D4; color: #06B6D4; }
.mobile-menu-btn svg { width: 22px; height: 22px; }

.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.3); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 300px; max-width: 80vw;
  background: rgba(255,255,255,.95); backdrop-filter: blur(24px);
  border-left: 1px solid rgba(0,0,0,.06);
  transform: translateX(100%); transition: transform .3s;
  display: flex; flex-direction: column; padding: 24px;
}
.mobile-menu-panel.open { transform: translateX(0); }
.mobile-menu-panel .m-close {
  align-self: flex-end; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; font-size: 24px; color: #94A3B8; cursor: pointer;
  margin-bottom: 20px;
}
.mobile-menu-panel a {
  display: block; padding: 14px 0; font-size: 15px; font-weight: 600;
  color: #0F172A; text-decoration: none; border-bottom: 1px solid #F1F5F9;
  transition: color .2s;
}
.mobile-menu-panel a:hover { color: #06B6D4; }

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
}

/* Section badge */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #ECFEFF;
  color: #0891B2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 16px;
}

/* Direction card hover */
.direction-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.direction-card:hover {
  border-color: #06B6D4;
  box-shadow: 0 12px 40px rgba(6,182,212,0.1);
  transform: translateY(-4px);
}

/* Feature card */
.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Tech table */
.tech-table { width: 100%; border-collapse: collapse; }
.tech-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid #F1F5F9;
}
.tech-table td:first-child { font-weight: 600; color: #0F172A; width: 35%; }
.tech-table td:last-child { color: #475569; }

/* Pain point list */
.pain-list { list-style: none; padding: 0; margin: 0; }
.pain-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid #F1F5F9;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}
.pain-list li::before {
  content: '';
  position: absolute; left: 4px; top: 19px;
  width: 8px; height: 8px;
  background: #F59E0B;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Comparison row */
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.compare-before {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 16px;
  padding: 24px;
}
.compare-after {
  background: #ECFEFF;
  border: 1px solid #A5F3FC;
  border-radius: 16px;
  padding: 24px;
}
.compare-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.compare-before .compare-label { color: #DC2626; }
.compare-after .compare-label { color: #0891B2; }

@media (max-width: 768px) {
  .compare-row { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid #E2E8F0; padding: 24px 0; cursor: pointer; }
.faq-item .faq-arrow { font-size: 22px; color: #94A3B8; transition: transform 0.3s; flex-shrink: 0; }
.faq-item .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }

/* Content section inner spacing */
.content-section { position: relative; z-index: 1; }

/* Numbered step */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: #06B6D4;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
