:root {
  color-scheme: dark;
  --bg: #080a0f;
  --panel: #0f131c;
  --panel-strong: #141a26;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --dim: #4b5563;
  --accent: #ff6b00;
  --accent-rgb: 255, 107, 0;
  --accent-warm: #ec8e2e;
  --success: #3fb950;
  --warn: #d29922;
  --radius: 8px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-heading: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  transition: all 0.2s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

/* Promo Banner */
.promo-banner {
  background: var(--accent);
  color: #080a0f;
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  letter-spacing: 0.02em;
}

.promo-banner a {
  color: #080a0f;
  text-decoration: underline;
}

.soul-shell {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.brand {
  font-family: var(--font-heading);
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.buy-button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.buy-button:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.06);
}

/* Hero Section */
.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-kicker {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.hero-buy {
  background: var(--accent);
  color: #080a0f;
  border: none;
  padding: 0 24px;
  min-height: 44px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

.hero-buy:hover {
  background: #ff8524;
  color: #080a0f;
  transform: translateY(-1px);
}

.scroll-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px dashed rgba(255,255,255,0.3);
  padding-bottom: 2px;
}

.scroll-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.hero-mockup-wrapper {
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-mockup-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Integrations Section */
.integration-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 96px;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-head span {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* DAW Cards Grid */
.daws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.daw-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}

.daw-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.01);
  transform: translateY(-2px);
}

.daw-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.daw-card-header div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.daw-card-header h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.daw-badge-coming {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.daw-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  flex-grow: 1;
}

.daw-quote {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

.daw-quote span {
  display: block;
  font-size: 13px;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  position: relative;
  padding-left: 14px;
}

.daw-quote span::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 20px;
  color: var(--accent);
  font-family: var(--font-heading);
}

/* Purchase Section (Embedded Commerce page) */
.commerce-section {
  border-top: 1px solid var(--line);
  padding-top: 64px;
  margin-bottom: 64px;
}

.commerce-card-centered {
  max-width: 580px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.commerce-head-direct {
  margin-bottom: 8px;
}

.commerce-head-direct span {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.commerce-head-direct h2 {
  margin: 6px 0 8px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 850;
}

.commerce-head-direct p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.plan-switch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.single-plan strong {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
}

.single-plan small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.plan-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-option:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.plan-option.active {
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.04);
}

.plan-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.plan-option strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.original-price {
  font-size: 14px;
  text-decoration: line-through;
  color: var(--dim);
  margin-left: 6px;
  font-weight: 500;
}

.plan-option small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.primary-checkout {
  min-height: 46px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: #080a0f;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

.primary-checkout:hover {
  background: #ff8524;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
  transform: translateY(-1px);
}

.license-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.license-entry label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.license-input-group {
  display: flex;
  gap: 10px;
}

.license-input-group input {
  flex: 1;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
}

.license-input-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.license-input-group button {
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.license-input-group button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.billing-status {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--accent-warm);
}

.manage-portal-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
}

.manage-portal-wrap span {
  color: var(--muted);
}

.manage-portal-wrap a {
  color: var(--accent);
  font-weight: 600;
}

.manage-portal-wrap a:hover {
  text-decoration: underline;
}

/* Logos & Badges */
.logo-badge {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background:
    var(--logo-img) center / 70% 70% no-repeat,
    linear-gradient(180deg, var(--logo-a), var(--logo-b));
}

.logo-large {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.logo-pro-tools { --logo-a: #4ea9ff; --logo-b: #163f82; --logo-img: url("assets/logos/pro-tools.png"); }
.logo-studio-one { --logo-a: #2ea7ff; --logo-b: #1e4fa5; --logo-img: url("assets/logos/studio-one.png"); }
.logo-ableton { --logo-a: #f2f2f2; --logo-b: #5a5a5a; --logo-img: url("assets/logos/ableton.svg"); }
.logo-fl-studio { --logo-a: #f58a2a; --logo-b: #62b94a; --logo-img: url("assets/logos/fl-studio.png"); }
.logo-reaper { --logo-a: #7fb15d; --logo-b: #b06935; --logo-img: url("assets/logos/reaper.png"); }
.logo-cubase { --logo-a: #2e8fe8; --logo-b: #153f83; --logo-img: url("assets/logos/cubase.png"); }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 32px 0 0;
  margin-top: 64px;
  font-size: 13px;
  color: var(--dim);
}

.footer nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer a {
  color: var(--dim);
}

.footer a:hover {
  color: var(--muted);
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  padding: clamp(26px, 5vw, 52px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page h1,
.legal-page h2 {
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1.15;
}

.legal-page h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
}

.legal-page h2 {
  margin: 30px 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.legal-page p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Responsive Grid Adjustments */
@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-mockup-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .daws-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    margin-bottom: 40px;
  }
  
  .stage {
    margin-bottom: 64px;
  }
}

@media (max-width: 600px) {
  .daws-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .buy-button {
    width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions button,
  .hero-actions a {
    text-align: center;
    width: 100%;
  }
  
  .footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
