/* ==========================================================================
   1. RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   2. VARIABLES
   ========================================================================== */
:root {
  --primary-navy: #06447F;
  --primary-blue: #0875C9;
  --secondary-blue: #1268A8;
  --light-blue: #EAF4FC;
  --very-light-blue: #F5FAFE;
  --white: #FFFFFF;
  --dark-text: #172B3A;
  --secondary-text: #5F6B76;
  --border: #D9E5EF;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1160px;
  --header-height: 96px;
  --footer-height: 96px;

  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
body {
  font-family: var(--font-sans);
  background: var(--very-light-blue);
  color: var(--dark-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 32px;
  min-height: var(--header-height);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-10px);
  animation: logoEnter 700ms var(--ease-standard) forwards;
}

.brand-mark {
  flex-shrink: 0;
  display: flex;
  filter: drop-shadow(0 6px 14px rgba(6, 68, 127, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--primary-navy);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--secondary-text);
  letter-spacing: 0.01em;
}

.header-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-10px);
  animation: logoEnter 700ms var(--ease-standard) 120ms forwards;
}

.header-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
  animation: pulseDot 2.4s ease-in-out infinite;
}

.header-indicator-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary-blue);
  white-space: nowrap;
}

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 24px 48px;
}

.hero-content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--light-blue);
  border: 1px solid var(--border);
  color: var(--secondary-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  animation: heroEnter 700ms var(--ease-standard) 200ms forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
  position: relative;
}

.badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary-blue);
  animation: pulseRing 2.2s ease-out infinite;
}

.hero-heading {
  margin-top: 28px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--dark-text);
  opacity: 0;
  transform: translateY(18px);
  animation: heroEnter 750ms var(--ease-standard) 340ms forwards;
}

.hero-subheading {
  margin-top: 14px;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: var(--secondary-blue);
  opacity: 0;
  transform: translateY(16px);
  animation: heroEnter 750ms var(--ease-standard) 460ms forwards;
}

.hero-description {
  margin-top: 18px;
  max-width: 540px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-text);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
  animation: heroEnter 750ms var(--ease-standard) 580ms forwards;
}

.cta-wrap {
  margin-top: 34px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroEnter 750ms var(--ease-standard) 700ms forwards;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px -10px rgba(8, 117, 201, 0.5);
  cursor: default;
  user-select: none;
  min-height: 44px;
}

.cta-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.9;
  animation: pulseDot 2.4s ease-in-out infinite;
}

.contact-line {
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--secondary-text);
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  animation: heroEnter 700ms var(--ease-standard) 900ms forwards;
}

.contact-name {
  color: var(--secondary-blue);
  font-weight: 700;
}

/* ==========================================================================
   6. ILLUSTRATION
   ========================================================================== */
.illustration {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 48px auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroEnter 900ms var(--ease-standard) 800ms forwards;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}

.orbit-ring-outer {
  inset: 0;
  border-top-color: var(--primary-blue);
  border-right-color: var(--primary-blue);
  animation: rotate 8s linear infinite;
}

.orbit-ring-inner {
  inset: 26px;
  border-bottom-color: var(--secondary-blue);
  border-left-color: var(--secondary-blue);
  animation: rotate 6s linear infinite reverse;
}

.illustration-core {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(6, 68, 127, 0.45);
  animation: breathe 4s ease-in-out infinite;
}

.orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-blue);
  top: -3.5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(8, 117, 201, 0.6);
}

.orbit-dot-2 {
  background: var(--secondary-blue);
  box-shadow: 0 0 8px rgba(18, 104, 168, 0.5);
}

/* Background decorative shapes */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-primary {
  width: 620px;
  height: 620px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(8, 117, 201, 0.22), transparent 70%);
}

.glow-secondary {
  width: 480px;
  height: 480px;
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(6, 68, 127, 0.16), transparent 70%);
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8, 117, 201, 0.14), rgba(6, 68, 127, 0.05));
  border: 1px solid rgba(18, 104, 168, 0.12);
}

.shape-1 {
  width: 90px;
  height: 90px;
  top: 14%;
  left: 8%;
  animation: float1 16s ease-in-out infinite;
}

.shape-2 {
  width: 46px;
  height: 46px;
  top: 22%;
  right: 12%;
  animation: float2 13s ease-in-out infinite;
}

.shape-3 {
  width: 130px;
  height: 130px;
  bottom: 12%;
  left: 6%;
  animation: float3 20s ease-in-out infinite;
}

.shape-4 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  right: 9%;
  animation: float1 18s ease-in-out infinite reverse;
}

.shape-5 {
  width: 34px;
  height: 34px;
  top: 55%;
  right: 22%;
  animation: float2 11s ease-in-out infinite;
}

.particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-blue);
  opacity: 0;
  animation-name: particleRise;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

/* ==========================================================================
   7. ANIMATIONS
   ========================================================================== */
@keyframes logoEnter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translate(18px, -24px) rotate(8deg);
    opacity: 1;
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translate(-16px, 20px) rotate(-10deg);
    opacity: 0.95;
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(14px, 16px) scale(1.06);
    opacity: 0.8;
  }
}

@keyframes particleRise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(-70vh);
    opacity: 0;
  }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px 32px;
  text-align: center;
  min-height: var(--footer-height);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--secondary-text);
  font-weight: 500;
}

.footer-tagline {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--secondary-text);
  font-weight: 500;
  opacity: 0.75;
}

/* ==========================================================================
   9. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 22px 20px;
  }

  .brand-tagline {
    display: none;
  }

  .header-indicator-text {
    display: none;
  }

  .header-indicator {
    padding: 9px;
  }

  .hero {
    padding: 12px 20px 32px;
  }

  .hero-description {
    max-width: 100%;
  }

  .shape-3,
  .glow-secondary {
    opacity: 0.4;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: row;
    padding: 18px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero-content {
    padding: 0 4px;
  }

  .hero-heading {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero-subheading {
    font-size: 0.98rem;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .cta-pill {
    padding: 13px 26px;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
  }

  .cta-wrap {
    width: 100%;
  }

  .illustration {
    width: 128px;
    height: 128px;
    margin: 36px auto 4px;
  }

  .illustration-core {
    width: 50px;
    height: 50px;
  }

  .orbit-ring-inner {
    inset: 20px;
  }

  .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
    opacity: 0.35;
  }

  .glow-primary {
    width: 420px;
    height: 420px;
  }

  .glow-secondary {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 360px) {
  .hero-heading {
    font-size: 1.55rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 8px 14px;
  }
}

/* ==========================================================================
   10. ACCESSIBILITY
   ========================================================================== */
.hero-content :focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .brand,
  .header-indicator,
  .badge,
  .hero-heading,
  .hero-subheading,
  .hero-description,
  .cta-wrap,
  .contact-line,
  .illustration {
    opacity: 1;
    transform: none;
  }

  .particles {
    display: none;
  }
}
