/* === Global Styles === */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #fefefe;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3 {
  color: #023e8a;
  margin-bottom: 0.6em;
}

p {
  max-width: 750px;
  margin: 0 auto 1.5em;
  font-size: 1.125em;
}

/* === Hero === */
.hero {
  background: linear-gradient(to bottom right, #0077b6, #00b4d8);
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  border-top-left-radius: 100% 40px;
  border-top-right-radius: 100% 40px;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5em;
}

.hero-inner p {
  font-size: 1.4rem;
  max-width: 640px;
  margin: 0 auto 1.5em;
}

.cta {
  background-color: #ffffff;
  color: #0077b6;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cta:hover {
  background-color: #e1f7ff;
  color: #023e8a;
}

/* === Section Layout === */
section {
  padding: 80px 20px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.grid div {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease;
}

.grid div:hover {
  transform: translateY(-8px);
}

/* === Testimonial === */
.quote blockquote {
  background: #ffffff;
  padding: 40px;
  border-left: 6px solid #00b4d8;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-radius: 14px;
}

.quote footer {
  margin-top: 15px;
  color: #666;
  font-size: 0.95em;
  text-align: right;
}

/* === Steps === */
.how ol {
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
  counter-reset: step;
}

.how ol li {
  counter-increment: step;
  margin-bottom: 30px;
  position: relative;
  padding-left: 56px;
  text-align: left;
  font-weight: 500;
  font-size: 1.1em;
}

.how ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  background: #00b4d8;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1em;
}

/* === CTA Form === */
.cta-form form {
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  max-width: 640px;
  margin: 60px auto 0;
  text-align: left;
}

.cta-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1em;
  background: #f4f4f4;
}

.cta-form button {
  background: #00b4d8;
  color: white;
  padding: 14px 36px;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-form button:hover {
  background: #0096c7;
}

/* === Footer === */
.footer {
  background-color: #023e8a;
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-size: 1em;
  margin-top: 80px;
}

/* === Popup === */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup.hidden {
  display: none;
}
.popup-content {
  background: white;
  padding: 40px;
  border-radius: 14px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.popup-content h3 {
  color: #023e8a;
  margin-bottom: 10px;
}
.popup-content button {
  margin-top: 20px;
  background: #00b4d8;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.popup-content button:hover {
  background: #0096c7;
}

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

  .hero-inner p {
    font-size: 1.2rem;
  }

  .cta-form form {
    padding: 24px;
  }
}
