/*
Theme Name: cryptostyle_v121
Theme URI: https://safetradebot.com
Author: KITech Team
Author URI: https://kitech.ai
Description: A modern, AI-powered crypto trading theme with full Elementor support. Features dark theme, neon effects, and responsive design.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crypto
Tags: elementor, dark, modern, responsive, custom-menu, featured-images, translation-ready, crypto, trading

CryptoStyle WordPress Theme, Copyright 2025 by KITech
CryptoStyle is distributed under the terms of the GNU GPL
*/

/* ============================================
   CSS Variables & Base Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: 230 30% 6%;
  --foreground: 210 40% 98%;

  --card: 230 25% 10%;
  --card-foreground: 210 40% 98%;

  --popover: 230 25% 10%;
  --popover-foreground: 210 40% 98%;

  --primary: 150 100% 45%;
  --primary-foreground: 230 30% 6%;

  --secondary: 190 100% 50%;
  --secondary-foreground: 230 30% 6%;

  --muted: 230 20% 15%;
  --muted-foreground: 215 20% 65%;

  --accent: 270 60% 55%;
  --accent-foreground: 210 40% 98%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;

  --border: 230 20% 18%;
  --input: 230 20% 18%;
  --ring: 150 100% 45%;

  --radius: 0.75rem;

  /* Custom colors */
  --glow-green: 150 100% 45%;
  --glow-cyan: 190 100% 50%;
  --glow-purple: 270 60% 55%;
  --navy-deep: 230 35% 8%;
  --navy-light: 230 25% 14%;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(230 35% 8%) 0%, hsl(250 30% 12%) 50%, hsl(230 35% 8%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(230 25% 12%) 0%, hsl(230 25% 8%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(150 100% 45%) 0%, hsl(190 100% 50%) 100%);
  --gradient-purple: linear-gradient(135deg, hsl(270 60% 55%) 0%, hsl(290 60% 45%) 100%);

  /* Shadows */
  --shadow-glow-green: 0 0 30px hsl(150 100% 45% / 0.3);
  --shadow-glow-cyan: 0 0 30px hsl(190 100% 50% / 0.3);
  --shadow-glow-purple: 0 0 40px hsl(270 60% 55% / 0.2);
}

* {
  border-color: hsl(var(--border));
  box-sizing: border-box;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================
   Utility Classes
   ============================================ */

.font-display {
  font-family: 'Orbitron', sans-serif;
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
}

.gradient-hero-bg {
  background: var(--gradient-hero);
}

.gradient-card {
  background: var(--gradient-card);
}

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

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

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

.text-glow-green {
  text-shadow: 0 0 20px hsl(var(--primary) / 0.5);
}

.text-glow-cyan {
  text-shadow: 0 0 20px hsl(var(--secondary) / 0.5);
}

.border-glow {
  border: 1px solid hsl(var(--primary) / 0.3);
}

/* ============================================
   Animations
   ============================================ */

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 20px hsl(var(--primary) / 0.4);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 40px hsl(var(--primary) / 0.6);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

/* ============================================
   Scrollbar Styling
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.5);
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-primary,
.btn-hero {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  padding: 0.875rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary:hover,
.btn-hero:hover {
  background-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.5);
  transform: scale(1.05);
}

.btn-hero-cyan {
  background-color: transparent;
  border: 2px solid hsl(var(--secondary));
  color: hsl(var(--secondary));
  font-weight: 700;
  padding: 0.875rem 2.5rem;
  font-size: 1.125rem;
}

.btn-hero-cyan:hover {
  background-color: hsl(var(--secondary) / 0.1);
  box-shadow: 0 0 30px hsl(var(--secondary) / 0.4);
  transform: scale(1.05);
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background-color: hsl(var(--muted));
}

.btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  height: 2.25rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  height: 3rem;
}

.btn-xl {
  padding: 0.875rem 2.5rem;
  font-size: 1.125rem;
  height: 3.5rem;
  border-radius: 0.75rem;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.5s ease;
}

.card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.15);
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 768px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* ============================================
   WordPress Core Styles
   ============================================ */

.wp-block-group {
  margin-bottom: 2rem;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ============================================
   Elementor Compatibility
   ============================================ */

.elementor-section {
  position: relative;
}

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

@media (max-width: 1024px) {
  .elementor-container {
    padding: 0 1rem;
  }
}

/* ============================================
   Component Styles (from React Components)
   ============================================ */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 5rem;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-section .hero-bg-effect {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
}

.hero-section .hero-bg-effect-1 {
  top: 25%;
  left: 25%;
  background-color: hsl(var(--accent));
}

.hero-section .hero-bg-effect-2 {
  bottom: 25%;
  right: 25%;
  background-color: hsl(var(--primary));
}

.hero-section .hero-bg-effect-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background-color: hsl(var(--secondary));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 6rem);
}

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

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

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

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-feature-item svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .features-section {
    padding: 8rem 0;
  }
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted) / 0.2), hsl(var(--background)));
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.feature-card {
  position: relative;
  transition: all 0.5s ease;
}

.feature-card:hover {
  transform: scale(1.05);
  border-color: transparent;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.stat-card {
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.15);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* How It Works Section */
.how-it-works-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .how-it-works-section {
    padding: 8rem 0;
  }
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted) / 0.1), hsl(var(--background)));
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.step-card {
  position: relative;
}

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number span {
  font-weight: bold;
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  background-color: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.step-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 8rem 0;
  }
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent, hsl(var(--secondary) / 0.05));
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

/* Navigation Styles */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .active > a {
  color: hsl(var(--primary));
}

/* Dropdown Menus */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  min-width: 200px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
}

.nav-menu .has-dropdown:hover .sub-menu {
  display: flex;
}

.nav-menu .sub-menu li {
  width: 100%;
}

.nav-menu .sub-menu a {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-bottom: none;
}

.nav-menu .sub-menu a:hover {
  background: hsl(var(--accent));
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-menu li {
  width: 100%;
}

.mobile-nav-menu a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active,
.mobile-nav-menu .active > a {
  color: hsl(var(--primary));
}

/* Mobile Dropdown */
.mobile-nav-menu .sub-menu {
  padding-left: 1rem;
  margin-top: 0.5rem;
  border-left: 2px solid hsl(var(--border));
}

.mobile-nav-menu .sub-menu a {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Footer Menu Styles */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-menu a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: hsl(var(--primary));
}

/* Header Gradient Styles */
.site-header .navbar {
  position: relative;
  z-index: 50;
}

.site-header .navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: -1;
}

/* Custom Logo Styles */
.custom-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.exact-logo {
  max-height: 2.5rem;
}

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Entry Meta & Content */
.entry-meta {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.entry-content {
  line-height: 1.75;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.entry-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.entry-content a:hover {
  color: hsl(var(--secondary));
}

/* Posts Navigation */
.posts-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.posts-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

