@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');

:root {
  --primary: #6C2BD9;
  --primary-dark: #4C1D95;
  --primary-light: #A78BFA;
  --secondary: #0EA5A0;
  --accent: #FF3D81;
  --accent-yellow: #FFD23F;
  --dark-bg: #0F0B1E;
  --dark-surface: #1A1430;
  --dark-surface-2: #241C42;
  --light-bg: #F7F5FC;
  --text-dark: #1A1430;
  --text-light: #F7F5FC;
  --border-glow: rgba(108, 43, 217, 0.4);
  --gradient-main: linear-gradient(135deg, #6C2BD9 0%, #0EA5A0 100%);
  --gradient-accent: linear-gradient(135deg, #FF3D81 0%, #6C2BD9 100%);
  --gradient-dark: linear-gradient(180deg, #0F0B1E 0%, #1A1430 100%);
  --shadow-glow: 0 0 30px rgba(108, 43, 217, 0.35);
  --shadow-card: 0 10px 40px -10px rgba(15, 11, 30, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-main);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  background-color: #0F0B1E;
  border-bottom: 1px solid rgba(108, 43, 217, 0.25);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(15, 11, 30, 0.15);
}

.logo-glow {
  filter: drop-shadow(0 0 8px rgba(108, 43, 217, 0.6));
  transition: filter 0.3s ease;
}
.logo-glow:hover {
  filter: drop-shadow(0 0 14px rgba(255, 61, 129, 0.7));
}

.nav-link {
  position: relative;
  color: #E5E0F5;
  font-weight: 500;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: #A78BFA;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: #FF3D81;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  background-color: #0F0B1E;
  border-top: 1px solid rgba(108, 43, 217, 0.3);
}
.mobile-menu a {
  color: #E5E0F5;
  border-bottom: 1px solid rgba(108, 43, 217, 0.15);
}
.mobile-menu a:hover {
  color: #A78BFA;
  background-color: rgba(108, 43, 217, 0.1);
}

.mobile-menu-toggle {
  color: #F7F5FC;
  font-size: 1.75rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--gradient-main);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(108, 43, 217, 0.35);
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 61, 129, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 0.7rem 1.7rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: inline-block;
}
.btn-accent:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 61, 129, 0.45);
}

.btn-dark-outline {
  background: transparent;
  color: #F7F5FC;
  border: 2px solid rgba(247, 245, 252, 0.4);
  padding: 0.7rem 1.7rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
}
.btn-dark-outline:hover {
  border-color: #A78BFA;
  color: #A78BFA;
}

/* ---------- Cards ---------- */
.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(108, 43, 217, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(108, 43, 217, 0.3);
}

.card-dark {
  background: var(--dark-surface);
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  color: #F7F5FC;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card-dark:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(108, 43, 217, 0.3);
}

/* ---------- Sections ---------- */
.section-dark {
  background: var(--gradient-dark);
  color: #F7F5FC;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-divider {
  height: 4px;
  width: 80px;
  background: var(--gradient-accent);
  border-radius: 4px;
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(108, 43, 217, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 43, 217, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- Forms ---------- */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid #E5E0F5;
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--text-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 43, 217, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9C94B8;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid #E5E0F5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #ffffff;
}
.accordion-header {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.25s ease;
}
.accordion-header:hover {
  background-color: rgba(108, 43, 217, 0.06);
}
.accordion-header i {
  transition: transform 0.3s ease;
  color: var(--primary);
}
.accordion-header.active i {
  transform: rotate(180deg);
}
.accordion-content {
  padding: 0 1.4rem 1.1rem;
  color: #4B4560;
  display: none;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F0B1E;
  color: #F7F5FC;
  padding: 1.25rem 1.5rem;
  z-index: 1000;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(167, 139, 250, 0.25);
}
.cookie-banner h3 {
  color: #ffffff;
}
.cookie-banner p {
  color: #D4CDE8;
}
.cookie-banner a {
  color: #A78BFA;
  text-decoration: underline;
}
.cookie-banner a:hover {
  color: #FF3D81;
}

/* ---------- Loading Spinner ---------- */
.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(108, 43, 217, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-anim {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(108, 43, 217, 0.3); }
  50% { box-shadow: 0 0 35px rgba(255, 61, 129, 0.45); }
}
.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0F0B1E;
  color: #D4CDE8;
}
.site-footer h4 {
  color: #ffffff;
}
.site-footer a {
  color: #D4CDE8;
  transition: color 0.25s ease;
}
.site-footer a:hover {
  color: #A78BFA;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F7F5FC;
  transition: all 0.25s ease;
}
.social-icon:hover {
  background: var(--gradient-accent);
  transform: translateY(-3px);
}

/* ---------- Badge ---------- */
.badge-popular {
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- Utility ---------- */
.border-glow {
  border: 1px solid var(--border-glow);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.25rem;
    line-height: 1.2;
  }
}