:root {
  --bg: #f7f8fc;
  --bg-2: #eef2f8;
  --surface: rgba(255, 255, 255, .76);
  --surface-solid: #ffffff;
  --text: #111827;
  --muted: #667085;
  --border: rgba(15, 23, 42, .10);
  --purple: #713cff;
  --blue: #1aa8ff;
  --pink: #e84fd7;
  --green: #23c982;
  --shadow: 0 32px 90px rgba(30, 41, 59, .16);
}

* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 78% 28%, rgba(29, 169, 255, .14), transparent 29%),
    radial-gradient(circle at 34% 84%, rgba(113, 60, 255, .10), transparent 31%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 54%, #f3f6fb 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.modal-open { overflow: hidden; }
main {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: 100%; height: 100%; margin: 0; padding: 0; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .02;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(110px);
  opacity: .8;
}
.ambient-one { width: 430px; height: 430px; background: rgba(124, 68, 255, .10); left: -240px; top: 80px; }
.ambient-two { width: 520px; height: 520px; background: rgba(32, 186, 255, .10); right: -300px; bottom: -130px; }

.floating-logo {
  position: fixed;
  z-index: 30;
  top: clamp(14px, 2.5vh, 30px);
  left: clamp(16px, 2.6vw, 38px);
  width: clamp(52px, 5vw, 74px);
  height: clamp(52px, 5vw, 74px);
  display: grid;
  place-items: center;
  text-decoration: none;
  filter: drop-shadow(0 12px 22px rgba(56, 62, 92, .13));
  transition: transform .22s ease;
}
.floating-logo:hover { transform: translateY(-2px) scale(1.025); }
.floating-logo img { width: 100%; height: 100%; object-fit: contain; }

.hero {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: calc(100% - 6vw);
  max-width: 700px;
  justify-self: end;
}
.eyebrow {
  margin: 0 0 clamp(12px, 2.4vh, 24px);
  display: flex;
  align-items: center;
  gap: 13px;
  color: #59657a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .2em;
}
.eyebrow i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}
.hero h1 {
  margin: 0;
  font-size: clamp(46px, min(6.15vw, 10.5vh), 92px);
  line-height: .95;
  letter-spacing: -.068em;
  color: #0f172a;
}
.hero h1 span {
  background: linear-gradient(90deg, #8a25f4 0%, #5d4eff 48%, #12aef6 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.intro {
  max-width: 650px;
  margin: clamp(14px, 2.7vh, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.62;
}
.btn {
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, #7538f7 0%, #674dff 48%, #18adf7 100%);
  box-shadow: 0 15px 35px rgba(102, 76, 255, .24);
}
.hero-cta { margin-top: clamp(16px, 3vh, 34px); min-width: 145px; }

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  perspective: 1300px;
}
.glow-ring {
  position: absolute;
  z-index: -1;
  width: clamp(500px, 58vw, 820px);
  height: clamp(500px, 58vw, 820px);
  border-radius: 50%;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(109, 71, 255, .28);
  box-shadow:
    0 0 100px rgba(67, 154, 255, .18),
    inset 0 0 95px rgba(91, 69, 255, .06);
  background: radial-gradient(circle, rgba(255,255,255,.68) 0%, rgba(99,80,255,.05) 54%, transparent 70%);
}
.laptop {
  position: relative;
  width: min(92%, 880px);
  transform: rotateY(-7deg) rotateX(2.2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 38px 38px rgba(31, 41, 67, .18));
}
.laptop-screen {
  padding: 10px;
  border-radius: 24px 24px 15px 15px;
  background: linear-gradient(145deg, #2b3342, #0b1019 42%, #2b3342);
  border: 1px solid rgba(10, 18, 32, .45);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.06), 0 0 0 1px rgba(70,86,122,.15);
}
.app-shell {
  height: clamp(330px, 52vh, 500px);
  min-height: 0;
  display: grid;
  grid-template-columns: 132px 1fr;
  overflow: hidden;
  border-radius: 16px;
  background: #0b1220;
  color: #eef4ff;
}
.sidebar {
  padding: 18px 12px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, #0b111d, #080d17);
}
.app-brand {
  height: 44px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 7px;
}
.app-brand img { width: 32px; height: 32px; object-fit: contain; }
.side-item {
  height: 37px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  color: #718099;
  font-size: 9px;
}
.side-item + .side-item { margin-top: 5px; }
.side-item span { width: 17px; text-align: center; font-size: 12px; color: #718099; }
.side-item em { font-style: normal; }
.side-item.active {
  color: #edf3ff;
  background: linear-gradient(90deg, rgba(97,70,255,.58), rgba(40,115,255,.32));
  box-shadow: inset 0 0 0 1px rgba(119,101,255,.32);
}
.side-item.active span { color: #fff; }
.dashboard { padding: 28px 24px 22px; background: radial-gradient(circle at 82% 16%, rgba(43,80,255,.13), transparent 35%), #0d1422; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dash-head small { color: #53627c; font-size: 7px; letter-spacing: .13em; }
.dash-head h2 { margin: 4px 0 0; color: #f4f7ff; font-size: 20px; letter-spacing: -.04em; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; color: #91a0b8; font-size: 8px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.025); }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #38e599; box-shadow: 0 0 10px #38e599; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 23px; }
.metrics article { min-width: 0; min-height: 86px; display: grid; align-content: center; gap: 4px; padding: 12px; border-radius: 11px; border: 1px solid rgba(255,255,255,.065); background: linear-gradient(145deg,#111b2d,#0d1625); }
.metrics span { color: #73819a; font-size: 7px; }
.metrics strong { color: #fff; font-size: 20px; letter-spacing: -.04em; }
.metrics small { color: #47d99b; font-size: 7px; }
.dash-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; margin-top: 10px; }
.activity-card, .chart-card { min-width: 0; min-height: 198px; padding: 13px; border-radius: 11px; border: 1px solid rgba(255,255,255,.065); background: linear-gradient(145deg,#111a2b,#0c1422); }
.card-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: #eaf0fb; font-size: 8px; }
.card-title span { color: #63718a; font-size: 7px; }
.activity-card p { margin: 0; padding: 11px 0; display: grid; grid-template-columns: 8px 1fr; gap: 2px 7px; border-bottom: 1px solid rgba(255,255,255,.045); font-size: 7px; color: #cfdaea; }
.activity-card p:last-child { border-bottom: 0; }
.activity-card p i { width: 5px; height: 5px; border-radius: 50%; margin-top: 2px; }
.activity-card p small { grid-column: 2; color: #58657a; font-size: 6px; }
.green { background:#32d893; }.purple { background:#913eff; }.blue { background:#1aaeff; }.muted-dot { background:#5d6a80; }
.chart { position: relative; height: 155px; overflow: hidden; border-radius: 8px; }
.chart-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 100% 38px, 62px 100%; }
.chart svg { position: relative; width: 100%; height: 100%; }
.chart-fill { fill: url(#performanceFill); }
.chart-line { fill: none; stroke: url(#performanceLine); stroke-width: 3; filter: drop-shadow(0 0 5px rgba(104,76,255,.7)); }
.laptop-base { width: 108%; height: 25px; margin-left: -4%; background: linear-gradient(180deg,#c7d0db,#84909e 48%,#d9e0e8); border-radius: 2px 2px 18px 18px; box-shadow: inset 0 2px 2px rgba(255,255,255,.8), 0 8px 18px rgba(67,76,96,.15); }
.laptop-foot { width: 36%; height: 5px; margin: -25px auto 0; position: relative; z-index: 2; border-radius: 0 0 8px 8px; background: #a5afba; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .34); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); }
.modal-card {
  position: relative;
  width: min(520px, 94vw);
  max-height: 94vh;
  max-height: 94dvh;
  overflow: hidden;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.09);
  box-shadow: 0 35px 100px rgba(30,41,59,.22);
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #f7f9fc;
  color: #637083;
  font-size: 22px;
  cursor: pointer;
}
.modal-mark { width: 52px; height: 52px; margin-bottom: 18px; }
.modal-mark img { width: 100%; height: 100%; object-fit: contain; }
.modal-kicker { margin: 0; color: #7656ec; font-size: 10px; letter-spacing: .18em; font-weight: 850; }
.modal-card h2 { margin: 8px 0; color: #111827; font-size: 32px; letter-spacing: -.045em; }
.modal-copy { margin: 0 0 24px; color: #778195; font-size: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 15px; }
.field label { color: #344054; font-size: 12px; font-weight: 750; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d7dce5;
  outline: 0;
  color: #111827;
  background: #fff;
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input { height: 49px; padding: 0 14px; }
.field textarea { height: clamp(96px, 16dvh, 138px); min-height: 0; padding: 13px 14px; resize: none; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa4b5; }
.field input:focus,
.field textarea:focus { border-color: #7555ff; box-shadow: 0 0 0 3px rgba(117,85,255,.10); }
.field input.invalid,
.field textarea.invalid { border-color: #e75a70; box-shadow: 0 0 0 3px rgba(231,90,112,.08); }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; left: -9999px !important; }
.submit-btn { width: 100%; margin-top: 5px; }
.submit-btn.loading { pointer-events: none; opacity: .82; }
.spinner { display: none; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.submit-btn.loading .spinner { display: inline-block; }
.submit-btn.loading .submit-arrow { display: none; }
.form-status { min-height: 20px; margin: 12px 0 0; text-align: center; color: #7b8798; font-size: 12px; }
.form-status.success { color: #159866; }
.form-status.error { color: #d9435b; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 54dvh 46dvh;
  }
  .hero-copy {
    width: 88vw;
    max-width: 760px;
    justify-self: center;
    align-self: end;
    transform: translateY(-1.2vh);
  }
  .hero-visual {
    width: 100vw;
    height: 46dvh;
    align-items: flex-start;
    justify-content: center;
  }
  .laptop {
    width: min(88vw, 760px);
    transform: rotateY(-4deg) rotateX(1deg);
  }
  .app-shell { height: clamp(235px, 34dvh, 330px); }
  .glow-ring {
    width: min(92vw, 690px);
    height: min(92vw, 690px);
    right: -18vw;
    top: 34%;
  }
}

@media (max-width: 600px) {
  .floating-logo {
    top: 12px;
    left: 16px;
    width: 48px;
    height: 48px;
  }
  .hero { grid-template-rows: 57dvh 43dvh; }
  .hero-copy {
    width: 90vw;
    transform: translateY(-.5vh);
  }
  .eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
    gap: 8px;
    letter-spacing: .14em;
  }
  .hero h1 {
    font-size: clamp(38px, 11.2vw, 56px);
    line-height: .96;
  }
  .intro {
    max-width: 92%;
    margin-top: 13px;
    font-size: 13.5px;
    line-height: 1.48;
  }
  .btn { min-height: 44px; border-radius: 13px; padding: 0 20px; }
  .hero-cta { margin-top: 16px; min-width: 138px; }
  .hero-visual { height: 43dvh; }
  .laptop {
    width: 94vw;
    transform: none;
  }
  .glow-ring {
    width: 112vw;
    height: 112vw;
    right: -48vw;
    top: 34%;
  }
  .laptop-screen { padding: 7px; border-radius: 17px 17px 12px 12px; }
  .app-shell { grid-template-columns: 54px 1fr; height: clamp(210px, 30dvh, 270px); border-radius: 10px; }
  .sidebar { padding: 10px 6px; }
  .app-brand { justify-content: center; padding: 0; margin-bottom: 12px; height: 34px; }
  .app-brand img { width: 26px; height: 26px; }
  .side-item em { display: none; }
  .side-item { justify-content: center; height: 25px; padding: 0; }
  .dashboard { padding: 12px 10px 8px; }
  .dash-head small { font-size: 5px; }
  .dash-head h2 { font-size: 11px; }
  .live-pill { display: none; }
  .metrics { gap: 4px; margin-top: 8px; }
  .metrics article { min-height: 49px; padding: 6px; border-radius: 6px; }
  .metrics span, .metrics small { font-size: 4.5px; }
  .metrics strong { font-size: 11px; }
  .dash-grid { gap: 5px; margin-top: 5px; }
  .activity-card, .chart-card { min-height: 92px; padding: 6px; }
  .card-title { font-size: 5px; margin-bottom: 3px; }
  .activity-card p { padding: 3px 0; font-size: 4px; grid-template-columns: 5px 1fr; gap: 1px 4px; }
  .activity-card p small { font-size: 3.5px; }
  .activity-card p i { width: 3px; height: 3px; }
  .chart { height: 68px; }
  .laptop-base { height: 12px; }
  .laptop-foot { margin-top: -12px; height: 3px; }

  .modal-card {
    width: 94vw;
    max-height: 94dvh;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }
  .modal-close { top: 11px; right: 11px; width: 32px; height: 32px; }
  .modal-mark { width: 42px; height: 42px; margin-bottom: 10px; }
  .modal-card h2 { margin: 6px 0; font-size: 26px; }
  .modal-copy { margin-bottom: 14px; font-size: 12px; }
  .field { gap: 6px; margin-bottom: 10px; }
  .field input { height: 43px; }
  .field textarea { height: 100px; }
  .submit-btn { min-height: 44px; }
  .form-status { margin-top: 8px; }
}

@media (max-height: 700px) and (min-width: 901px) {
  .floating-logo { width: 52px; height: 52px; top: 14px; }
  .hero h1 { font-size: clamp(44px, min(5.4vw, 9.5vh), 74px); }
  .eyebrow { margin-bottom: 12px; }
  .intro { margin-top: 14px; line-height: 1.5; }
  .hero-cta { margin-top: 16px; min-height: 44px; }
  .app-shell { height: 58vh; }
}

@media (max-height: 680px) and (max-width: 900px) {
  .hero { grid-template-rows: 59dvh 41dvh; }
  .hero-copy { width: 90vw; transform: none; }
  .hero h1 { font-size: clamp(34px, 9.8vw, 48px); }
  .eyebrow { margin-bottom: 7px; }
  .intro { margin-top: 9px; font-size: 12.5px; line-height: 1.4; }
  .hero-cta { margin-top: 10px; min-height: 40px; }
  .hero-visual { height: 41dvh; }
  .app-shell { height: 28dvh; min-height: 180px; }
  .modal-card { padding-top: 18px; padding-bottom: 14px; }
  .modal-mark { width: 34px; height: 34px; margin-bottom: 6px; }
  .modal-card h2 { font-size: 23px; }
  .modal-copy { margin-bottom: 10px; }
  .field { margin-bottom: 8px; }
  .field input { height: 40px; }
  .field textarea { height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
