@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #06091f;
  --navy2:   #0b0f2e;
  --navy3:   #10163d;
  --blue:    #3a4fd8;
  --blue2:   #5b6ef0;
  --violet:  #7c3aed;
  --cyan:    #00d4ff;
  --white:   #ffffff;
  --gray:    #8892b8;
  --gray2:   #c0c8e8;
  --accent:  #4a5be8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ═══════════════════ NAV ═══════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 70px;
  background: rgba(6,9,31,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,91,232,0.2);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 900; color: #fff;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--white); line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 0.65rem; font-weight: 400; color: var(--gray); letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--gray); text-decoration: none;
  padding: 0.45rem 1rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--white); background: rgba(90,110,240,0.18); }

.nav-cta {
  background: var(--blue); color: var(--white);
  border: none; padding: 0.55rem 1.4rem;
  border-radius: 7px; font-family: 'Barlow', sans-serif;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--blue2); transform: translateY(-1px); }

/* ═══════════════════ PAGE WRAPPER ═══════════════════ */
.page { padding-top: 70px; }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn-primary {
  display: inline-block; background: var(--blue); color: var(--white);
  border: none; padding: 0.85rem 2.2rem; border-radius: 8px;
  font-family: 'Barlow', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-2px); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.25); padding: 0.85rem 2.2rem; border-radius: 8px;
  font-family: 'Barlow', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--blue2); transform: translateY(-2px); }

/* ═══════════════════ SECTION COMMON ═══════════════════ */
.section-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900;
  text-transform: uppercase; line-height: 1; letter-spacing: 0.02em;
}
.section-line {
  width: 52px; height: 3px; border-radius: 99px;
  background: linear-gradient(to right, var(--blue), var(--violet));
  margin: 1rem 0 1.6rem;
}
.section-desc { font-size: 1rem; color: var(--gray); line-height: 1.85; max-width: 560px; }

/* ═══════════════════ GRID BG TEXTURE ═══════════════════ */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ═══════════════════ REVEAL ANIMATION ═══════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ═══════════════════ FOOTER ═══════════════════ */
footer {
  background: var(--navy2);
  border-top: 1px solid rgba(74,91,232,0.18);
  padding: 2.5rem 4rem;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem;
  flex-wrap: wrap;
}
.footer-brand p { font-size: 0.85rem; color: var(--gray); margin-top: 0.6rem; max-width: 280px; line-height: 1.7; }
.footer-links h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--gray2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--gray);
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  footer { padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
