/*
Theme Name: unlockEDtheme
Author: Your Name
Version: 1.0
Description: Custom theme for UnlockED App
*/

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Pragmatica";
  src:
    url("assets/fonts/Pragmatica-Book.woff2") format("woff2"),
    url("assets/fonts/Pragmatica-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pragmatica";
  src:
    url("assets/fonts/Pragmatica-Bold.woff2") format("woff2"),
    url("assets/fonts/Pragmatica-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: #1a1a1a;
  background: #fff;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ---------- Design tokens ---------- */
:root {
  --font-heading: "Pragmatica", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --blue: #2f6fed;
  --blue-dark: #1e4fc4;
  --yellow: #f5c518;
  --text: #1a1a1a;
  --container: 1140px;
  --header-max: 1139px;
  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

/* ---------- Global container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Global typography ---------- */
.hero-title,
.how-it-works-title,
.how-step-title,
.how-step-number,
.faq-section__title,
.faq-item__question,
.features-card__title,
.why-choose__title,
.why-choose__item-title,
.cta-title,
.footer-brand,
.site-logo {
  font-family: var(--font-heading);
}

.hero-description,
.how-it-works-subtitle,
.how-step-desc,
.cta-description,
.features-card__description,
.features-card__rating-text,
.why-choose__subtitle,
.why-choose__item-desc,
.cta-btn,
.footer-welcome,
.footer-tagline,
.footer-copyright,
.footer-menu a,
.nav-menu a,
.hero-badge,
.hero-social-text {
  font-family: var(--font-body);
}

/* ---------- Scroll reveal ---------- */
@keyframes unlocked-scroll-up {
  from {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.js .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
}

.js .scroll-reveal.is-visible {
  animation: unlocked-scroll-up 0.9s ease forwards;
}

/* ---------- Site Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 24px 20px 0;
  pointer-events: none;
  transition: transform 0.65s ease-in-out;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 24px));
}

.header-bar {
  pointer-events: auto;
  width: 100%;
  max-width: var(--header-max);
  height: var(--header-height);
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.site-logo .custom-logo-link,
.site-logo .custom-logo {
  display: flex;
  align-items: center;
}

.site-logo .custom-logo,
.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-unlock {
  color: var(--blue);
}

.logo-ed {
  color: var(--yellow);
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--blue);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background-color: var(--blue);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #fff;
  padding: 130px 0 0;
  overflow: visible;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: end;
  gap: 32px;
  min-height: 560px;
}

.hero-content {
  max-width: 540px;
  padding-bottom: 120px;
  align-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.hero-badge-icon {
  font-size: 14px;
  line-height: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-store-link {
  display: inline-flex;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.hero-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.hero-store-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
}

.hero-avatar:first-child {
  margin-left: 0;
}

.hero-social-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-social-text {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.hero-visual {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-arrow {
  position: absolute;
  left: -42px;
  top: 6%;
  width: 90px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.hero-phone {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

/* ---------- Why Choose ---------- */
.why-choose {
  padding: 80px 0 100px;
  background: #fff;
}

.why-choose__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.why-choose__visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.why-choose__content {
  max-width: 520px;
}

.why-choose__title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 48px;
  color: #09090b;
  margin-bottom: 12px;
}

.why-choose__title strong {
  font-weight: 700;
}

.why-choose__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #4f4f4f;
  margin-bottom: 32px;
  max-width: 460px;
}

.why-choose__list-wrap {
  position: relative;
  padding-left: 16px;
  border-left: 3px solid #2f6fed;
}

.why-choose__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.why-choose__list::-webkit-scrollbar {
  display: none;
}

.why-choose__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  flex-shrink: 0;
}

.why-choose__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.why-choose__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.why-choose__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-choose__item-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #09090b;
}

.why-choose__item-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4f4f4f;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: 80px 0 100px;
  background: #f3f8ff;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 56px;
}

.how-it-works-title {
  font-size: 40px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.how-it-works-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #555;
}

.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  overflow: visible;
}

.how-step {
  position: relative;
}

.how-step--2,
.how-step--4 {
  margin-top: 72px;
}

.how-step-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(47, 111, 237, 0.08);
  min-height: 208px;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #2f6fed;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.how-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #09090b;
  line-height: 1.35;
  margin-bottom: 10px;
}

.how-step-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #4f4f4f;
}

.how-it-works .container {
  overflow: visible;
}

.how-step-arrow {
  position: absolute;
  width: 129px;
  height: 51px;
  z-index: 2;
  pointer-events: none;
}

.how-step-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.how-step-arrow--down {
  right: -20px;
  bottom: -60px;
}

.how-step-arrow--up {
  right: -20px;
  top: -55px;
}

/* ---------- Section Divider ---------- */
.section-divider {
  padding: 20px 0 10px;
  background: #fff;
}

.section-divider__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-divider__line {
  flex: 1;
  height: 1px;
  max-width: 420px;
}

.section-divider__line:first-child {
  background: linear-gradient(90deg, transparent 0%, #c9d6ea 100%);
}

.section-divider__line:last-child {
  background: linear-gradient(90deg, #c9d6ea 0%, transparent 100%);
}

.section-divider__mascot {
  width: 48px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 80px 0 100px;
  background: #fff;
}

.faq-section .container {
  max-width: 874px;
}

.faq-section__title {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 38px;
  line-height: 48px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0;
  margin-bottom: 48px;
}

.faq-section__title strong {
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.faq-item.is-open .faq-item__trigger {
  align-items: flex-start;
  padding-bottom: 12px;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #09090b;
}

.faq-item__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #111;
}

.faq-item__icon-minus {
  display: none;
}

.faq-item.is-open .faq-item__icon-plus {
  display: none;
}

.faq-item.is-open .faq-item__icon-minus {
  display: inline;
}

.faq-item__answer {
  padding: 0 24px 22px;
}

.faq-item__answer p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #4f4f4f;
}

/* ---------- Features ---------- */
.features-section {
  padding: 80px 0 100px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.features-card {
  border-radius: 24px;
  overflow: hidden;
}

.features-card--banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  background: #f3f9ff;
  border: 1px solid #0000000f;
}

.features-card--light {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 32px 32px 0;
  background: #f3f9ff;
  border: 1px solid #0000000F;
}

.features-card--dark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 32px 32px 0;
  background: #001027;
  color: #fff;
  border: 1px solid #0000000F;
}

.features-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-card--banner .features-card__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 420px;
  padding-right: 16px;
}

.features-card--banner .features-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.features-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.features-card__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.features-card--banner .features-card__proof-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  border: 0.59px solid #fff;
  background: rgba(255, 255, 255, 0.3);
}

.features-card--banner .features-card__avatars {
  display: flex;
  align-items: center;
}

.features-card--banner .features-card__avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}

.features-card--banner .features-card__avatars img:first-child {
  margin-left: 0;
}

.features-card--banner .features-card__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.features-card--banner .features-card__stars {
  color: #f5c518;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
}

.features-card--banner .features-card__rating-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #4f4f4f;
  white-space: nowrap;
}

.features-card__title {
  max-width: 450px;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 48px;
  color: #09090b;
}

.features-card__title strong {
  font-weight: 700;
}

.features-card--banner .features-card__title--lg {
  font-size: 38px;
  line-height: 48px;
  max-width: 340px;
}

.features-card--dark .features-card__title {
  color: #fff;
}

.features-card__description {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #4f4f4f;
  max-width: 420px;
}

.features-card--dark .features-card__description {
  color: rgba(255, 255, 255, 0.75);
}

.features-card__media--phones {
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-card--banner .features-card__media--phones {
  justify-content: flex-start;
}

.features-card--banner .features-card__media--phones img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-left: -8px;
  object-fit: contain;
}

.features-card__media--bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 24px;
}

.features-card__media--bottom img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cta-section .container {
  overflow: visible;
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 480px) 1fr;
  align-items: center;
  column-gap: 24px;
  height: 460px;
  min-height: 460px;
  padding: 56px 40px 0 64px;
  border-radius: 32px;
  background-color: #2f6fed;
  background-image: linear-gradient(
    90deg,
    #2f8fc4 0%,
    #2f6fed 55%,
    #2563eb 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: visible;
  color: #fff;
}

.cta-content {
  max-width: 100%;
  padding-right: 12px;
}

.cta-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-title-highlight {
  font-weight: 700;
}

.cta-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  background: #fff;
  color: #2f6fed;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-phones {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 0;
}

.cta-phone {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

/* ---------- Site Footer ---------- */
.site-footer {
  background: #ffffff;
  padding: 64px 24px 40px;
  text-align: center;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-mascot {
  margin-bottom: 28px;
}

.footer-mascot img {
  width: 120px;
  height: auto;
  margin: 0 auto;
}

.footer-branding {
  margin-bottom: 28px;
}

.footer-welcome {
  font-size: 18px;
  font-weight: 500;
  color: #111;
  margin-bottom: 4px;
}

.footer-brand {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.footer-brand-main {
  color: #111;
}

.footer-brand-ed {
  color: #f5a623;
}

.footer-tagline {
  font-size: 15px;
  font-weight: 400;
  color: #222;
}

.footer-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-store-link {
  display: inline-flex;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.footer-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer-store-link img,
.footer-store-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-social-link img,
.footer-social-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-nav {
  margin-bottom: 16px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.footer-menu li {
  display: inline-flex;
  align-items: center;
}

.footer-menu li:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  color: #888;
  font-weight: 400;
}

.footer-menu a {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--blue);
}

.footer-copyright {
  font-size: 12px;
  color: #888;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-arrow {
    display: none;
  }

  .how-it-works-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
  }

  .how-step--2,
  .how-step--4 {
    margin-top: 40px;
  }

    .how-step-arrow {
        display: none;
    }

    .why-choose__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose__visual {
        display: flex;
        justify-content: center;
    }

    .why-choose__content {
        max-width: none;
    }

    .features-card--banner {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .features-card--banner .features-card__media--phones img {
    max-width: 100%;
    margin-left: 0;
  }

  .features-card--banner .features-card__content {
    max-width: none;
    padding-right: 0;
  }

  .features-card--banner .features-card__meta {
    flex-wrap: wrap;
  }

  .features-card--banner .features-card__rating-text {
    white-space: normal;
  }

  .features-card--banner .features-card__title--lg {
    font-size: 28px;
    max-width: none;
  }

  .features-card--light,
  .features-card--dark {
    min-height: 460px;
  }
}

@media (max-width: 900px) {
  .header-bar {
    height: 60px;
    padding: 0 10px 0 20px;
  }

  .nav-menu {
    gap: 28px;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .hero {
    padding: 120px 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 24px;
    text-align: center;
    align-self: auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stores {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual {
    order: 2;
  }

  .hero-phone {
    max-height: 420px;
    margin: 0 auto;
  }

  .cta-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-height: 0;
    padding: 40px 32px 32px;
    gap: 8px;
    overflow: hidden;
  }

  .cta-content {
    max-width: 100%;
    padding-right: 0;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-phones {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 16px 0 0;
    height: auto;
  }

  .cta-phone {
    max-height: 320px;
    width: 100%;
    margin: 0 auto;
    object-position: center bottom;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 12px 0;
  }

  .header-bar {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 4px;
    border-top: 1px solid #eee;
  }

  .nav-menu {
    gap: 24px;
    padding: 6px 0 2px;
  }

  .hero {
    padding: 110px 0 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-store-img {
    height: 42px;
  }

  .hero-avatar {
    width: 34px;
    height: 34px;
  }

  .hero-social-text {
    font-size: 12px;
  }

  .hero-phone {
    max-height: 320px;
  }

  .cta-section {
    padding: 48px 0 40px;
  }

  .how-it-works {
    padding: 56px 0 64px;
  }

  .how-it-works-header {
    margin-bottom: 40px;
  }

  .how-it-works-title {
    font-size: 28px;
  }

  .how-it-works-subtitle {
    font-size: 15px;
  }

  .how-it-works-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    margin: 0 auto;
  }

  .how-step--2,
  .how-step--4 {
    margin-top: 0;
  }

  .how-step-card {
    min-height: 0;
  }

  .faq-section {
    padding: 56px 0 64px;
  }

  .faq-section__title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .faq-item__trigger {
    padding: 18px 20px;
  }

  .faq-item.is-open .faq-item__trigger {
    padding-bottom: 10px;
  }

  .faq-item__question {
    font-size: 16px;
  }

  .faq-item__answer {
    padding: 0 20px 18px;
  }

  .faq-item__answer p {
    font-size: 15px;
  }

    .features-section {
        padding: 56px 0 64px;
    }

    .why-choose {
        padding: 56px 0 64px;
    }

    .why-choose__title {
        font-size: 28px;
        line-height: 1.3;
    }

    .why-choose__subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .why-choose__item {
        padding: 16px 18px;
    }

    .why-choose__item-title {
        font-size: 16px;
    }

    .why-choose__item-desc {
        font-size: 15px;
    }

    .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-card--light,
  .features-card--dark {
    min-height: 0;
    padding: 24px 20px 0;
  }

  .features-card__title,
  .features-card__title--lg {
    font-size: 24px;
    line-height: 1.3;
    max-width: none;
  }

  .features-card__description {
    font-size: 15px;
  }

  .cta-banner {
    padding: 32px 20px 24px;
    border-radius: 24px;
  }

  .cta-title {
    font-size: 26px;
  }

  .cta-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-phones {
    margin: 12px 0 0;
  }

  .cta-phone {
    max-height: 260px;
  }

  .site-footer {
    padding: 48px 16px 32px;
  }

  .footer-brand {
    font-size: 28px;
  }

  .footer-menu li:not(:last-child)::after {
    margin: 0 6px;
  }

  .footer-menu a {
    font-size: 12px;
  }
}
