/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e2733;
  background-color: #f5f7fb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1b6fd1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: #111827;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  color: #111827;
  font-family: "Georgia", "Times New Roman", serif;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  font-size: 0.9rem;
  color: #374151;
}

.nav a.active {
  font-weight: 600;
  color: #1b6fd1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background-color: #1b6fd1;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: #1557a4;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: #1b6fd1;
  border: 1px solid rgba(27, 111, 209, 0.3);
}

.btn-ghost:hover {
  background-color: rgba(27, 111, 209, 0.06);
}

.btn.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.btn.full-width {
  width: 100%;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #e0edff 0, #f5f7fb 40%, #f5f7fb 100%);
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
}

.hero-text p {
  font-size: 1rem;
  max-width: 34rem;
}

.hero-subtext {
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background-color: #ffffff;
}

.section-cta {
  padding: 3rem 0 3.5rem;
  background-color: #1b6fd1;
  color: #e5efff;
}

.section-cta h2 {
  color: #ffffff;
}

.section-cta p {
  max-width: 32rem;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2rem;
}

.section-header p {
  color: #4b5563;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-pricing {
  position: relative;
}

.card-pricing .price {
  margin: 0.4rem 0 0.8rem;
}

.price-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
}

.price-suffix {
  font-size: 0.9rem;
  color: #6b7280;
  margin-left: 0.2rem;
}

.card-pricing.featured {
  border: 1px solid #1b6fd1;
}

.small-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Pill list */
.pill-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pill {
  background-color: #e5efff;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
}

.pill h3 {
  margin-bottom: 0.25rem;
}

/* Video cards */
.card-video .video-thumb {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  cursor: pointer;
}

.play-btn::before {
  content: "";
  display: block;
  margin-left: 18px;
  margin-top: 14px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #ffffff;
}

.tagline {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  background-color: #f9fafb;
  cursor: pointer;
}

.filter-btn.active {
  background-color: #1b6fd1;
  color: #ffffff;
  border-color: #1b6fd1;
}

/* Locked cards */
.card-locked {
  position: relative;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.05));
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  gap: 0.5rem;
  color: #f9fafb;
  text-align: center;
}

.lock-overlay span {
  font-size: 0.9rem;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  top: 0;
  color: #1b6fd1;
}

/* Forms */
.contact-form {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #1b6fd1;
  outline-offset: 1px;
  border-color: #1b6fd1;
}

/* FAQ */
.faq details {
  background-color: #ffffff;
  border-radius: 0.7rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.04);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.5rem 0;
  background-color: #ffffff;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
}

.footer-links a {
  color: #6b7280;
}

.center {
  text-align: center;
}

.section-footnote {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #111827;
}

/* Utility */
.text-link {
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.video-overlay.open {
  display: flex;
}

.video-overlay-inner {
  position: relative;
  width: min(90%, 720px);
  background: #000;
  border-radius: 0.75rem;
  overflow: hidden;
}

.video-overlay-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: transparent;
  color: #f9fafb;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}

.video-frame-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-frame-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }
}
