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

:root {
  --bg: #07070b;
  --panel: #0e0e15;
  --panel-2: #13131c;
  --line: rgba(255,255,255,.09);
  --text: #f6f5fb;
  --muted: #9996a8;
  --purple: #8f5cff;
  --purple-2: #b18cff;
  --cyan: #4ee5d1;
  --green: #7ee787;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--purple);
  color: white;
}

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

img {
  width: 100%;
  display: block;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .13;
  pointer-events: none;
}

.orb-one {
  background: var(--purple);
  top: -170px;
  left: -120px;
}

.orb-two {
  background: #486bff;
  top: 400px;
  right: -220px;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7,7,11,.72);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, #a978ff, #6f37ff);
  box-shadow: 0 0 30px rgba(143,92,255,.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: .95;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  letter-spacing: .1em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .24em;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #b9b6c4;
  font-size: 14px;
  transition: .2s ease;
}

.nav-links a:hover {
  color: white;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: white;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #9b67ff, #7138ed);
  border-color: transparent;
  box-shadow: 0 16px 50px rgba(113,56,237,.28);
}

.btn-outline {
  background: rgba(255,255,255,.02);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.22);
}

.btn-ghost {
  border-color: transparent;
  color: #b9b6c4;
}

.hero {
  padding-top: 88px;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 72px;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aaa5ba;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(78,229,209,.08), 0 0 18px rgba(78,229,209,.45);
}

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  margin-top: 20px;
  max-width: 760px;
  font-size: clamp(54px, 6vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #c7a9ff, #8f5cff 46%, #72e8da);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-text {
  max-width: 650px;
  margin-top: 25px;
  color: #aaa7b5;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.mini-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  max-width: 500px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 32px;
  height: 32px;
  margin-left: -7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c1b26;
  font-size: 10px;
  font-weight: 700;
}

.avatars span:first-child {
  margin-left: 0;
}

.mini-proof p {
  color: #807d8b;
  font-size: 12px;
  line-height: 1.45;
}

.mini-proof strong {
  color: #d8d5e0;
}

.hero-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(145deg, #11111a, #0a0a10);
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 36px 100px rgba(0,0,0,.55);
}

.visual-frame::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(90px);
  opacity: .18;
}

.visual-topbar {
  position: relative;
  z-index: 2;
  height: 56px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777384;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34323e;
}

.visual-topbar svg {
  width: 15px;
}

.code-panel {
  position: absolute;
  inset: 100px 48px 76px;
  display: grid;
  grid-template-columns: 42px 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(5,5,9,.76);
  box-shadow: 0 20px 45px rgba(0,0,0,.3);
}

.code-sidebar {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  gap: 13px;
}

.code-sidebar span {
  width: 13px;
  height: 13px;
  border: 1px solid #393645;
  border-radius: 3px;
}

.code-sidebar .active {
  background: rgba(143,92,255,.35);
  border-color: #8f5cff;
}

.code-lines {
  align-self: center;
  padding: 26px;
  color: #c7c3d1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 2.05;
}

.code-lines .muted { color: #474451; margin-right: 14px; }
.code-lines .purple { color: #c29cff; }
.code-lines .cyan { color: #66e5d4; }
.code-lines .green { color: #8bdd96; }
.code-lines .line-gap { min-height: 10px; }

.floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  background: rgba(17,17,26,.86);
  backdrop-filter: blur(14px);
  color: #ddd9e5;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(0,0,0,.32);
}

.floating-badge svg { width: 16px; color: var(--purple-2); }
.badge-a { left: 24px; top: 82px; }
.badge-b { right: 24px; top: 176px; }
.badge-c { left: 72px; bottom: 28px; }

.stats-strip {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-strip article {
  min-height: 128px;
  padding: 26px 30px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  align-content: center;
}

.stats-strip article:last-child {
  border-right: 0;
}

.stats-strip strong,
.stats-strip b {
  font-family: "Space Grotesk";
  font-size: 34px;
}

.stats-strip b {
  color: var(--purple-2);
}

.stats-strip span {
  width: 100%;
  margin-top: 4px;
  color: #777483;
  font-size: 12px;
}

.section {
  padding-top: 130px;
  padding-bottom: 130px;
}

.section-heading {
  margin-bottom: 46px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.section-heading h2 {
  margin-top: 12px;
  max-width: 700px;
  font-size: clamp(38px, 4.5vw, 60px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.section-heading > p {
  max-width: 420px;
  color: #8d8998;
  line-height: 1.7;
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 335px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.013));
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(177,140,255,.28);
}

.service-card.feature {
  min-height: 380px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  grid-column: span 2;
  align-items: start;
  background:
    radial-gradient(circle at 90% 20%, rgba(143,92,255,.14), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}

.service-card.wide {
  grid-column: span 2;
  min-height: 290px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
}

.icon-box {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #c6abff;
  background: rgba(143,92,255,.1);
  border: 1px solid rgba(143,92,255,.18);
}

.icon-box svg {
  width: 21px;
}

.number {
  display: block;
  color: #565260;
  font: 600 11px "Space Grotesk";
  letter-spacing: .15em;
  margin-bottom: 42px;
}

.service-card.feature .number,
.service-card.wide .number {
  margin-bottom: 52px;
}

.service-card h3 {
  font-size: 30px;
  letter-spacing: -.03em;
}

.service-card p {
  max-width: 610px;
  margin-top: 15px;
  color: #8e8a98;
  line-height: 1.7;
  font-size: 14px;
}

.tags, .platform-row {
  margin-top: 27px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags span, .platform-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8c8897;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.platform-row span {
  color: #c7b3ed;
  border-color: rgba(143,92,255,.18);
  background: rgba(143,92,255,.055);
}

.section-dark {
  background: #0a0a0f;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #bfbac8;
  font-size: 13px;
  font-weight: 700;
}

.text-link svg {
  width: 16px;
}

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

.video-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #0f0f16;
  transition: transform .25s ease, border-color .25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.video-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.video-card:hover img {
  transform: scale(1.03);
}

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
}

.play svg {
  width: 20px;
  fill: white;
}

.video-meta {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-meta span {
  color: #777380;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.video-meta h3 {
  margin-top: 6px;
  font-size: 19px;
}

.video-meta > svg {
  color: #706b7a;
  width: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 100px;
  align-items: center;
}

.about-copy h2 {
  max-width: 690px;
  margin-top: 14px;
  font-size: clamp(40px, 4.6vw, 61px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.about-copy p {
  max-width: 650px;
  margin-top: 22px;
  color: #93909e;
  font-size: 15px;
  line-height: 1.8;
}

.about-copy strong {
  color: #d8d4df;
}

.about-copy .btn {
  margin-top: 30px;
}

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-card {
  min-height: 105px;
  padding: 22px;
  display: flex;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.02);
}

.stack-card > span {
  color: #5c5867;
  font: 600 11px "Space Grotesk";
}

.stack-card div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stack-card strong {
  font: 600 17px "Space Grotesk";
}

.stack-card small {
  color: #868291;
  line-height: 1.5;
}

.community {
  padding-top: 10px;
}

.community-card {
  position: relative;
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  padding: 70px;
  background:
    radial-gradient(circle at 78% 50%, rgba(255,255,255,.16), transparent 2%),
    linear-gradient(135deg, #8150ef, #5931bd);
  box-shadow: 0 30px 80px rgba(74,37,154,.25);
}

.community-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -100px;
  top: -50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow:
    0 0 0 90px rgba(255,255,255,.025),
    0 0 0 180px rgba(255,255,255,.02);
}

.community-copy {
  position: relative;
  z-index: 4;
  max-width: 630px;
}

.community-copy .section-kicker {
  color: rgba(255,255,255,.62);
}

.community-copy h2 {
  margin-top: 16px;
  font-size: clamp(46px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.055em;
}

.community-copy p {
  margin-top: 23px;
  max-width: 550px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.community-actions {
  margin-top: 32px;
  display: flex;
  gap: 10px;
}

.btn-light {
  background: white;
  color: #15121a;
  border-color: white;
}

.btn-dark {
  background: rgba(10,8,15,.85);
  color: white;
}

.community-graphic {
  position: absolute;
  width: 430px;
  height: 430px;
  right: 15px;
  top: 25px;
}

.community-logo {
  position: absolute;
  z-index: 4;
  inset: 0;
  margin: auto;
  width: 108px;
  height: 108px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(12,8,20,.84);
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  font: 800 55px "Space Grotesk";
}

.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}

.ring-one { width: 190px; height: 190px; }
.ring-two { width: 290px; height: 290px; }
.ring-three { width: 410px; height: 410px; }

.cta {
  text-align: center;
}

.cta-card {
  max-width: 920px;
  margin-inline: auto;
}

.cta-card h2 {
  margin-top: 14px;
  font-size: clamp(44px, 5vw, 66px);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.cta-card p {
  max-width: 620px;
  margin: 20px auto 0;
  color: #8c8996;
  line-height: 1.7;
}

.btn-large {
  min-height: 55px;
  margin-top: 28px;
  padding-inline: 25px;
}

footer {
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-grid > div:first-child p {
  margin-top: 18px;
  color: #777380;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 90px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 5px;
  font-size: 12px;
}

.footer-links a {
  color: #7e7a87;
  font-size: 12px;
  transition: .2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  margin-top: 70px;
  min-height: 72px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #5d5a65;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav-links.mobile-open {
    position: absolute;
    display: flex;
    top: 77px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #101017;
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
  }
  .nav-links.mobile-open a {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.mobile-open a:last-child { border-bottom: 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 55px;
  }
  .hero h1 { max-width: 830px; }
  .visual-frame { min-height: 500px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip article:nth-child(2) { border-right: 0; }
  .stats-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .community-graphic {
    opacity: .33;
    right: -110px;
  }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(48px, 15vw, 67px); }
  .hero-text { font-size: 16px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .visual-frame { min-height: 400px; }
  .code-panel { inset: 85px 18px 60px; }
  .code-lines { padding: 18px 14px; font-size: 10px; }
  .badge-a { left: 12px; top: 69px; }
  .badge-b { right: 12px; top: 154px; }
  .badge-c { left: 40px; bottom: 18px; }

  .stats-strip article { padding: 22px 18px; }
  .stats-strip strong, .stats-strip b { font-size: 29px; }

  .section { padding-top: 90px; padding-bottom: 90px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card.feature,
  .service-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .service-card.feature .number,
  .service-card.wide .number,
  .number { margin: 0 0 28px; }

  .video-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 42px; }

  .community-card { padding: 44px 25px; min-height: 570px; }
  .community-copy h2 { font-size: 48px; }
  .community-actions { flex-direction: column; }
  .community-graphic { width: 320px; height: 320px; top: auto; right: -70px; bottom: -75px; }
  .ring-one { width: 145px; height: 145px; }
  .ring-two { width: 225px; height: 225px; }
  .ring-three { width: 310px; height: 310px; }

  .footer-grid { flex-direction: column; }
  .footer-links { gap: 60px; }
  .footer-bottom {
    padding: 20px 0;
    gap: 12px;
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ==========================================================================
   ENHANCEMENTS: BRAND LOGO, PACKAGES, CONTACT, AUTH & LEGAL MODALS
   ========================================================================== */

/* Brand Logo Image */
.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(143, 92, 255, 0.4));
}

.footer-logo {
  height: 44px;
  max-width: 200px;
  margin-bottom: 14px;
}

.community-logo-img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

/* Nav Actions Enhancement */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(143, 92, 255, 0.12);
  border: 1px solid rgba(143, 92, 255, 0.35);
  color: #d8c4ff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.user-badge-btn:hover {
  background: rgba(143, 92, 255, 0.22);
  border-color: rgba(143, 92, 255, 0.6);
  color: #fff;
}

/* Trust Badges Strip */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  margin-top: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(143, 92, 255, 0.1);
  border: 1px solid rgba(143, 92, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  color: #fff;
}

.trust-text span {
  font-size: 12px;
  color: #8c8998;
}

/* Packages Section */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.package-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 26px;
  background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 92, 255, .45);
  box-shadow: 0 20px 45px rgba(113, 56, 237, .16);
}

.package-card.popular {
  border-color: rgba(143, 92, 255, .65);
  background: linear-gradient(160deg, rgba(143, 92, 255, .12), rgba(255, 255, 255, .02));
  box-shadow: 0 16px 50px rgba(113, 56, 237, .22);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a879ff, #6f36ff);
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(111, 54, 255, .4);
  white-space: nowrap;
}

.package-header h3 {
  font-size: 22px;
  letter-spacing: -.02em;
  color: #fff;
}

.package-desc {
  color: #8c8998;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
  min-height: 40px;
}

.package-price {
  font-size: 38px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  margin: 18px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.package-price span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.package-timeline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--purple-2);
  font-weight: 600;
  margin-bottom: 20px;
}

.package-features {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #bab5c4;
  font-size: 13px;
  line-height: 1.45;
}

.package-features li svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.package-cta {
  width: 100%;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.why-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: rgba(255, 255, 255, .015);
  transition: transform .25s ease, border-color .25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .2);
}

.why-card .icon-box {
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.why-card p {
  color: #8c8998;
  font-size: 14px;
  line-height: 1.65;
}

/* FAQ Section */
.faq-wrap {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .018);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}

.faq-item.active {
  border-color: rgba(143, 92, 255, .4);
  background: rgba(143, 92, 255, .03);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--purple-2);
  transition: transform .25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: #9e9aa8;
  font-size: 14.5px;
  line-height: 1.7;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 26px 22px;
}

/* Contact Us & Send Query Section */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 50px;
  align-items: start;
  margin-top: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.contact-mini-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .015);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform .2s ease, border-color .2s ease;
}

.contact-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 92, 255, .3);
}

.contact-mini-card .icon-box {
  width: 44px;
  height: 44px;
}

.contact-mini-card strong {
  display: block;
  font-size: 15px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-mini-card span {
  font-size: 12.5px;
  color: #8c8998;
}

.query-form-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  padding: 38px;
  background: linear-gradient(155deg, rgba(16, 16, 24, .85), rgba(9, 9, 14, .95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.query-form-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.query-form-card p {
  color: #8c8998;
  font-size: 13.5px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #c7c3d4;
  display: flex;
  justify-content: space-between;
}

.form-group label span.opt {
  color: #74717f;
  font-weight: 400;
  font-size: 11px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--purple-2);
  background: rgba(143, 92, 255, .06);
  box-shadow: 0 0 0 4px rgba(143, 92, 255, .15);
}

.form-select option {
  background: #11111a;
  color: #fff;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #9f9baa;
  margin: 12px 0 22px;
  cursor: pointer;
  line-height: 1.45;
}

.form-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--purple);
}

.form-checkbox-label a {
  color: var(--purple-2);
  text-decoration: underline;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
}

.query-success-card {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(126, 231, 135, .15);
  border: 1px solid rgba(126, 231, 135, .3);
  display: grid;
  place-items: center;
  color: var(--green);
  margin: 0 auto 20px;
}

.success-icon-box svg {
  width: 32px;
  height: 32px;
}

.query-success-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.query-success-card p {
  color: #aaa5b8;
  max-width: 440px;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.6;
}

.query-ref-pill {
  display: inline-block;
  background: rgba(143, 92, 255, .15);
  border: 1px solid rgba(143, 92, 255, .3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-family: monospace;
  color: #d1b8ff;
  margin-bottom: 24px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 4, 7, .82);
  backdrop-filter: blur(14px);
  display: none;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}

.modal-backdrop.active {
  display: grid;
  opacity: 1;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  background: #0d0d15;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 50px rgba(143, 92, 255, .15);
  overflow-y: auto;
}

.legal-modal-card {
  width: min(800px, 100%);
  padding: 40px;
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #8c8998;
  cursor: pointer;
  transition: .2s;
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

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

.modal-header h3 {
  font-size: 26px;
  letter-spacing: -.03em;
}

.modal-header p {
  color: #8c8998;
  font-size: 13.5px;
  margin-top: 6px;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, .035);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.modal-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: none;
  color: #8c8898;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9px;
  cursor: pointer;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-tab-btn.active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 15px rgba(143, 92, 255, .35);
}

.auth-view {
  display: none;
}

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

.password-wrap {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #797686;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.password-toggle-btn:hover {
  color: #fff;
}

.demo-login-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #7d7a8a;
}

.btn-link {
  background: none;
  border: none;
  color: var(--purple-2);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Client Dashboard Inquiries List */
.inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-height: 280px;
  overflow-y: auto;
}

.inquiry-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, .02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.inquiry-meta strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.inquiry-meta span {
  font-size: 11.5px;
  color: #8c8998;
}

.inquiry-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-review {
  background: rgba(78, 229, 209, .12);
  color: var(--cyan);
  border: 1px solid rgba(78, 229, 209, .25);
}

.status-active {
  background: rgba(143, 92, 255, .15);
  color: var(--purple-2);
  border: 1px solid rgba(143, 92, 255, .3);
}

/* Legal Content inside Legal Modal */
.legal-content {
  color: #aaa6b8;
  font-size: 14px;
  line-height: 1.75;
}

.legal-content h4 {
  color: #fff;
  font-size: 17px;
  font-family: 'Space Grotesk', sans-serif;
  margin: 22px 0 8px;
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #141420;
  border: 1px solid rgba(143, 92, 255, .4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  animation: toastIn .3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Additional Responsive Rules */
@media (max-width: 1080px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .brand-logo-img {
    height: 34px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nav-actions {
    display: none;
  }
  .mobile-auth-row {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .query-form-card {
    padding: 26px 20px;
  }
  .modal-card {
    padding: 26px 20px;
  }
  .legal-modal-card {
    padding: 28px 20px;
  }
}
