/* ====== RESET & BASE ====== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0088CC;
  --primary-dark: #006DA3;
  --primary-light: #E8F4FD;
  --accent: #FF6B35;
  --accent-light: #FFF0E8;
  --text: #1A1A2E;
  --text-secondary: #555770;
  --text-muted: #8E8EA0;
  --bg: #FFFFFF;
  --bg-light: #F7F8FC;
  --bg-dark: #0F1629;
  --border: #E4E6EF;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,136,204,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-light);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 14px;
}

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

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.header__logo-icon {
  border-radius: 8px;
  object-fit: cover;
}

.header__logo-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.header__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.header__link:hover {
  color: var(--primary);
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.header__link:hover::after {
  width: 100%;
}

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

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-switcher__btn {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-switcher__btn--active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

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

.header__burger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__burger--active span:nth-child(2) {
  opacity: 0;
}
.header__burger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.mobile-menu--open {
  display: flex;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__link {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-menu__link:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-menu__lang {
  display: flex;
  gap: 2px;
  padding: 16px 0;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
  margin: 16px 0;
}

.mobile-menu__cta {
  align-self: stretch;
  justify-content: center;
  padding: 14px;
}

/* ====== HERO ====== */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

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

.hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.hero__stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.hero__stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero mascot */

/* Phone mockup */
.hero__illustration {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  gap: 0;
}

.phone-mockup {
  width: 280px;
  background: var(--bg-dark);
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 12px 24px -8px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  overflow: hidden;
}

/* Notch */
.phone-mockup__notch {
  width: 90px;
  height: 24px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Glare overlay */
.phone-mockup__glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 5;
}

.phone-mockup__screen {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

/* Home indicator */
.phone-mockup__home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  margin: 8px auto 6px;
}

.phone-mockup__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--primary);
  color: #fff;
}

.phone-mockup__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.phone-mockup__avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.phone-mockup__name {
  font-weight: 600;
  font-size: 15px;
}

.phone-mockup__status {
  font-size: 12px;
  opacity: 0.8;
}

.phone-mockup__messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.phone-mockup__msg {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}

.phone-mockup__msg--bot {
  background: var(--bg-light);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.phone-mockup__msg--user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.phone-mockup__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  align-self: flex-start;
  max-width: 85%;
}

.phone-mockup__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.phone-mockup__card-name {
  font-weight: 600;
  font-size: 13px;
}

.phone-mockup__card-rating {
  font-size: 12px;
  font-weight: 700;
  color: #FFB800;
}

.phone-mockup__card-rating::before {
  content: '\2605 ';
}

.phone-mockup__card-info {
  font-size: 12px;
  color: var(--text-muted);
}

/* ====== SECTION TITLES ====== */
.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  font-size: 17px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ====== FEATURES ====== */
.features {
  padding: 100px 0;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-card__icon--blue {
  background: var(--primary-light);
  color: var(--primary);
}
.feature-card__icon--green {
  background: #E6F9F0;
  color: #10B981;
}
.feature-card__icon--orange {
  background: var(--accent-light);
  color: var(--accent);
}
.feature-card__icon--purple {
  background: #F0E6FF;
  color: #8B5CF6;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== HOW IT WORKS ====== */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-light);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  max-width: 280px;
  padding: 0 20px;
  position: relative;
}

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.steps__connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 80px;
  flex-shrink: 0;
}

/* ====== CATEGORIES ====== */
.categories {
  padding: 100px 0;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}

.category-card:hover .category-card__icon {
  background: var(--primary);
  color: #fff;
}

.category-card__title {
  font-size: 14px;
  font-weight: 600;
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-card__city {
  font-size: 13px;
  color: var(--text-muted);
}

/* ====== FAQ ====== */
.faq {
  padding: 100px 0;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item--active {
  border-color: var(--primary);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

.faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item--active .faq__question {
  color: var(--primary);
}

.faq__item--active .faq__question::after {
  content: '\2212';
  color: var(--primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq__item--active .faq__answer {
  max-height: 200px;
}

/* ====== CTA BANNER ====== */
.cta-banner {
  padding: 80px 0;
}

.cta-banner__inner {
  background: linear-gradient(135deg, var(--primary) 0%, #005C8A 100%);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -80px;
  right: -60px;
}

.cta-banner__inner::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -60px;
  left: -40px;
}

.cta-banner__mascot {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  border-radius: 50%;
}

.cta-banner__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner__text {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer__logo-icon {
  border-radius: 6px;
  object-fit: cover;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ====== RESPONSIVE ====== */

/* Tablets */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 40px;
  }

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

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .header__nav,
  .header__actions {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__illustration {
    order: -1;
    flex-direction: column;
    align-items: center;
  }


  .phone-mockup {
    width: 260px;
  }

  .cta-banner__mascot {
    width: 80px;
    height: 80px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .features {
    padding: 60px 0;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .how-it-works {
    padding: 60px 0;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .steps__connector {
    width: 2px;
    height: 32px;
    margin-top: 0;
  }

  .categories {
    padding: 60px 0;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .testimonials {
    padding: 60px 0;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq {
    padding: 60px 0;
  }

  .faq__question {
    font-size: 15px;
    padding: 16px 20px;
  }

  .faq__answer p {
    padding: 0 20px 16px;
    font-size: 14px;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner__inner {
    padding: 48px 24px;
  }

  .cta-banner__title {
    font-size: 28px;
  }

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

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

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

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

  .category-card {
    padding: 20px 12px;
  }
}