/* =========================================================
   1. RESET / BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --glow-soft:
    0 0 40px rgba(75,163,255,0.08);
  --glow-strong:
    0 0 80px rgba(75,163,255,0.12);
  --accent-primary: #4ba3ff;    
  --bg-primary: #070b11;
  --bg-secondary: #0d141d;
  --bg-card: rgba(20, 30, 44, 0.72);

  --border-color: rgba(120, 160, 210, 0.18);

  --text-primary: #f4f7fb;
  --text-secondary: #9ca9bb;

  --accent-primary: #4ba3ff;
  --accent-secondary: #79c7ff;

  --shadow-soft:
    0 10px 30px rgba(0, 0, 0, 0.35);

  --radius-large: 24px;
  --radius-medium: 16px;
  --radius-small: 10px;

  --content-width: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background:
    radial-gradient(
      circle at top,
      rgba(75, 163, 255, 0.12),
      transparent 22%
    ),

    radial-gradient(
      circle at 80% 20%,
      rgba(46, 96, 180, 0.08),
      transparent 28%
    ),

    linear-gradient(
      to bottom,
      #04070c,
      #09111a 35%,
      #05080d 100%
    );

  color: var(--text-primary);

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    sans-serif;

  line-height: 1.6;

  min-height: 100vh;

  overflow-x: hidden;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.015) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 1px,
      transparent 1px
    );

  background-size: 72px 72px;

  mask-image:
    radial-gradient(
      circle at center,
      black,
      transparent 85%
    );

  opacity: 0.22;

  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   2. LAYOUT
========================================================= */

.section {
  width: 100%;
  max-width: var(--content-width);

  margin: 0 auto;

  padding:
    120px 24px;
}

.eyebrow {
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin-top: 0;
}

h1 {
  text-shadow:
    0 0 30px rgba(75,163,255,0.08);
  font-size: clamp(3.2rem, 6vw, 5.8rem);

  line-height: 0.96;

  letter-spacing: -0.045em;

  max-width: 920px;

  margin-bottom: 28px;

  text-wrap: balance;
}

h2 {
  text-shadow:
    0 0 24px rgba(75,163,255,0.05);
  font-size: clamp(2.2rem, 4vw, 3.2rem);

  line-height: 1.02;

  letter-spacing: -0.035em;

  margin-bottom: 22px;

  max-width: 760px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

p {
  margin-top: 0;

  color: rgba(214,224,238,0.68);
}

/* =========================================================
   3. HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 18px 24px;

  backdrop-filter: blur(16px);

  background: rgba(5, 8, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      var(--accent-primary),
      #2157a8
    );

  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.top-nav {
  display: flex;
  gap: 26px;
}

.top-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: var(--text-primary);
}

/* =========================================================
   4. HERO
========================================================= */

.hero {
  display: grid;

  gap: 72px;

  align-items: center;

  min-height: calc(100vh - 90px);

  padding-top: 140px;
  padding-bottom: 140px;
}

.hero-subtitle {
  max-width: 760px;

  font-size: 1.12rem;

  line-height: 1.8;

  color: rgba(220,230,245,0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-panel {
  width: 100%;
}

.mock-window {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(18, 29, 44, 0.96),
      rgba(7, 12, 20, 0.98)
    );

  border: 1px solid rgba(130, 180, 255, 0.18);
  border-radius: var(--radius-large);

  overflow: hidden;

  box-shadow:
    
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(75, 163, 255, 0.08),
    var(--glow-soft);
}

.mock-window::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.08),
      transparent 32%
    );

  opacity: 0.35;
}

.mock-window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.mock-preview {
  position: relative;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(75, 163, 255, 0.08),
      transparent 48%
    ),
    #05090f;
}

.mock-preview img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: center center;
  margin: auto;
  display: block;
  background: #05090f;
}

.mock-depth {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center, rgba(75, 163, 255, 0.18), transparent 40%),
    linear-gradient(135deg, #0f1824, #1d334d);
}

.mock-mesh {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);

  background-size: 36px 36px;
  opacity: 0.45;
}

.mock-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px;
}

.mock-chip {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);

  border-radius: 999px;

  padding: 10px 16px;

  color: var(--text-secondary);

  font-size: 0.82rem;
  font-weight: 500;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.mock-chip:hover {
  transform: translateY(-1px);

  border-color: rgba(120, 180, 255, 0.22);

  color: var(--text-primary);
}

.mock-chip.is-active {
  background:
    linear-gradient(
      135deg,
      rgba(75, 163, 255, 0.22),
      rgba(31, 88, 172, 0.28)
    );

  border-color: rgba(120, 180, 255, 0.35);

  color: white;
}

/* =========================================================
   5. BUTTONS
========================================================= */

.button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: 0 24px;

  border-radius: 999px;

  border: 1px solid transparent;

  font-size: 0.95rem;
  font-weight: 600;

  overflow: hidden;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.button::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.18),
      transparent 40%
    );

  opacity: 0.35;

  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      #4ba3ff,
      #245fc2
    );

  color: white;

  box-shadow:
    0 10px 30px rgba(43, 122, 255, 0.28);
}

.button-primary:hover {
  box-shadow:
    0 14px 40px rgba(43, 122, 255, 0.36);
}

.button-secondary {
  border-color: rgba(255,255,255,0.12);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  color: rgba(235,240,248,0.92);
}

.button-secondary:hover {
  border-color: rgba(120,180,255,0.24);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.28);
}

.button-ghost {
  color: rgba(214,224,238,0.72);
}

.button-ghost:hover {
  color: white;
}

/* =========================================================
   6. COMPARISON
========================================================= */

.split-section {
  display: grid;
  gap: 42px;
}

.comparison-grid {
  display: grid;
  gap: 24px;
}

.comparison-card {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(22, 34, 50, 0.92),
      rgba(10, 16, 24, 0.97)
    );

  border: 1px solid rgba(120,170,255,0.12);

  border-radius: var(--radius-large);

  padding: 22px;

  overflow: hidden;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.3);
}

.comparison-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.06),
      transparent 38%
    );

  opacity: 0.24;

  pointer-events: none;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 260px;

  border-radius: var(--radius-medium);

  background:
    linear-gradient(
      135deg,
      rgba(37, 64, 98, 0.7),
      rgba(12, 19, 28, 0.9)
    );

  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.comparison-image-wrap {
  position: relative;
  overflow: hidden;

  aspect-ratio: 16 / 10;

  border-radius: var(--radius-medium);

  background: #05090f;

  margin-bottom: 20px;
}

.comparison-image-wrap img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  transform: scale(1.25);
  transform-origin: center center;
}

/* =========================================================
   7. FEATURES
========================================================= */

.feature-grid {
  display: grid;
  gap: 22px;
}

.feature-card {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(22, 34, 50, 0.9),
      rgba(10, 16, 24, 0.95)
    );

  border: 1px solid rgba(120, 170, 255, 0.12);

  border-radius: var(--radius-large);

  padding: 28px;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.06),
      transparent 38%
    );

  opacity: 0.28;

  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);

  border-color: rgba(120, 180, 255, 0.22);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 0 40px rgba(75,163,255,0.06);
}

/* =========================================================
   8. TABLE
========================================================= */

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;

  background: rgba(10, 16, 24, 0.82);

  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.32);
}

thead {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    );
}

th,
td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

th {
  color: white;

  font-weight: 700;

  letter-spacing: -0.02em;
}

td {
  color: var(--text-secondary);
}

/* =========================================================
   9. SCREENSHOTS
========================================================= */

.screenshot-grid {
  display: grid;

  gap: 34px;

  margin-top: 54px;
}

.screenshot-card {
  position: relative;

  overflow: hidden;

  border-radius: var(--radius-large);

  border: 1px solid rgba(120, 170, 255, 0.14);

  background:
    linear-gradient(
      145deg,
      rgba(20, 31, 46, 0.96),
      rgba(8, 13, 20, 0.98)
    );

  box-shadow:
    0 18px 50px rgba(0,0,0,0.32);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.screenshot-card:hover {
  transform: translateY(-5px);

  border-color: rgba(120, 180, 255, 0.22);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.36),
    0 0 50px rgba(75,163,255,0.08);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;

  object-fit: contain;
  object-position: center center;
  background: #05090f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.screenshot-card h3 {
  margin: 0;
  padding: 18px 20px 20px;
}

/* =========================================================
   10. WORKFLOW
========================================================= */

.workflow-list {
  list-style: none;

  padding: 0;

  margin: 48px 0 0;

  display: grid;

  gap: 24px;
}

.workflow-list li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);

  padding: 24px;
}

.workflow-list span {
  display: inline-block;
  margin-bottom: 16px;

  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 0.92rem;
}

/* =========================================================
   11. DOWNLOAD
========================================================= */

.download-section {
  display: grid;
  gap: 28px;
}

.download-card {
  background:
    linear-gradient(
      145deg,
      rgba(20, 32, 48, 0.95),
      rgba(9, 14, 22, 0.98)
    );

  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);

  padding: 32px;

  box-shadow: var(--shadow-soft);
}

.download-card .button {
  width: 100%;
  margin-top: 14px;
}

/* =========================================================
   12. FOOTER
========================================================= */

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 18px;

  padding: 40px 24px 60px;

  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  border-top:
    1px solid rgba(255,255,255,0.06);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer nav a {
  color: var(--text-secondary);
}

/* =========================================================
   13. RESPONSIVE
========================================================= */

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .download-section {
    grid-template-columns: 1fr 420px;
    align-items: center;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  h1 {
    font-size: 2.8rem;
  }
}
