/*
Theme Name: XTRI - Tema Oficial
Theme URI: https://xtri.online
Author: XTRI Team
Author URI: https://xtri.online
Description: Tema oficial da XTRI - Plataforma de Inteligência de Dados e Mentoria para o ENEM. Design moderno com animações suaves, responsivo e otimizado para conversão.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xtri
Domain Path: /languages
Tags: education, enem, responsive, modern, animated, blue, orange
*/

/* ============================================
   XTRI WORDPRESS THEME - MAIN STYLES
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=League+Spartan:wght@100..900&display=swap');

/* ============================================
   CSS VARIABLES - XTRI BRAND COLORS
   ============================================ */
:root {
  /* Brand Colors */
  --xtr-blue: #3DD4F5;
  --xtr-blue-dark: #2AB8D9;
  --xtr-blue-light: #5FE0FA;
  --xtr-orange: #FF6B4A;
  --xtr-orange-dark: #E85A3A;
  --xtr-orange-light: #FF8A70;
  
  /* Neutral Colors */
  --xtr-bg: #f0f4f5;
  --xtr-text: #333333;
  --xtr-dark: #1a1a2e;
  --xtr-white: #ffffff;
  
  /* Gradients */
  --gradient-blue: linear-gradient(135deg, var(--xtr-blue) 0%, var(--xtr-blue-dark) 100%);
  --gradient-orange: linear-gradient(135deg, var(--xtr-orange) 0%, var(--xtr-orange-dark) 100%);
  --gradient-brand: linear-gradient(135deg, var(--xtr-blue) 0%, var(--xtr-orange) 100%);
  
  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(61, 212, 245, 0.4);
  --shadow-glow-orange: 0 0 20px rgba(255, 107, 74, 0.4);
  
  /* Typography */
  --font-display: 'League Spartan', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container-padding: 1rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--xtr-bg);
  color: var(--xtr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--xtr-text);
}

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 5rem;
  }
}

/* Text Gradient */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--xtr-blue) 0%, var(--xtr-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glow Effects */
.glow-blue {
  box-shadow: var(--shadow-glow);
}

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

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(61, 212, 245, 0.4); }
  50% { box-shadow: 0 0 40px rgba(61, 212, 245, 0.6); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes slideLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
  transition: filter 0.3s ease;
}

.site-header:not(.scrolled) .site-logo img {
  filter: brightness(0) invert(1);
}

/* Main Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
}

.site-header:not(.scrolled) .main-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.site-header:not(.scrolled) .main-nav a:hover {
  color: var(--xtr-blue);
}

.site-header.scrolled .main-nav a {
  color: var(--xtr-text);
}

.site-header.scrolled .main-nav a:hover {
  color: var(--xtr-blue);
}

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

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

/* Header Actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.site-header:not(.scrolled) .social-links a {
  color: rgba(255, 255, 255, 0.9);
}

.site-header:not(.scrolled) .social-links a:hover {
  background: rgba(61, 212, 245, 0.2);
  color: var(--xtr-blue);
}

.site-header.scrolled .social-links a {
  color: var(--xtr-blue);
}

.site-header.scrolled .social-links a:hover {
  background: rgba(61, 212, 245, 0.1);
}

.btn-login {
  padding: 0.625rem 1.25rem;
  background: var(--xtr-orange);
  color: white !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: var(--xtr-orange-dark);
  box-shadow: var(--shadow-glow-orange);
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.site-header:not(.scrolled) .mobile-menu-toggle {
  color: white;
}

.site-header.scrolled .mobile-menu-toggle {
  color: var(--xtr-text);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100%;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  padding: 5rem 1.5rem 1.5rem;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--xtr-text);
  border-bottom: 1px solid #f3f4f6;
}

.mobile-nav a:hover {
  color: var(--xtr-blue);
}

.mobile-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-social a {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(61, 212, 245, 0.1);
  color: var(--xtr-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-social a:hover {
  background: var(--xtr-blue);
  color: white;
}

.mobile-login {
  display: block;
  margin-top: 1.5rem;
  padding: 0.875rem;
  background: var(--xtr-orange);
  color: white;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 9999px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(61, 212, 245, 0.2);
  animation: pulse 4s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 107, 74, 0.15);
  animation: pulse 4s ease-in-out infinite 1s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(rgba(61, 212, 245, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 212, 245, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 8rem 0 4rem;
}

.hero-grid-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(61, 212, 245, 0.3);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--xtr-orange);
  fill: var(--xtr-orange);
}

.hero-badge span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge span strong {
  color: var(--xtr-blue);
}

/* Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-title .text-blue {
  background: linear-gradient(135deg, var(--xtr-blue) 0%, var(--xtr-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .text-orange {
  color: var(--xtr-orange);
}

/* Hero Description */
.hero-description {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--xtr-orange);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--xtr-orange-dark);
  box-shadow: 0 10px 30px rgba(255, 107, 74, 0.3);
  transform: scale(1.05);
}

.btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(61, 212, 245, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(61, 212, 245, 0.2);
}

/* Hero Trust */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.trust-avatars {
  display: flex;
}

.trust-avatars img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #1a1a2e;
  object-fit: cover;
  margin-left: -0.75rem;
}

.trust-avatars img:first-child {
  margin-left: 0;
}

.trust-rating {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-stars {
  display: flex;
  gap: 0.25rem;
}

.trust-stars svg {
  width: 1rem;
  height: 1rem;
  color: var(--xtr-orange);
  fill: var(--xtr-orange);
}

.trust-rating span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.trust-rating span strong {
  color: var(--xtr-blue);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
    height: 600px;
  }
}

.hero-person {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90%;
  height: 85%;
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 1.5rem;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-person::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #1a1a2e, transparent);
  border-radius: 1.5rem;
}

/* Chat Bubbles */
.chat-bubble {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  z-index: 20;
  opacity: 0;
  transform: translateY(2rem) scale(0.9);
  animation: bubbleIn 0.7s ease forwards;
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-bubble-blue {
  background: var(--xtr-blue);
  color: white;
}

.chat-bubble-orange {
  background: var(--xtr-orange);
  color: white;
}

.chat-bubble::after {
  content: '';
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  transform: rotate(45deg);
}

.chat-bubble-blue::after {
  background: var(--xtr-blue);
}

.chat-bubble-orange::after {
  background: var(--xtr-orange);
}

.chat-bubble-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-bubble-content svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.chat-bubble-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
}

.chat-bubble-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Floating Stats */
.floating-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 20;
  opacity: 0;
  transform: translateY(2rem);
  animation: statIn 0.7s ease forwards, float 3s ease-in-out infinite;
}

@keyframes statIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-stat-icon.blue {
  background: linear-gradient(135deg, var(--xtr-blue) 0%, var(--xtr-blue-dark) 100%);
}

.floating-stat-icon.orange {
  background: linear-gradient(135deg, var(--xtr-orange) 0%, var(--xtr-orange-dark) 100%);
}

.floating-stat-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--xtr-text);
}

.floating-stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(51, 51, 51, 0.6);
}

/* Testimonial Card */
.testimonial-card {
  position: absolute;
  width: 280px;
  padding: 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 30;
  opacity: 0;
  transform: translateY(3rem);
  animation: cardIn 0.7s ease forwards;
  transition: all 0.3s ease;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial-header img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--xtr-blue);
}

.testimonial-info {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--xtr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-course {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--xtr-orange);
}

.testimonial-quote {
  position: relative;
  padding-left: 1rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-size: 2rem;
  color: rgba(61, 212, 245, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(51, 51, 51, 0.8);
  line-height: 1.5;
}

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
.section {
  position: relative;
  padding: var(--section-padding);
  overflow: hidden;
}

.section-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(61, 212, 245, 0.1);
  color: var(--xtr-blue);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--xtr-text);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(51, 51, 51, 0.7);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.5s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: scale(1.02);
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.5s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--xtr-text);
  margin-bottom: 0.75rem;
}

.card-description {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(51, 51, 51, 0.7);
  line-height: 1.6;
}

.card-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 6rem;
  height: 6rem;
  border-top-left-radius: 100%;
  opacity: 0;
  transition: all 0.5s ease;
}

.card:hover .card-corner {
  opacity: 1;
  transform: scale(1.5);
}

/* ============================================
   GRIDS
   ============================================ */
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  background: var(--xtr-dark);
  padding: 4rem 0 0;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: rgba(61, 212, 245, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 212, 245, 0.3), transparent);
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand img {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--xtr-blue);
  color: white;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--xtr-blue);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--xtr-blue);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(61, 212, 245, 0.2);
  color: var(--xtr-blue);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.footer-platform-btn:hover {
  background: rgba(61, 212, 245, 0.3);
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.7s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-3rem);
  transition: all 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(3rem);
  transition: all 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--xtr-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--xtr-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--xtr-blue-dark);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
  background: rgba(61, 212, 245, 0.3);
  color: var(--xtr-text);
}

/* ============================================
   WORDPRESS SPECIFIC OVERRIDES
   ============================================ */
/* Hide default WordPress elements we don't need */
.wp-admin-bar {
  display: none !important;
}

/* Ensure our theme takes full width */
#wpcontent,
#wpbody,
#wpbody-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset WordPress defaults */
.entry-content {
  margin: 0;
  padding: 0;
}

/* Ensure images don't get WordPress classes */
img.alignnone,
img.alignleft,
img.alignright,
img.aligncenter {
  margin: 0;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 639px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 640px) {
  .show-mobile {
    display: none !important;
  }
}

/* Print styles */
@media print {
  .site-header,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}
