:root {
  /* Core SaaS Palette */
  --bg-main: #050505;
  --bg-card: #121212;
  --bg-hover: #1e1e1e;
  
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --border-color: #27272a;
  
  --accent: #38bdf8; /* Spidy Blue */
  --accent-hover: #0ea5e9;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --focus-ring: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5%;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo i {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* ================= HERO SECTION ================= */
.hero {
  text-align: center;
  padding: 80px 5% 40px;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ================= CONTACT CARDS ================= */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 5%;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: #3f3f46;
}

/* Give Telegram card a subtle glow */
.support-card.telegram {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.03) 0%, var(--bg-card) 100%);
}
.support-card.telegram:hover {
  border-color: var(--accent);
}

.support-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  color: var(--text-main);
}

.support-card.telegram .icon {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
}

.support-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1; /* Pushes button to bottom */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: #3f3f46;
}

/* ================= FAQ ACCORDIONS ================= */
.faq-section {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 600;
}

.faq-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Details Tag Styling */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

/* Remove default triangle marker */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary {
  list-style: none; /* For Firefox */
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  user-select: none;
  transition: background 0.2s;
}

.faq-item summary:hover {
  background: var(--bg-hover);
}

.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.toggle-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

/* Rotate icon when open */
.faq-item[open] .toggle-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= FOOTER ================= */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 40px 5%;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-main);
}

footer p {
  color: #666;
  font-size: 0.85rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none; /* Consider adding a hamburger menu here later */
  }
}