/* ===== VARIABLES ===== */
:root {
  --black: #1A1A1A;
  --accent: #FFD562;
  --light: #FAF9F9;
  --dark-bg: #202224;
  --red: #F24236;
  --grid-bg: #16181d;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background: #fff;
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 800;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* ===== HEADER ===== */
.header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background: rgba(250, 249, 249, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #e6c050);
  flex-shrink: 0;
}

.logo-icon img {
  width: 36px;
  height: 36px;
  margin: 2px
}

.logo-text {
  font-size: 1.6rem;
  color: var(--black);
  font-weight: 950;
}

.logo-text-footer {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 950;
}

/* ===== NAVIGATION ===== */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #f8f7f5 0%, #f0eee9 100%);
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.highlight {
  color: var(--red);
}

.hero-lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #444;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-screenshot {
  width: 100%;
  max-width: 380px;
  background: #eee;
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.app-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--grid-bg);
  color: #fff;
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  max-width: 300px;
  padding: 0 1rem;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dark-bg);
  color: var(--accent);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.step-number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 2px dashed var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.step h3 {
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.step p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ===== WHO CAN APPLY? ===== */
.eligibility-section {
  padding: 5rem 0;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}


.eligibility-text .section-title {
  margin-bottom: 1rem;
}

.intro-text {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.check-icon {
  color: var(--accent);
  font-weight: 950;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.eligibility-note {
  margin-top: 1.2rem;
  opacity: 0.8;
}

.eligibility-visual {
  width: 60%;
  margin: 0 auto;
}

.eligibility-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ===== WHY CHOOSE US? (как How It Works, но без черного фона) ===== */
.why-choose {
  background: var(--light);
  padding: 5rem 0;
  color: var(--black);
}

.why-choose .section-title {
  color: var(--black);
}

.intro-text {
  font-size: 1.15rem;
  opacity: 0.85;
  margin: 1rem 0 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
  flex: 1;
  max-width: 300px;
  padding: 1.5rem;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.benefit-icon.fast { background: #FF6F61; }
.benefit-icon.smart { background: #4ECDC4; }
.benefit-icon.secure { background: #45B7D1; }

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--black);
}

.benefit-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 900px) {
  .benefits-row {
    flex-direction: column;
    gap: 2rem;
  }

  .benefit-card {
    max-width: none;
    width: 100%;
  }
}

.section {
  margin-bottom: 4rem;
}

@media (max-width: 600px) {
  .benefits-list.vertical {
    gap: 1.5rem;
  }

  .benefit-item {
    gap: 1rem;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .benefit-content h3 {
    font-size: 1.2rem;
  }

  .benefit-content p {
    font-size: 0.95rem;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.testimonials-image img {
  width: 100%;
  height: auto;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonials-grid .section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  background: white;
  padding: 1.6rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
}

.author {
  font-weight: 950;
  color: var(--red);
}

/* ===== ACCORDION ===== */
.accordion {
  max-width: 700px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.accordion-header {
  width: 100%;
  padding: 1.4rem 1.5rem;
  font-weight: 950;
  font-size: 1.1rem;
  color: var(--red);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: #faf9f9;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.accordion-header.active::after {
  content: '−';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.show {
  padding: 0 1.5rem 1.5rem;
}

/* ===== CTA BUTTONS ===== */
.cta-button,
.bold-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font: inherit;
  font-weight: 950;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover,
.bold-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: #ffcc4d;
}

/* Hero CTA */
.hero .cta-button {
  background: var(--accent);
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 12px 32px;
  font-size: 1.05rem;
  box-shadow: none;
}

.hero .cta-button:hover {
  background: var(--accent);
  color: #1a1a1a;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Final CTA */
.cta-section {
  background: linear-gradient(135deg, var(--red), #e03b2f);
  padding: 4.5rem 0;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

.cta-container h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-container p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

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

.bold-cta:hover {
  background: #f8f8f8;
  color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: #aaa;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.disclaimer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.copyright {
  text-align: center;
  color: #666;
}

/* ===== GO TO TOP BUTTON ===== */
.go-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  border: none;
  font-weight: 950;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.go-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.go-top-btn:hover {
  background: #d03025;
  transform: translateY(-3px);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 4rem 0 3rem;
  background: var(--light);
  color: var(--black);
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 950;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--black);
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.legal-text h2 {
  font-size: 1.6rem;
  margin: 2.2rem 0 1.2rem;
  color: var(--red);
}

.legal-text h3 {
  font-size: 1.3rem;
  margin: 1.8rem 0 1rem;
  color: var(--black);
}

.legal-text p {
  margin-bottom: 1.2rem;
}

.legal-text ul,
.legal-text ol {
  margin: 1.2rem 0 1.8rem 2rem;
  padding-left: 0;
}

.legal-text li {
  margin-bottom: 0.6rem;
  list-style-type: disc;
}

.legal-text a {
  color: var(--red);
  text-decoration: underline;
}

.legal-text a:hover {
  color: #d03025;
}

/* ===== MOBILE MENU (RESPONSIVE) ===== */
@media (max-width: 900px) {
  /* Header menu */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 249, 249, 0.98);
    flex-direction: column;
    padding: 1.5rem 0.5rem;
    gap: 1.2rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    z-index: 99;
  }

  .nav-links.active {
    display: flex !important;
  }

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

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

  /* Layout adjustments */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .eligibility-grid,
  .why-grid,
  .testimonials-split {
    grid-template-columns: 1fr;
  }

  .testimonials-image,
  .eligibility-visual {
    order: -1;
  }

  .process-timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .process-timeline:before {
    display: none;
  }

  .step {
  	max-width: 100%;
  }

  .step-number::before {
    display: none;
  }

  .testimonial-card.large {
    grid-column: span 1;
  }

  .testimonials-grid .section-title {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .checklist li {
    font-size: 1rem;
    gap: 10px;
  }

  .benefit-row {
    gap: 10px;
  }

  .benefit-row h3 {
    font-size: 1.1rem;
  }

  .benefit-row p {
    font-size: 0.95rem;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  padding: 4rem 0 3rem;
  background: var(--light);
}

.contact-lead {
  text-align: center;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #444;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: var(--black);
  font-weight: 950;
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.contact-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}

.contact-card a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: #d03025;
  text-decoration: underline;
}

.contact-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.05rem;
  color: #555;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 1.6rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .contact-card h3 {
    font-size: 1.25rem;
  }
}