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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 163, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(86, 156, 255, 0.10), transparent 24%),
    linear-gradient(180deg, #05080d 0%, #0a1119 100%);
  color: #eef4ff;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* SMALL MENU DRAWER */
.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 90vw);
  height: 100vh;
  background: rgba(8, 12, 18, 0.98);
  border-right: 1px solid rgba(122, 255, 204, 0.10);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(122, 255, 204, 0.08);
}

.menu-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #7affcc, #5aa9ff);
  color: #051018;
  box-shadow: 0 0 22px rgba(122, 255, 204, 0.22);
}

.menu-brand h2 {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.menu-brand p {
  color: #9bb0c8;
  font-size: 0.92rem;
}

.menu-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(122, 255, 204, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #eef4ff;
  font-size: 1rem;
  cursor: pointer;
}

.menu-nav {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.nav-link {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(122, 255, 204, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d8e6f7;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  background: rgba(122, 255, 204, 0.08);
  color: #7affcc;
  transform: translateX(4px);
}

/* PAGE SWITCHING */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.menu-btn {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(122, 255, 204, 0.14);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #eef4ff;
  display: block;
}

.topbar-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7affcc;
  font-weight: 700;
  margin-bottom: 4px;
}

.topbar h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

/* HOME HERO */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-copy,
.hero-preview,
.simple-card,
.detail-card,
.detail-mini-card,
.detail-list-card,
.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(122, 255, 204, 0.08);
  border-radius: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #c8d6e5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-copy h2,
.detail-header h2,
.how-it-works h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-copy p,
.detail-card p,
.detail-list-card p,
.detail-mini-card p,
.simple-card p,
.step p {
  color: #c6d4e5;
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 14px;
}

.primary-btn,
.secondary-btn,
.back-btn {
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.back-btn:hover {
  transform: translateY(-2px);
}

.primary-btn {
  border: none;
  background: linear-gradient(135deg, #76efd5, #5aa9ff);
  color: #051018;
  cursor: pointer;
}

.secondary-btn {
  border: 1px solid rgba(122, 255, 204, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #eef4ff;
}

.back-btn {
  border: 1px solid rgba(122, 255, 204, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #eef4ff;
  cursor: pointer;
  margin-bottom: 22px;
}

.status-banner {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(49, 144, 121, 0.10);
  border: 1px solid rgba(122, 255, 204, 0.12);
  color: #d7e4f3;
}

.status-banner strong {
  color: #7affcc;
}

.hero-preview {
  overflow: hidden;
}

/* PREVIEW */
.project-preview {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(7, 12, 20, 0.96);
  border: 1px solid rgba(122, 255, 204, 0.08);
  height: 100%;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(122, 255, 204, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7affcc;
  opacity: 0.85;
}

.preview-topbar p {
  margin-left: 8px;
  color: #9db1c7;
  font-size: 0.92rem;
  font-weight: 600;
}

.preview-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 370px;
}

.preview-body.three-column {
  grid-template-columns: 170px 1fr 170px;
}

.preview-sidebar {
  padding: 16px 12px;
  border-right: 1px solid rgba(122, 255, 204, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.preview-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.preview-search {
  font-size: 0.82rem;
  color: #8ea3b9;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  margin-bottom: 12px;
}

.preview-button {
  background: #2563eb;
  color: white;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.preview-session {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(122, 255, 204, 0.08);
}

.preview-session small {
  display: block;
  color: #93a8be;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.preview-session strong {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
}

.preview-session span {
  color: #22c55e;
  font-size: 0.78rem;
}

.preview-chat {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-msg {
  border-radius: 18px;
  padding: 14px 16px;
}

.preview-msg.morph {
  background: rgba(122, 255, 204, 0.08);
  border: 1px solid rgba(122, 255, 204, 0.10);
}

.preview-msg.user {
  background: rgba(90, 169, 255, 0.10);
  border: 1px solid rgba(90, 169, 255, 0.14);
}

.preview-msg label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7affcc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.preview-msg p {
  color: #d7e4f3;
  line-height: 1.55;
}

.preview-input-row {
  margin-top: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.preview-input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 18, 32, 0.95);
  border: 1px solid rgba(122, 255, 204, 0.08);
  color: #8ea3b9;
  font-size: 0.92rem;
}

.preview-send {
  white-space: nowrap;
  padding: 14px 18px;
  border-radius: 14px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.coach-panel {
  padding: 16px 12px;
  border-left: 1px solid rgba(122, 255, 204, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.coach-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 16px;
}

.coach-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(122, 255, 204, 0.08);
  margin-bottom: 12px;
}

.coach-card small {
  display: block;
  color: #9bb0c8;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.coach-card p {
  color: #d7e4f3;
  line-height: 1.6;
  margin: 0;
}

/* HOME LOWER SECTION */
.simple-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.simple-card {
  padding: 24px;
}

.simple-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* HOW IT WORKS */
.how-it-works {
  margin-top: 20px;
}

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

.step {
  padding: 24px;
  border-radius: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 255, 204, 0.25);
}

.step h3 {
  margin-bottom: 10px;
  color: #7affcc;
  font-size: 1.15rem;
}

/* DETAIL PAGES */
.detail-page {
  padding-top: 10px;
}

.detail-shell {
  max-width: 1000px;
  margin: 0 auto;
}

.detail-header {
  margin-bottom: 24px;
}

.detail-card {
  padding: 28px;
}

.detail-card p {
  margin-bottom: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-mini-card {
  padding: 24px;
}

.detail-mini-card h3,
.detail-list-card h3 {
  color: #7affcc;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list-card {
  padding: 24px;
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  color: #7affcc;
  font-weight: 700;
  font-size: 1.05rem;
  word-break: break-word;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .preview-body.three-column {
    grid-template-columns: 170px 1fr;
  }

  .coach-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .simple-strip,
  .detail-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 16px;
  }

  .hero-copy,
  .hero-preview,
  .simple-card,
  .detail-card,
  .detail-mini-card,
  .detail-list-card,
  .step {
    border-radius: 22px;
  }

  .hero-copy,
  .simple-card,
  .detail-card,
  .detail-mini-card,
  .detail-list-card,
  .step {
    padding: 22px;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(122, 255, 204, 0.08);
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn,
  .back-btn {
    width: 100%;
    text-align: center;
  }

  .preview-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-send {
    text-align: center;
  }

  .topbar h1 {
    font-size: 2rem;
  }
}