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

:root {
  --bg: #050712;
  --bg-elevated: rgba(18, 24, 38, 0.9);
  --accent: #38b6ff;
  --accent-soft: rgba(56, 182, 255, 0.35);
  --accent-2: #a060ff;
  --text-main: #f5f7ff;
  --text-soft: #a5b0d2;
  --border-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(16, 24, 40, 0.75);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --blur: 18px;
  --transition-fast: 180ms ease-out;
  --transition-med: 260ms ease-out;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #151a30 0, #050712 55%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.ag-app {
  min-height: 100vh;
}

/* HEADER */

.ag-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  backdrop-filter: blur(var(--blur));
  background: linear-gradient(90deg, rgba(5, 7, 18, 0.92), rgba(5, 7, 18, 0.7));
  border-bottom: 1px solid var(--border-soft);
}

.ag-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ag-logo-image {
    height: 46px;
    opacity: 1;
    margin-left: 8px;
}

.ag-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  font-size: 0.86rem;
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(56, 182, 255, 0.12);
}

.nav-link.active {
  color: var(--text-main);
  background: linear-gradient(120deg, rgba(56, 182, 255, 0.24), rgba(160, 96, 255, 0.24));
}

.ag-header-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* BUTTONS */

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050712;
  box-shadow: 0 0 20px rgba(56, 182, 255, 0.6);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(56, 182, 255, 0.8);
}

.btn.secondary {
  background: rgba(5, 7, 18, 0.9);
  color: var(--text-main);
  border: 1px solid rgba(56, 182, 255, 0.6);
}

.btn.secondary:hover {
  background: rgba(12, 18, 32, 0.96);
}

.btn.ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn.ghost:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn.full {
  width: 100%;
}

/* HERO */

.ag-hero {
  position: relative;
  min-height: 92vh;
  padding-top: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 182, 255, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(160, 96, 255, 0.5), transparent 60%),
    linear-gradient(to bottom, rgba(5, 7, 18, 0.7), rgba(5, 7, 18, 0.96));
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(5, 12, 28, 0.9);
  border: 1px solid rgba(56, 182, 255, 0.4);
  margin-bottom: 14px;
}

.hero-content h1 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.hero-subtitle {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 12, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-powered {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.hero-powered img {
  max-width: 260px;
  width: 70%;
  height: auto;
}

/* SECTIONS */

.ag-section {
  padding: 72px 8vw 40px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* MEDITATIONS GRID */

.meditations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.meditation-card {
  background: linear-gradient(145deg, rgba(10, 16, 32, 0.98), rgba(11, 9, 32, 0.98));
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding-bottom: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.meditation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(56, 182, 255, 0.65);
}

.meditation-video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin: 10px 10px 8px;
}

.meditation-video-wrap video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 400ms ease-out, filter 400ms ease-out;
  filter: saturate(1.1) contrast(1.02);
}

.meditation-card:hover .meditation-video-wrap video {
  transform: scale(1.07);
  filter: saturate(1.2);
}

.video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 18, 0.95), transparent 55%);
}

.video-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(5, 12, 28, 0.88);
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.meditation-card h3 {
  font-size: 1.02rem;
  margin: 4px 14px 4px;
}

.meditation-card p {
  font-size: 0.9rem;
  margin: 0 14px;
  color: var(--text-soft);
}

/* SPLIT SECTION */

.ag-section.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.split-col.text-col p {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 480px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), var(--accent-2));
}

/* DIGITAL TWIN – FEMALE AVATAR */

.twin-visual {
  position: relative;
  height: 420px; /* UPDATED FROM 320px */
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(56,182,255,0.55), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(160,96,255,0.7), transparent 60%),
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.1), transparent 60%),
    #050712;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);
}

/* NEW: scale the photo inside the tile to 70% */
.twin-img {
  width: 70%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 16px auto 0;
}

.twin-layer {
  position: absolute;
  inset: 0;
}

.twin-layer.aura {
  inset: 14% 24% 12%;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.9), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(56,182,255,0.9), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(160,96,255,0.9), transparent 60%);
  filter: blur(16px);
  opacity: 0.85;
}

.twin-layer.body {
  inset: 24% 32% 14%;
  border-radius: 46% 46% 52% 52% / 38% 38% 52% 52%;
  border: 1.6px solid rgba(220, 234, 255, 0.96);
  box-shadow:
    0 0 28px rgba(56, 182, 255, 0.9),
    0 0 46px rgba(160, 96, 255, 0.9);
}

.twin-layer.head {
  width: 30%;
  height: 30%;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  border-radius: 46% 46% 52% 52%;
  border: 1.6px solid rgba(220, 234, 255, 0.98);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.9), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(167,210,255,0.9), transparent 60%);
  box-shadow:
    0 0 26px rgba(56, 182, 255, 0.95),
    0 0 40px rgba(160, 96, 255, 0.9);
}

.twin-layer.head::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 18%;
  width: 2px;
  height: 64%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(220,234,255,1), rgba(220,234,255,0));
  opacity: 0.9;
}

.twin-layer.head::after {
  content: '';
  position: absolute;
  left: 16%;
  top: 10%;
  width: 68%;
  height: 40%;
  border-top-left-radius: 70% 80%;
  border-top-right-radius: 70% 80%;
  border-top: 1.4px solid rgba(160, 210, 255, 0.9);
  border-left: 1.2px solid rgba(160, 210, 255, 0.7);
  border-right: 1.2px solid rgba(160, 210, 255, 0.7);
  border-bottom: none;
  box-shadow: 0 0 22px rgba(56,182,255,0.85);
}

.twin-layer.mesh {
  inset: 22% 34% 18%;
  background-image:
    radial-gradient(circle, rgba(214, 231, 255, 0.9) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.9;
  animation: twinMeshDrift 16s linear infinite;
  mask-image: radial-gradient(circle at 50% 20%, black 0, transparent 78%);
}

@keyframes twinMeshDrift {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-28px,-18px,0); }
}

.twin-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* PRICING */

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

.plan-card {
  border-radius: var(--radius-md);
  padding: 20px 18px 18px;
  background: radial-gradient(circle at top, rgba(56, 182, 255, 0.28), transparent 55%),
              radial-gradient(circle at bottom, rgba(160, 96, 255, 0.2), transparent 60%),
              #050712;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.plan-card.highlight {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  transform: translateY(-4px);
}

.plan-badge {
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(56, 182, 255, 0.6);
  background: rgba(5, 12, 28, 0.96);
  display: inline-block;
  margin-bottom: 8px;
}

.plan-card.highlight .plan-badge {
  background: rgba(56, 182, 255, 0.16);
}

.plan-card h3 {
  margin: 4px 0 4px;
  font-size: 1.1rem;
}

.plan-price {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.plan-price span {
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.plan-features li {
  margin-bottom: 6px;
}

.plan-cta {
  width: 100%;
}

/* DASHBOARD */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.glass {
  background: var(--glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.dash-card {
  padding: 16px 16px 14px;
}

.dash-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.dash-meta {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.dash-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* INVESTORS */

.investor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.investor-card {
  padding: 16px 16px 14px;
}

.investor-card h3 {
  margin: 0 0 4px;
}

.investor-card p {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.88rem;
}

.investor-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.investor-card li {
  margin-bottom: 6px;
}

.investor-form {
  padding: 18px 16px 16px;
}

.investor-form h3 {
  margin: 0 0 4px;
}

.investor-form p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

input,
select,
textarea {
  background: rgba(4, 8, 20, 0.96);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(56, 182, 255, 0.75);
}

textarea {
  resize: vertical;
}

.form-status {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* NSVX */

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

.nsvx-card {
  padding: 16px 16px 14px;
}

.nsvx-card h3 {
  margin: 0 0 6px;
}

.nsvx-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* MODALS */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal.hidden {
  pointer-events: none;
  opacity: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 2, 6, 0.8);
  backdrop-filter: blur(6px);
}

.modal-body {
  position: relative;
  max-width: 420px;
  width: 92%;
  padding: 18px 16px 16px;
}

.modal-body h3 {
  margin: 0 0 4px;
}

.modal-sub {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

/* FOOTER */

.ag-footer {
  padding: 20px 8vw 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: radial-gradient(circle at top, rgba(56, 182, 255, 0.16), transparent 55%),
              radial-gradient(circle at bottom, rgba(160, 96, 255, 0.18), transparent 60%),
              rgba(5, 7, 18, 0.96);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  max-height: 34px;
  width: auto;
  display: block;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-sub {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-right {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .ag-nav {
    display: none;
  }
  .ag-header {
    padding-inline: 18px;
  }
  .ag-section {
    padding-inline: 18px;
  }
  .ag-section.split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-inline: 14px;
  }
  .meditation-video-wrap video {
    height: 160px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row {
    flex-direction: column;
  }
  .ag-footer {