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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #fff;
  color: #11181C;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================
   Hero Section
   ============================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0a7ea4 0%, #065a75 50%, #043d50 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  padding-bottom: 80px;
  max-width: 640px;
  margin-top: -60px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-logo {
  width: 260px;
  height: auto;
  margin-bottom: 12px;
}

.hero-brand {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #fff);
  z-index: 1;
}

/* ============================
   CTA Button
   ============================ */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #11181C;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta-google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================
   Features Section
   ============================ */

.features {
  padding: 64px 24px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #11181C;
  margin-bottom: 44px;
  letter-spacing: -0.02em;
}

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

.feature-card {
  background: #f8fafb;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 126, 164, 0.1);
}

.feature-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0a7ea4, #0d9bc5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #11181C;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 14px;
  color: #687076;
  line-height: 1.6;
}

/* ============================
   Bottom CTA Section
   ============================ */

.bottom-cta {
  text-align: center;
  padding: 64px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, #f0f7fa 100%);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.bottom-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.bottom-cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #11181C;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bottom-cta-subtitle {
  font-size: 16px;
  color: #687076;
  margin-bottom: 32px;
}

.bottom-cta .cta-button {
  background: linear-gradient(135deg, #0a7ea4, #0d9bc5);
  color: #fff;
  box-shadow: 0 4px 20px rgba(10, 126, 164, 0.3);
}

.bottom-cta .cta-button:hover {
  box-shadow: 0 6px 28px rgba(10, 126, 164, 0.4);
}

/* ============================
   Footer
   ============================ */

.site-footer {
  text-align: center;
  padding: 32px 24px;
  color: #9BA1A6;
  font-size: 14px;
  border-top: 1px solid #eef1f3;
}

/* ============================
   Callback Page Styles
   ============================ */

.callback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f0f7fa 0%, #e8f4f8 50%, #fff 100%);
  padding: 24px;
}

.callback-card {
  background: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(10, 126, 164, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  animation: fadeInUp 0.6s ease-out;
}

.callback-logo {
  width: 120px;
  height: auto;
  margin-bottom: 8px;
}

.callback-brand {
  font-size: 22px;
  font-weight: 800;
  color: #0a7ea4;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.callback-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.callback-title {
  font-size: 24px;
  font-weight: 700;
  color: #11181C;
  margin-bottom: 8px;
}

.callback-subtitle {
  font-size: 16px;
  color: #687076;
  line-height: 1.6;
}

/* Spinner */
.spinner-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, #0a7ea4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 1s linear infinite;
  margin-bottom: 28px;
}

.spinner-ring-inner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success checkmark */
.success-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34a853, #2d9248);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: scaleIn 0.4s ease-out;
}

.success-checkmark svg {
  width: 32px;
  height: 32px;
  color: #fff;
  flex-shrink: 0;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Error icon */
.error-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d93025, #c5221f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: scaleIn 0.4s ease-out;
}

.error-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.referral-warning {
  margin-top: 20px;
  padding: 12px 20px;
  background: #fef7e0;
  color: #8a6d00;
  font-size: 14px;
  border-radius: 12px;
  line-height: 1.5;
}

.error-message {
  color: #d93025;
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

/* ============================
   Animations
   ============================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

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

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

  .bottom-cta-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .cta-button {
    font-size: 14px;
    padding: 12px 22px;
  }
}
