/* ==========================================================================
   FONT IMPORT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. CSS VARIABLES (DESIGN TOKENS)
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #f4f5f9;
  --color-navy: #1b2a4a;
  --color-navy-soft: #2e3d5c;
  --color-orange: #f6a831;
  --color-orange-dark: #e69417;
  --color-white: #ffffff;
  --color-screen-bg: #eef0f6;
  --color-tip: #4b5871;
  --color-text-heading: #1b2a4a;
  --color-text-body: #5c6577;
  --color-decor: #e7e9f3;
  --color-decor-dot: #d7dae8;
  --color-decor-gear: #e9ebf4;
  --color-shadow: rgba(20, 30, 60, 0.06);

  /* Typography */
  --font-display: 'Poppins', 'Segoe UI', Verdana, sans-serif;
  --font-body: 'Poppins', 'Segoe UI', Verdana, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3.5rem;

  /* Radius / shadow */
  --radius-pill: 999px;
  --shadow-badge: 0 12px 28px rgba(27, 42, 74, 0.28);
  --shadow-illustration: 0 25px 35px rgba(20, 30, 60, 0.10);
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   3. PAGE LAYOUT
   ========================================================================== */
.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   4. DECORATIVE BACKGROUND
   ========================================================================== */
.bg-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* Soft blob shapes */
.blob {
  position: absolute;
  background: var(--color-decor);
}

.blob-top-left {
  width: 34rem;
  height: 34rem;
  top: -16rem;
  left: -14rem;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  opacity: 0.65;
}

.blob-bottom {
  width: 68rem;
  height: 20rem;
  bottom: -12rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.55;
}

/* Dot grid patterns */
.dots {
  position: absolute;
  width: 6.5rem;
  height: 5rem;
  background-image: radial-gradient(circle, var(--color-decor-dot) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
}

.dots-top-left {
  top: 13%;
  left: 12%;
}

.dots-bottom-right {
  bottom: 10%;
  right: 8%;
}

/* Outline circles */
.deco-circle {
  position: absolute;
  border: 2px solid var(--color-decor-dot);
  border-radius: 50%;
}

.circle-top {
  width: 14px;
  height: 14px;
  top: 19%;
  left: 29%;
}

.circle-bottom {
  width: 20px;
  height: 20px;
  bottom: 24%;
  left: 19%;
}

/* Plus signs */
.deco-plus {
  position: absolute;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-decor-dot);
  font-family: var(--font-body);
}

.plus-left {
  top: 34%;
  left: 22%;
}

.plus-right {
  top: 38%;
  right: 13%;
}

.plus-corner {
  bottom: 16%;
  right: 16%;
}

/* Large decorative gear */
.deco-gear {
  position: absolute;
  top: 12%;
  right: 8%;
  width: clamp(90px, 10vw, 150px);
  height: clamp(90px, 10vw, 150px);
  color: var(--color-decor-gear);
}

/* ==========================================================================
   5. ILLUSTRATION (INLINE SVG COLOR CLASSES)
   ========================================================================== */
.illustration {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto var(--space-lg);
  filter: drop-shadow(var(--shadow-illustration));
}

.fill-navy      { fill: var(--color-navy); }
.fill-orange    { fill: var(--color-orange); }
.fill-orange-dark { fill: var(--color-orange-dark); }
.fill-screen    { fill: var(--color-screen-bg); }
.fill-white     { fill: var(--color-white); }
.fill-tip       { fill: var(--color-tip); }
.fill-shadow    { fill: var(--color-navy); opacity: 0.06; }
.stroke-navy    { stroke: var(--color-navy); }
.stroke-navy-soft { stroke: var(--color-navy-soft); }

.gear-mini {
  color: var(--color-navy);
  opacity: 0.12;
}

/* ==========================================================================
   6. TYPOGRAPHY
   ========================================================================== */
.title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-heading);
  font-size: clamp(1.75rem, 4.6vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: 0.5px;
  margin: 0;
}

.underline {
  width: 130px;
  height: 5px;
  background-color: var(--color-orange);
  border-radius: 3px;
  margin: var(--space-md) 0 var(--space-md);
}

.subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--color-text-body);
  max-width: 30rem;
  margin: 0 0 var(--space-lg);
}

/* ==========================================================================
   7. BADGE / CTA
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  box-shadow: var(--shadow-badge);
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(27, 42, 74, 0.35);
}

.badge-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-orange);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large desktops */
@media (max-width: 1440px) {
  .content {
    max-width: 700px;
  }
}

/* Small desktops / laptops */
@media (max-width: 1200px) {
  .deco-gear {
    right: 5%;
  }

  .dots-bottom-right {
    right: 4%;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .illustration {
    max-width: 28rem;
  }

  .blob-top-left {
    width: 26rem;
    height: 26rem;
    top: -13rem;
    left: -12rem;
  }

  .blob-bottom {
    width: 52rem;
    height: 16rem;
  }
}

/* Large phones / small tablets */
@media (max-width: 768px) {
  .page {
    padding: 2.5rem 1.25rem;
  }

  .illustration {
    max-width: 22rem;
    margin-bottom: var(--space-md);
  }

  .underline {
    width: 100px;
  }

  .deco-gear {
    width: 90px;
    height: 90px;
    top: 8%;
  }

  .plus-left,
  .plus-right {
    display: none;
  }
}

/* Phones */
@media (max-width: 576px) {
  .badge {
    padding: 0.85rem 1.4rem;
    gap: 0.5rem;
  }

  .subtitle br {
    display: none;
  }

  .dots-top-left,
  .dots-bottom-right {
    width: 4.5rem;
    height: 3.5rem;
  }

  .deco-circle,
  .plus-corner {
    display: none;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .content {
    max-width: 100%;
  }

  .title {
    letter-spacing: 0.2px;
  }

  .illustration {
    max-width: 18rem;
  }

  .deco-gear {
    display: none;
  }

  .blob-top-left {
    width: 20rem;
    height: 20rem;
    top: -11rem;
    left: -10rem;
  }
}
