/*
   LisansJet Fusion Design System (2026)
   Neomorphism + Glassmorphism Hybrid Architecture
*/

:root {
  /* --- LIGHT MODE (Warm White/Cream) --- */
  --fusion-bg: #faf9f7;
  --fusion-text: #4a5568;
  --fusion-text-muted: #64748b;
  --fusion-heading: #2d3748;

  --fusion-surface: #ffffff;
  --fusion-border: rgba(0, 0, 0, 0.06);



  /* Shadows - Soft and Elegant for Warm White */
  --fusion-shadow-out: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);

  --fusion-shadow-in: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  --fusion-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);


  /* Brand Accents */
  --fusion-accent-primary: #f39321;
  --fusion-accent-glow: rgba(243, 147, 33, 0.4);
}

[data-theme="dark"] {
  /* --- DARK MODE (Glassmorphism / Quantum Void) --- */
  --fusion-bg: #0b1120;
  --fusion-text: #e2e8f0;
  --fusion-text-muted: #94a3b8;
  --fusion-heading: #ffffff;

  /* Glass Surface */
  --fusion-surface: rgba(255, 255, 255, 0.05);
  --fusion-border: rgba(255, 255, 255, 0.1);

  /* Glass Shadows - The "Floating" Look */
  --fusion-shadow-out: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --fusion-shadow-in: inset 0 0 20px rgba(0, 0, 0, 0.5);

  --fusion-shadow-hover: 0 8px 32px 0 rgba(243, 147, 33, 0.2);
}

/* --- GLOBAL TRANSITIONS --- */
body,
.fusion-card,
.fusion-btn,
.fusion-section {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body {
  background-color: var(--fusion-bg);
  color: var(--fusion-text);
}

/* --- FUSION COMPONENTS --- */

/* 1. SECTIONS */
.fusion-section {
  background-color: var(--fusion-bg);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* 2. CARDS (The core element) */
.fusion-card {
  background: var(--fusion-surface);
  border-radius: 20px;
  border: 1px solid var(--fusion-border);
  box-shadow: var(--fusion-shadow-out);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  backdrop-filter: blur(10px); /* For dark mode glass */
  -webkit-backdrop-filter: blur(10px);
}

/* Hover Effect: Lift up in light mode, Glow in dark mode */
.fusion-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fusion-shadow-hover);
}

/* 3. TYPOGRAPHY */
.fusion-heading {
  color: var(--fusion-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.fusion-text {
  color: var(--fusion-text);
  line-height: 1.6;
}

.fusion-text-muted {
  color: var(--fusion-text-muted);
}

/* 4. BUTTONS */
.fusion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  background: var(--fusion-bg);
  color: var(--fusion-accent-primary);
  box-shadow: var(--fusion-shadow-out);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fusion-btn:hover {
  box-shadow: var(--fusion-shadow-in); /* Pressed effect */
  color: var(--fusion-accent-primary);
  transform: translateY(1px);
}

.fusion-btn-primary {
  background: var(--fusion-accent-primary);
  color: white;
  box-shadow: 0 10px 20px var(--fusion-accent-glow);
}

.fusion-btn-primary:hover {
  background: #d67d1a;
  box-shadow: 0 5px 15px var(--fusion-accent-glow);
  color: white;
}

/* 5. INPUTS */
.fusion-input {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  background: var(--fusion-bg);
  border: none;
  box-shadow: var(--fusion-shadow-in);
  color: var(--fusion-text);
  outline: none;
}

.fusion-input:focus {
  box-shadow: var(--fusion-shadow-in), 0 0 0 2px var(--fusion-accent-primary);
}

/* --- SPECIFIC SECTION OVERRIDES --- */

/* Hero Slider Adaptation */
[data-theme="light"] .hero-section {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Feature Icons */
.fusion-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--fusion-accent-primary);
  background: var(--fusion-bg);
  box-shadow: var(--fusion-shadow-out);
}

/* Accordion (FAQ) */
.fusion-accordion-item {
  background: var(--fusion-bg);
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: var(--fusion-shadow-out);
  overflow: hidden;
}

.fusion-accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--fusion-heading);
}

.fusion-accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--fusion-text-muted);
  display: none; /* JS Toggle required or Bootstrap collapse */
}

/* Floating Toggle Button */
.theme-toggle-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--fusion-bg);
  box-shadow: var(--fusion-shadow-out);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  color: var(--fusion-text);
  border: none;
}

.theme-toggle-btn:hover {
  box-shadow: var(--fusion-shadow-in);
}
