@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #ffffff;
  --bg-secondary:  #f5f5f7;
  --bg-card:       rgba(43,53,255,0.04);
  --blue-primary:  #2B35FF;
  --blue-light:    #4A52FF;
  --blue-glow:     #2B35FF;
  --blue-neon:     #2B35FF;
  --accent:        #2B35FF;
  --text-white:    #0a0a0a;
  --text-muted:    #555566;
  --text-dim:      #aaaabc;
  --border:        rgba(43,53,255,0.1);
  --border-bright: rgba(43,53,255,0.3);
  --glass-bg:      rgba(255,255,255,0.7);
  --glass-border:  rgba(43,53,255,0.15);
  --glow-blue:     0 0 40px rgba(43,53,255,0.15);
  --glow-neon:     0 0 20px rgba(43,53,255,0.25);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(43,53,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(43,53,255,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── GLASSMORPHISM CARD ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glass-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

/* ── CLAYMORPHISM CARD ── */
.clay-card {
  background: linear-gradient(145deg, rgba(37,99,235,0.15), rgba(124,58,237,0.08));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 24px;
  box-shadow: 8px 8px 32px rgba(0,0,0,0.4), inset 1px 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.clay-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 12px 12px 48px rgba(0,0,0,0.5), var(--glow-blue), inset 1px 1px 0 rgba(255,255,255,0.15);
}

/* ── LIQUID GLASS BUTTON ── */
.btn-liquid {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.8), rgba(96,165,250,0.6));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96,165,250,0.4);
  border-radius: 50px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-liquid::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-liquid:hover::before { left: 100%; }
.btn-liquid:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.5), var(--glow-neon);
  transform: translateY(-2px);
  border-color: rgba(0,212,255,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  color: var(--blue-glow);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(96,165,250,0.1);
  border-color: var(--blue-neon);
  color: var(--blue-neon);
  box-shadow: var(--glow-neon);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border-bright);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img { height: 36px; width: auto; display: block; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--blue-neon); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: #555566;
  text-decoration: none;
  transition: color 0.25s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-primary); }
.nav-links .btn-liquid { padding: 0.6rem 1.4rem; font-size: 0.82rem; }

/* ── SECTION BASE ── */
section { position: relative; z-index: 1; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-neon);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ── GLOW DIVIDER ── */
.glow-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-neon));
  border-radius: 2px;
  box-shadow: var(--glow-neon);
  margin: 1.2rem 0;
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  background: #f5f5f7;
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--blue-neon); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.8rem; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-neon); }
.footer-contact-list span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }
.footer-credit {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: color 0.3s;
  white-space: nowrap;
}
.footer-credit:hover { color: var(--blue-neon); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.78rem; color: var(--text-dim); text-decoration: none; transition: color 0.25s; }
.footer-bottom-links a:hover { color: var(--blue-neon); }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #0a0a0a;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── ANIMATIONS ── */

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  top: -150px;
  left: -150px;
  transition: opacity 0.3s;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-child.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.float { animation: float 4s ease-in-out infinite; }

/* Pulse glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(37,99,235,0.3); }
  50%       { box-shadow: 0 0 40px rgba(0,212,255,0.6); }
}
.pulse-glow { animation: pulseGlow 2.5s ease-in-out infinite; }

/* Gradient shift */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-animate {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

/* Shimmer on load */
@keyframes shimmer {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.shimmer-in {
  animation: shimmer 0.8s ease forwards;
}

/* ── RESPONSIVE ── */
/* Footer socials */
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.footer-social-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,53,255,0.07);
  border: 1px solid rgba(43,53,255,0.15);
  border-radius: 9px;
  color: var(--blue-primary);
  text-decoration: none;
  transition: all 0.25s;
}
.footer-social-btn:hover {
  background: var(--blue-primary);
  color: #fff;
  transform: translateY(-2px);
}

@media(max-width:900px) {
  .nav-toggle { display: flex; }
  .logo-img { height: 25px; } /* 30% smaller on mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 200;
    list-style: none;
    margin: 0; padding: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.8rem !important; font-family: 'Syne', sans-serif !important; color: #0a0a0a !important; }
  .nav-links .btn-liquid { font-size: 1rem !important; padding: 0.8rem 2rem !important; border-radius: 50px !important; color: #fff !important; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-credit { position: static; transform: none; }
}