body[data-theme="light"] {
  --bg: #f3f5fb;
  --bg-2: #edf1f8;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --text: #0c1122;
  --muted: #66708a;
  --line: rgba(12, 17, 34, 0.08);
  --accent: #4f72ff;
  --accent-strong: #3254f3;
  --accent-soft: rgba(79, 114, 255, 0.14);
  --sidebar: #121212;
  --sidebar-line: rgba(255, 255, 255, 0.08);
  --sidebar-text: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 60px rgba(18, 31, 82, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --toolbar-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74));
  --toolbar-bg-dark: rgba(18, 18, 18, 0.72);
  --brand-surface: linear-gradient(135deg, #f7f9ff, #edf3ff);
  --brand-ink: #0a1026;
  --button-secondary-bg: rgba(255, 255, 255, 0.9);
  --input-bg: rgba(255, 255, 255, 0.78);
  --canvas-bg: #faf8f4;
  --sidebar-bg: linear-gradient(180deg, #0c1122 0%, #141f42 100%);
  --modal-bg: rgba(255, 255, 255, 0.78);
  --icon-muted: #54607e;
  --menu-ink: #0d1330;
  --nav-ink: #111738;
  --toolbar-pattern: repeating-linear-gradient(
    135deg,
    rgba(55, 78, 157, 0.04) 0,
    rgba(55, 78, 157, 0.04) 2px,
    transparent 2px,
    transparent 18px
  );
  --trust-border: 3px solid rgba(255, 255, 255, 0.9);
  --trust-a: linear-gradient(135deg, #e6ecff, #b4c4ff);
  --trust-b: linear-gradient(135deg, #1f2746, #6a789e);
  --trust-c: linear-gradient(135deg, #4a7dff, #7dd1ff);
  --trust-d: linear-gradient(135deg, #d8f06e, #2e4436);
  --empty-border: 1px dashed var(--line);
}

body[data-theme="dark"] {
  --bg: #111111;
  --bg-2: #131928;
  --panel: rgba(19, 24, 39, 0.84);
  --panel-strong: rgba(25, 31, 48, 0.92);
  --text: #edf2ff;
  --muted: #9da8c5;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --toolbar-bg: linear-gradient(180deg, rgba(19, 24, 39, 0.96), rgba(19, 24, 39, 0.84));
  --toolbar-bg-dark: rgba(19, 24, 39, 0.92);
  --brand-surface: linear-gradient(135deg, #dce6ff, #b9ccff);
  --brand-ink: #091022;
  --button-secondary-bg: rgba(255, 255, 255, 0.06);
  --input-bg: rgba(255, 255, 255, 0.05);
  --canvas-bg: #101728;
  --sidebar-bg: linear-gradient(180deg, #0b1020 0%, #131d39 100%);
  --modal-bg: rgba(14, 20, 36, 0.88);
  --icon-muted: #a6b0cb;
  --menu-ink: #edf2ff;
  --nav-ink: #edf2ff;
  --toolbar-pattern: repeating-linear-gradient(
    135deg,
    rgba(132, 150, 219, 0.08) 0,
    rgba(132, 150, 219, 0.08) 2px,
    transparent 2px,
    transparent 18px
  );
  --trust-border: 3px solid rgba(19, 24, 39, 0.9);
  --trust-a: linear-gradient(135deg, #304170, #465b97);
  --trust-b: linear-gradient(135deg, #19213b, #36425e);
  --trust-c: linear-gradient(135deg, #3254f3, #53b2ff);
  --trust-d: linear-gradient(135deg, #8ebd47, #23412d);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(55, 78, 157, 0.045) 0,
      rgba(55, 78, 157, 0.045) 2px,
      transparent 2px,
      transparent 18px
    ),
    radial-gradient(circle at top left, rgba(79, 114, 255, 0.12), transparent 26%),
    radial-gradient(circle at 80% 15%, rgba(98, 197, 255, 0.1), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

a,
button {
  color: inherit;
}

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

textarea,
input,
select {
  color: var(--text);
}

.is-hidden {
  display: none !important;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.6;
}

.ambient-one {
  left: -60px;
  top: 100px;
  width: 360px;
  height: 360px;
  background: rgba(79, 114, 255, 0.18);
  animation: float 5.2s ease-in-out infinite;
}

.ambient-two {
  right: -40px;
  top: 240px;
  width: 320px;
  height: 320px;
  background: rgba(73, 203, 255, 0.14);
  animation: float 6.1s ease-in-out infinite reverse;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(79, 114, 255, 0.12);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-dot.is-active {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 0 10px rgba(79, 114, 255, 0.14);
}

.cursor-dot.is-pressed {
  transform: translate(-50%, -50%) scale(0.72);
}

.app-shell {
  width: min(1520px, calc(100% - 24px));
  margin: 8px auto 34px;
}

.promo-strip,
.pattern-band {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    repeating-linear-gradient(
      135deg,
      rgba(91, 110, 178, 0.07) 0,
      rgba(91, 110, 178, 0.07) 2px,
      transparent 2px,
      transparent 16px
    );
}

.promo-strip {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin-bottom: 10px;
  border-radius: 0 0 18px 18px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: siteFloat 4.8s ease-in-out infinite;
}

.promo-strip p {
  margin: 0;
  max-width: 900px;
  padding: 0 20px;
}

.pattern-band {
  height: 34px;
  margin-top: 8px;
}

.pattern-band.bottom {
  margin-top: 0;
  margin-bottom: 10px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  backdrop-filter: blur(22px);
  background:
    var(--toolbar-bg),
    var(--toolbar-pattern);
  box-shadow: var(--shadow);
  animation: siteFloat 5.1s ease-in-out infinite;
}

body[data-theme="dark"] .topbar {
  background: var(--toolbar-bg-dark);
}

.brand,
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.menu-button,
.icon-chip {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: grid;
  gap: 7px;
  padding: 6px 2px;
}

.menu-button span {
  display: block;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: var(--menu-ink);
}

.brand-mark,
.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: var(--brand-surface);
  color: white;
  box-shadow: 0 14px 32px rgba(50, 84, 243, 0.14);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--brand-ink);
}

.brand-mark::before {
  left: -2px;
  top: -2px;
  width: 30px;
  height: 30px;
  border-bottom-right-radius: 100%;
}

.brand-mark::after {
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-top-left-radius: 100%;
}

.avatar {
  background: linear-gradient(135deg, var(--accent), #7b9cff);
  color: white;
  font-weight: 800;
}

.topnav,
.top-actions,
.hero-actions,
.hero-points,
.action-row,
.inline-actions,
.field-grid,
.auth-tabs,
.preset-pills,
.effect-meta,
.section-row,
.header-actions,
.quick-actions {
  display: flex;
  gap: 12px;
}

.topnav {
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 14px;
}

.nav-link,
.sidebar-link,
.ghost-link,
.quick-card,
.profile-summary,
.profile-menu button {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--nav-ink);
  font-weight: 800;
  font-size: 1.05rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.ghost-link:hover {
  color: var(--text);
}

.nav-link:hover {
  background: rgba(79, 114, 255, 0.08);
}

.nav-link.nav-link-editor {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 16px 32px rgba(50, 84, 243, 0.2);
}

.nav-button,
.button,
.status-pill,
.preset-pill,
.auth-tab {
  border-radius: 999px;
}

.nav-button,
.button,
.quick-card,
.upload-dropzone,
.feature-card,
.workflow-card,
.feature-card,
.hero-panel,
.contact-card,
.control-panel,
.preview-panel,
.stat-card,
.stack-card,
.project-card,
.settings-card,
.modal-card,
.home-card,
.testimonial-card,
.showcase-tile,
.newsletter-card,
.contact-banner,
.contact-form-card,
.dashboard-hero-card,
.workflow-board-main,
.workflow-board-side,
.quick-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-button,
.button {
  border: 1px solid transparent;
  padding: 12px 16px;
  cursor: pointer;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
}

.nav-button.primary,
.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 18px 34px rgba(50, 84, 243, 0.22);
}

.nav-button.secondary,
.button.secondary {
  background: var(--button-secondary-bg);
  color: var(--text);
  border-color: var(--line);
}

.icon-chip {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--icon-muted);
  font-size: 1.45rem;
}

.button:hover,
.nav-button:hover,
.quick-card:hover,
.upload-dropzone:hover,
.feature-card:hover,
.workflow-card:hover,
.hero-panel:hover,
.project-card:hover {
  transform: translate3d(var(--tx, 0), calc(var(--ty, 0) - 2px), 0);
}

.button.full-width {
  width: 100%;
}

.route-view {
  animation: reveal 520ms ease;
}

.hero {
  display: grid;
  place-items: center;
  min-height: auto;
  padding: 10px 0 12px;
  text-align: center;
  background: transparent;
}

.eyebrow,
.hero-panel span,
.feature-card span,
.workflow-card span,
.stat-card span,
.meta-card span,
.dropzone-title,
.sidebar-brand div span,
.profile-text small {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.hero-panel span,
.stat-card span,
.meta-card span,
.dropzone-copy,
.lead,
.hero-point span,
.feature-card p,
.workflow-card p,
.contact-card p,
.inline-status,
.sidebar-brand span,
.profile-text small,
.project-meta,
.activity-time {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.05em;
}

.hero-center {
  width: min(1080px, calc(100% - 24px));
  display: grid;
  justify-items: center;
  margin-inline: auto;
  animation: siteFloat 4.6s ease-in-out infinite;
}

.hero h1 {
  max-width: 11.2ch;
  margin: 14px auto 0;
  font-size: clamp(2.8rem, 6.6vw, 5.3rem);
  line-height: 0.92;
  text-wrap: balance;
}

.lead {
  max-width: 48rem;
  margin-top: 14px;
  line-height: 1.72;
  font-size: 1rem;
}

.accent-text {
  background: linear-gradient(135deg, #3357ff, #63c5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-points {
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-point,
.feature-card,
.workflow-card,
.contact-card,
.control-panel,
.preview-panel,
.stat-card,
.stack-card,
.project-card,
.settings-card,
.meta-card,
.quick-card,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-point {
  min-width: 180px;
  padding: 16px 18px;
}

.hero-point strong {
  display: block;
  margin-bottom: 6px;
}

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

.hero-orb {
  position: absolute;
  inset: 44px 30px 52px 20px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.46)),
    linear-gradient(135deg, rgba(79, 114, 255, 0.14), rgba(98, 197, 255, 0.08));
  overflow: hidden;
}

.hero-orb::before {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.9), transparent 16%),
    linear-gradient(135deg, #0c1122 0%, #3459ff 55%, #54c8ff 100%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-panel {
  position: absolute;
  padding: 20px;
}

.hero-panel-main {
  left: 0;
  bottom: 26px;
  width: 310px;
  animation: float 7s ease-in-out infinite;
}

.hero-panel-main strong {
  display: block;
  margin-top: 8px;
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
}

.hero-panel-main p {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-panel-small {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.hero-panel-top {
  right: 20px;
  top: 6px;
  animation: float 8.5s ease-in-out infinite reverse;
}

.hero-panel-bottom {
  right: 0;
  bottom: 110px;
  animation: float 10s ease-in-out infinite;
}

.content-section {
  padding-top: 44px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.dashboard-header h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
}

.feature-grid,
.workflow-grid,
.stats-grid,
.dashboard-columns,
.project-grid,
.recent-projects {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.workflow-card,
.contact-card,
.meta-card,
.stat-card,
.stack-card,
.project-card,
.settings-card,
.control-panel,
.preview-panel {
  padding: 22px;
}

.workflow-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-strong);
}

.contact-card {
  max-width: 860px;
}

.field-grid {
  flex-wrap: wrap;
}

.field-grid.two-up > label {
  flex: 1 1 260px;
}

label {
  display: grid;
  gap: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  outline: none;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--accent);
}

input[type="color"] {
  padding: 4px;
  min-height: 48px;
}

.inline-actions {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.dashboard-view,
.editor-view {
  padding-top: 30px;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.dashboard-sidebar {
  min-height: calc(100vh - 130px);
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  box-shadow: var(--shadow);
}

.sidebar-brand {
  margin-bottom: 24px;
}

.sidebar-brand strong {
  display: block;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.sidebar-link.is-active,
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.profile-chip {
  position: relative;
  margin-top: auto;
  padding-top: 22px;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
}

.profile-summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--sidebar-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.profile-text {
  display: grid;
}

.profile-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--sidebar-line);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.95);
}

.profile-menu button {
  padding: 10px 12px;
  border-radius: 12px;
  color: white;
}

.profile-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-content {
  display: grid;
}

.dashboard-panel {
  display: grid;
  gap: 18px;
}

.dashboard-header,
.preview-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header.compact h2 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.quick-actions {
  flex-wrap: wrap;
}

.quick-card {
  flex: 1 1 220px;
  padding: 18px;
}

.quick-card strong {
  display: block;
  margin-bottom: 8px;
}

.dashboard-columns {
  grid-template-columns: 1.1fr 0.9fr;
}

.section-row {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ghost-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.recent-projects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  background: rgba(0, 0, 0, 0.05);
}

.project-info {
  padding-top: 14px;
}

.project-tag {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.62) 100%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay button {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.activity-feed {
  display: grid;
  gap: 12px;
}

.activity-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.activity-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.editor-heading {
  display: grid;
  gap: 18px;
}

.editor-actions {
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.editor-action-button {
  min-width: 260px;
  padding: 18px 22px;
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.editor-action-label {
  display: block;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.editor-action-note {
  display: block;
  font-size: 0.84rem;
  line-height: 1.4;
  color: inherit;
  opacity: 0.74;
}

.button.primary .editor-action-note {
  opacity: 0.86;
}

.editor-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
}

.upload-dropzone {
  display: grid;
  gap: 6px;
  min-height: 156px;
  align-content: center;
  justify-items: center;
  padding: 18px;
  border-radius: 24px;
  border: 2px dashed rgba(79, 114, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.5)),
    linear-gradient(135deg, rgba(79, 114, 255, 0.06), rgba(98, 197, 255, 0.04));
  text-align: center;
  cursor: pointer;
  animation: pulseBorder 2.6s ease-in-out infinite;
}

.upload-dropzone.drag-active {
  border-color: rgba(79, 114, 255, 0.64);
  box-shadow: 0 0 0 6px rgba(79, 114, 255, 0.08);
}

.upload-dropzone input {
  display: none;
}

.control-group {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.preset-pills {
  flex-wrap: wrap;
}

.preset-pill {
  appearance: none;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.preset-pill.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: white;
}

.status-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

canvas {
  display: block;
  width: 100%;
  margin: 18px 0;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(79, 114, 255, 0.06), rgba(98, 197, 255, 0.03)),
    var(--canvas-bg);
}

.effect-meta {
  flex-wrap: wrap;
}

.meta-card {
  flex: 1 1 260px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 11, 0.54);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 24px));
  margin: 8vh auto 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: var(--modal-bg);
  backdrop-filter: blur(24px);
  animation: modalIn 240ms ease;
}

.modal-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.icon-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
}

.auth-tab {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.auth-tab.is-active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.tilt-hover {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    translate3d(var(--tx, 0), var(--ty, 0), 0);
  transform-style: preserve-3d;
}

.tilt-hover::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 255, 255, 0.3), transparent 40%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.tilt-hover:hover::after {
  opacity: 1;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.auth-status {
  margin-top: 12px;
}

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

.reveal {
  animation: reveal 700ms ease both;
}

.reveal-delay {
  animation-delay: 120ms;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes pulseBorder {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 114, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(79, 114, 255, 0.04);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes siteFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1140px) {
  .workspace-shell,
  .editor-grid,
  .dashboard-columns {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow-grid,
  .stats-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-sidebar {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: calc(100% - 16px);
  }

  .topbar,
  .topnav,
  .top-actions,
  .editor-heading,
  .dashboard-header,
  .preview-topbar {
    flex-wrap: wrap;
  }

  .topnav,
  .top-actions {
    width: 100%;
  }

  .topnav.is-collapsed {
    display: none;
  }

  .topnav {
    order: 3;
  }

  .nav-link,
  .top-actions .nav-button {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1,
  .section-heading h2,
  .dashboard-header h2 {
    max-width: none;
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  .feature-grid,
  .workflow-grid,
  .stats-grid,
  .project-grid,
  .recent-projects {
    grid-template-columns: 1fr;
  }

  .promo-strip p {
    font-size: 0.95rem;
  }

  .topbar {
    border-radius: 20px;
  }
}
.hero-eyebrow {
  margin-top: 18px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(72, 98, 245, 0.16);
  background: linear-gradient(135deg, rgba(84, 100, 255, 0.96), rgba(61, 124, 255, 0.92));
  color: white;
  box-shadow: 0 16px 34px rgba(61, 92, 242, 0.18);
  animation: float 4.4s ease-in-out infinite;
}

.launch-pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  color: var(--nav-ink);
  font-weight: 800;
}

.highlight-word {
  display: inline-block;
  padding: 0 14px 6px;
  background:
    linear-gradient(135deg, rgba(77, 124, 255, 0.15), rgba(98, 197, 255, 0.22)),
    repeating-linear-gradient(
      135deg,
      rgba(100, 138, 255, 0.15) 0,
      rgba(100, 138, 255, 0.15) 2px,
      transparent 2px,
      transparent 10px
    );
  color: #4c78ff;
}

.hero-lead {
  max-width: 54rem;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: balance;
}

.hero-actions.centered {
  justify-content: center;
}

.trust-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.trust-row p {
  font-size: 0.98rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span {
  width: 54px;
  height: 54px;
  margin-left: -8px;
  border-radius: 10px;
  border: var(--trust-border);
  background: var(--trust-a);
  box-shadow: var(--shadow);
}

.avatar-stack span:nth-child(2) {
  background: var(--trust-b);
}

.avatar-stack span:nth-child(3) {
  background: var(--trust-c);
}

.avatar-stack span:nth-child(4) {
  background: var(--trust-d);
}

.moving-blocks {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 14px 0 8px;
}

.moving-blocks::before,
.moving-blocks::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}

.moving-blocks::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.moving-blocks::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.blocks-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 16s linear infinite;
}

.blocks-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--button-secondary-bg);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.blocks-track span:nth-child(3n) {
  background: linear-gradient(135deg, #5070ff, #3557f1);
  color: white;
}

.blocks-track span:nth-child(4n) {
  transform: translateY(8px);
}

.blocks-track span:nth-child(5n) {
  transform: translateY(-8px);
}

.hero-visual,
.hero-points {
  display: none;
}

.landing-view {
  display: grid;
  gap: 0;
}

.homepage-grid-shell,
.testimonial-section,
.showcase-strip,
.contact-section,
.workflow-board {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-top: 16px;
  animation: siteFloat 5s ease-in-out infinite;
}

.homepage-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 16px;
  width: 100%;
}

.home-card,
.testimonial-card,
.showcase-tile,
.newsletter-card,
.contact-banner {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.home-card {
  padding: 24px;
  backdrop-filter: blur(18px);
}

.home-input-card,
.home-actions-card,
.home-upload-card {
  min-height: 200px;
}

.home-statement-card {
  min-height: 460px;
  display: flex;
  align-items: end;
}

.statement-copy {
  display: grid;
  gap: 16px;
  max-width: 42rem;
}

.home-statement-card h2 {
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: 0.92;
  text-wrap: balance;
}

.statement-note {
  max-width: 38rem;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.panel-title {
  margin-bottom: 14px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mock-input {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--button-secondary-bg);
  font-weight: 700;
}

.mock-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(79, 114, 255, 0.08);
  color: var(--accent);
  font-size: 1.4rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-row + .pill-row {
  margin-top: 18px;
}

.showcase-pill {
  padding: 18px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--button-secondary-bg);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.showcase-pill.strong {
  box-shadow: 10px 10px 0 var(--accent-strong);
}

.showcase-pill.filled {
  background: linear-gradient(135deg, #5070ff, #4c8dff);
  color: white;
  box-shadow: 0 18px 34px rgba(58, 92, 242, 0.24);
}

.showcase-pill.outline {
  border: 2px solid #5f73ff;
}

.showcase-pill.dot::before {
  content: "•";
  margin-right: 10px;
}

.showcase-upload {
  width: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 4px;
  border-radius: 20px;
  border: 3px dashed rgba(120, 128, 147, 0.62);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  text-align: center;
}

.home-upload-card {
  min-height: 460px;
  display: grid;
  gap: 18px;
  align-content: center;
}

.showcase-upload strong {
  font-size: 1.6rem;
}

.showcase-upload span,
.showcase-upload small,
.testimonial-card p {
  color: var(--muted);
}

.upload-footnote {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.upload-footnote span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.testimonial-strip,
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-section {
  display: grid;
  gap: 16px;
}

.testimonial-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.testimonial-header h2 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 0.98;
  text-wrap: balance;
}

.testimonial-summary {
  max-width: 320px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(79, 114, 255, 0.08), rgba(98, 197, 255, 0.05)),
    var(--panel);
  box-shadow: var(--shadow);
}

.testimonial-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.testimonial-card {
  min-height: 238px;
  padding: 22px 24px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    var(--panel);
}

.testimonial-card.featured {
  background:
    linear-gradient(135deg, rgba(79, 114, 255, 0.14), rgba(98, 197, 255, 0.08)),
    var(--panel);
}

.review-rating {
  color: #f5c44c;
  letter-spacing: 0.2em;
  font-size: 0.92rem;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-head div {
  display: grid;
  gap: 2px;
}

.testimonial-head div span {
  color: var(--muted);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9dce7, #fafcff);
  font-weight: 800;
}

.testimonial-avatar.active {
  background: linear-gradient(135deg, #4a7dff, #78d0ff);
  color: white;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  font-size: 0.8rem;
  font-weight: 800;
}

.showcase-tile {
  position: relative;
  min-height: 450px;
  padding: 24px;
  overflow: hidden;
}

.showcase-image {
  position: absolute;
  inset: 26px 18px 98px;
  width: calc(100% - 36px);
  height: calc(100% - 124px);
  object-fit: cover;
  pointer-events: none;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 0;
  animation: float 4.8s ease-in-out infinite;
}

.showcase-tile:nth-child(2) .showcase-image {
  animation-delay: -3s;
}

.showcase-tile:nth-child(3) .showcase-image {
  animation-delay: -5s;
}

.showcase-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(
      0deg,
      rgba(120, 128, 147, 0.12) 0,
      rgba(120, 128, 147, 0.12) 1px,
      transparent 1px,
      transparent 92px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(120, 128, 147, 0.12) 0,
      rgba(120, 128, 147, 0.12) 1px,
      transparent 1px,
      transparent 92px
    );
}

.showcase-tile h3 {
  position: absolute;
  left: 32px;
  bottom: 26px;
  z-index: 2;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.showcase-tile.feature-blue {
  background: linear-gradient(180deg, rgba(94, 124, 255, 0.02), rgba(94, 124, 255, 0.18)), var(--panel);
}

.showcase-tile.feature-blue h3 {
  color: #4280ff;
}

.showcase-tile.feature-green {
  background: linear-gradient(180deg, rgba(78, 255, 136, 0.02), rgba(78, 255, 136, 0.16)), var(--panel);
}

.showcase-tile.feature-green h3 {
  color: #0bcf46;
}

.contact-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
}

.contact-banner-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-banner-avatar {
  position: relative;
  width: 96px;
  height: 72px;
}

.contact-banner-avatar::before,
.contact-banner-avatar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.contact-banner-avatar::before {
  left: 0;
  top: 6px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #3f6dff, #6fd2ff);
}

.contact-banner-avatar::after {
  right: 4px;
  top: 12px;
  width: 60px;
  height: 60px;
  border: 2px solid #6f93ff;
  background: var(--panel);
}

.contact-banner-avatar span {
  position: absolute;
  right: 18px;
  top: 30px;
  z-index: 1;
  font-weight: 800;
  color: #4a7dff;
}

.contact-banner-head strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.contact-banner-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-banner-actions {
  display: flex;
  gap: 14px;
}

.workflow-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.workflow-board-main,
.workflow-board-side,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.workflow-board-main,
.workflow-board-side {
  padding: 28px;
}

.workflow-board-main {
  background:
    linear-gradient(135deg, rgba(79, 114, 255, 0.08), rgba(98, 197, 255, 0.05)),
    var(--panel);
}

.workflow-board-main h2 {
  max-width: 14ch;
  margin-top: 10px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.96;
}

.workflow-chip-row,
.workflow-meter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.workflow-chip-row {
  margin-top: 24px;
}

.workflow-chip-row span,
.workflow-meter {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.workflow-chip-row span {
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.workflow-meter-row {
  margin-top: 22px;
}

.workflow-meter {
  flex: 1 1 180px;
  padding: 18px;
  border-radius: 18px;
}

.workflow-meter strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.workflow-meter span,
.workflow-line-list span {
  color: var(--muted);
}

.workflow-line-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.workflow-line-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.workflow-line-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.workflow-line-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.contact-form-card {
  margin-top: 22px;
  padding: 24px;
}

.contact-form-card .field-grid {
  margin-bottom: 18px;
}

.contact-form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.inline-status {
  min-height: 1.4em;
}

.newsletter-card {
  margin-top: 28px;
  padding: 60px 24px;
  text-align: center;
}

.newsletter-card h2 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -0.05em;
}

.newsletter-form {
  width: min(950px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 120px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.newsletter-input-wrap input {
  height: 100%;
  padding: 24px 28px;
  border: 0;
  border-radius: 0;
}

.newsletter-submit {
  border: 0;
  background: rgba(0, 0, 0, 0.04);
  font-size: 3rem;
  cursor: pointer;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.dashboard-content {
  gap: 18px;
}

.dashboard-sidebar {
  position: sticky;
  top: 102px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-hero-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(79, 114, 255, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(79, 114, 255, 0.05), rgba(98, 197, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.dashboard-hero-card h3 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.dashboard-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-hero-metrics div {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.dashboard-hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.dashboard-header {
  align-items: center;
}

.stats-grid .stat-card,
.stack-card,
.quick-card,
.project-card {
  background: var(--panel);
}

.stat-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(79, 114, 255, 0.14), transparent 32%),
    var(--panel);
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 1px;
  background: var(--line);
}

.quick-card,
.stack-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.quick-card {
  background:
    linear-gradient(135deg, rgba(79, 114, 255, 0.05), rgba(98, 197, 255, 0.03)),
    var(--panel);
}

.stack-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel);
}

.activity-row strong,
.project-info h4 {
  letter-spacing: -0.03em;
}

.activity-row {
  display: grid;
  gap: 4px;
}

.dashboard-panel,
.editor-grid {
  animation: siteFloat 5.2s ease-in-out infinite;
}

@media (max-width: 1140px) {
  .homepage-grid,
  .testimonial-header,
  .testimonial-strip,
  .showcase-strip,
  .workflow-board,
  .dashboard-hero-metrics {
    grid-template-columns: 1fr;
  }

  .testimonial-header {
    display: grid;
  }
}

@media (max-width: 760px) {
  .contact-banner,
  .contact-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .testimonial-summary {
    max-width: none;
  }

  .home-statement-card h2 {
    transform: none;
    font-size: clamp(3rem, 14vw, 5rem);
  }
}

@media (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}
