/**
 * Edverto Tech - Core PHP - Custom theme (dark + orange)
 * Uses Tailwind CDN; this file provides CSS variables and utilities.
 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --background: 0 0% 9%;
  --foreground: 0 0% 95%;
  --card: 0 0% 12%;
  --card-foreground: 0 0% 95%;
  --primary: 18 96% 54%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 15%;
  --secondary-foreground: 0 0% 95%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 64%;
  --accent: 18 96% 54%;
  --accent-foreground: 0 0% 100%;
  --border: 0 0% 18%;
  --radius: 0.75rem;
}

* {
  border-color: hsl(var(--border));
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, hsl(var(--primary)), #fb923c);
}

.bg-background { background-color: hsl(var(--background)); }
.text-foreground { color: hsl(var(--foreground)); }
.bg-card { background-color: hsl(var(--card)); }
.text-card-foreground { color: hsl(var(--card-foreground)); }
.bg-primary { background-color: hsl(var(--primary)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.border-border { border-color: hsl(var(--border)); }
.bg-accent { background-color: hsl(var(--accent)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

.shadow-primary-glow {
  box-shadow: 0 0 30px hsl(var(--primary) / 0.3);
}
.shadow-primary-glow:hover {
  box-shadow: 0 0 40px hsl(var(--primary) / 0.5);
}

/* FAQ accordion: one open at a time + slide animation (JS); base state (CSS) */
#faq-accordion .faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-out;
}
#faq-accordion .faq-content-inner {
  padding-top: 0;
}
#faq-accordion .faq-chevron {
  transition: transform 0.35s ease-out;
}
#faq-accordion .faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}
#faq-accordion .faq-item {
  transition: border-color 0.2s ease;
}
#faq-accordion .faq-item[open] {
  border-color: hsl(var(--primary) / 0.3);
}
