:root {
  /* Colors - Dark Mode Fintech/Gaming Theme */
  --primary-dark: #09090b; /* Very dark background */
  --primary-brand: #0ea5e9; /* Vibrant Cyan/Blue */
  --accent-green: #10b981; /* Neon Green */
  --accent-purple: #8b5cf6; /* Accent Purple for glow */
  --background: #020617; /* Deep slate dark */
  --bg-gradient: linear-gradient(135deg, #020617 0%, #0f172a 100%);
  --text-main: #f8fafc; /* Off white */
  --text-light: #94a3b8; /* Muted text */
  --white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.4); /* Dark glass */
  --glass-border: rgba(255, 255, 255, 0.08); /* Subtle light border */
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Selection */
::selection {
  background: var(--accent-green);
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.hidden { display: none; }
.w-100 { width: 100%; }

.border-t { border-top: 1px solid rgba(255,255,255,0.1); }
.pt-6 { padding-top: 1.5rem; }

/* Custom Text FX */
.gradient-text {
  background: linear-gradient(to right, var(--primary-brand), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: var(--primary-dark);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-outline {
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary-brand);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

/* Animation utilities */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.header nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-brand);
  transition: width 0.3s ease;
}

.header nav a:hover {
  color: var(--text-main);
}

.header nav a:hover::after {
  width: 100%;
}

.hidden-mobile { display: flex; }
.hidden-desktop { display: none; }

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* Neon Glow FX */
.glow-box {
  position: relative;
}
.glow-box::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-brand), var(--accent-purple));
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  background: rgba(30, 41, 59, 0.8);
}

.t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-brand);
  flex-shrink: 0;
}
.t-meta { flex: 1; min-width: 0; }
.t-name { font-weight: 700; color: var(--text-main); font-size: 1rem; }
.t-sub { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.t-rating { font-size: 14px; color: var(--accent-green); letter-spacing: 2px; flex-shrink: 0; }
.t-text { color: var(--text-light); line-height: 1.6; font-size: 0.95rem; margin: 0; font-style: italic; }

/* FAQ Styles */
.faq-item {
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 12px !important;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.1) !important;
  background: rgba(30, 41, 59, 0.5) !important;
}

.faq-question {
  color: var(--text-main) !important;
}

.faq-answer {
  color: var(--text-light) !important;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .container { padding: 0 20px; }

  .hidden-mobile { display: none !important; }
  .hidden-desktop { display: block; color: var(--text-main); }
  
  .mobile-menu {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-menu a.btn { margin-top: 10px; }

  .flex.gap-12 {
    flex-direction: column;
    gap: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Hero section stack on mobile */
  .hero .container.grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    text-align: center !important;
  }
  .hero .hero-header { order: 1; }
  .hero .hero-image { order: 2; margin: 0 auto; width: 100%; max-width: 400px; }
  .hero .hero-body { order: 3; text-align: center !important; }
  .hero .hero-body p { margin-left: auto !important; margin-right: auto !important; }
  .hero .hero-body .flex { justify-content: center !important; }
  .hero h1 { font-size: 2.2rem !important; text-align: center !important; }

  /* Footer centralizado no mobile */
  footer .grid { text-align: center !important; }
  footer .grid > div { justify-content: center !important; }
  footer .flex.items-center { justify-content: center; }

  /* FAQ texto maior no mobile */
  .faq-question span, .faq-answer div { font-size: 1rem !important; }
}

@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}
