/* Ignite Theme main styles */

/* Basic reset & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  line-height: 1.5;
  color: #f5f5f5;
  background-color: #0a0f1c;
}

/* Design token fallbacks (used when Tailwind CDN isn't available) */
:root {
  --color-midnight: #030816;
  --color-midnight-light: #0a1124;
  --color-midnight-dark: #010306;
  --color-fire: #e25822;
  --color-fire-dark: #b84012;
  --color-fire-hover: #c44516;
  --color-off-white: #f5f5f5;
  --color-offWhite: #f8fafc;
  --color-text-gray: #94a3b8;
}

.bg-midnight,
.bg-midnightLight,
.bg-midnight-light {
  background-color: var(--color-midnight, #030816) !important;
}

.bg-midnight\/85 {
  background-color: rgb(3 8 22 / 0.85) !important;
}

.bg-midnightDark {
  background-color: var(--color-midnight-dark, #010306) !important;
}

.bg-fire {
  background-color: var(--color-fire, #e25822) !important;
}

.bg-fire-dark {
  background-color: var(--color-fire-dark, #b84012) !important;
}

.bg-fireHover {
  background-color: var(--color-fire-hover, #c44516) !important;
}

.bg-off-white {
  background-color: var(--color-off-white, #f5f5f5) !important;
}

.bg-offWhite {
  background-color: var(--color-offWhite, #f8fafc) !important;
}

.text-midnight {
  color: var(--color-midnight, #030816) !important;
}

.text-fire {
  color: var(--color-fire, #e25822) !important;
}

.text-offWhite {
  color: var(--color-offWhite, #f8fafc) !important;
}

.text-textGray {
  color: var(--color-text-gray, #94a3b8) !important;
}

.border-fire {
  border-color: var(--color-fire, #e25822) !important;
}

.border-midnight {
  border-color: var(--color-midnight, #030816) !important;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

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

.site-header,
.site-footer {
  background: #111827;
  color: #f9fafb;
  padding: 1rem 0;
}

.site-header a,
.site-footer a {
  color: inherit;
}

.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 32rem;
  margin: 0.5rem auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: #2563eb;
  color: #f9fafb;
}

.features-section {
  margin-top: 3rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.cta {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #f9fafb;
  text-align: center;
}

.cta__title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta__subtitle {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.menu a {
  font-weight: 500;
}

/* Custom Scrollbar Removed */

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Tab Transitions */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Transition */
.mobile-menu {
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

/* Mobile Menu Items Stagger */
.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-answer.open {
  max-height: 200px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-btn.active .faq-icon {
  transform: rotate(180deg);
}

/* About section helpers */
.opacity-0-start {
  opacity: 0;
}

.bg-dot-pattern {
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 24px 24px;
}
