/* ============================================
   Marveex Solution — Global Styles
   Colors: Blue, Green, Grey
   ============================================ */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --green-50: #ecfdf5;
  --green-100: #d1fae5;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;

  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1e293b;
  --grey-900: #0f172a;

  --white: #ffffff;
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 60px rgba(30, 64, 175, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-800);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-green {
  color: var(--green-600);
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-200, var(--blue-100));
  border-color: var(--grey-200);
}

.btn--outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-300, var(--blue-100));
  color: var(--blue-700);
}

.btn--white {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  background: var(--grey-50);
  color: var(--blue-800);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.nav__logo-img--footer {
  height: 64px;
}

.nav__logo:hover {
  color: var(--grey-800);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-600);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--blue-700);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Nav dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  padding: 4px 0;
}

.nav__dropdown-toggle::after {
  display: none;
}

.nav__dropdown-icon {
  transition: transform var(--transition);
}

.nav__dropdown.open .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav__dropdown-link:hover,
.nav__dropdown-link.active {
  background: var(--blue-50);
  color: var(--blue-700);
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid var(--blue-100);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--grey-900);
  margin-bottom: 20px;
}

.hero__description {
  font-size: 18px;
  color: var(--grey-500);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__description strong {
  color: var(--green-700);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}

.stat__label {
  font-size: 13px;
  color: var(--grey-500);
  margin-top: 4px;
}

/* Phone Mockup */
.phone-mockup {
  width: 280px;
  margin: 0 auto;
  background: var(--grey-800);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
}

.phone-mockup__screen {
  background: var(--grey-50);
  border-radius: 28px;
  overflow: hidden;
  padding: 20px 16px;
  min-height: 480px;
}

.app-preview__header {
  margin-bottom: 20px;
}

.app-preview__greeting {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-800);
}

.app-preview__subtitle {
  font-size: 13px;
  color: var(--grey-500);
}

.app-preview__card {
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.app-preview__card--blue {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
}

.app-preview__card--green {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
}

.app-preview__card--grey {
  background: var(--grey-200);
  color: var(--grey-700);
}

.app-preview__card-label {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.app-preview__card-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.app-preview__card-meta {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-top: 4px;
}

.app-preview__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}

.app-preview__progress-bar {
  height: 100%;
  background: var(--white);
  border-radius: 4px;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__tag--green {
  background: var(--green-50);
  color: var(--green-700);
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--grey-900);
  margin-bottom: 16px;
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  font-size: 17px;
  color: var(--grey-500);
  line-height: 1.7;
}

.section__subtitle--left {
  text-align: left;
}

/* ---- About ---- */
.about {
  background: var(--grey-50);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about__card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about__icon--blue {
  background: var(--blue-50);
  color: var(--blue-600);
}

.about__icon--green {
  background: var(--green-50);
  color: var(--green-600);
}

.about__icon--grey {
  background: var(--grey-100);
  color: var(--grey-600);
}

.about__card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 10px;
}

.about__card p {
  font-size: 15px;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ---- IGCSE Master ---- */
.igcse {
  background: var(--white);
}

.igcse__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 36px 0;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon--blue {
  background: var(--blue-50);
  color: var(--blue-600);
}

.feature-item__icon--green {
  background: var(--green-50);
  color: var(--green-600);
}

.feature-item__icon--grey {
  background: var(--grey-100);
  color: var(--grey-600);
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--grey-500);
  line-height: 1.6;
}

/* Store Badges */
.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--grey-800);
  color: var(--white);
  border-radius: 12px;
  transition: all var(--transition);
}

.store-badge:hover {
  background: var(--grey-700);
  color: var(--white);
  transform: translateY(-2px);
}

.store-badge--disabled {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.store-badge__small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

.store-badge__large {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

/* IGCSE Phone Visuals */
.igcse__phones {
  position: relative;
  height: 420px;
}

.igcse-phone {
  position: absolute;
  width: 220px;
  background: var(--grey-800);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.igcse-phone--back {
  top: 20px;
  right: 20px;
  transform: rotate(6deg);
  z-index: 1;
}

.igcse-phone--front {
  top: 60px;
  left: 20px;
  transform: rotate(-4deg);
  z-index: 2;
}

.igcse-phone__screen {
  background: var(--white);
  border-radius: 22px;
  padding: 16px;
  min-height: 360px;
}

.mini-chart__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-700);
  margin-bottom: 16px;
}

.mini-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.mini-chart__bar {
  flex: 1;
  background: linear-gradient(180deg, var(--green-500), var(--green-600));
  border-radius: 4px 4px 0 0;
  min-height: 10px;
}

.exam-screen__badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 8px;
}

.exam-screen h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 8px;
}

.exam-screen__timer {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.exam-screen__question p {
  font-size: 12px;
  color: var(--grey-600);
  line-height: 1.5;
  margin-bottom: 12px;
}

.exam-screen__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exam-screen__options span {
  font-size: 11px;
  padding: 8px 10px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  color: var(--grey-600);
}

.exam-screen__options span.selected {
  background: var(--blue-50);
  border-color: var(--blue-300, var(--blue-100));
  color: var(--blue-700);
  font-weight: 600;
}

/* ---- Services ---- */
.services {
  background: var(--grey-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--blue-200, var(--blue-100));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--grey-100);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  padding: 80px 0;
  text-align: center;
}

.cta-banner__inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

/* ---- Contact ---- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact__details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-label {
  display: block;
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact__detail a {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-700);
}

.contact__detail a:hover {
  color: var(--blue-600);
}

/* Form */
.contact__form {
  background: var(--grey-50);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--grey-800);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;
}

.form-success {
  text-align: center;
  padding: 14px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 10px;
  font-weight: 600;
  margin-top: 12px;
}

/* ---- Footer ---- */
.footer {
  background: var(--grey-900);
  color: var(--grey-400);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer__brand .nav__logo {
  color: var(--white);
}

.footer__links h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--grey-400);
}

.footer__links a:hover {
  color: var(--green-500);
}

.footer__bottom {
  border-top: 1px solid var(--grey-800);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 13px;
  text-align: center;
}

/* ---- Legal Pages ---- */
.legal-page {
  padding: calc(var(--header-height) + 60px) 0 80px;
  min-height: 80vh;
}

.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--grey-900);
  margin-bottom: 8px;
}

.legal-page .legal-date {
  font-size: 14px;
  color: var(--grey-400);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grey-800);
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content {
  max-width: 760px;
}

.legal-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-700);
  margin-top: 56px;
  margin-bottom: 8px;
  padding-top: 24px;
  border-top: 2px solid var(--grey-200);
}

.legal-section-title:first-of-type {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (min-width: 1024px) {
  .nav__cta {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .hero__container,
  .igcse__layout,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    transform: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .igcse__phones {
    height: 360px;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-top: 1px solid var(--grey-200);
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav__link {
    font-size: 18px;
  }

  .nav__dropdown {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 18px;
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 0;
    min-width: auto;
    transition: max-height var(--transition), visibility var(--transition);
  }

  .nav__dropdown.open .nav__dropdown-menu {
    visibility: visible;
    max-height: 200px;
    transform: none;
  }

  .nav__dropdown-link {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav__cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero__stats {
    gap: 24px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__form {
    padding: 24px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-wrap: wrap;
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }
}
