@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  color: #1d1d1f;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* --- Layout --- */
.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--hero {
  padding-top: 112px;
  padding-bottom: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.section--muted {
  background-color: #f5f5f7;
}

.section--final-cta {
  background-color: #f5f5f7;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #1d1d1f;
}

.section-subtitle {
  margin: 0;
  color: #6e6e73;
  font-size: 17px;
  font-weight: 400;
  max-width: 520px;
  line-height: 1.55;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header--left {
  text-align: left;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background-color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header--scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}

.nav {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #424245;
}

.nav-link {
  padding: 6px 10px;
  border-radius: 8px;
  color: #424245;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #424245;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-btn--active {
  background-color: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    opacity 0.15s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn--primary {
  background-color: #0071e3;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #0077ed;
  transform: none;
  opacity: 0.92;
}

.btn--secondary {
  background-color: rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn--secondary:hover {
  background-color: rgba(0, 0, 0, 0.09);
}

.btn--ghost {
  padding-inline: 16px;
  font-size: 14px;
  font-weight: 500;
  background-color: #0071e3;
  color: #ffffff;
  border-radius: 980px;
}

.btn--ghost:hover {
  background-color: #0077ed;
  opacity: 0.92;
}

.btn--large {
  padding-inline: 32px;
  padding-block: 13px;
  font-size: 16px;
}

.btn:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

/* --- Hero --- */
.hero-grid {
  display: block;
}

.hero-content {
  max-width: 580px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0071e3;
  margin: 0 0 16px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #1d1d1f;
}

.hero-subtitle {
  margin: 0 0 28px;
  color: #6e6e73;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
}

.hero-badge {
  padding: 6px 12px;
  border-radius: 980px;
  background-color: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #424245;
}

/* 3D model container — fixed right side */
.iphone-3d-container {
  width: 360px;
  height: 640px;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: fixed;
  top: 50%;
  right: 180px;
  transform: translateY(-50%);
  z-index: 50;
  background: transparent;
}

/* --- Trust section --- */
.section--trust {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background-color: rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
}

.trust-card {
  background-color: #ffffff;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-card:first-child {
  border-radius: 18px 0 0 18px;
}

.trust-card:last-child {
  border-radius: 0 18px 18px 0;
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
  letter-spacing: 0.01em;
}

.trust-value {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.trust-card--rating {
  align-items: flex-start;
}

.trust-stars {
  font-size: 13px;
  margin-bottom: 2px;
  color: #f5a623;
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 28px 24px 30px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #f0f7ff;
  color: #0071e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.step-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.step-text {
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

/* --- Cards / Services --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-grid--testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.testimonial-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 28px 24px 30px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.card-text {
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

/* --- Why choose us --- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.why-item {
  font-size: 15px;
  color: #424245;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.why-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0071e3;
  font-size: 13px;
  font-weight: 600;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 13px;
  color: #6e6e73;
  margin-top: 2px;
}

/* --- Testimonials --- */
.testimonial-rating {
  font-size: 13px;
  margin-bottom: 10px;
  color: #f5a623;
}

.testimonial-text {
  font-size: 14px;
  color: #424245;
  margin: 0 0 14px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-meta {
  font-size: 13px;
  color: #6e6e73;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-weight: 600;
  color: #1d1d1f;
}

/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: #6e6e73;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-answer {
  padding: 0 20px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.faq-answer p {
  font-size: 14px;
  color: #6e6e73;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  padding-top: 0;
  max-height: 200px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* --- Footer --- */
.site-footer {
  padding: 40px 0 28px;
  background-color: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
}

.footer-logo {
  font-weight: 600;
  font-size: 16px;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.footer-text {
  margin: 8px 0 0;
  font-size: 12px;
  color: #86868b;
  max-width: 480px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  flex-shrink: 0;
}

.footer-link {
  color: #424245;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #0071e3;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 14px;
}

.footer-meta {
  margin: 0;
  font-size: 12px;
  color: #86868b;
}

/* --- Reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (min-width: 1024px) {
  .container {
    padding-right: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 1024px) {
  .container {
    padding-right: 0;
  }

  .iphone-3d-container {
    position: fixed;
    top: auto;
    bottom: 16px;
    right: 16px;
    width: 120px;
    height: 240px;
    transform: none;
    opacity: 0.85;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .nav {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .trust-card:first-child {
    border-radius: 18px 0 0 0;
  }

  .trust-card:last-child {
    border-radius: 0 0 18px 0;
  }

  .steps-grid,
  .card-grid,
  .card-grid--testimonials,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .section--hero {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .container {
    width: min(100% - 32px, 720px);
    padding-right: 0;
  }

  .iphone-3d-container {
    width: 90px;
    height: 180px;
    bottom: 12px;
    right: 12px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .trust-card:first-child {
    border-radius: 18px 18px 0 0;
  }

  .trust-card:last-child {
    border-radius: 0 0 18px 18px;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 16px;
  }
}
