:root {
  --bg: #080d22;
  --bg-2: #111631;
  --panel: #151b3a;
  --panel-2: #1b2347;
  --white: #ffffff;
  --text: #f6f8ff;
  --muted: #9ea9c8;
  --dark-text: #11152a;
  --dark-muted: #5e667a;
  --line: rgba(255,255,255,.11);
  --line-dark: rgba(16,25,54,.12);
  --accent: #4d7dff;
  --accent-2: #78a4ff;
  --danger: #ff5c7a;
  --success: #52f0a8;
  --warning: #ffd166;
  --radius: 2px;
  --shadow: 0 24px 80px rgba(3, 8, 24, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Oswald', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: .2px;
}
body, input, select, button, a { font-family: 'Oswald', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img, video { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 12, 32, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.navbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #243d9b);
  color: white;
  font-size: 14px;
  letter-spacing: .4px;
}
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; color: #d9e2ff; }
.nav-links a:hover { color: white; }
.nav-cta {
  padding: 10px 16px;
  background: var(--accent);
  border-radius: var(--radius);
  color: white !important;
  box-shadow: 0 10px 30px rgba(77,125,255,.32);
}
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); color: white; background: transparent; border-radius: var(--radius); }

.hero-section {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,13,34,.34), rgba(8,13,34,.95)),
    radial-gradient(circle at 20% 20%, rgba(77,125,255,.45), transparent 30%),
    linear-gradient(135deg, #0b1026, #121c3d 52%, #081022);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .30;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 75% 45%, rgba(83,130,255,.28), transparent 34%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .75fr; gap: 60px; align-items: center; }
.eyebrow, .section-label {
  display: inline-block;
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; font-size: clamp(44px, 6.2vw, 82px); line-height: .98; margin-bottom: 22px; }
.hero-content p { max-width: 650px; color: #d6def8; font-size: 21px; line-height: 1.55; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 34px rgba(77,125,255,.28); }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.06); }
.btn-secondary { background: rgba(255,255,255,.08); border-color: var(--line); color: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 46px; max-width: 620px; }
.trust-row div { border-left: 2px solid var(--accent); padding-left: 14px; }
.trust-row strong { display: block; font-size: 24px; }
.trust-row span { color: #b9c3e4; font-size: 14px; }
.hero-card { background: rgba(15,21,50,.72); border: 1px solid var(--line); padding: 18px; box-shadow: var(--shadow); }
.mini-player { background: #070b1d; border: 1px solid var(--line); }
.mini-player-top { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid var(--line); }
.mini-player-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.36); }
.mini-video-preview { min-height: 320px; display: grid; place-items: center; text-align: center; padding: 28px; background: linear-gradient(135deg, rgba(77,125,255,.22), rgba(255,255,255,.03)), repeating-linear-gradient(45deg, rgba(255,255,255,.04), rgba(255,255,255,.04) 1px, transparent 1px, transparent 18px); }
.play-orb { width: 76px; height: 76px; display: grid; place-items: center; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 18px rgba(77,125,255,.12); }
.mini-video-preview p { color: var(--muted); margin: 18px 0 6px; }
.mini-video-preview strong { font-size: 24px; }
.hero-card-footer { display: flex; justify-content: space-between; gap: 18px; padding-top: 16px; color: #c9d4f6; }

.section { padding: 90px 0; }
.light-section { background: #f4f6fb; color: var(--dark-text); }
.dark-section { background: #0b1029; }
.dark-section.alt { background: #111633; }
.split-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.demo-stack { position: relative; min-height: 420px; }
.demo-media { width: 78%; min-height: 350px; margin-left: auto; background: linear-gradient(135deg, #121935, #4268d8); display: grid; place-items: center; color: white; box-shadow: var(--shadow); }
.demo-play { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.stat-card { position: absolute; left: 0; bottom: 38px; z-index: 2; width: 190px; padding: 24px 20px; background: var(--accent); color: white; box-shadow: 0 18px 46px rgba(20,55,150,.25); }
.stat-card strong { display: block; font-size: 42px; line-height: 1; }
.stat-card span { color: #dfe7ff; }
.section-copy h2, .section-heading h2, .cta-strip h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.04; margin-bottom: 18px; }
.section-copy p, .section-heading p { color: var(--dark-muted); font-size: 18px; line-height: 1.6; font-weight: 300; }
.dark-section .section-heading p { color: var(--muted); }
.check-list { padding: 0; margin: 24px 0 28px; list-style: none; color: var(--dark-muted); }
.check-list li { margin: 10px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
code { background: rgba(77,125,255,.1); padding: 1px 5px; border-radius: var(--radius); }
.marquee-bar { display: flex; justify-content: center; gap: 16px; padding: 18px 20px; background: var(--accent); color: white; text-transform: uppercase; font-size: 16px; overflow: hidden; }
.centered { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.feature-grid, .pricing-grid { display: grid; gap: 24px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.feature-card, .price-card, .card {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.feature-card { padding: 34px 30px; min-height: 230px; }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--accent); margin-bottom: 28px; font-weight: 700; }
.feature-card h3, .price-card h3 { font-size: 26px; margin-bottom: 12px; }
.feature-card p, .price-card p { color: var(--muted); line-height: 1.55; font-weight: 300; }
.price-card { padding: 30px 24px; display: flex; flex-direction: column; min-height: 100%; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card.featured { background: linear-gradient(180deg, rgba(77,125,255,.28), rgba(255,255,255,.05)); border-color: rgba(120,164,255,.5); transform: translateY(-8px); }
.price-card.subscription-card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.16); }
.price-card.subscription-card .price-tag { color: var(--warning); }
.price-tag { color: var(--accent-2); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.price { font-size: clamp(42px, 4vw, 58px); line-height: 1; margin: 18px 0; font-weight: 700; }
.price small { font-size: 18px; color: var(--muted); margin-left: 4px; }
.price-meta { margin-top: -8px; margin-bottom: 18px; color: var(--muted); font-size: 14px; font-weight: 300; }

.dashboard-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 24px auto 0;
}
.status-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 14px 40px rgba(22,35,74,.10);
  padding: 18px;
  text-align: left;
}
.status-card strong { display: block; font-size: 28px; color: var(--dark-text); line-height: 1; }
.status-card span { display: block; margin-top: 8px; color: var(--dark-muted); font-size: 14px; font-weight: 300; }
.status-card.highlight { background: linear-gradient(135deg, rgba(77,125,255,.12), #fff); border-color: rgba(77,125,255,.28); }
.status-card.warning { background: rgba(255,209,102,.14); border-color: rgba(255,209,102,.35); }
.dashboard-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn[disabled] { opacity: .64; cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; opacity: .78; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; margin-left: 10px; border: 2px solid rgba(255,255,255,.38); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }

.form-section { background: #f4f6fb; color: var(--dark-text); }
.app-shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .8fr); gap: 24px; align-items: start; }
.card { background: #fff; color: var(--dark-text); border-color: var(--line-dark); box-shadow: 0 18px 60px rgba(22,35,74,.14); overflow: hidden; }
.card-header { padding: 24px 26px; border-bottom: 1px solid var(--line-dark); }
.card-header h2 { margin: 0 0 8px; font-size: 28px; }
.card-header p { margin: 0; color: var(--dark-muted); font-weight: 300; }
.card-body { padding: 26px; }
.message { display: none; position: relative; margin-bottom: 18px; padding: 14px 42px 14px 15px; border-radius: var(--radius); font-size: 15px; border: 1px solid transparent; }
.message.show { display: block; }
.message.info { color: #173d91; background: rgba(77,125,255,.1); border-color: rgba(77,125,255,.22); }
.message.success { color: #067846; background: rgba(82,240,168,.12); border-color: rgba(82,240,168,.28); }
.message.error { color: #a61e3d; background: rgba(255,92,122,.1); border-color: rgba(255,92,122,.28); }
.message.warning { color: #7a5200; background: rgba(255,209,102,.14); border-color: rgba(255,209,102,.35); }
.message-close { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 26px; height: 26px; border: 0; background: rgba(0,0,0,.06); cursor: pointer; }
.form-section-block { padding: 22px 0; border-top: 1px solid var(--line-dark); }
.form-section-block:first-of-type { border-top: 0; padding-top: 0; }
.block-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.block-title h3 { margin: 0; color: var(--accent); text-transform: uppercase; letter-spacing: 1.8px; font-size: 17px; }
.block-title span, .hint, .secondary-info { color: var(--dark-muted); font-size: 14px; font-weight: 300; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field, .field-full { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
label { font-size: 15px; color: #1a2140; font-weight: 500; }
input, select { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid rgba(22,35,74,.16); border-radius: var(--radius); color: var(--dark-text); background: #fbfcff; outline: none; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(77,125,255,.12); }
input[type="file"] { cursor: pointer; }
.image-preview { display: none; margin-top: 8px; border: 1px solid rgba(22,35,74,.12); background: #f6f8ff; }
.image-preview.show { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; padding: 10px; }
.image-preview img { width: 100px; height: 72px; object-fit: cover; background: #0b1029; }
.preview-info strong { display: block; margin-bottom: 4px; }
.preview-info span { color: var(--dark-muted); font-size: 13px; word-break: break-word; }
.actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.result-panel { position: sticky; top: 92px; }
.result-placeholder, #loaderBox { min-height: 370px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px; border: 1px dashed rgba(22,35,74,.20); background: #f6f8ff; }
.result-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; }
.result-placeholder p, .loader-text { color: var(--dark-muted); margin: 0; font-weight: 300; }
#loaderBox { display: none; border-style: solid; background: rgba(77,125,255,.08); }
#loader { width: 44px; height: 44px; border: 4px solid rgba(77,125,255,.14); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
.loader-title { font-size: 22px; font-weight: 600; }
#videoWrap { display: none; }
#video { width: 100%; display: block; background: #000; cursor: zoom-in; }
.download-row { margin-top: 14px; }
#download { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; background: #0b1029; color: white; font-weight: 600; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 0; }
.cta-strip h2 { margin: 0; }
.footer { background: #090e24; padding: 60px 0; color: #d8e0fb; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 34px; }
.footer p { max-width: 380px; color: var(--muted); font-weight: 300; line-height: 1.6; }
.footer h4 { margin: 0 0 14px; color: white; }
.footer a:not(.brand) { display: block; color: var(--muted); margin: 8px 0; }
.video-lightbox { display: none; position: fixed; inset: 0; z-index: 999; padding: 24px; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
.video-lightbox.show { display: flex; }
.lightbox-content { position: relative; width: min(100%, 980px); }
.lightbox-content video { width: 100%; max-height: 82vh; background: #000; box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 42px; height: 42px; min-height: 42px; border: 0; background: white; color: #111; font-size: 24px; cursor: pointer; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid, .split-section, .app-shell { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; padding: 90px 0; }
  .result-panel { position: static; }
  .price-card.featured { transform: none; }
  .feature-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 26px, 1180px); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: rgba(7,12,32,.98); border-bottom: 1px solid var(--line); }
  .nav-links.show { display: flex; }
  .nav-cta { text-align: center; }
  h1 { font-size: 46px; }
  .hero-content p { font-size: 18px; }
  .trust-row, .form-grid, .footer-grid, .pricing-grid, .dashboard-status { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .demo-media { width: 100%; }
  .stat-card { position: relative; left: auto; bottom: auto; width: 100%; margin-bottom: 14px; }
  .demo-stack { min-height: auto; }
  .marquee-bar { justify-content: flex-start; overflow-x: auto; }
  .actions, .cta-strip { flex-direction: column; align-items: stretch; }
  .card-header, .card-body { padding: 20px; }
  .image-preview.show { grid-template-columns: 1fr; }
  .image-preview img { width: 100%; height: 150px; }
}
