
:root {
  color-scheme: light;
  --bg: #faf9ff;
  --surface: #ffffff;
  --text: #1c1930;
  --muted: #77748c;
  --border: #e9e5f5;
  --primary: #7057ed;
  --accent: #b35bea;
  --soft: #f1edff;
  --shadow: 0 25px 80px rgba(62, 42, 125, 0.12);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #100f1b;
  --surface: #1b1929;
  --text: #f7f4ff;
  --muted: #aaa5c1;
  --border: #343047;
  --primary: #a395ff;
  --accent: #d28bff;
  --soft: #27223d;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 15% 8%, rgba(153, 110, 255, 0.11), transparent 35%),
    radial-gradient(ellipse at 90% 37%, rgba(35, 201, 180, 0.07), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background-color 220ms ease, color 220ms ease;
}

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

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #27bba8;
  outline-offset: 4px;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.23;
  pointer-events: none;
  animation: float 12s ease-in-out infinite alternate;
}

.ambient-a {
  top: 200px;
  left: -220px;
  background: #a46aff;
}

.ambient-b {
  top: 900px;
  right: -220px;
  background: #28cbb7;
  animation-delay: -5s;
}

@keyframes float {
  to {
    transform: translate(30px, 35px) scale(1.12);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient-flow {
  to {
    background-position: 200% center;
  }
}

/* Navigation */

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 48px));
  margin: auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.8px;
}

.brand-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #7159ef, #c15ae9);
  box-shadow: 0 7px 20px rgba(112, 87, 237, 0.28);
  color: white;
  font-size: 1.15rem;
  font-weight: 900;
  transform: rotate(-4deg);
  transition: transform 220ms ease;
}

.brand:hover .brand-icon {
  transform: rotate(5deg);
}

.brand-accent {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}

.nav-about {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.nav-about:hover {
  color: var(--primary);
}

.theme-toggle {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}

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

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

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

.button-small {
  padding: 10px 15px;
  font-size: 0.85rem;
}

.button-large {
  min-height: 53px;
  padding: 14px 22px;
  font-size: 0.94rem;
}

.button-primary {
  background: linear-gradient(110deg, #7057ed, #a94fe1);
  box-shadow: 0 9px 23px rgba(112, 87, 237, 0.23);
  color: white;
}

.button-primary:hover {
  box-shadow: 0 13px 30px rgba(112, 87, 237, 0.35);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--primary);
}

.button-white {
  background: white;
  box-shadow: 0 10px 25px rgba(35, 21, 86, 0.18);
  color: #5237c5;
}

/* Hero */

.hero {
  width: min(970px, calc(100% - 36px));
  margin: auto;
  padding: 77px 0 0;
  text-align: center;
  animation: enter 650ms ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 5px 22px rgba(62, 42, 125, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.live-dot,
.window-status span {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #21c69e;
  box-shadow: 0 0 12px rgba(33, 198, 158, 0.45);
}

.hero h1 {
  margin: 25px 0 19px;
  font-size: clamp(3.4rem, 8.5vw, 6.6rem);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 0.99;
}

.gradient-text {
  color: var(--primary);
  background: linear-gradient(100deg, #7057ed, #c154e8, #24bfae, #7057ed);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 8s linear infinite;
}

.hero-description {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
}

.check {
  margin-right: 4px;
  color: #16a98d;
  font-weight: 900;
}

/* Product preview */

.product-window {
  margin: 65px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  transform-origin: center;
  animation: enter 800ms 150ms ease both;
}

.window-top {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f28a92;
}

.window-dots span:nth-child(2) {
  background: #edc16a;
}

.window-dots span:nth-child(3) {
  background: #5bcba1;
}

.window-label {
  color: var(--muted);
  font-size: 0.75rem;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.73rem;
}

.mock-workspace {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  min-height: 350px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 23px 15px;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, var(--soft));
}

.mock-logo {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7057ed, #bc58e7);
  color: white;
  font-weight: 900;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.mock-nav span {
  font-size: 1rem;
}

.mock-nav.active {
  background: var(--soft);
  color: var(--primary);
  font-weight: 750;
}

.mock-private {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.mock-private > span {
  font-size: 1.1rem;
}

.mock-private strong {
  font-size: 0.76rem;
}

.mock-private small {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.5;
}

.mock-main {
  min-width: 0;
  padding: 28px;
}

.mock-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.mock-kicker {
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 1.4px;
}

.mock-heading h2 {
  margin: 5px 0;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  letter-spacing: -0.8px;
}

.mock-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.mock-badge {
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 750;
}

.mock-upload {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px dashed rgba(112, 87, 237, 0.45);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--soft), var(--surface));
  text-align: center;
}

.mock-upload-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7057ed, #bd58e8);
  box-shadow: 0 6px 17px rgba(112, 87, 237, 0.2);
  color: white;
  font-size: 1.5rem;
}

.mock-upload strong {
  font-size: 0.85rem;
}

.mock-upload > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
}

.mock-upload .mock-file-types {
  margin-top: 12px;
  color: var(--primary);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.mock-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mock-settings > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.mock-settings span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.5px;
}

.mock-settings strong {
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.mock-settings .local-status {
  color: #16a98d;
}

.window-caption {
  padding: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

/* Benefit cards */

.section-wrap {
  width: min(1040px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.benefit-card {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.benefit-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 13px;
  font-size: 1.35rem;
  font-weight: 800;
}

.benefit-icon.purple {
  background: rgba(112, 87, 237, 0.12);
  color: var(--primary);
}

.benefit-icon.teal {
  background: rgba(35, 191, 174, 0.12);
  color: #13a896;
}

.benefit-icon.pink {
  background: rgba(193, 84, 232, 0.12);
  color: #b44bd6;
}

.benefit-card h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

/* Story section */

.story {
  padding-top: 120px;
  padding-bottom: 105px;
}

.story-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 1.8px;
}

.story-line {
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 65px;
  margin-top: 20px;
}

.story-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -2px;
  line-height: 1.14;
}

.story-copy p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.story-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(115deg, var(--soft), var(--surface));
}

.note-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #7057ed, #bc58e8);
  color: white;
}

.story-note strong {
  font-size: 0.91rem;
}

.story-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

/* Final call to action */

.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 66px 24px;
  border-radius: 27px;
  background: linear-gradient(120deg, #6047df, #9352e7 58%, #6757e8);
  color: white;
  text-align: center;
}

.cta-glow {
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(55px);
}

.cta-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0.85;
}

.cta-section h2 {
  margin: 13px 0 10px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -1.8px;
  line-height: 1.15;
}

.cta-section p {
  max-width: 510px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.8;
}

.cta-section .button {
  margin-top: 25px;
}

/* Creator and footer */

.creator {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 75px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.creator-avatar {
  display: grid;
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #7057ed, #bd58e8);
  box-shadow: 0 8px 20px rgba(112, 87, 237, 0.2);
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
}

.creator-label {
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.creator h3 {
  margin: 3px 0;
  font-size: 1.1rem;
}

.creator p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.creator-sparkle {
  margin-left: auto;
  color: var(--primary);
  font-size: 1.7rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px max(24px, calc((100% - 1040px) / 2)) 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-brand {
  color: var(--text);
  font-size: 1rem;
}

.footer-brand .brand-icon {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

/* Mobile and accessibility */

@media (max-width: 720px) {
  .topbar {
    width: calc(100% - 28px);
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-about {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    letter-spacing: -2.8px;
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .product-window {
    margin-top: 43px;
  }

  .mock-workspace {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-main {
    padding: 20px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 18px;
  }

  .benefit-icon {
    margin-bottom: 10px;
  }

  .story {
    padding-top: 85px;
    padding-bottom: 75px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-section {
    padding: 48px 22px;
    margin-bottom: 55px;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }

  .creator {
    align-items: flex-start;
  }
}

@media (max-width: 440px) {
  .brand {
    gap: 7px;
    font-size: 1.08rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .button-small {
    padding: 9px 10px;
    font-size: 0.77rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    gap: 9px 14px;
    font-size: 0.72rem;
  }

  .window-label {
    font-size: 0.66rem;
  }

  .window-top {
    padding: 10px;
  }

  .window-status {
    font-size: 0.66rem;
  }

  .mock-heading {
    flex-direction: column;
  }

  .mock-settings {
    grid-template-columns: 1fr;
  }

  .creator {
    padding: 18px;
    gap: 12px;
  }

  .creator-avatar {
    width: 43px;
    height: 43px;
  }

  .creator-sparkle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
