/* GLOBAL RESET & BASE STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-main: #050814;
  --bg-elevated: #101526;
  --bg-elevated-soft: #151a2b;
  --bg-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 40%, rgba(0, 0, 0, 0.9));
  --accent: #2e8bff;
  --accent-soft: rgba(46, 139, 255, 0.16);
  --accent-strong: #4aa3ff;
  --text-main: #ffffff;
  --text-muted: #a6b0d8;
  --text-dim: #7a83aa;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #101526 0, #050814 48%, #02030a 100%);
  color: var(--text-main);
  min-height: 100%;
}

body {
  position: relative;
}

/* BACKGROUND OVERLAY */
.background-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(46, 139, 255, 0.22), transparent 55%),
              radial-gradient(circle at top right, rgba(0, 255, 209, 0.18), transparent 60%);
  opacity: 0.75;
  z-index: -1;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.94), rgba(5, 8, 20, 0.85), transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 0, #00ffd1, #2e8bff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #02030a;
  box-shadow: 0 0 18px rgba(46, 139, 255, 0.55);
}

.logo-text {
  font-size: 18px;
}

.logo-text span {
  color: var(--accent);
}

/* NAV */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.08s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #02030a;
  box-shadow: 0 12px 25px rgba(46, 139, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(46, 139, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 13, 28, 0.8);
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  height: 2px;
  width: 16px;
  border-radius: 999px;
  background: #ffffff;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.open .bar:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(5, 8, 20, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 20px 16px;
}

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

.mobile-nav-link {
  padding: 8px 0;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
}

.mobile-nav-link:hover {
  color: #ffffff;
}

.mobile-nav-cta {
  margin-top: 4px;
  color: var(--accent);
}

/* HERO */
.hero {
  padding: 48px 20px 40px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #00ffd1, #2e8bff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 0 24px;
}

/* HERO FORM */
.hero-cta-block {
  background: radial-gradient(circle at top left, rgba(46, 139, 255, 0.25), transparent 55%);
  border-radius: var(--radius-xl);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.hero-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.input {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(2, 3, 10, 0.9);
  color: var(--text-main);
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input::placeholder {
  color: var(--text-dim);
}

.input:focus {
  border-color: var(--accent);
  background: rgba(2, 3, 10, 1);
}

.hero-form-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.hero-form-success {
  display: none;
  margin: 10px 0 0;
  font-size: 13px;
  color: #7df6c3;
}

/* HERO TRUST */
.hero-trust {
  margin-top: 18px;
}

.hero-trust-title {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

/* HERO MEDIA */
.hero-media {
  position: relative;
}

.hero-screen {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top, #151b33 0, #050814 60%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(to right, rgba(5, 8, 20, 0.9), rgba(15, 30, 80, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-screen-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-screen-header .dot:nth-child(1) {
  background: #ff5f57;
}

.hero-screen-header .dot:nth-child(2) {
  background: #febc2e;
}

.hero-screen-header .dot:nth-child(3) {
  background: #28c840;
}

.screen-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

.hero-screen-content {
  padding: 16px;
}

.screen-row-title {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.screen-row-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.screen-card {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(26, 45, 100, 0.95), rgba(9, 13, 30, 0.95));
  padding: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.screen-card h3 {
  font-size: 13px;
  margin: 0 0 4px;
}

.screen-card p {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--text-dim);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 255, 209, 0.18);
  color: #abffe3;
}

.badge-secondary {
  background: rgba(46, 139, 255, 0.2);
  color: #c5ddff;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-dim);
}

.screen-row-sub {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-dim);
}

.hero-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-dim);
}

/* SECTIONS */
.section-title {
  font-size: 28px;
  margin: 0 0 8px;
}

.section-subtitle {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
}

/* NETFLIX-STYLE ROWS */
.rows {
  padding: 16px 20px 32px;
}

.rows-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.row {
  margin-top: 20px;
}

.row-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.row-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.row-cards::-webkit-scrollbar {
  height: 4px;
}

.row-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.card {
  background: linear-gradient(145deg, rgba(21, 27, 51, 0.9), rgba(7, 10, 24, 0.98));
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  min-height: 130px;
}

.card h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 32px 20px 32px;
}

.how-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  background: rgba(6, 10, 26, 0.9);
}

.step h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.how-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(46, 139, 255, 0.2), rgba(5, 8, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 16px 18px;
  box-shadow: var(--shadow-soft);
}

.how-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.list li + li {
  margin-top: 4px;
}

.list-muted {
  color: var(--text-dim);
}

.mt-24 {
  margin-top: 16px;
}

/* PRICING */
.pricing {
  padding: 32px 20px 32px;
}

.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.pricing-toggle {
  margin: 16px 0 22px;
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 4px;
  background: rgba(7, 11, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.toggle-btn-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(19, 25, 49, 0.95), rgba(4, 7, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-soft);
}

.pricing-card.featured {
  border-color: rgba(46, 139, 255, 0.7);
  box-shadow: 0 22px 45px rgba(46, 139, 255, 0.4);
}

.pricing-badge {
  display: inline-flex;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(46, 139, 255, 0.16);
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.pricing-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.pricing-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount {
  font-size: 26px;
  font-weight: 700;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-dim);
}

.pricing-note {
  margin: 6px 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-list li + li {
  margin-top: 4px;
}

.pricing-small {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.pricing-small a {
  color: var(--accent);
  text-decoration: none;
}

.pricing-small a:hover {
  text-decoration: underline;
}

/* FAQ */
.faq {
  padding: 32px 20px 40px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 0;
  text-align: left;
  color: var(--text-main);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 18px;
  color: var(--text-dim);
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.faq-answer p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(10, 18, 45, 0.9), rgba(2, 3, 10, 0.98));
  padding: 20px 20px 18px;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 340px;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
}

.footer-links h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .hero-title {
    font-size: 32px;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .hero-cta-block {
    padding: 12px;
  }

  .hero-form-row {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }

  .screen-row-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 32px;
  }

  .section-title {
    font-size: 24px;
  }
}
