/*
Theme Name: Tokenshare LLC
Theme URI: https://tokenshare.com
Author: Antigravity AI
Author URI: https://tokenshare.com
Description: Modern, premium Web 3.0 & Enterprise Software WordPress Theme built for Tokenshare LLC. Features glassmorphism, dynamic animations, and dark/light responsive layouts.
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tokenshare
Tags: custom-colors, custom-logo, custom-menu, featured-images, responsive-layout, dark-mode, acf-compatible, block-patterns, elementor-compatible, customizer-options
*/

:root {
  --bg-dark: #1a0d52;
  --bg-darker: #13083a;
  --bg-card: rgba(45, 12, 85, 0.75);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --accent-blue: #00f0ff;
  --accent-orange: #ff7b00;
  --accent-purple: #a800ff;
  --gradient-main: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-blue) 45%, var(--accent-purple) 100%);
  --gradient-bg: linear-gradient(135deg, #05184f 0%, #360d5e 45%, #690575 80%, #690575 100%);
  --glass-border: rgba(168, 0, 255, 0.4);
  --glass-shadow: 0 10px 35px 0 rgba(25, 8, 60, 0.5);
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  background-image: var(--gradient-bg);
  color: var(--text-primary);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-blue);
}

/* Utility Classes */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

img {
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

/* Master rule: Force white sections to stretch 100vw edge-to-edge across the screen */
.light-section {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.text-center {
  text-center: center;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-orange) 0%, var(--accent-blue) 100%);
  border-radius: 5px;
}

/* Accessible High-Contrast Buttons (100% WCAG Compliant) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #0044ee 0%, #2b12d6 50%, #5a10cc 100%);
  color: #ffffff !important;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 68, 238, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #105efb 0%, #3e22ed 50%, #6e1eee 100%);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 240, 255, 0.45);
  border-color: rgba(0, 240, 255, 0.9);
}

.btn-outline {
  background: rgba(0, 240, 255, 0.08);
  color: #ffffff !important;
  border: 2px solid #00f0ff;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-outline:hover {
  background: #00f0ff;
  color: #050814 !important;
  font-weight: 800;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
  text-shadow: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Layout Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Responsive Grid */
@media (max-width: 992px) {
  .grid-cols-3, .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  
  .section { padding: 4rem 0; }
}

/* Background effects */
.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,123,0,0.2) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.glow-orb.blue {
  background: radial-gradient(circle, rgba(0,240,255,0.2) 0%, rgba(0,0,0,0) 70%);
}

/* Light Theme Utilities */
.light-section {
  background-color: #ffffff;
  color: #1a1b26;
}

.light-section p {
  color: #4a4e69;
}

.light-section h2:not(.gradient-text), .light-section h3 {
  color: #1a1b26;
}

.light-section .glass {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-section .glass:hover {
  box-shadow: 0 15px 30px rgba(255, 123, 0, 0.1) !important;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 100;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Mobile Navigation */
.nav-desktop,
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-desktop li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.nav-desktop li::before,
.nav-desktop li::after,
.mobile-menu li::before,
.mobile-menu li::after {
  display: none !important;
  content: "" !important;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .nav-desktop,
  .nav-desktop ul { display: none !important; }
  .nav-btn-desktop { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  
  .mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    background: rgba(26, 13, 82, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  }

  .mobile-menu ul,
  .mobile-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    text-align: center;
  }
  
  .mobile-menu a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    transition: color 0.3s ease;
  }

  .mobile-menu li:last-child a,
  .mobile-menu a:last-child {
    border-bottom: none;
  }
  
  .grid-cols-2 { grid-template-columns: 1fr; }
}

/* Hero Animations & Badges */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

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

.hero-badge {
  position: absolute;
  top: 10%;
  right: -5%;
  padding: 0.75rem 1.5rem;
  background: rgba(20, 22, 35, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: white;
}

@media (max-width: 900px) {
  .hero-badge {
    right: 10%;
    top: -5%;
  }
}

/* Footer Responsive Grid Layout */
.footer-grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .footer-grid-layout,
  .responsive-grid,
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  
  .hero-media,
  .glass-box,
  .glass-box img,
  .glass-box video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

