:root {
  --bg: #071018;
  --bg-2: #0c1622;
  --panel: rgba(231, 246, 255, 0.08);
  --panel-strong: rgba(231, 246, 255, 0.14);
  --paper: #eef8ff;
  --muted: rgba(238, 248, 255, 0.72);
  --soft: rgba(238, 248, 255, 0.52);
  --line: rgba(183, 229, 255, 0.17);
  --cyan: #31dcff;
  --blue: #3f7cff;
  --violet: #8f5cff;
  --gold: #ffb45b;
  --green: #7dffbf;
  --red: #ff5971;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 8%, rgba(49, 220, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 90% 15%, rgba(143, 92, 255, 0.18), transparent 30rem),
    linear-gradient(145deg, #050b11 0%, #0d1724 52%, #050b11 100%);
  overflow-x: hidden;
}

section[id],
article[id] {
  scroll-margin-top: 118px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

[hidden] {
  display: none !important;
}

.grid-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(49, 220, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 220, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.orb {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.28;
  pointer-events: none;
}

.orb-a {
  width: 360px;
  height: 360px;
  top: 160px;
  left: -130px;
  background: var(--cyan);
}

.orb-b {
  width: 440px;
  height: 440px;
  right: -160px;
  top: 420px;
  background: var(--violet);
}

.site-header,
.section,
.site-footer,
.invite-modal,
.toast,
.mobile-sticky-cta {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1200px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 11, 17, 0.76);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
}

.brand-mark,
.workspace-logo {
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #021016;
  font-weight: 950;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 38px rgba(49, 220, 255, 0.34);
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.06;
}

.brand small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 0.76rem;
}

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

.nav-links a,
.side-link,
.period-toggle button,
.status-filters button {
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-links a {
  padding: 10px 13px;
  font-size: 0.9rem;
}

.nav-links a:hover,
.side-link:hover,
.period-toggle button:hover,
.status-filters button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn-primary {
  color: #001019;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(135deg, #33e7ff 0%, #3e83ff 48%, #ad74ff 100%);
  box-shadow:
    0 18px 44px rgba(49, 220, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.btn-primary:hover {
  box-shadow:
    0 24px 62px rgba(49, 220, 255, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.btn-ghost {
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.btn-xl {
  min-height: 58px;
  padding-inline: 26px;
}

.section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a9efff;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 950;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(125, 255, 191, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(3rem, 6.8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.hero-subhead,
.login-card p,
.build-copy p,
.request-copy p,
.problem-grid p,
.package-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 58px 0 54px;
}

.hero-actions,
.proof-chips,
.login-actions,
.action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.proof-chips {
  margin-top: 34px;
}

.proof-chips span,
.data-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.image-shell,
.preview-card,
.admin-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(183, 229, 255, 0.18);
  background: linear-gradient(135deg, rgba(231, 246, 255, 0.14), rgba(231, 246, 255, 0.04));
  box-shadow: var(--shadow);
}

.hero-image {
  height: 620px;
  margin: 0;
  border-radius: 40px;
}

.hero-image::after,
.preview-card::after,
.admin-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 11, 17, 0.62) 0%, transparent 40%),
    linear-gradient(0deg, rgba(5, 11, 17, 0.64) 0%, transparent 42%);
}

.hero-image img,
.preview-card img,
.admin-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.hero-visual:hover img,
.preview-card:hover img,
.admin-visual:hover img {
  transform: scale(1.035);
}

.hero-product-card {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: min(360px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid rgba(183, 229, 255, 0.22);
  border-radius: 28px;
  background: rgba(5, 11, 17, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.product-card-top {
  display: grid;
  gap: 7px;
}

.product-card-top span {
  color: var(--soft);
}

.product-card-top strong {
  font-size: 1.35rem;
}

.micro-bars {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.micro-bars span {
  display: block;
  width: var(--w);
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.problem-panel,
.demo-frame,
.build-section,
.request-section {
  margin-top: 88px;
}

.problem-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

.problem-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.4vw, 3.05rem);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.problem-grid article,
.login-card,
.chart-card,
.admin-panel,
.events-panel,
.package-card,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
}

.problem-grid article {
  padding: 20px;
}

.login-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 110px;
}

.login-card {
  padding: 28px;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(238, 248, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(183, 229, 255, 0.18);
  border-radius: 16px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.24);
  padding: 14px 15px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(238, 248, 255, 0.42);
}

select option {
  color: #071018;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(49, 220, 255, 0.72);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 5px rgba(49, 220, 255, 0.12);
}

.login-actions .btn {
  flex: 1;
}

.form-hint {
  color: var(--soft);
  font-size: 0.88rem;
}

.preview-card,
.admin-visual {
  min-height: 500px;
  border-radius: var(--radius-xl);
}

.preview-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 20px;
  border-radius: 22px;
  background: rgba(5, 11, 17, 0.72);
  backdrop-filter: blur(16px);
}

.preview-overlay span {
  color: #a9efff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 950;
}

.preview-overlay strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.demo-frame {
  border-radius: 36px;
}

.demo-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 1px solid rgba(49, 220, 255, 0.28);
  color: #a9efff;
  text-align: center;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 950;
  background:
    linear-gradient(90deg, transparent, rgba(49, 220, 255, 0.12), transparent),
    rgba(49, 220, 255, 0.035);
}

.dashboard-app {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 820px;
  border-right: 1px solid rgba(49, 220, 255, 0.22);
  border-left: 1px solid rgba(49, 220, 255, 0.22);
  background:
    radial-gradient(circle at 78% 12%, rgba(49, 220, 255, 0.14), transparent 30rem),
    linear-gradient(140deg, rgba(9, 19, 31, 0.98), rgba(5, 11, 17, 0.98));
  overflow: hidden;
}

.dashboard-app[data-locked="true"] .app-main > *:not(.locked-state) {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}

.locked-state {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: rgba(5, 11, 17, 0.62);
  backdrop-filter: blur(5px);
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--green);
  background: rgba(125, 255, 191, 0.12);
  box-shadow: 0 0 0 1px rgba(125, 255, 191, 0.22) inset;
}

.app-sidebar {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.workspace {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.workspace-logo {
  width: 42px;
  height: 42px;
}

.workspace strong,
.workspace small {
  display: block;
}

.workspace small {
  color: var(--soft);
}

.side-link {
  display: flex;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid transparent;
}

.side-link.is-active {
  color: #001019;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.app-main {
  position: relative;
  padding: 24px;
}

.app-topbar,
.pipeline-toolbar,
.card-head,
.event-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.app-topbar h3 {
  max-width: 620px;
}

.period-toggle,
.status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.period-toggle button,
.status-filters button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
}

.period-toggle button.is-active,
.status-filters button.is-active {
  color: #001019;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.metric-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-card span,
.metric-card small {
  display: block;
}

.metric-card span {
  color: var(--soft);
}

.metric-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.62rem;
  line-height: 1;
}

.metric-card small {
  color: var(--green);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.chart-card {
  padding: 20px;
}

.chart-card:first-child {
  grid-column: span 7;
}

.chart-card:nth-child(2) {
  grid-column: span 5;
}

.lead-source-card {
  grid-column: 1 / -1;
}

.data-pill {
  color: var(--soft);
  font-size: 0.78rem;
}

.bar-chart {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  height: 240px;
  margin-top: 22px;
  padding: 6px 0 0;
  background-image: linear-gradient(rgba(183, 229, 255, 0.12) 1px, transparent 1px);
  background-size: 100% 25%;
}

.axis-labels {
  display: grid;
  align-content: space-between;
  padding-bottom: 28px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.bar-stack {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  min-width: 0;
}

.bar {
  position: relative;
  display: grid;
  align-items: end;
  min-width: 0;
}

.bar span {
  display: block;
  height: var(--h);
  min-height: 18px;
  border-radius: 12px 12px 5px 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 24px rgba(49, 220, 255, 0.23);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.bar:hover span {
  transform: translateY(-5px);
  filter: brightness(1.16);
}

.bar em {
  position: absolute;
  top: -20px;
  left: 50%;
  color: var(--muted);
  transform: translateX(-50%);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.bar small {
  margin-top: 9px;
  color: var(--soft);
  text-align: center;
  font-size: 0.72rem;
}

.line-chart {
  width: 100%;
  height: 240px;
  margin-top: 18px;
  overflow: visible;
}

.area-path {
  fill: url(#areaFill);
}

.line-path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 16px rgba(49, 220, 255, 0.42));
}

.dot {
  fill: #071018;
  stroke: var(--cyan);
  stroke-width: 4;
}

.source-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.source-row {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.source-row:hover,
.source-row:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--source-color) 62%, transparent);
  background: color-mix(in srgb, var(--source-color) 13%, rgba(255, 255, 255, 0.055));
  outline: none;
}

.source-row span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.source-row b,
.source-row small,
.source-row strong {
  display: block;
}

.source-row small {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.source-row i {
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.source-row i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 24%),
    var(--source-color);
  box-shadow: 0 0 24px color-mix(in srgb, var(--source-color) 38%, transparent);
}

.source-row strong {
  color: var(--source-color);
  font-size: 1.32rem;
  line-height: 1;
}

.pipeline-toolbar {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.pipeline-toolbar input {
  max-width: 260px;
}

.table-wrap {
  overflow: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(183, 229, 255, 0.11);
  text-align: left;
}

th {
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: var(--muted);
}

tr:hover td {
  background: rgba(49, 220, 255, 0.045);
}

.status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #001019;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.New {
  background: #95e9ff;
}

.status.Qualified {
  background: #a58cff;
}

.status.Proposal {
  background: #ffc56d;
}

.status.Won {
  background: #83ffc0;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.action-strip {
  margin-top: 16px;
}

.admin-section {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 110px;
}

.admin-panel,
.events-panel {
  padding: 26px;
}

.setting-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.setting-row:hover,
.setting-row.is-selected {
  border-color: rgba(49, 220, 255, 0.5);
  background: rgba(49, 220, 255, 0.1);
}

.setting-row span {
  color: var(--muted);
}

.events-panel {
  grid-column: 1 / -1;
}

.event-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.event-timeline li {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.event-timeline strong,
.event-timeline span {
  display: block;
}

.event-timeline strong {
  font-size: 0.9rem;
}

.event-timeline span {
  margin-top: 7px;
  color: var(--soft);
  font-size: 0.78rem;
}

.small-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
  padding: 9px 13px;
  font-weight: 850;
}

.build-section {
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 12%, rgba(49, 220, 255, 0.14), transparent 24rem),
    rgba(255, 255, 255, 0.065);
}

.build-copy p {
  max-width: 820px;
}

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

.package-card {
  padding: 22px;
}

.package-card.featured {
  border-color: rgba(49, 220, 255, 0.4);
  background: linear-gradient(180deg, rgba(49, 220, 255, 0.13), rgba(255, 255, 255, 0.07));
  box-shadow: 0 24px 70px rgba(49, 220, 255, 0.13);
}

.package-card span {
  color: var(--soft);
}

.package-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.045em;
}

.request-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 70px;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-error {
  padding: 13px 15px;
  border: 1px solid rgba(255, 89, 113, 0.35);
  border-radius: 16px;
  color: #ffd5dd;
  background: rgba(255, 89, 113, 0.12);
}

.btn-submit {
  min-height: 60px;
  width: 100%;
}

.success-state {
  padding: 17px;
  border: 1px solid rgba(125, 255, 191, 0.35);
  border-radius: 18px;
  color: #eafff4;
  background: rgba(125, 255, 191, 0.1);
}

.success-state strong,
.success-state span {
  display: block;
}

.success-state span {
  margin-top: 6px;
  color: rgba(234, 255, 244, 0.76);
  line-height: 1.55;
}

.invite-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 5, 8, 0.72);
  backdrop-filter: blur(10px);
}

.invite-modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0a1521;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.4rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(420px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid rgba(49, 220, 255, 0.36);
  border-radius: 18px;
  color: var(--paper);
  background: rgba(5, 11, 17, 0.88);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.88rem;
}

.site-footer strong {
  color: var(--paper);
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }

  .hero,
  .problem-panel,
  .login-section,
  .admin-section,
  .request-section {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .package-grid,
  .event-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual,
  .hero-image,
  .preview-card,
  .admin-visual {
    min-height: 500px;
    height: 500px;
  }

  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace {
    min-width: 210px;
    margin-bottom: 0;
  }

  .side-link {
    width: auto;
    min-width: 110px;
    margin-bottom: 0;
  }

  .metric-grid,
  .charts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chart-card:first-child,
  .chart-card:nth-child(2),
  .lead-source-card {
    grid-column: auto;
  }

  .source-chart {
    grid-template-columns: 1fr 1fr;
  }

  .pipeline-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline-toolbar input {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    border-radius: 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .site-header > .btn {
    display: none;
  }

  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .btn,
  .login-actions,
  .login-actions .btn,
  .problem-grid,
  .metric-grid,
  .charts-grid,
  .source-chart,
  .package-grid,
  .event-timeline {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-visual,
  .hero-image {
    min-height: 520px;
    height: 520px;
  }

  .hero-image img {
    object-position: 58% center;
  }

  .hero-product-card {
    right: 14px;
    left: 14px;
    width: auto;
    bottom: 14px;
  }

  .problem-panel,
  .login-card,
  .app-main,
  .build-section,
  .request-form,
  .admin-panel,
  .events-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .login-section,
  .admin-section {
    margin-top: 76px;
  }

  .preview-card,
  .admin-visual {
    min-height: 420px;
    height: 420px;
  }

  .app-topbar,
  .card-head,
  .pipeline-toolbar,
  .setting-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .bar-chart {
    gap: 7px;
    height: 210px;
  }

  .action-strip,
  .action-strip .btn {
    display: grid;
    width: 100%;
  }

  .site-footer {
    display: grid;
    padding-bottom: 78px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 50;
    display: flex;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #001019;
    font-weight: 950;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 28%),
      linear-gradient(135deg, #33e7ff 0%, #3e83ff 48%, #ad74ff 100%);
    box-shadow: 0 18px 48px rgba(49, 220, 255, 0.36);
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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