:root {
  --brand: #004bc4;
  --brand-strong: #0044b4;
  --brand-deep: #061f3a;
  --brand-dark: #021a32;
  --brand-soft: #e9f8ff;
  --brand-soft-2: #dff5ff;
  --border: #d9e5ee;
  --muted: #526b8c;
  --shadow: 0 18px 45px rgba(7, 60, 126, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--brand-dark);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(calc(100% - 48px), 1170px);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-weight: 800;
}

.brand svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(0, 75, 196, 0.25);
  outline-offset: 3px;
}

.button-primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(0, 75, 196, 0.22);
}

.button-primary:hover {
  background: #003fa5;
  box-shadow: 0 16px 30px rgba(0, 75, 196, 0.28);
}

.button-small {
  min-height: 36px;
  padding: 0 22px;
  font-size: 13px;
  text-transform: none;
}

.button-large {
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.hero-section {
  min-height: 870px;
  padding: 112px 0 54px;
  background:
    radial-gradient(circle at 72% 50%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #dff5ff 0%, #edfaff 64%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding-top: 3px;
  min-width: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.pill svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.pill-soft {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.42);
}

.hero-title {
  max-width: 560px;
  margin: 34px 0 24px;
  color: var(--brand-dark);
  font-size: 60px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: normal;
}

.hero-title span {
  display: block;
  color: var(--brand);
}

.hero-description {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 500px;
  margin: 26px 0 31px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 4px 14px;
  border: 1px solid #b9dcfb;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.tag-pill svg {
  width: 14px;
  height: 14px;
}

.hero-cta {
  min-width: 308px;
}

.hero-media {
  overflow: hidden;
  border-radius: 20px;
  background: #f7fbff;
  box-shadow: 0 28px 62px rgba(7, 60, 126, 0.17);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pricing-section {
  padding: 72px 0 90px;
  background: #ffffff;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-heading h2,
.professor-copy h2,
.security-content h2,
.final-cta-panel h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
}

.section-heading p,
.security-content p,
.final-cta-panel p {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  max-width: 1028px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(7, 60, 126, 0.05);
}

.plan-featured {
  border: 2px solid var(--brand);
  box-shadow: 0 17px 34px rgba(0, 75, 196, 0.16);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 17px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.popular-badge svg {
  width: 13px;
  height: 13px;
  fill: #ffd84d;
  stroke: #ffd84d;
}

.plan-card h3 {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 900;
}

.old-price {
  margin: 0 0 4px;
  color: #6d7d91;
  font-size: 14px;
  text-decoration: line-through;
}

.plan-price {
  margin: 0 0 24px;
  color: var(--brand);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.16;
}

.plan-features {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--brand-dark);
  font-size: 14px;
  line-height: 1.35;
}

.plan-features svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #0072e5;
  stroke-width: 2.3;
}

.button-plan {
  width: 100%;
  margin-top: auto;
  color: #ffffff;
  background: #0984d8;
  box-shadow: 0 14px 22px rgba(9, 132, 216, 0.2);
}

.plan-featured .button-plan {
  background: var(--brand);
  box-shadow: 0 14px 22px rgba(0, 75, 196, 0.24);
}

.benefits-section {
  padding: 74px 0 92px;
  background: var(--brand-soft);
}

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

.benefit-card {
  min-height: 181px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--brand);
  background: #d0f0ff;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.benefit-card h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 900;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.professor-section {
  padding: 78px 0;
  background: #ffffff;
}

.professor-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  max-width: 928px;
}

.professor-photo-wrap {
  width: 264px;
  height: 264px;
  margin-left: auto;
  overflow: hidden;
  border: 4px solid #c9f2ff;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.professor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professor-copy p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.security-section {
  padding: 88px 0 82px;
  background: var(--brand-soft);
}

.security-content {
  text-align: center;
}

.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 27px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
}

.security-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.1;
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 17px;
  border: 1px solid #b9dcfb;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.security-badge svg {
  width: 17px;
  height: 17px;
}

.final-cta-section {
  padding: 77px 0 88px;
  background: #ffffff;
}

.final-cta-panel {
  max-width: 896px;
  margin: 0 auto;
  padding: 58px 64px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #004bc4 0%, #0877ca 100%);
  box-shadow: 0 23px 55px rgba(0, 75, 196, 0.18);
  text-align: center;
}

.final-cta-panel h2 {
  max-width: 720px;
  margin: 0 auto;
  color: #ffffff;
}

.final-cta-panel p {
  color: rgba(255, 255, 255, 0.9);
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 33px;
}

.final-button {
  min-width: 244px;
}

.final-button-light {
  color: var(--brand);
  background: #ffffff;
}

.final-button-dark {
  color: #ffffff;
  background: #041d35;
}

.site-footer {
  padding: 24px 0;
  color: #6b7d93;
  background: #ffffff;
  border-top: 1px solid #edf3f7;
}

.footer-inner {
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 72px;
  }

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

  .hero-title {
    max-width: 720px;
    font-size: 50px;
  }

  .hero-media {
    max-width: 640px;
  }

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

  .professor-grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 32px), 1170px);
  }

  .site-header {
    padding: 16px 0;
  }

  .header-inner {
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 132px;
    line-height: 1.2;
  }

  .button-small {
    min-height: 34px;
    max-width: 132px;
    padding: 0 12px;
    font-size: 11px;
    line-height: 1.1;
    white-space: normal;
  }

  .hero-section {
    padding-top: 96px;
  }

  .hero-title {
    margin-top: 28px;
    font-size: 38px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .hero-description,
  .professor-copy p {
    font-size: 16px;
  }

  .button-large,
  .hero-cta,
  .final-button {
    width: 100%;
    min-width: 0;
  }

  .plans-grid,
  .benefits-grid,
  .professor-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
    padding: 34px 24px 28px;
  }

  .section-heading h2,
  .professor-copy h2,
  .security-content h2,
  .final-cta-panel h2 {
    font-size: 30px;
  }

  .professor-photo-wrap {
    width: 224px;
    height: 224px;
    margin: 0 auto;
  }

  .professor-copy {
    text-align: center;
  }

  .final-cta-panel {
    padding: 44px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  .site-header .button-small {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 358px;
  }

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

@media (max-width: 420px) {
  .hero-title {
    font-size: 30px;
  }

  .plan-price {
    font-size: 31px;
  }

  .section-heading h2,
  .professor-copy h2,
  .security-content h2,
  .final-cta-panel h2 {
    font-size: 27px;
  }
}
