* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #07080a;
  --surface: #0d0f14;
  --surface-hover: #14171e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #edf0f5;
  --muted: #8b92a0;
  --accent: #f5c978;
  --accent-soft: rgba(245, 201, 120, 0.12);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.7rem 0;
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1100px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header-icon {
  width: 5.5rem;
  height: auto;
  object-fit: contain;
}

.header-logo span {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

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

.nav-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #0f1216 !important;
  font-weight: 600;
  font-size: 0.83rem;
  transition: opacity 0.2s;
}

.nav-btn:hover {
  opacity: 0.88;
}

.hamburger {
  display: none;
  width: 2.2rem;
  height: 2.2rem;
  position: relative;
  background: transparent;
  margin-left: auto;
  color: var(--text);
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger::before { top: 0.5rem; }

.hamburger span { top: calc(50% - 1px); }

.hamburger::after { bottom: 0.5rem; }

.hamburger[aria-expanded="true"]::before {
  transform: translateY(0.5rem) rotate(45deg);
}

.hamburger[aria-expanded="true"] span {
  opacity: 0;
}

.hamburger[aria-expanded="true"]::after {
  transform: translateY(-0.5rem) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  top: -24rem;
  left: 50%;
  translate: -50% 0;
  width: 70rem;
  height: 70rem;
  background: radial-gradient(circle, rgba(245, 201, 120, 0.07), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  width: min(720px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-logo {
  width: 14rem;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.hero-badges span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.hero-badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 32rem;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--accent);
  color: #0f1216;
  box-shadow: 0 12px 32px rgba(245, 201, 120, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(245, 201, 120, 0.28);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn-outline:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* Section shared */

.tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

/* App window */

.app-window {
  width: min(1000px, 100% - 2.5rem);
  margin: 3.5rem auto 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.2rem;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.app-titlebar span:not(.app-title) {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.app-title {
  margin-left: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.app-body {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
}

.app-panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.app-panel:first-child {
  border-left: none;
  border-right: 1px solid var(--border);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.panel-icon {
  display: flex;
  opacity: 0.4;
}

.panel-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.panel-features {
  list-style: none;
  padding: 0.6rem 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.panel-features li {
  font-size: 0.75rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.panel-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.app-center {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #0a0c12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.canvas-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  color: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-filmstrip {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  max-height: 120px;
  overflow: hidden;
}

.app-filmstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Features */

.features {
  padding: 5rem 0;
  background: var(--surface);
}

.features-inner {
  width: min(1100px, 100% - 2.5rem);
  margin: 0 auto;
}

.features-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.features-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.features-head p {
  color: var(--muted);
  margin-top: 0.7rem;
  font-size: 1.02rem;
}

.preset-banner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 201, 120, 0.2);
  background: rgba(245, 201, 120, 0.05);
}

.preset-banner-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.preset-banner p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.preset-banner strong {
  color: var(--text);
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Workflow */

.workflow {
  padding: 5rem 0;
}

.workflow-inner {
  width: min(880px, 100% - 2.5rem);
  margin: 0 auto;
}

.workflow-head {
  text-align: center;
  max-width: 30rem;
  margin: 0 auto 3rem;
}

.workflow-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.workflow-head p {
  color: var(--muted);
  margin-top: 0.7rem;
  font-size: 1.02rem;
}

.workflow-steps {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.workflow-step {
  flex: 1;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-number {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.workflow-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.workflow-step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-connector {
  color: var(--muted);
  flex-shrink: 0;
  opacity: 0.35;
}

/* CTA */

.cta {
  padding: 0 0 4rem;
}

.cta-inner {
  width: min(720px, 100% - 2.5rem);
  margin: 0 auto;
}

.cta-card {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 201, 120, 0.05), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(137, 186, 255, 0.05), transparent 50%),
    var(--surface);
}

.cta-card h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-card p {
  color: var(--muted);
  margin: 0.7rem 0 1.8rem;
  font-size: 1.05rem;
}

/* Footer */

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(1100px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-icon {
  width: 3.5rem;
  height: auto;
  object-fit: contain;
}

.footer-left strong {
  display: block;
  font-size: 0.92rem;
}

.footer-left span {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-tagline {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 920px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .hamburger {
    display: block;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(7, 8, 10, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .header-nav.nav-open {
    display: flex;
  }

  .header-nav a {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 1rem;
  }

  .nav-btn {
    margin-top: 0.25rem;
    text-align: center;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .showcase {
    padding: 3rem 0;
  }

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

  .features {
    padding: 3rem 0;
  }

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

  .workflow {
    padding: 3rem 0;
  }

  .workflow-steps {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .showcase-head h2,
  .features-head h2,
  .workflow-head h2,
  .cta-card h2 {
    font-size: 1.5rem;
  }

  .showcase-card figcaption {
    margin-top: 0.6rem;
  }

  .workflow-step {
    padding: 1.2rem;
  }
}
