:root {
  --ph-blue: #0038a8;
  --ph-blue-bright: #1769e0;
  --ph-red: #ce1126;
  --ph-gold: #fcd116;
  --ink: #0b1739;
  --glass: rgba(255, 255, 255, .76);
  --glass-border: rgba(255, 255, 255, .64);
  --shadow: 0 24px 70px rgba(0, 30, 92, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(252, 209, 22, .18), transparent 24rem),
    radial-gradient(circle at 95% 22%, rgba(23, 105, 224, .18), transparent 30rem),
    linear-gradient(145deg, #f7faff 0%, #eef4ff 48%, #fff9f3 100%);
  min-height: 100vh;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 1030;
  color: #fff;
  background: linear-gradient(115deg, rgba(0, 40, 120, .96), rgba(14, 91, 209, .91)) !important;
  border: 1px solid rgba(255,255,255,.28);
  border-top: 0;
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 12px 42px rgba(0, 37, 116, .22) !important;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 7%; right: 7%; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ph-gold), var(--ph-red), transparent);
}
.hero img { object-fit: contain; max-width: min(270px, 58vw); }
.hero .btn {
  color: var(--ph-blue) !important;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 30px rgba(0,20,70,.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero .btn:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 14px 34px rgba(0,20,70,.26); }

section.position-relative { padding: 28px 0 12px; }
#carouselExampleIndicators {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--shadow) !important;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
.carousel-item img, .carousel-item video { width: 100%; max-height: 620px; object-fit: cover; }
.carousel-control-prev, .carousel-control-next { width: 9%; opacity: .9; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 42px; height: 42px; padding: 12px; border-radius: 50%;
  background-color: rgba(0, 28, 86, .5);
  background-size: 44%;
  backdrop-filter: blur(12px);
}

h1, h2, h5 { letter-spacing: -.025em; }
h1, h2 { color: var(--ink) !important; }
.lead { color: #60708e !important; }
.card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.76) !important;
  border-radius: 24px;
  background: var(--glass);
  box-shadow: 0 18px 48px rgba(0, 42, 115, .11) !important;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 25px 60px rgba(0, 42, 115, .16) !important; }
.card-header { background: rgba(255,255,255,.5) !important; border-color: rgba(0,56,168,.08); }
.card-img-top { aspect-ratio: 16 / 8; object-fit: cover; }
.btn-primary { background: linear-gradient(135deg, var(--ph-blue), var(--ph-blue-bright)); border-color: transparent; box-shadow: 0 8px 20px rgba(0,56,168,.22); }
.btn-warning { background: var(--ph-gold); border-color: var(--ph-gold); color: #202533; }

.features { padding: 60px 20px !important; }
.features .card { min-height: 215px; border: 1px solid rgba(255,255,255,.76) !important; }
.features .card:hover { transform: translateY(-6px); }
.features .fa { color: var(--ph-blue) !important; filter: drop-shadow(0 8px 15px rgba(0,56,168,.16)); }

.cta {
  margin: 0 auto 36px;
  width: min(1110px, calc(100% - 30px));
  padding: 60px 20px !important;
  color: #fff;
  background: linear-gradient(125deg, rgba(0,56,168,.95), rgba(12,83,198,.91)) !important;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta::before { content:""; position:absolute; width:240px; height:240px; border-radius:50%; background:rgba(252,209,22,.2); left:-90px; top:-120px; }
.cta h2, .cta p { color: #fff !important; position: relative; }
.cta .btn { position: relative; background: rgba(255,255,255,.94); color: var(--ph-blue); border: 0; }
.footer { position: static; background: transparent !important; color: #64718b !important; padding: 30px 0 !important; text-align: center; }
.modal-content { border: 1px solid rgba(255,255,255,.72); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.modal-header { background: linear-gradient(135deg, var(--ph-blue), var(--ph-blue-bright)) !important; }

@media (max-width: 767.98px) {
  video.position-absolute { display: none; }
  .hero { border-radius: 0 0 18px 18px !important; }
  .hero .container { padding: 0 18px; }
  .hero img { height: 58px; }
  #carouselExampleIndicators, .card, .cta { border-radius: 20px; }
  section.position-relative { padding-top: 18px; }
  .features { padding: 38px 15px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
