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

:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface2: #1e1e1e;
  --accent: #f4600c;
  --text: #ffffff;
  --muted: #888888;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body.app-page {
  background:
    radial-gradient(circle at top, rgba(244, 96, 12, 0.12), transparent 28%),
    var(--bg);
}

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

code {
  font-family: 'SFMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0;
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a {
  display: block;
  padding: 0 20px;
  height: 64px;
  line-height: 64px;
  color: var(--muted);
  transition: color 0.15s, border-bottom 0.15s;
  border-bottom: 3px solid transparent;
}

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

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-ghost,
.btn-primary,
.btn-secondary,
.btn-white,
.btn-plan,
.video-button,
.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost {
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-ghost:hover {
  background: var(--surface2);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 64px 48px 80px;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  z-index: 1;
}

.hero-court {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-court::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(600px) rotateX(55deg);
  width: 520px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.01);
}

.hero-court::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(600px) rotateX(55deg);
  width: 2px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.65;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  width: 100%;
  max-width: 760px;
}

.video-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.video-bar {
  background: var(--surface2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #febc2e;
}

.dot.green {
  background: #28c840;
}

.video-screen {
  aspect-ratio: 16 / 6;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-wrap {
  width: 88%;
}

.timeline-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-raw {
  display: flex;
  height: 28px;
  overflow: hidden;
  margin-bottom: 6px;
  gap: 2px;
}

.tl-dead {
  background: rgba(255, 255, 255, 0.05);
  flex: 1;
}

.tl-rally {
  background: var(--accent);
  animation: flicker 3s ease-in-out infinite;
}

.tl-rally:nth-child(2) {
  animation-delay: 0.4s;
}

.tl-rally:nth-child(4) {
  animation-delay: 0.8s;
}

.tl-rally:nth-child(6) {
  animation-delay: 1.2s;
}

.tl-rally:nth-child(8) {
  animation-delay: 1.6s;
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

.timeline-arrow {
  text-align: center;
  color: var(--muted);
  font-size: 0.68rem;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-arrow::before,
.timeline-arrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.timeline-clean {
  display: flex;
  height: 28px;
  overflow: hidden;
  gap: 0;
}

.tl-clip {
  background: var(--accent);
  flex: 1;
}

.stat-row {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat {
  padding: 24px 40px 24px 0;
  margin-right: 40px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--accent);
  line-height: 1;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

section {
  padding: 80px 48px;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.65;
}

.more-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}

.more-link:hover {
  gap: 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.problem {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bar-label {
  font-size: 0.75rem;
  color: var(--muted);
  width: 80px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bar-track {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
}

.bar-dead {
  background: rgba(255, 255, 255, 0.1);
  width: 70%;
}

.bar-rally {
  background: var(--accent);
  width: 30%;
}

.bar-out {
  background: var(--accent);
  width: 100%;
}

.bar-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
}

.step-card {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
}

.step-card:hover {
  background: var(--surface);
}

.step-num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -3px;
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.step-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.features-bg {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
}

.feature-card {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
  position: relative;
}

.feature-card:hover {
  background: var(--surface2);
}

.feature-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(244, 96, 12, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 3px solid var(--accent);
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testi-card {
  background: var(--surface);
  border-top: 3px solid var(--accent);
  padding: 28px;
  transition: background 0.2s;
}

.testi-card:hover {
  background: var(--surface2);
}

.testi-stars {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testi-role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px);
  gap: 20px;
  margin-top: 48px;
  align-items: start;
  justify-content: center;
}

.price-card {
  background: var(--surface);
  padding: 36px 28px;
  position: relative;
  border-top: 3px solid transparent;
  transition: background 0.2s;
}

.price-card:hover {
  background: var(--surface2);
}

.price-card.featured {
  border-top-color: var(--accent);
}

.featured-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-name {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.price-features li::before {
  content: '-';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: 13px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  text-align: center;
}

.btn-plan:hover {
  opacity: 0.85;
}

.btn-plan.primary {
  background: var(--accent);
  color: #fff;
}

.btn-plan.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.cta-banner {
  background: var(--accent);
  padding: 80px 48px;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.btn-white:hover {
  opacity: 0.9;
}

footer {
  background: #080808;
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.app-main {
  padding-top: 64px;
}

.app-hero {
  padding: 72px 48px 32px;
}

.app-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 360px);
  gap: 24px;
  align-items: end;
}

.app-hero-card,
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
}

.app-hero-card {
  padding: 28px;
}

.app-card-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.app-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-bullet-list li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.65;
  display: flex;
  gap: 12px;
}

.app-bullet-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-top: 8px;
  background: var(--accent);
}

.app-workspace {
  padding-top: 16px;
}

.app-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 24px;
}

.panel {
  padding: 28px;
}

.panel-header {
  margin-bottom: 28px;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.file-input {
  width: 100%;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
}

.file-input::file-selector-button {
  margin-right: 14px;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.helper-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.upload-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.upload-button[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.status-text {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-text[data-tone='loading'] {
  color: rgba(255, 255, 255, 0.85);
}

.status-text[data-tone='success'] {
  color: #ffb27d;
}

.status-text[data-tone='error'] {
  color: #ff8b7b;
}

.player-empty {
  min-height: 360px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.player-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
}

.player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.player-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-card {
  border: 1px solid var(--border);
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.meta-card strong {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.app-library {
  max-width: 1200px;
  margin: 24px auto 0;
}

.library-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.library-state {
  color: var(--muted);
  font-size: 0.95rem;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.video-row {
  background: var(--surface);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.video-row.is-active {
  background: var(--surface2);
  box-shadow: inset 3px 0 0 var(--accent);
}

.video-copy {
  min-width: 0;
}

.video-name {
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.video-meta {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.video-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.video-button,
.video-link {
  min-width: 112px;
}

body.app-upload-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at top, rgba(244, 96, 12, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 45%),
    var(--bg);
}

.app-upload-page .app-main {
  width: 100%;
  padding-top: 0;
}

.simple-upload {
  width: 100%;
  padding: 0;
}

.simple-upload-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.simple-upload-kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.simple-upload-title {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: none;
}

.simple-upload-copy {
  max-width: 34rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 1.7;
}

.simple-upload-form {
  gap: 16px;
}

.simple-upload-form .file-input {
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.simple-upload-form .helper-text {
  max-width: 32rem;
}

.app-upload-page .upload-button {
  flex: 1 1 220px;
  min-height: 54px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.app-upload-page .status-text {
  min-height: 26px;
}

.app-upload-page .upload-cancel-button {
  flex: 1 1 220px;
  min-height: 54px;
}

.app-upload-page .upload-form {
  gap: 18px;
}

.resume-card {
  padding: 18px 20px;
  background: rgba(244, 96, 12, 0.08);
  border: 1px solid rgba(244, 96, 12, 0.2);
}

.resume-message {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
}

.share-card {
  padding: 18px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.share-card-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.share-url-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  min-width: 0;
}

.upload-progress-shell {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.upload-progress {
  width: 100%;
  height: 14px;
  appearance: none;
}

.upload-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
}

.upload-progress::-webkit-progress-value {
  background: linear-gradient(90deg, rgba(244, 96, 12, 0.85), rgba(255, 178, 125, 0.92));
}

.upload-progress::-moz-progress-bar {
  background: linear-gradient(90deg, rgba(244, 96, 12, 0.85), rgba(255, 178, 125, 0.92));
}

.progress-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.progress-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.progress-copy {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.progress-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.progress-metric {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-stat {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.upload-library {
  width: 100%;
  padding: 24px 0 0;
}

.upload-library-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.upload-library-header {
  margin-bottom: 24px;
}

.upload-library-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.library-empty {
  color: rgba(255, 255, 255, 0.6);
}

.video-list {
  display: grid;
  gap: 16px;
}

.video-item {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.video-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.video-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.video-item-meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.video-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.video-status {
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-status-uploaded {
  background: rgba(255, 178, 125, 0.15);
  color: #ffb27d;
}

.video-status-uploading {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.video-status-aborted,
.video-status-failed {
  background: rgba(255, 139, 123, 0.12);
  color: #ff8b7b;
}

.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration: none;
}

.video-link:hover {
  border-color: rgba(244, 96, 12, 0.35);
  color: #fff;
}

.video-pending {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }

  section {
    padding: 60px 20px;
  }

  .hero {
    padding: 64px 20px 60px;
  }

  .cta-banner {
    padding: 60px 20px;
  }

  footer {
    padding: 32px 20px;
  }

  .nav-links {
    display: none;
  }

  .problem-inner,
  .app-hero-inner,
  .app-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps,
  .features-grid,
  .testimonials-grid,
  .pricing-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    gap: 0;
  }

  .stat {
    padding: 16px 24px 16px 0;
    margin-right: 24px;
  }

  .cta-inner,
  .player-meta,
  .library-header,
  .video-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-hero {
    padding: 88px 20px 24px;
  }

  .app-workspace {
    padding-top: 8px;
  }

  .player-empty {
    min-height: 220px;
  }

  body.app-upload-page {
    padding: 20px 16px 48px;
  }

  .simple-upload-card {
    padding: 28px 22px;
  }

  .progress-topline,
  .video-item-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-metrics {
    grid-template-columns: 1fr;
  }
}
