@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;1,9..144,300;1,9..144,400&display=swap');

:root {
  --sky-deep:    #4A9FD4;
  --sky-mid:     #72BEE8;
  --sky-light:   #A8D8F0;
  --sky-pale:    #D6EEFC;
  --sky-mist:    #EAF6FD;
  --sky-white:   #F5FBFF;
  --cloud-white: #FFFFFF;
  --accent:      #2E86C1;
  --accent-soft: #5BA4CE;
  --gold:        #F5A623;
  --text-dark:   #0D2B3E;
  --text-mid:    #2E5F7E;
  --text-soft:   #5B8FAB;
  --text-mist:   #8CB9CE;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--sky-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ═══════════════════════════
   CLOUD MIST LAYER (global)
═══════════════════════════ */
.cloud-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Individual drifting cloud blobs */
.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  animation: cloudDrift var(--dur, 18s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: var(--op, 0.55);
}

@keyframes cloudDrift {
  0%   { transform: translateX(0) translateY(0) scale(1); }
  30%  { transform: translateX(var(--dx1, 30px)) translateY(var(--dy1, -15px)) scale(1.04); }
  60%  { transform: translateX(var(--dx2, -20px)) translateY(var(--dy2, 10px)) scale(0.96); }
  100% { transform: translateX(0) translateY(0) scale(1); }
}

/* Misty swirl paths — rendered as SVG inline per section */
.mist-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ═══════════════════════════
   NAVIGATION
═══════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2.5rem;
  background: rgba(245, 251, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(114, 190, 232, 0.25);
}

.nav-logo {
  font-size: 1.35rem; font-weight: 900; color: var(--accent);
  text-decoration: none; letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 0.45rem;
}
.nav-logo svg { width: 30px; height: 30px; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid); font-weight: 700;
  font-size: 0.95rem; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.5rem 1.3rem; border-radius: 50px;
  box-shadow: 0 3px 14px rgba(46,134,193,0.3);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 22px rgba(46,134,193,0.4) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text-mid); border-radius: 2px; transition: 0.3s; }

/* ═══════════════════════════
   PAGE HERO
═══════════════════════════ */
.page-hero {
  min-height: 52vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 2rem 4rem;
  background: linear-gradient(180deg, #B8E0F7 0%, #D6EEFC 50%, var(--sky-white) 100%);
  position: relative; overflow: hidden;
}
.page-hero .label {
  display: inline-block; font-size: 0.78rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-soft); margin-bottom: 0.9rem;
  position: relative; z-index: 2;
}

/* ═══════════════════════════
   TYPOGRAPHY
═══════════════════════════ */
h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.1; color: var(--text-dark);
  position: relative; z-index: 2; margin-bottom: 1.2rem;
}
h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem; color: var(--text-mid); line-height: 1.75;
  max-width: 540px; position: relative; z-index: 2;
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.18; color: var(--text-dark); margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--accent); }

.section-label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 0.9rem;
}
.section-label::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.section-intro {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.75; max-width: 540px;
}

/* ═══════════════════════════
   LAYOUT
═══════════════════════════ */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* ═══════════════════════════
   BUTTONS
═══════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--accent); color: white;
  padding: 0.9rem 2.2rem; border-radius: 50px;
  text-decoration: none; font-weight: 800; font-size: 1rem;
  box-shadow: 0 5px 22px rgba(46,134,193,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(46,134,193,0.45); }

.btn-secondary {
  display: inline-block;
  background: white; color: var(--text-dark);
  padding: 0.9rem 2.2rem; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--sky-light);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ═══════════════════════════
   CARDS — CLOUD STYLE
═══════════════════════════ */
.cloud-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(168, 216, 240, 0.5);
  border-radius: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.cloud-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(74,159,212,0.15);
}

/* ═══════════════════════════
   TRUST BAR
═══════════════════════════ */
.trust-bar {
  background: white;
  border-top: 1px solid rgba(168,216,240,0.4);
  border-bottom: 1px solid rgba(168,216,240,0.4);
  padding: 1.4rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-mid); font-weight: 700; font-size: 0.9rem;
}
.trust-item svg { width: 19px; color: var(--accent); flex-shrink: 0; }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-brand .logo { font-size: 1.2rem; font-weight: 900; color: var(--sky-light); margin-bottom: 0.7rem; }
.footer-brand p { font-size: 0.87rem; line-height: 1.65; max-width: 250px; }
.footer-col h5 { color: white; font-weight: 800; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--sky-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }

/* ═══════════════════════════
   REVEAL ANIMATION
═══════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════
   MOBILE
═══════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.4rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245,251,255,0.97);
    backdrop-filter: blur(16px);
    padding: 1.2rem 2rem; gap: 1rem;
    border-bottom: 1px solid rgba(114,190,232,0.25);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
