* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
}

.nav .navbar {
  min-height: 78px;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 44px;
  border-radius: 12px;
}

.navbar-nav .nav-link {
  color: #111;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
}

.navbar-nav .nav-link:hover {
  color: #000;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(0);
}

.nav-cta {
  white-space: nowrap;
}

/* BUTTONS */

.btn-primary,
button.btn-primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
  text-decoration: none;
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary:hover,
button.btn-primary:hover {
  background: #000;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
  text-decoration: none;
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.btn-secondary:hover {
  background: #111;
  color: #fff;
}

/* HERO */

.hero {
  padding: 100px 0 90px;
  text-align: center;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto 24px;
  font-size: 56px;
  line-height: 1.1;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  color: #555;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* SECTIONS */

.section {
  padding: 90px 0;
}

.section h2 {
  text-align: center;
  font-size: 38px;
  margin: 0 0 18px;
}

.section > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 18px;
}

/* GRID / CARDS */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  padding: 26px;
  border-radius: 18px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

/* DARK SECTION */

.dark {
  background: #111;
  color: #fff;
}

.dark h2 {
  color: #fff;
}

.dark-card {
  background: #1d1d1d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 700;
}

.dark .card p {
  color: rgba(255, 255, 255, 0.78);
}

/* STEPS */

.steps .card {
  text-align: center;
}

/* TRUST SECTION */

.trust {
  background: #f8f8f8;
  text-align: center;
}

.trust-sub {
  color: #666;
  margin-bottom: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #eee;
}

.stars {
  color: #f5b50a;
  font-size: 18px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

.review-author {
  font-size: 13px;
  color: #777;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-badges span {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 13px;
}

/* CONTACT */

.contact {
  text-align: center;
}

.form {
  max-width: 560px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: #111;
}

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

.form button {
  align-self: center;
}

/* FOOTER */

.footer {
  border-top: 1px solid #eee;
  padding: 40px 0 20px;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-left,
.footer-contact,
.footer-social {
  flex: 1;
  min-width: 220px;
}

.footer-inner p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.footer-inner strong {
  color: #111;
}

.footer-contact a,
.footer-social a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.footer-contact a:hover,
.footer-social a:hover {
  text-decoration: underline;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.footer-social i {
  font-size: 23px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.footer-bottom p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

/* 404 PAGE */

.error-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.error-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px;
  color: #111;
}

.error-box h1 {
  font-size: 42px;
  margin: 0 0 16px;
}

.error-text {
  font-size: 18px;
  color: #666;
  margin: 0 auto 30px;
  max-width: 520px;
}

/* TABLET */

@media (max-width: 992px) {
  .nav .navbar {
    min-height: 72px;
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
  }

  .navbar-nav {
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .logo img {
    height: 40px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .section h2 {
    font-size: 34px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary,
  button.btn-primary {
    padding: 13px 18px;
    font-size: 14px;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 70px 0;
  }

  .section h2 {
    font-size: 30px;
  }

  .card {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-social a {
    justify-content: center;
  }

  .error-code {
    font-size: 70px;
  }

  .error-box h1 {
    font-size: 32px;
  }

  .error-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav .navbar {
    min-height: 68px;
  }

  .logo img {
    height: 36px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
  }

  .section h2 {
    font-size: 26px;
  }

  .form button {
    width: 100%;
  }
}