/* ══════════════════════════════════════════
   main.css – Variables, Reset, Utilities
══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --blue-dark:    #0a1f44;
  --blue-mid:     #1140a0;
  --blue-bright:  #1e5cdc;
  --blue-accent:  #3b82f6;
  --blue-light:   #dbeafe;
  --blue-glow:    #60a5fa;
  --white:        #ffffff;
  --gray-50:      #f8faff;
  --gray-100:     #f0f5ff;
  --gray-200:     #e0eaff;
  --gray-600:     #4b6a9b;
  --gray-700:     #2d4270;
  --text-dark:    #0d1b3e;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 12px rgba(17,64,160,0.06);
  --shadow-md:   0 6px 24px rgba(17,64,160,0.10);
  --shadow-lg:   0 16px 40px rgba(17,64,160,0.14);
  --shadow-glow: 0 8px 30px rgba(30,92,220,0.40);

  --transition:  all 0.25s ease;
  --font-head:   'Geist', sans-serif;
  --font-body:   'Geist', sans-serif;

}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Section layout ── */
section { padding: 90px 0; }

.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
}
.section-title span { color: var(--blue-bright); }

.section-sub {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  margin-top: 10px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-accent));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(30,92,220,0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-bright);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.35); }
}
@keyframes ping {
  0%   { transform:scale(0.8); opacity:1; }
  100% { transform:scale(2.2); opacity:0; }
}
@keyframes scrollLine {
  0%  { transform:scaleY(0); transform-origin:top; }
  50% { transform:scaleY(1); transform-origin:top; }
  51% { transform:scaleY(1); transform-origin:bottom; }
  100%{ transform:scaleY(0); transform-origin:bottom; }
}

/* ── Fade-in on scroll (JS adds .visible) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
