:root {
  color-scheme: dark;
  --landing-bg: #07111f;
  --landing-panel: rgba(10, 19, 35, 0.72);
  --landing-panel-strong: rgba(13, 25, 46, 0.92);
  --landing-line: rgba(158, 183, 224, 0.18);
  --landing-text: #eef4ff;
  --landing-muted: #9eb2d4;
  --landing-accent: #6ee7c8;
  --landing-accent-strong: #38bdf8;
  --landing-warm: #ffb86b;
  --landing-shadow: 0 28px 70px rgba(3, 9, 19, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--landing-text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(110, 231, 200, 0.18), transparent 22%),
    linear-gradient(180deg, #08101b 0%, #0b1424 45%, #09111d 100%);
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.landing-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 26px;
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  background: rgba(6, 12, 22, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(2, 6, 14, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--landing-accent-strong), var(--landing-accent));
  color: #04111b;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--landing-muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--landing-muted);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--landing-text);
}

.site-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.nav-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 160ms ease;
}

.primary-btn {
  color: #04111b;
  background: linear-gradient(135deg, var(--landing-accent), var(--landing-warm));
  box-shadow: 0 16px 34px rgba(255, 184, 107, 0.2);
  font-weight: 800;
}

.secondary-btn,
.nav-link-btn {
  color: var(--landing-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--landing-line);
}

.primary-btn:hover,
.secondary-btn:hover,
.nav-link-btn:hover {
  transform: translateY(-1px);
}

.primary-btn.full,
.secondary-btn.full {
  width: 100%;
}

.primary-btn.large,
.secondary-btn.large {
  padding: 14px 22px;
}

.hero-section {
  padding: 22px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: flex-start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  max-width: 560px;
}

.hero-left h1 {
  margin: 22px 0 0;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-left h1 .grad {
  background: linear-gradient(95deg, #4fd6c4 0%, #38bdf8 35%, #ffcf8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-left .lede {
  margin: 22px 0 0;
  max-width: 44ch;
  color: var(--landing-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.hero-account-info {
  margin-top: 30px;
}

.hero-checks {
  display: flex;
  gap: 22px;
  margin-top: 20px;
  flex-wrap: wrap;
  color: var(--landing-muted);
  font-size: 13px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-checks .tick {
  color: var(--landing-accent);
  font-weight: 800;
}

.hero-visual-wrap {
  position: relative;
}

.hero-blue-glow {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 46%;
  height: 70%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55), rgba(56, 189, 248, 0.15) 55%, transparent 75%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.mock-panel-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(3, 9, 19, 0.55);
}

.trust-strip-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 40px 0 0;
}

.timeline-heading {
  text-align: center;
  margin: 0 0 26px;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--landing-text);
}

.timeline-strip-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.eyebrow,
.section-kicker,
.pricing-label,
.auth-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 200, 0.22);
  background: rgba(110, 231, 200, 0.08);
  color: var(--landing-accent);
  font-size: 12px;
  font-weight: 700;
}

.section-heading h2 {
  margin: 14px 0 0;
  line-height: 1.02;
}

.section-heading p,
.pricing-card p,
.site-footer p,
.auth-feedback,
.cookie-banner p,
.faq-list p,
.legal-card p,
.legal-card li {
  color: var(--landing-muted);
  line-height: 1.6;
}

.hero-status {
  margin-top: 16px;
  color: var(--landing-accent);
  font-size: 14px;
  font-weight: 700;
}

.glass-card,
.pricing-card,
.site-footer,
.auth-modal,
.legal-card,
.cookie-banner {
  border: 1px solid var(--landing-line);
  background: var(--landing-panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--landing-shadow);
}

.glass-card {
  border-radius: 22px;
  padding: 20px;
}

.glass-card span,
.pricing-card strong {
  display: block;
}

.section-block {
  padding: 34px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

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

.pricing-period {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  color: var(--landing-muted);
}

.pricing-card,
.legal-card {
  border-radius: 24px;
  padding: 22px;
}

.pricing-card ul,
.legal-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--landing-muted);
  line-height: 1.7;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(17, 28, 49, 0.95), rgba(10, 18, 31, 0.95));
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 184, 107, 0.16);
  color: var(--landing-warm);
  font-size: 12px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--landing-muted);
  align-self: center;
}

.footer-disclaimer {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 8, 15, 0.68);
}

.auth-modal,
.legal-card {
  width: min(440px, 100%);
  border-radius: 24px;
  padding: 24px;
  background: var(--landing-panel-strong);
}

.auth-modal {
  position: relative;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--landing-text);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.auth-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--landing-muted);
  font-size: 13px;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(158, 183, 224, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--landing-text);
}

.contact-form-card {
  margin-top: 20px;
}

.contact-form-card h2 {
  margin: 0 0 20px;
  font-size: 22px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form input[type="file"] {
  width: 100%;
  border: 1px solid rgba(158, 183, 224, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--landing-text);
  font-family: inherit;
  font-size: 15px;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form input[type="file"] {
  padding: 10px 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(158, 183, 224, 0.55);
}

.contact-form .hint {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

.inline-switch {
  border: 0;
  background: transparent;
  color: var(--landing-accent);
  padding: 0;
  margin-top: 8px;
  text-align: left;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 20px;
}

.legal-body {
  min-height: 100vh;
  margin: 0;
  color: var(--landing-text);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0a1524 100%);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.legal-card {
  width: 100%;
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 48px);
}

.legal-card h2 {
  margin: 26px 0 8px;
  font-size: 22px;
}

.notice-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 184, 107, 0.1);
  border: 1px solid rgba(255, 184, 107, 0.18);
  color: #ffd9a6;
}

@media (max-width: 960px) {
  .site-header,
  .pricing-grid,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .site-nav {
    justify-content: flex-start;
  }

  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .landing-shell,
  .legal-shell {
    width: min(100% - 20px, 100%);
  }

  .site-header,
  .pricing-card,
  .site-footer,
  .auth-modal,
  .legal-card {
    border-radius: 18px;
  }

  .hero-actions,
  .site-actions {
    width: 100%;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn,
  .site-actions .primary-btn,
  .site-actions .nav-link-btn {
    width: 100%;
  }
}
