/* ============================================
   FUNDRA BOT — MASTER STYLESHEET
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a1a1f;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #e0f7fa;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

:root {
  --cyan-light: #a0f0ff;
  --cyan-bright: #00e0ff;
  --cyan-glow: rgba(0, 224, 255, 0.35);
  --cyan-deep: #0b3b4b;
  --bg-card: #0f2a33;
  --discord-blue: #5865F2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ---------- HEADER ---------- */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 224, 255, 0.2);
  background: rgba(10, 26, 31, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-area img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--cyan-glow));
  border-radius: 12px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, var(--cyan-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  color: #b0e0e6;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, text-shadow 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--cyan-bright);
  text-shadow: 0 0 8px var(--cyan-glow);
  border-bottom-color: var(--cyan-bright);
}

.nav-discord-btn {
  background: var(--cyan-bright);
  color: #0a1a1f !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  border-bottom: none !important;
}
.nav-discord-btn:hover { background: #00c8e0; }

/* ---------- HERO ---------- */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-big {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 20px var(--cyan-bright));
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #ffffff 30%, var(--cyan-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #c0e8f0;
  border-left: 3px solid var(--cyan-bright);
  padding-left: 1.5rem;
  text-align: left;
  font-weight: 300;
}

/* ---------- BUTTONS ---------- */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--cyan-bright);
  color: #0a1a1f;
  box-shadow: 0 0 18px var(--cyan-glow);
}

.btn-primary:hover {
  background: #00c8e0;
  box-shadow: 0 0 28px var(--cyan-bright);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--cyan-bright);
  color: var(--cyan-bright);
  background: rgba(0, 224, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(0, 224, 255, 0.15);
  transform: translateY(-2px);
}

/* ---------- PAGE HEADERS (For Subpages) ---------- */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px var(--cyan-glow);
}

.page-header p {
  color: #b0d8e0;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- CARDS / FEATURES ---------- */
.features {
  padding: 2rem 0 5rem;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #d0f0fa;
  border-bottom: 2px solid var(--cyan-bright);
  display: inline-block;
  padding-bottom: 0.5rem;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 224, 255, 0.2);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--cyan-bright);
  box-shadow: 0 10px 25px -10px var(--cyan-glow);
  transform: translateY(-5px);
}

.card i {
  font-size: 2rem;
  color: var(--cyan-bright);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: #b0d8e0;
  font-size: 0.95rem;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-section {
  padding: 2rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(0, 224, 255, 0.05);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #b0d8e0;
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid rgba(0, 224, 255, 0.1);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform 0.3s;
}

/* ---------- TEAM GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem 0 5rem;
}

.team-member {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(0, 224, 255, 0.2);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-bright);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--cyan-bright);
  padding: 3px;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.team-member p {
  color: var(--cyan-bright);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-socials a {
  color: #b0d8e0;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.team-socials a:hover {
  color: var(--cyan-bright);
}

/* ---------- POLICY / LEGAL PAGES ---------- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 5rem;
  color: #b0d8e0;
}

.policy-content h2 {
  color: #ffffff;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- CHAT PREVIEW ---------- */
.preview {
  padding: 2rem 0 5rem;
}

.chat-preview {
  background: #0c222b;
  border-radius: 40px;
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(0, 224, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.chat-preview .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0e2f3b;
  border: 2px solid var(--cyan-bright);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-preview .bubble {
  background: #133a47;
  padding: 1rem 1.5rem;
  border-radius: 20px 20px 20px 4px;
  color: #d0f0fa;
  border-left: 4px solid var(--cyan-bright);
  flex: 1;
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: auto;
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 224, 255, 0.2);
  background: rgba(0,0,0,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: #9acbd6;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  text-align: center;
  color: #9acbd6;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 224, 255, 0.1);
  padding-top: 1.5rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero .tagline { text-align: center; border-left: none; padding-left: 0; }
  .header-inner { flex-direction: column; gap: 1rem; }
  .nav-links { justify-content: center; }
  .chat-preview { flex-direction: column; text-align: center; }
  .chat-preview .bubble { border-left: none; border-top: 4px solid var(--cyan-bright); border-radius: 20px; }
}
