:root {
  --bg: #0b0f17;
  --bg-elevated: rgba(20, 27, 42, 0.72);
  --bg-card-strong: rgba(24, 33, 52, 0.88);
  --border: rgba(255, 255, 255, 0.11);
  --border-accent: rgba(52, 176, 255, 0.42);
  --text: #f3f6fc;
  --text-secondary: #a8b5cc;
  --cobalt: #0070dc;
  --cobalt-bright: #34b0ff;
  --indigo: #5e3eeb;
  --indigo-bright: #9678ff;
  --radius: 14px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

.bg-glow {
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.24;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-cobalt {
  top: -160px;
  left: -120px;
  background: var(--cobalt);
}

.bg-glow-indigo {
  top: 220px;
  right: -160px;
  background: var(--indigo);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 15, 23, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  display: block;
}

.brand-wordmark {
  display: block;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-sm {
  padding: 8px 15px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
  padding: 12px 18px;
  margin-top: auto;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--indigo) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 112, 220, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(94, 62, 235, 0.44);
}

.btn-glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.11);
}

#heroDownloadBtn span:last-child {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

#heroDownloadBtn small {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.88;
}

/* CARDS */
.glass-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

/* HERO */
.hero {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d6e9ff;
  background: rgba(0, 112, 220, 0.18);
  border: 1px solid rgba(52, 176, 255, 0.36);
  margin-bottom: 18px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(95deg, var(--cobalt-bright) 0%, var(--indigo-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 1.06rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* SHOWCASE */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-showcase {
  padding: 16px;
}

.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.badge-fronte {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--cobalt);
}

.sheet-stage {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 13, 22, 0.65);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.sheet-back {
  position: absolute;
  width: 244px;
  height: 158px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9678ff, #3b1fb8);
  transform: translate(12px, 6px) rotate(5deg);
  opacity: 0.88;
}

.sheet-front {
  position: relative;
  width: 252px;
  height: 162px;
  border-radius: 10px;
  background: linear-gradient(135deg, #34b0ff 0%, #0070dc 55%, #00489e 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
}

.sheet-cell {
  background: #f5f9ff;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cell-header {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.cell-header.cobalt { background: var(--cobalt); }
.cell-header.indigo { background: var(--indigo); }

.cell-line {
  height: 5px;
  border-radius: 3px;
  background: #c7daf2;
}
.w-80 { width: 80%; }
.w-75 { width: 75%; }
.w-60 { width: 60%; }
.w-50 { width: 50%; }

.cell-block {
  margin-top: auto;
  height: 46px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(0, 112, 220, 0.16), rgba(94, 62, 235, 0.2));
}

.cut-guide {
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.85);
}

.showcase-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.83rem;
}

.showcase-footer strong {
  display: block;
}

.showcase-footer span {
  color: var(--text-secondary);
}

.zoom-tag {
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #dce8ff !important;
  font-weight: 600;
  font-size: 0.76rem;
}

.release-notes-card {
  padding: 14px 16px;
}

.release-notes-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.muted {
  color: var(--text-secondary);
}

.release-notes-pre {
  margin: 0;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
  line-height: 1.45;
}

/* SECTIONS */
.section {
  padding: 58px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.section-head.left {
  text-align: left;
  margin: 0 0 22px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt-bright);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 22px;
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.cobalt-bg {
  background: rgba(0, 112, 220, 0.22);
  border: 1px solid rgba(52, 176, 255, 0.35);
}

.indigo-bg {
  background: rgba(94, 62, 235, 0.24);
  border: 1px solid rgba(150, 120, 255, 0.36);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.price-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  background: var(--bg-card-strong);
  border-color: var(--border-accent);
}

.plan-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.plan-badge.accent {
  background: rgba(0, 112, 220, 0.24);
  color: #d6ecff;
  border: 1px solid rgba(52, 176, 255, 0.4);
}

.price-top h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.price-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-value span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-top p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.93rem;
}

.plan-list code {
  background: rgba(255, 255, 255, 0.09);
  padding: 1px 6px;
  border-radius: 5px;
}

/* REQUIREMENTS TABLE */
.table-wrap {
  overflow-x: auto;
  padding: 8px;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.req-table th, .req-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.req-table th {
  color: #d8e7ff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.req-table tr:last-child td {
  border-bottom: none;
}

/* FEEDBACK FORM */
.feedback-wrap {
  max-width: 760px;
}

.feedback-card {
  padding: 28px;
}

.fb-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #dce6f7;
}

.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(9, 13, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  outline: none;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cobalt-bright);
  box-shadow: 0 0 0 3px rgba(52, 176, 255, 0.16);
}

.fb-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.fb-status {
  font-size: 0.88rem;
  font-weight: 600;
  color: #7dd3fc;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 42px;
  margin-top: 24px;
  background: rgba(8, 11, 18, 0.65);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
}

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

.footer-credits {
  text-align: right;
  font-size: 0.86rem;
}

.footer-credits p {
  margin: 2px 0;
}

.ai-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.ai-credit strong {
  color: var(--cobalt-bright);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .hero-grid, .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .fb-row {
    grid-template-columns: 1fr;
  }
  .footer-credits {
    text-align: left;
  }
}
