html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f8faff;
  color: #1e293b;
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.site-navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(79,70,229,0.08);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(79,70,229,0.06);
}

.site-brand {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-icon {
  -webkit-text-fill-color: initial;
  font-size: 1.4rem;
}

.site-nav-link {
  color: #475569 !important;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.4rem 0.8rem !important;
  border-radius: 8px;
}

.site-nav-link:hover {
  color: #4f46e5 !important;
  background: rgba(79,70,229,0.06);
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 0;
  min-height: 560px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #0891b2 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  color: white;
  font-size: 1.2rem;
  opacity: 0.15;
  animation: float-particle 8s ease-in-out infinite;
}
.particle-1 { top: 12%; left: 8%;  animation-delay: 0s;   font-size: 0.9rem; }
.particle-2 { top: 25%; left: 90%; animation-delay: 1.5s; font-size: 1.4rem; }
.particle-3 { top: 70%; left: 15%; animation-delay: 3s;   font-size: 0.7rem; }
.particle-4 { top: 20%; left: 50%; animation-delay: 2s;   font-size: 0.5rem; opacity: 0.2; }
.particle-5 { top: 65%; left: 75%; animation-delay: 4.5s; font-size: 0.6rem; opacity: 0.2; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(15deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.min-vh-75 { min-height: 75vh; }

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.25rem;
}

.hero-highlight {
  position: relative;
  white-space: nowrap;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: #fbbf24;
  border-radius: 2px;
  opacity: 0.85;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.btn-cta-primary {
  background: white;
  color: #4f46e5;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.25s;
  font-size: 0.95rem;
}
.btn-cta-primary:hover {
  background: #f0f4ff;
  color: #3730a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-arrow { transition: transform 0.2s; }
.btn-cta-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-cta-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  transition: all 0.25s;
  font-size: 0.95rem;
}
.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  border-color: rgba(255,255,255,0.7);
}

/* Hero illustration */
.hero-illustration-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
}

.hero-cap-img {
  width: 220px;
  height: 220px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-cap 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

@keyframes float-cap {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-14px); }
}

.hero-card-float {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 32px rgba(79,70,229,0.2);
  font-size: 0.82rem;
  animation: float-card 6s ease-in-out infinite;
  z-index: 2;
}
.card-float-1 { top: 10px; right: -10px; animation-delay: 0s; }
.card-float-2 { bottom: 30px; left: -10px; animation-delay: 1.5s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

.float-card-icon { font-size: 1.4rem; line-height: 1; }
.float-card-text { display: flex; flex-direction: column; line-height: 1.3; }
.float-card-text strong { color: #1e293b; font-weight: 700; font-size: 0.82rem; }
.float-card-text span { color: #64748b; font-size: 0.73rem; }

/* Wave separator */
.hero-wave {
  position: relative;
  margin-top: 3rem;
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ─────────────────────────────────────────
   CONSTRUCTION BANNER
───────────────────────────────────────── */
.construction-banner {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
  border-top: 2px solid #fde68a;
  border-bottom: 2px solid #fde68a;
  padding: 0.85rem 0;
  font-size: 0.92rem;
  color: #92400e;
  font-weight: 500;
}

.construction-icon { font-size: 1.1rem; }

.construction-link {
  color: #4f46e5;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.construction-link:hover { color: #3730a3; }

/* ─────────────────────────────────────────
   FEATURES SECTION
───────────────────────────────────────── */
.features-section {
  background: #f8faff;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 4px 24px rgba(79,70,229,0.07);
  border: 1px solid rgba(79,70,229,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(79,70,229,0.13);
}
.feature-card-center {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
}
.feature-card-center .feature-title { color: white; }
.feature-card-center .feature-text  { color: rgba(255,255,255,0.85); }

.feature-img-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-card-center .feature-img-wrap {
  background: rgba(255,255,255,0.15);
}

.feature-img { width: 90px; height: 90px; object-fit: contain; }

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.6rem;
}
.feature-text {
  font-size: 0.93rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ─────────────────────────────────────────
   HOW IT WORKS SECTION
───────────────────────────────────────── */
.how-section {
  background: white;
}

.steps-row {
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #0891b2);
  opacity: 0.25;
}

.step-item {
  text-align: center;
  padding: 1.5rem 1.5rem;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 20px rgba(79,70,229,0.3);
  position: relative;
  z-index: 1;
}

.step-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.step-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   APPLY SECTION
───────────────────────────────────────── */
.apply-section {
  background: #f8faff;
}

.apply-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(79,70,229,0.1);
  border: 1px solid rgba(79,70,229,0.08);
}

.apply-icon { font-size: 2.8rem; margin-bottom: 0.75rem; }
.apply-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.apply-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-card-content {
  max-width: 560px;
  margin: 0 auto;
}

.contact-copy {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-note {
  color: #64748b;
  font-size: 0.9rem;
}

.apply-form .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #374151;
}

.apply-form .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafbff;
}
.apply-form .form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
  background: white;
}

.btn-apply-submit {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  font-weight: 700;
  padding: 0.8rem 2.4rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(79,70,229,0.3);
  transition: all 0.25s;
}
.btn-apply-submit:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,70,229,0.4);
}

.apply-success {
  text-align: center;
  padding: 2rem 0;
}
.apply-success .success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.apply-success h4 { font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; }
.apply-success p  { color: #64748b; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.footer-copy { color: #64748b; font-size: 0.85rem; }

.footer-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: #a78bfa; }

/* ─────────────────────────────────────────
   FORM FLOATING (original)
───────────────────────────────────────── */
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 576px) {
  .hero-section { padding: 3rem 0 0; }
  .min-vh-75 { min-height: auto; padding-bottom: 2rem; }
  .hero-illustration-wrapper { width: 200px; height: 200px; }
  .hero-cap-img { width: 160px; height: 160px; }
  .card-float-1 { right: -20px; }
  .card-float-2 { left: -20px; }
  .apply-card { padding: 1.5rem 1rem; }
  .steps-row::before { display: none; }
}
