/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #020617;
  color: #fff;
  overflow-x: hidden;
}

/* ================= BACKGROUND ================= */
.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.animated-bg span {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  animation: float 24s infinite alternate ease-in-out;
}

.animated-bg span:nth-child(1) { background:#38bdf8; top:10%; left:10%; }
.animated-bg span:nth-child(2) { background:#6366f1; bottom:15%; left:15%; }
.animated-bg span:nth-child(3) { background:#22d3ee; top:20%; right:10%; }
.animated-bg span:nth-child(4) { background:#818cf8; bottom:10%; right:20%; }

@keyframes float {
  from { transform: translate(0,0); }
  to { transform: translate(100px,-120px); }
}

.dark-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.12), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(99,102,241,0.12), transparent 45%),
    linear-gradient(180deg, #020617, #020617);
  z-index: -2;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -4;
}

/* ================= NAVBAR ================= */
.top-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1200px;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 22px;
  background: rgba(10,15,35,0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: 600;
}

.top-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
}

.top-nav a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.top-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  transition: 0.3s;
}

.top-nav a:hover::after,
.top-nav a.active::after {
  width: 100%;
}

/* ================= HERO ================= */
.hero {
  padding: 180px 10% 120px;
  text-align: center;
}

.hero h1 {
  font-size: 64px;
}

.tagline {
  color: #38bdf8;
  margin: 14px 0;
}

.desc {
  max-width: 700px;
  margin: auto;
  opacity: 0.85;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.primary-btn,
.ghost-btn {
  padding: 14px 36px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}

.primary-btn {
  background: linear-gradient(135deg,#38bdf8,#6366f1);
  color: white;
}

.ghost-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

/* ================= SECTIONS ================= */
.section {
  padding: 90px 10%;
}

.grid-4,
.grid-3 {
  display: grid;
  gap: 26px;
}

.grid-4 { grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }

/* ================= CARDS ================= */
.card {
  padding: 32px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(56,189,248,0.3);
}

/* ================= REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= CHATBOT ================= */
.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

#chatToggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg,#38bdf8,#6366f1);
  font-size: 22px;
  cursor: pointer;
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: rgba(2,6,23,0.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  display: none;
  flex-direction: column;
}

.chat-header {
  padding: 12px;
  font-weight: bold;
  background: rgba(255,255,255,0.06);
}

.chat-messages {
  padding: 12px;
  height: 200px;
  overflow-y: auto;
  font-size: 14px;
}

.chat-input {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.chat-input input {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: white;
}

/* ================= FOOTER ================= */
.site-footer {
  margin-top: 120px;
  background: rgba(2,6,23,0.9);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 10%;
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.footer-bottom {
  text-align: center;
  padding: 24px;
  opacity: 0.6;
}
/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #05070c, #020409);
  color: #cbd5e1;
  padding: 60px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

/* Brand */
.footer-brand h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* Social Icons */
.social-icons {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links h4 {
  color: #ffffff;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 50px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
.bot-msg {
  background: rgba(56, 189, 248, 0.12);
  color: #e5f4ff;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  max-width: 85%;
  font-size: 0.9rem;
}

.user-msg {
  background: #38bdf8;
  color: #020617;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  max-width: 85%;
  margin-left: auto;
  font-size: 0.9rem;
}
/* =========================
   📊 SURVEY HIGHLIGHT
========================= */

.survey-highlight {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.survey-card {
  max-width: 700px;
  padding: 50px 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.15);
  position: relative;
}

.survey-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00ffe7, #00bfff);
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

.survey-card h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.survey-card p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

.survey-actions {
  margin: 30px 0 15px;
}

.survey-btn {
  font-size: 18px;
  padding: 14px 34px;
  border-radius: 40px;
}

.survey-note {
  font-size: 14px;
  opacity: 0.7;
}

/* Mobile Friendly */
@media (max-width: 600px) {
  .survey-card {
    padding: 35px 25px;
  }

  .survey-card h2 {
    font-size: 26px;
  }
}
