:root {
  color-scheme: dark;
  --bg-0: #030922;
  --bg-1: #020819;
  --bg-2: #030922;
  --text: #f4f7ff;
  --muted: #94a3b8;
  --teal: #14c99b;
  --teal-dark: #0f9f7b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 60%, var(--bg-2) 100%);
  overflow-x: hidden;
}

.page {
  min-height: 100vh;
  width: min(1280px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem 0;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: center;
  padding: 0;
}

h1 {
  font-family: "Sora", sans-serif;
  margin: 0;
  font-size: clamp(1.75rem, 4.3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 11ch;
  font-weight: 800;
}

.summary {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.45vw, 1.1rem);
  line-height: 1.6;
  max-width: 44ch;
}

.features {
  margin: 1.85rem 0 0;
  padding-left: 0;
  color: #d1d9e8;
  line-height: 1.45;
  display: grid;
  gap: 0.62rem;
  list-style: none;
  max-width: 50ch;
  font-size: 1.05rem;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 0.78rem;
}

.feature-icon {
  width: 1.22rem;
  height: 1.22rem;
  color: #10b981;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-icon.shield {
  width: 1.25rem;
  height: 1.25rem;
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 11px;
  padding: 0.7rem 1.12rem;
  font-weight: 600;
  font-size: 1.04rem;
  border: 1px solid #334155;
  transition: transform 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #4b6793;
}

.btn.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.btn-primary {
  background: #10b981;
  color: #032d22;
  border-color: transparent;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0);
}

.btn-secondary {
  background: #0f172a;
  color: #e2e8f0;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.soon-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dbe7ff;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
}

.preview {
  width: 100%;
  position: relative;
}

.mock-glow {
  position: absolute;
  inset: -6px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
  filter: blur(28px);
  border-radius: 16px;
  opacity: 0.55;
}

.frame {
  position: relative;
  border: 1px solid #dbe1ea;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.frame-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.58rem 0.82rem;
  background: #d7dde6;
  border-bottom: 1px solid #cbd2de;
}

.frame-dots {
  display: flex;
  gap: 0.36rem;
}

.frame-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a8b3c3;
}

.frame-pill {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: #bec8d6;
}

.frame-body {
  display: grid;
  grid-template-columns: 1fr 46%;
  min-height: 320px;
  background: #f8fafc;
}

.main-column {
  padding: 1.2rem;
  opacity: 0.32;
  filter: blur(1px);
}

.line,
.action {
  margin: 0 0 0.58rem;
  height: 10px;
  border-radius: 999px;
  background: #d3dae5;
}

.line.wide {
  width: 72%;
}

.line.short {
  width: 36%;
}

.line.mid {
  width: 52%;
}

.main-card {
  height: 78px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.58rem;
}

.side-column {
  border-left: 1px solid #cfd6e2;
  padding: 1rem;
  background: #ffffff;
}

.side-card {
  height: 100%;
  padding: 0.4rem 0.2rem 0;
  display: flex;
  flex-direction: column;
}

.divider {
  height: 1px;
  background: #cad2df;
  margin: 0.6rem 0;
}

.action.short {
  width: 38%;
}

.action.mid {
  width: 64%;
}

.action.wide {
  width: 92%;
}

.export-row {
  margin-top: auto;
  background: #f3f4f6;
  border: 1px solid #eceff3;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  color: #2d3136;
  font-weight: 600;
  font-size: 0.95rem;
}

.export-row svg {
  width: 18px;
  height: 18px;
  color: #111827;
}

.placement-caption {
  margin: 0.52rem 0 0;
  color: #b6c5df;
  font-size: 0.82rem;
}

.footer {
  margin-top: 1.8rem;
  color: #8697b8;
  font-size: 0.79rem;
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .preview {
    display: none;
  }
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 1.2rem);
    padding: 1.5rem 0;
  }

  h1 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
