/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */
:root {
  --blue:   #6ec7ff;
  --dark:   #0f0f0f;
  --deep:   #030303;
  --muted:  #afb5c4;
  --px:     clamp(1.25rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark);
  color: var(--muted);
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--dark); }

/* ═══════════════════════════════════════
   CANVAS NEBULA BACKGROUND
═══════════════════════════════════════ */
#bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.w-full      { width: 100%; }
.inner       { width: 100%; padding-left: var(--px); padding-right: var(--px); }
section      { position: relative; z-index: 2; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem var(--px);
  transition: padding .3s, background .3s, border-color .3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#navbar.scrolled {
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-logo a { display: flex; align-items: center; }
.nav-logo img { height: 38px; display: block; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  padding: .5rem 1.35rem !important;
  border: 1px solid var(--blue) !important;
  color: var(--blue) !important;
  border-radius: 6px;
  font-weight: 600 !important;
  box-shadow: 0 0 18px rgba(110,199,255,.22);
  transition: background .25s, color .25s !important;
}
.nav-cta:hover { background: var(--blue) !important; color: var(--dark) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
  z-index: 60;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* mobile overlay */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,3,3,.97);
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 600;
  transition: color .2s;
}
#mobile-menu a:hover { color: var(--blue); }

/* ═══════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════ */
.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}
.sec-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem var(--px) 4rem;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(110,199,255,.07) 0%, transparent 70%);
}
.hero-inner { width: 100%; max-width: 860px; margin: 0 auto; }

.hero-eyebrow {
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.04;
  margin-bottom: 1.5rem;
}

/* animated shimmer text */
.gradient-text {
  background: linear-gradient(90deg, #fff 0%, var(--blue) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
  display: inline-block;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-sub strong { color: #fff; }
.hero-sub em { color: var(--blue); font-style: italic; }

/* trust bullets */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 2rem;
  margin-top: 3.5rem;
}
.trust-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: 'Lato', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.trust-num em { color: var(--blue); font-style: normal; }
.trust-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin-top: .15rem;
}

.hero-chevron {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.hero-chevron svg {
  animation: chevron-bounce .9s ease-in-out infinite alternate;
  opacity: .5;
}
@keyframes chevron-bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(9px); }
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 1.05rem 2.5rem;
  background: linear-gradient(105deg, rgba(255,255,255,.9), rgba(110,199,255,.9), #6ec7ff);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(110,199,255,.22);
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 14px 40px rgba(110,199,255,.32); }

.btn-outline {
  display: inline-block;
  padding: .9rem 2rem;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--blue); color: var(--dark); }

/* ═══════════════════════════════════════
   DIVIDER
═══════════════════════════════════════ */
.section-divider {
  height: 1px;
  width: 60%;
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(110,199,255,.14), transparent);
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
#services { padding: 6rem 0; }

.services-box {
  background: #020202;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 28px;
  padding: 3.5rem var(--px);
  position: relative;
  overflow: hidden;
}
.services-box::before,
.services-box::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.services-box::before { top: -100px; right: -100px; background: rgba(110,199,255,.05); }
.services-box::after  { bottom: -100px; left: -100px; background: rgba(110,199,255,.05); }

.services-header { margin-bottom: 2.5rem; position: relative; z-index: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  position: relative; z-index: 1;
}
.service-card {
  padding: 2rem;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 18px;
  transition: border-color .35s, box-shadow .35s;
  cursor: default;
}
.service-card:hover {
  border-color: rgba(110,199,255,.28);
  box-shadow: 0 18px 50px rgba(110,199,255,.05);
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(110,199,255,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
  transition: background .3s, color .3s;
}
.service-card:hover .service-icon { background: var(--blue); color: var(--dark); }
.service-card h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  transition: color .3s;
}
.service-card:hover h3 { color: var(--blue); }
.service-card p { font-size: .875rem; line-height: 1.68; }
.services-cta { text-align: center; margin-top: 3rem; position: relative; z-index: 1; }

/* ═══════════════════════════════════════
   QUIZ
═══════════════════════════════════════ */
#quiz { padding: 6rem 0; }

.quiz-wrap { max-width: 780px; margin: 0 auto; padding: 0 var(--px); }

.quiz-header { text-align: center; margin-bottom: 2.5rem; }

.quiz-gift-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1.1rem;
  border-radius: 999px;
  background: rgba(110,199,255,.07);
  border: 1px solid rgba(110,199,255,.2);
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}

.quiz-box {
  background: #020202;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.quiz-progress {
  display: flex;
  gap: .4rem;
  margin-bottom: 2.5rem;
}
.progress-seg {
  height: 4px;
  border-radius: 4px;
  flex: 1;
  background: rgba(255,255,255,.09);
  transition: background .4s;
}
.progress-seg.done { background: var(--blue); }

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
  line-height: 1.4;
}
.quiz-hint { font-size: .84rem; margin-bottom: 1.75rem; }

.quiz-options { display: grid; gap: .7rem; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.2rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  background: rgba(255,255,255,.02);
  user-select: none;
  transition: border-color .22s, background .22s, color .22s;
}
.quiz-option:hover  { border-color: rgba(110,199,255,.3);  background: rgba(110,199,255,.04); }
.quiz-option.selected { border-color: var(--blue); background: rgba(110,199,255,.09); color: var(--blue); }
.opt-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background .22s;
}
.quiz-option.selected .opt-icon { background: rgba(110,199,255,.14); }

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.25rem;
}
.quiz-nav-right { display: flex; align-items: center; gap: 1.25rem; }
.quiz-step-count { font-size: .78rem; color: var(--muted); }

.btn-back {
  padding: .7rem 1.6rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--muted);
  transition: border-color .22s, color .22s;
}
.btn-back:hover { border-color: rgba(255,255,255,.3); color: #fff; }

.btn-next {
  padding: .7rem 1.6rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  border: none;
  background: linear-gradient(105deg, rgba(255,255,255,.88), rgba(110,199,255,.88), #6ec7ff);
  color: var(--dark);
  transition: filter .22s, transform .22s;
}
.btn-next:hover:not(:disabled) { filter: brightness(1.08); transform: scale(1.02); }
.btn-next:disabled { opacity: .35; cursor: not-allowed; }

/* quiz lead form (step 6) */
.quiz-lead-form { margin-top: 2rem; }
.quiz-lead-form .form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.quiz-lead-form label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.quiz-lead-form input,
.quiz-lead-form textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  padding: .85rem 1rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.quiz-lead-form input:focus,
.quiz-lead-form textarea:focus { border-color: var(--blue); }
.quiz-lead-form textarea { resize: none; }

/* quiz result */
#quiz-result { display: none; text-align: center; }
#quiz-result.show { display: block; }
.result-emoji { font-size: 3rem; margin-bottom: 1rem; }
.result-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.result-desc { font-size: .95rem; line-height: 1.75; max-width: 500px; margin: 0 auto 1.75rem; }
.result-share { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.form-msg { margin-top: .75rem; font-size: .84rem; text-align: center; min-height: 1.2em; }
.form-msg.success { color: #6ee7b7; }
.form-msg.error   { color: #fca5a5; }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about { padding: 6rem 0; }

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
}
.about-photo img {
  width: 100%;
  border-radius: 20px;
  display: block;
  border: 1px solid rgba(110,199,255,.14);
  box-shadow: 0 0 60px rgba(110,199,255,.09);
}
.about-bio blockquote {
  font-style: italic;
  color: #fff;
  font-size: 1.05rem;
  border-left: 2px solid var(--blue);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}
.about-bio p {
  font-size: .94rem;
  line-height: 1.78;
  margin-bottom: 1rem;
}
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.75rem 0;
}
.stat-chip {
  padding: .45rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: .8rem;
  color: #fff;
}
.stat-chip strong { color: var(--blue); }
.about-links { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.about-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .22s, color .22s, border-color .22s;
}
.link-primary { background: var(--blue); color: var(--dark); }
.link-primary:hover { background: #fff; }
.link-ghost { border: 1px solid rgba(255,255,255,.12); color: var(--muted); }
.link-ghost:hover { border-color: var(--blue); color: var(--blue); }

.about-section-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* case list */
.case-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px,100%), 1fr));
  gap: .7rem;
  margin-bottom: 4rem;
}
.case-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  font-size: .84rem;
  color: #d4dae6;
  line-height: 1.55;
}
.case-list li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* stack */
.stack-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.stack-chip {
  padding: .32rem .85rem;
  background: rgba(110,199,255,.07);
  border: 1px solid rgba(110,199,255,.16);
  border-radius: 999px;
  font-size: .76rem;
  color: var(--blue);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   CONTACTS
═══════════════════════════════════════ */
#contacts { padding: 6rem 0; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contacts-left-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.contacts-left p { font-size: .94rem; line-height: 1.78; margin-bottom: 2rem; }

.contact-links { display: flex; flex-direction: column; gap: .8rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: color .2s;
}
.contact-link-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(110,199,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.contact-link:hover .contact-link-icon { background: var(--blue); color: var(--dark); }
.contact-link-text { color: #fff; font-size: .98rem; font-weight: 500; transition: color .2s; }
.contact-link:hover .contact-link-text { color: var(--blue); }

.contacts-form {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-group label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  padding: .9rem 1rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: none; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(105deg, rgba(255,255,255,.9), rgba(110,199,255,.9), #6ec7ff);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.form-submit:hover { filter: brightness(1.07); transform: scale(1.01); }
.form-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 3rem var(--px);
  position: relative; z-index: 2;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.footer-social { display: flex; gap: .85rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: background .22s, color .22s;
}
.footer-social a:hover { background: rgba(110,199,255,.1); color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: .78rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.5rem; text-transform: uppercase; letter-spacing: .05em; }

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .contacts-grid { gap: 2.5rem; }
}
@media (max-width: 860px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-photo { max-width: 280px; margin: 0 auto; }
  .contacts-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-box { padding: 2.25rem 1.5rem; }
  .quiz-box { padding: 2rem 1.25rem; }
  .contacts-form { padding: 1.75rem 1.25rem; }
  .trust-divider { display: none; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .quiz-box { padding: 1.5rem 1rem; }
  .quiz-question { font-size: 1.08rem; }
}
