:root {
  --red: #e3132c;
  --black: #1f1f1f;
  --muted: #717171;
  --muted-2: #7d7d7d;
  --gray-bg: #f2f2f7;
  --input-bg: #e3e3e3;
  --input-border: #d0d0d0;
  --faq-bg: #f5f5f7;
  --faq-line: #e5e5ea;
  --blue: #3cb9ff;
  --green: #54cd03;
  --white: #ffffff;
  --footer-muted: #999999;
  --radius-card: 24px;
  --radius-input: 16px;
  --radius-pill: 100px;
  --pad-x: 64px;
  --section-y: 72px;
  --font: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--gray-bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
select,
input {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 14px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-gray {
  background: var(--input-bg);
  color: var(--black);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad-x);
  background: var(--white);
}

.logo img {
  width: 120px;
  height: 42px;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
}

.nav-desktop a:hover {
  color: var(--black);
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 11px 10px;
  border-radius: 12px;
  background: #f2f2f2;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: #000;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__sheet {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 14px 16px;
}

.mobile-menu__header .logo img {
  width: 88px;
  height: 30px;
}

.mobile-menu__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__actions .btn-sm {
  font-size: 14px;
  line-height: 18px;
}

.close-btn {
  width: 36px;
  height: 36px;
  overflow: hidden;
}

.close-btn img {
  width: 36px;
  height: 36px;
}

.mobile-menu__divider {
  height: 1px;
  background: #ebebeb;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__nav a:last-child {
  border-bottom: none;
}

.mobile-menu__nav span {
  color: var(--footer-muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 29px;
}

.mobile-menu__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 28px;
}

.mobile-menu__links {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--footer-muted);
}

.mobile-menu__links a:hover {
  color: var(--black);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-y) var(--pad-x);
  background: linear-gradient(36deg, #e3132c 24%, #000 104%);
  text-align: center;
  color: var(--white);
  animation: heroIn 0.7s ease both;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
}

.hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 52px;
}

.hero__title-mobile,
.hero__text-mobile,
.hero__calc-mobile {
  display: none;
}

.hero__text {
  max-width: 640px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Calculator */
.calculator-section {
  padding: 64px;
  background: var(--gray-bg);
}

.calculator-layout {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.calc-card {
  width: 640px;
  max-width: 100%;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  animation: riseIn 0.6s ease 0.1s both;
}

.calc-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.calc-row {
  display: flex;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.field__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: var(--muted);
}

.select-wrap,
.amount-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  width: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: var(--black);
  padding-right: 20px;
  cursor: pointer;
}

.amount-box {
  width: 100%;
}

.amount-box input {
  border: none;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  color: var(--black);
  width: 100%;
  min-width: 0;
  outline: none;
}

.amount-box__rate {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
}

.amount-box__rate-mobile {
  display: none;
}

.calc-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.calc-rate > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 500;
}

.calc-rate strong {
  font-weight: 600;
}

.info-btn {
  color: var(--muted);
  padding: 0;
  line-height: 1;
}

.calc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.selling-points {
  width: 420px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: riseIn 0.6s ease 0.2s both;
}

.selling-point {
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.selling-point h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 6px;
}

.selling-point p {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
}

.selling-point__mobile {
  display: none;
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: var(--section-y) var(--pad-x);
  background: var(--white);
  text-align: center;
}

.about h2,
.capabilities h2,
.faq h2,
.reviews h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.about__text {
  max-width: 760px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--muted);
}

.about__text-mobile {
  display: none;
}

.about__stats {
  display: flex;
  gap: 16px;
}

.stat {
  width: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stat strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  color: var(--red);
}

.stat span {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
}

/* Capabilities */
.capabilities {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: var(--section-y) var(--pad-x);
  background: var(--gray-bg);
}

.capability-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1232px;
}

.capability-card {
  width: 400px;
  max-width: 100%;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability-card__bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--red);
}

.capability-card--blue .capability-card__bar {
  background: var(--blue);
}

.capability-card--green .capability-card__bar {
  background: var(--green);
}

.capability-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.capability-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--muted);
}

.capability-card__mobile {
  display: none;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: var(--section-y) var(--pad-x);
  background: var(--white);
}

.faq-box {
  width: 800px;
  max-width: 100%;
  padding: 8px 28px;
  border-radius: var(--radius-card);
  background: var(--faq-bg);
}

.faq-box__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--muted);
  padding-top: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--faq-line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q-mobile {
  display: none;
}

.faq-icon::before {
  content: "+";
  color: var(--muted-2);
  font-size: 18px;
  font-weight: 500;
}

.faq-item[open] .faq-icon::before {
  content: "−";
}

.faq-item p {
  padding-bottom: 16px;
  max-width: 680px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--muted);
}

/* Reviews */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: var(--section-y) var(--pad-x);
  background: var(--gray-bg);
}

.reviews-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1232px;
}

.review-card {
  width: 400px;
  max-width: 100%;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.review-card__author strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.review-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--muted);
}

.review-card__mobile {
  display: none;
}

.reviews-link {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: var(--red);
}

.reviews-link:hover {
  opacity: 0.85;
}

/* Footer */
.footer {
  background: #000;
  color: var(--footer-muted);
  padding: 56px var(--pad-x) 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer__brand {
  width: 360px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand img {
  width: 110px;
  height: 38px;
  object-fit: contain;
}

.footer__desc-desktop {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  max-width: 340px;
}

.footer__desc-mobile {
  display: none;
}

.footer__cols {
  display: flex;
  gap: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.footer__col h3 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__legal {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  max-width: 1200px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.footer__mobile-extra {
  display: none;
}

/* Animations */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.menu-open {
  overflow: hidden;
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --pad-x: 32px;
  }

  .calculator-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-card,
  .selling-points {
    width: 100%;
  }

  .capability-card,
  .review-card {
    width: calc(50% - 8px);
    min-width: 280px;
    flex: 1;
  }

  .nav-desktop {
    gap: 16px;
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --pad-x: 16px;
    --section-y: 40px;
    --radius-card: 20px;
    --radius-input: 14px;
  }

  .header {
    padding: 14px 16px;
  }

  .logo img {
    width: 88px;
    height: 30px;
  }

  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
  }

  .hero {
    padding: 48px 16px;
    background: linear-gradient(66deg, #e3132c 24%, #000 104%);
  }

  .hero__content {
    gap: 20px;
    width: 100%;
  }

  .hero__badge {
    padding: 5px 10px;
    font-size: 12px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 34px;
  }

  .hero__title-desktop,
  .hero__text-desktop,
  .hero__calc-desktop {
    display: none;
  }

  .hero__title-mobile,
  .hero__text-mobile,
  .hero__calc-mobile {
    display: block;
  }

  .hero__text {
    font-size: 15px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .calculator-section {
    padding: 32px 16px 24px;
  }

  .calc-card {
    padding: 20px 16px;
    gap: 14px;
    border-radius: 20px;
    box-shadow: none;
  }

  .calc-card__title {
    font-size: 20px;
    line-height: 26px;
  }

  .calc-row {
    flex-direction: column;
    gap: 14px;
  }

  .field {
    gap: 6px;
  }

  .field__label {
    font-size: 12px;
  }

  .field__label--desktop {
    display: none;
  }

  .select-wrap,
  .amount-box {
    padding: 12px;
    border: none;
  }

  .select-wrap select {
    font-size: 15px;
  }

  .amount-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .amount-box input {
    font-size: 20px;
    line-height: 26px;
  }

  .amount-box__rate {
    display: none;
  }

  .amount-box__rate-mobile {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: var(--muted);
  }

  .calc-rate {
    display: none;
  }

  .calc-actions {
    flex-direction: column;
  }

  .calc-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .selling-points {
    gap: 12px;
  }

  .selling-point {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .selling-point h3 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 4px;
  }

  .selling-point p {
    font-size: 13px;
    line-height: 18px;
  }

  .selling-point__desktop {
    display: none;
  }

  .selling-point__mobile {
    display: block;
  }

  .selling-point--desktop-only {
    display: none;
  }

  .about {
    gap: 12px;
    padding: 40px 16px;
  }

  .about h2,
  .capabilities h2,
  .faq h2,
  .reviews h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .about__text {
    font-size: 15px;
    line-height: 22px;
  }

  .about__text-desktop {
    display: none;
  }

  .about__text-mobile {
    display: block;
  }

  .about__stats {
    display: none;
  }

  .capabilities {
    align-items: stretch;
    gap: 12px;
    padding: 32px 16px;
  }

  .capability-grid {
    flex-direction: column;
    gap: 12px;
  }

  .capability-card {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    gap: 6px;
  }

  .capability-card__bar {
    display: none;
  }

  .capability-card h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .capability-card p {
    font-size: 13px;
    line-height: 18px;
  }

  .capability-card__desktop {
    display: none;
  }

  .capability-card__mobile {
    display: block;
  }

  .faq {
    align-items: stretch;
    gap: 8px;
    padding: 32px 16px;
  }

  .faq-box {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .faq-box__label {
    display: none;
  }

  .faq-item {
    border-bottom: 1px solid var(--faq-line);
  }

  .faq-item summary {
    padding: 14px 0;
    font-size: 14px;
    line-height: 20px;
  }

  .faq-q-desktop {
    display: none;
  }

  .faq-q-mobile {
    display: inline;
  }

  .faq-icon::before {
    content: "▾";
    font-size: 14px;
    color: var(--muted);
  }

  .faq-item[open] .faq-icon::before {
    content: "▴";
  }

  .faq-item--desktop {
    display: none;
  }

  .faq-item p {
    font-size: 13px;
    line-height: 18px;
    padding-bottom: 12px;
  }

  .reviews {
    align-items: stretch;
    gap: 12px;
    padding: 32px 16px;
  }

  .reviews-grid {
    flex-direction: column;
    gap: 12px;
  }

  .review-card {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    gap: 8px;
  }

  .review-card__author img {
    display: none;
  }

  .review-card__author strong {
    font-size: 15px;
  }

  .review-card p {
    font-size: 13px;
    line-height: 18px;
  }

  .review-card__desktop {
    display: none;
  }

  .review-card__mobile {
    display: block;
  }

  .review-card--desktop {
    display: none;
  }

  .reviews-link {
    font-size: 14px;
    line-height: 18px;
    align-self: flex-start;
  }

  .footer {
    padding: 32px 16px 24px;
    gap: 12px;
  }

  .footer__top {
    flex-direction: column;
    gap: 12px;
  }

  .footer__cols,
  .footer__legal,
  .footer__bottom,
  .footer__desc-desktop {
    display: none;
  }

  .footer__desc-mobile {
    display: block;
    font-size: 11px;
    line-height: 16px;
    color: var(--muted);
  }

  .footer__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer__privacy {
    color: var(--red);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }

  .footer__links-mobile {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--muted);
  }

  .footer__copy-mobile {
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    color: var(--muted);
  }
}
