/* ==========================================================================
   TCC TURBO - FUTURISTIC SALES PAGE STYLES
   Author: Lília Braga
   Design: Modern Cyber-Academic, Deep Navy, Tech Cyan & Radiant Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-dark: #070b19;
  --bg-card: rgba(13, 22, 44, 0.7);
  --bg-card-hover: rgba(20, 33, 66, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  --primary-gold: #f59e0b;
  --primary-gold-light: #fbbf24;
  --primary-gold-dark: #d97706;
  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #fde68a;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Futuristic Ambient Background Effects */
.bg-ambient-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.glow-orb-cyan {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-orb-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-orb-blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.08);
  }
  100% {
    transform: translateY(20px) scale(0.95);
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  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);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.15), 0 0 25px -5px rgba(245, 158, 11, 0.1);
}

.glass-card-gold {
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

.glass-card-gold:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.25);
}

/* Radiant Gold and Cyan Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, #FFF6D3 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #E0F2FE 0%, #38BDF8 50%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-white {
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* High-Converting CTA Buttons */
.btn-cta-pulse {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.btn-cta-pulse::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite;
  pointer-events: none;
}

.btn-cta-pulse:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.btn-cta-pulse:active {
  transform: translateY(1px) scale(0.99);
}

.btn-cta-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  color: #070B19;
  font-weight: 800;
}

.btn-cta-gold:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.75);
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-150%) rotate(25deg);
  }
  30%, 100% {
    transform: translateX(150%) rotate(25deg);
  }
}

/* 3D Floating Book Mockup */
.book-wrapper {
  perspective: 1200px;
  position: relative;
  display: inline-block;
}

.book-card-3d {
  position: relative;
  border-radius: 12px;
  transform: rotateY(-12deg) rotateX(6deg);
  transform-style: preserve-3d;
  box-shadow: 
    -20px 25px 50px -10px rgba(0, 0, 0, 0.7),
    -5px 10px 20px -5px rgba(0, 242, 254, 0.3),
    10px 15px 30px -5px rgba(245, 158, 11, 0.2);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  animation: floatBook 6s ease-in-out infinite alternate;
}

.book-card-3d:hover {
  transform: rotateY(-3deg) rotateX(2deg) translateY(-8px) scale(1.03);
  box-shadow: 
    -30px 35px 60px -10px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 242, 254, 0.4),
    0 0 30px rgba(245, 158, 11, 0.3);
}

@keyframes floatBook {
  0% {
    transform: rotateY(-12deg) rotateX(6deg) translateY(0px);
  }
  100% {
    transform: rotateY(-9deg) rotateX(4deg) translateY(-14px);
  }
}

/* Book Spine Illusion */
.book-card-3d::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(255,255,255,0.15) 50%, rgba(0,0,0,0.25));
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  z-index: 10;
  pointer-events: none;
}

/* Floating Badges */
.floating-badge {
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.floating-badge-delayed {
  animation: floatBadge 5s ease-in-out 1s infinite alternate;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* Accordion FAQ Styling */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 600px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

/* Modal Styling */
.legal-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Sticky Mobile CTA Bar */
.sticky-mobile-cta {
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sticky-mobile-cta.visible {
  transform: translateY(0);
}

/* Pulse Glow Keyframe */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070B19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Smooth Focus Outlines */
a:focus, button:focus {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
