:root {
  --navy: #0a2d6b;
  --navy-deep: #071f4a;
  --navy-soft: #123a82;
  --red: #e30613;
  --red-hover: #c40510;
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #1a2332;
  --muted: #6b7280;
  --border: #e5e9f0;
  --check: #8bb8e8;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(10, 45, 107, 0.08);
  --font: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: none;
}

.brand__text {
  font-size: clamp(13px, 2.2vw, 16px);
  font-weight: 600;
  line-height: 1.25;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 650;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 14px;
  font-size: 13px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--white {
  background: #fff;
  color: var(--navy);
  padding: 9px 16px;
  font-size: 14px;
}

.btn--white:hover {
  background: #f0f4ff;
}

.btn--red {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  font-size: 15px;
  width: 100%;
}

.btn--red:hover {
  background: var(--red-hover);
}

.btn--outline-red {
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 10px 16px;
  font-size: 14px;
  width: 100%;
  border-radius: 12px;
  margin-top: auto;
}

.btn--outline-red:hover {
  background: #fff5f5;
}

.btn--cart {
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.btn--cart:hover {
  background: #eef3ff;
}

/* Hero */
.hero {
  padding: 36px 0 12px;
  background:
    radial-gradient(900px 320px at 10% -10%, rgba(28, 87, 196, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero__title {
  color: var(--navy);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 720px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.quote-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 45, 107, 0.06);
}

.quote-card {
  padding: 24px 26px;
}

.quote-card__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2b63c7, #0a2d6b);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar--sm {
  width: 42px;
  height: 42px;
  font-size: 13px;
}

.avatar--photo {
  object-fit: cover;
  display: block;
  background: #e2e8f0;
  padding: 0;
}

.quote-card__name {
  font-weight: 750;
  font-size: 16px;
  color: var(--navy);
}

.quote-card__role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.quote-card__text {
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
}

.videos-section {
  padding-top: 8px;
}

.section-lead--left {
  text-align: left;
  max-width: 760px;
  margin-left: 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.video-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 45, 107, 0.1);
}

.video-tile--hero {
  height: 100%;
  min-height: 0;
}

.video-tile__frame {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #0a1f4d;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
}

.video-tile--hero .video-tile__frame {
  min-height: 240px;
}

.video-tile__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-tile__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(227, 6, 19, 0.45);
  transition: transform 0.15s, background 0.2s;
  pointer-events: none;
}

.video-tile__frame:hover .video-tile__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--red-hover);
}

.video-tile__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 3;
  background: #000;
}

.video-tile.is-playing .video-tile__poster,
.video-tile.is-playing .video-tile__play {
  display: none;
}

.video-tile.is-playing .video-tile__frame {
  cursor: default;
}

.video-tile__body {
  padding: 14px 16px 16px;
  background: #fff;
}

.video-tile__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(227, 6, 19, 0.95);
  color: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 8px;
}

.video-tile__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy, #0a2d6b);
}

.videos-cta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #0a2d6b, #163f8f);
  color: #fff;
  box-shadow: var(--shadow);
}

.videos-cta__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.videos-cta__text {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  line-height: 1.5;
}

.videos-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.videos-cta .btn--outline-red {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.videos-cta .btn--outline-red:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Sections */
.section {
  padding: 28px 0 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 20px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title--center {
  justify-content: center;
  text-align: center;
}

.section-title--center::before {
  display: none;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  margin: -8px 0 22px;
  font-size: 15px;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-bottom-right-radius: 10px;
}

.plan-card__name {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.plan-card__price {
  margin: 8px 0 14px;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.plan-card__price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan-card__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
}

.plan-card__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: #334155;
}

.plan-card__list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 35%, transparent 36%),
    var(--check);
  box-shadow: inset 0 0 0 1px rgba(10, 45, 107, 0.08);
}

/* Connect */
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.connect-card {
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}

.connect-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 14px;
}

.connect-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 18px;
}

.connect-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.connect-item input {
  accent-color: #fff;
  width: 15px;
  height: 15px;
}

.connect-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
}

.connect-price {
  font-size: 24px;
  font-weight: 800;
}

/* Community + form */
.split {
  margin: 28px 0 8px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 45, 107, 0.06);
}

.split__left {
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
  padding: 36px 32px;
}

.pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  margin-bottom: 16px;
}

.split__left h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.split__left p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
  max-width: 420px;
  line-height: 1.6;
}

.split__right {
  background: #fff;
  padding: 32px 28px;
}

.split__right h3 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.form {
  display: grid;
  gap: 10px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #f3f5f8;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  outline: none;
  text-align: left;
}

.form input:focus,
.form textarea:focus {
  border-color: #9bb8e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 87, 196, 0.12);
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  min-height: 1.2em;
}

.form-note--ok {
  color: #147a3d;
}

/* Reviews */
.reviews {
  padding: 36px 0 48px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.review-card__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.review-card__meta {
  font-size: 12px;
  color: var(--muted);
}

.review-card__text {
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
}

.section-lead a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verified {
  margin-left: auto;
  color: #2f80ed;
  display: inline-flex;
}

/* Auth modal */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 48, 0.55);
  backdrop-filter: blur(2px);
}

.modal__panel {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.modal__panel h2 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 6px;
}

.modal__panel p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f3f7;
  cursor: pointer;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #f1f3f7;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.tabs button {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  font-weight: 650;
  color: var(--muted);
}

.tabs button.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 22px 0;
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.site-footer a:hover {
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 120;
  transition: transform 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: min(92vw, 420px);
  text-align: center;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid,
  .connect-grid,
  .split,
  .reviews-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .videos-cta__actions {
    width: 100%;
  }

  .videos-cta__actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .brand__text {
    font-size: 12px;
  }

  .header-actions .header-nav-secondary {
    display: none;
  }

  .header-actions .btn--keep-mobile {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 12px;
  }

  .connect-list {
    grid-template-columns: 1fr;
  }

  .split__left,
  .split__right {
    padding: 24px 18px;
  }
}
