/* ====== GLOBAL STYLES ====== */
:root {
  --primary-color: #0070f3;
  --secondary-color: #6d28d9;
  --accent-color: #00ccff;
  --dark-bg: #0a0a1a;
  --darker-bg: #050510;
  --card-bg: rgba(15, 23, 42, 0.6);
  --text-color: #f0f0f0;
  --text-secondary: #a0a0a0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --glow-color: rgba(0, 204, 255, 0.6);
  --card-shadow: 0 8px 32px rgba(0, 0, 40, 0.3);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.8s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ====== LOADING SCREEN ====== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1s ease 2.5s forwards;
}

.loader {
  width: 80px;
  height: 80px;
  border: 4px solid transparent;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.loader:before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 4px solid transparent;
  border-right-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

.loader:after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 4px solid transparent;
  border-bottom-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.loading-text {
  margin-top: 20px;
  font-size: 18px;
  letter-spacing: 1.5px;
  animation: pulse 1.5s infinite;
}

/* ====== PARTICLES CONTAINER ====== */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

/* ====== HEADER ====== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 26, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  position: relative;
  font-size: 28px;
  font-weight: 700;
}

.logo-text {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.logo .accent {
  color: var(--accent-color);
  -webkit-text-fill-color: var(--accent-color);
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  filter: blur(20px);
  opacity: 0.3;
  top: 0;
  left: 0;
  z-index: 1;
  animation: pulse 3s infinite;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.active-users {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-color);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}

.pulse-dot:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--success-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0.8;
}

#active-count {
  font-weight: 600;
  color: var(--text-color);
  margin-right: 4px;
}

.language-selector {
  position: relative;
  cursor: pointer;
}

.current-lang {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.current-lang:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  width: 160px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  z-index: 100;
}

/* Replace hover with active class */
.language-selector.active .lang-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.lang-option {
  padding: 10px 16px;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-color);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-color);
}

/* ====== MAIN NAV ====== */
.main-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  z-index: 1001 !important;
  background: linear-gradient(145deg, rgba(12, 16, 28, 0.97), rgba(10, 14, 24, 0.98)) !important;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
  padding-top: 80px !important;
  border-right: 1px solid rgba(0, 234, 255, 0.2) !important;
  transform: translateX(-100%) !important;
  display: block !important;
}

.main-nav.open {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.nav-wrapper {
  padding: 0;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  width: 100%;
}

.main-nav li {
  margin: 0;
  width: 100%;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  width: 100%;
  border-left: 3px solid transparent;
}

.main-nav a i {
  margin-right: 15px;
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.main-nav a:before {
  display: none;
}

.main-nav a:hover, 
.main-nav a.active {
  color: var(--text-color);
  background: rgba(0, 234, 255, 0.05);
  border-left: 3px solid var(--accent-color);
}

.menu-toggle {
  z-index: 1002;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-color);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-color);
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ====== MAIN CONTENT ====== */
main {
  padding-top: 150px;
  padding-bottom: 60px;
}

section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  position: relative;
}

.glitch {
  position: relative;
  color: var(--text-color);
  text-shadow: 0 0 5px var(--glow-color);
}

.glitch:before, 
.glitch:after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch:before {
  left: 2px;
  color: var(--primary-color);
  clip: rect(0, 900px, 56px, 0);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch:after {
  left: -2px;
  color: var(--accent-color);
  clip: rect(0, 900px, 56px, 0);
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: var(--text-secondary);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent-color);
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.cta-group {
  display: flex;
  gap: 15px;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-100%);
  transition: all 0.3s ease;
  z-index: -1;
}

.cta-button:hover:before {
  transform: translateX(0);
}

.cta-button.primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.4);
}

.cta-button.primary:hover {
  box-shadow: 0 0 30px rgba(0, 112, 243, 0.6);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.2);
}

.cta-button.secondary:hover {
  box-shadow: 0 0 25px rgba(0, 204, 255, 0.4);
  transform: translateY(-2px);
}

.cta-button.join-channel {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
  transition: all 0.3s ease;
}

.cta-button.join-channel:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
      rgba(255, 255, 255, 0) 0%, 
      rgba(255, 255, 255, 0.2) 50%, 
      rgba(255, 255, 255, 0) 100%);
  transition: all 0.6s ease;
}

.cta-button.join-channel:hover:before {
  left: 100%;
}

.cta-button.join-channel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4);
}

.cta-button.join-channel i {
  margin-right: 8px;
  font-size: 16px;
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hologram {
  width: 400px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.hologram:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-color) 0%, rgba(0, 204, 255, 0) 70%);
  opacity: 0.4;
  border-radius: 50%;
  animation: pulse 3s infinite;
  filter: blur(15px);
  box-shadow: 0 0 60px rgba(0, 204, 255, 0.8), 
              inset 0 0 30px rgba(0, 204, 255, 0.6);
}

.hologram:after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: conic-gradient(
    from 0deg, 
    transparent 0%, 
    rgba(0, 204, 255, 0.1) 10%, 
    transparent 20%, 
    rgba(0, 204, 255, 0.2) 30%, 
    transparent 40%, 
    rgba(0, 204, 255, 0.3) 50%, 
    transparent 60%, 
    rgba(0, 204, 255, 0.2) 70%, 
    transparent 80%, 
    rgba(0, 204, 255, 0.1) 90%, 
    transparent 100%
  );
  animation: hologram-rotate 15s linear infinite;
  opacity: 0.3;
}

/* ====== STATS BAR ====== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 80px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.2s forwards;
}

/* ====== TOOLS GRID ====== */
.tools-grid {
  padding-top: 20px;
}

.tools-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
}

.tool-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s forwards;
}

.tool-card:nth-child(2) {
  animation-delay: 0.1s;
}

.tool-card:nth-child(3) {
  animation-delay: 0.2s;
}

.tool-card:nth-child(4) {
  animation-delay: 0.3s;
}

.tool-card:nth-child(5) {
  animation-delay: 0.4s;
}

.tool-card:nth-child(6) {
  animation-delay: 0.5s;
}

.tool-card:nth-child(7) {
  animation-delay: 0.6s;
}

.tool-card:nth-child(8) {
  animation-delay: 0.7s;
}

.tool-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 0;
}

.tool-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 40, 0.4);
}

.tool-card:hover:before {
  opacity: 0.05;
}

.tool-card.featured {
  grid-column: span 2;
  grid-row: span 1;
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.05), rgba(109, 40, 217, 0.05));
  border: 1px solid rgba(0, 204, 255, 0.2);
}

.tool-card.featured:hover {
  border: 1px solid rgba(0, 204, 255, 0.4);
}

.tool-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(5px);
}

.tool-icon i {
  font-size: 30px;
  color: var(--accent-color);
}

.tool-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.tool-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.live-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 10px;
  background: rgba(255, 0, 0, 0.15);
  border-radius: 20px;
  color: #ff4757;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  z-index: 1;
}

.live-indicator:before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #ff4757;
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}

.tool-hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: all var(--transition-normal);
  opacity: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.tool-card:hover .tool-hover-info {
  transform: translateY(0);
  opacity: 1;
}

.usage-stat {
  font-size: 14px;
  color: var(--text-secondary);
}

.open-tool {
  padding: 8px 20px;
  background: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.open-tool:hover {
  background: var(--accent-color);
}

/* ====== FEATURE SHOWCASE ====== */
.feature-showcase {
  padding: 50px 0;
}

.showcase-item {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  background: rgba(15, 23, 42, 0.2);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.showcase-item.reversed {
  flex-direction: row-reverse;
  animation-delay: 0.3s;
}

.showcase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 350px;
  position: relative;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: rgba(0, 204, 255, 0.1);
  border: 1px solid rgba(0, 204, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 20%;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 40%;
  left: 50%;
  animation-delay: 1s;
}

.floating-element:nth-child(3) {
  top: 60%;
  left: 30%;
  width: 100px;
  height: 100px;
  animation-delay: 2s;
}

.data-sphere {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.2) 0%, rgba(0, 204, 255, 0) 70%);
  position: relative;
  animation: pulse 4s infinite alternate;
}

.data-sphere:before,
.data-sphere:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dotted rgba(0, 204, 255, 0.2);
  animation: rotate 20s linear infinite;
}

.data-sphere:before {
  border: 2px dashed rgba(0, 112, 243, 0.2);
  animation: rotate 30s linear infinite reverse;
  transform: rotate(45deg);
}

.showcase-content {
  flex: 1;
  padding: 0 30px;
}

.showcase-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.showcase-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
}

.feature-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  padding: 50px 0;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s forwards;
}

.testimonial:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial:nth-child(3) {
  animation-delay: 0.4s;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
  margin-bottom: 25px;
  position: relative;
}

.testimonial-content:before {
  content: '"';
  position: absolute;
  top: -30px;
  left: -10px;
  font-size: 100px;
  color: rgba(0, 204, 255, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  opacity: 0.8;
}

.author-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ====== CTA SECTION ====== */
.cta-section {
  display: flex;
  align-items: center;
  padding: 80px 40px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.cta-visual {
  flex: 1;
  position: relative;
  height: 300px;
}

.particle-system {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ====== FOOTER ====== */
footer {
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(10px);
  padding: 80px 40px 30px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.system-status {
  display: flex;
  align-items: center;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-indicator.online {
  background-color: var(--success-color);
  box-shadow: 0 0 10px var(--success-color);
}

/* ====== CURSOR FOLLOWER ====== */
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  background: rgba(0, 204, 255, 0.1);
  border: 2px solid rgba(0, 204, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease;
  display: none;
}

/* ====== MODAL CONTAINER ====== */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.join-modal {
  background: linear-gradient(145deg, rgba(12, 16, 28, 0.95), rgba(10, 14, 24, 0.98));
  width: 90%;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 234, 255, 0.3), 
              0 0 20px rgba(0, 234, 255, 0.2), 
              0 0 10px rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.3);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-container.active .join-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(0, 234, 255, 0.3);
  position: relative;
  background: rgba(10, 14, 24, 0.95);
}

.modal-header:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, 
      transparent, 
      rgba(100, 130, 255, 0.6), 
      rgba(100, 130, 255, 0.8), 
      rgba(100, 130, 255, 0.6), 
      transparent
  );
}

.modal-header h2 {
  color: #fff;
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.modal-header .accent {
  color: #00EAFF;
  position: relative;
  font-weight: 800;
  text-shadow: none;
  background: linear-gradient(90deg, #00EAFF, #00BBFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 5px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 0 4px;
}

.modal-header .accent:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00EAFF;
  opacity: 1;
  box-shadow: 0 0 8px #00EAFF;
}

.modal-header .connect-text {
  color: #8a94b0;
  font-weight: 500;
}

.modal-close {
  background: transparent;
  border: none;
  color: #8a94b0;
  font-size: 20px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: rotate(90deg);
}

.modal-content {
  padding: 30px;
}

.modal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .modal-options {
    grid-template-columns: 1fr;
  }
}

.modal-option {
  background: rgba(25, 30, 45, 0.5);
  border-radius: 12px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 130, 255, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.modal-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(30, 35, 50, 0.6);
  border-color: rgba(100, 130, 255, 0.3);
}

.option-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

.telegram .option-icon {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: white;
}

.quotex .option-icon {
  background: linear-gradient(135deg, #FF5E62, #FF9966);
  color: white;
}

.option-icon:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  filter: blur(10px);
  z-index: -1;
  transform: scale(1.3);
}

.option-details {
  position: relative;
  z-index: 2;
}

.option-details h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 18px;
}

.option-details p {
  color: #8a94b0;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
}

.option-button {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(100, 130, 255, 0.15);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 130, 255, 0.3);
}

.telegram .option-button:hover {
  background: rgba(42, 171, 238, 0.3);
  border-color: #2AABEE;
}

.quotex .option-button:hover {
  background: rgba(255, 94, 98, 0.3);
  border-color: #FF5E62;
}

.option-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.option-particles:before,
.option-particles:after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(40px);
}

.telegram .option-particles:before {
  background: #2AABEE;
  top: -100px;
  right: -50px;
}

.telegram .option-particles:after {
  background: #229ED9;
  bottom: -80px;
  left: -30px;
  width: 150px;
  height: 150px;
}

.quotex .option-particles:before {
  background: #FF5E62;
  top: -80px;
  left: -30px;
}

.quotex .option-particles:after {
  background: #FF9966;
  bottom: -100px;
  right: -50px;
  width: 150px;
  height: 150px;
}

.modal-footer {
  margin-top: 20px;
  border-top: 1px solid rgba(100, 130, 255, 0.1);
  padding-top: 20px;
}

.benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.benefit {
  display: flex;
  align-items: center;
  color: #8a94b0;
  font-size: 14px;
}

.benefit i {
  margin-right: 8px;
  color: #5d8fff;
}

/* Animation for modal elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-container.active .modal-header,
.modal-container.active .modal-option,
.modal-container.active .modal-footer {
  animation: fadeInUp 0.6s forwards;
}

.modal-container.active .modal-option:nth-child(2) {
  animation-delay: 0.1s;
}

.modal-container.active .modal-footer {
  animation-delay: 0.2s;
}

/* Glow pulse animation for buttons */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(93, 143, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(93, 143, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 5px rgba(93, 143, 255, 0.5);
  }
}

.option-button:hover {
  animation: glowPulse 1.5s infinite;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(42, 171, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(42, 171, 238, 0);
  }
}

.modal-option.telegram.highlight {
  border-color: #2AABEE;
  background: rgba(42, 171, 238, 0.1);
}

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

@keyframes hologram-rotate {
  0% {
    transform: rotate3d(1, 1, 1, 0deg);
  }
  100% {
    transform: rotate3d(1, 1, 1, 360deg);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--accent-color);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(23px, 9999px, 34px, 0);
  }
  5% {
    clip: rect(21px, 9999px, 31px, 0);
  }
  10% {
    clip: rect(43px, 9999px, 92px, 0);
  }
  15% {
    clip: rect(37px, 9999px, 92px, 0);
  }
  20% {
    clip: rect(24px, 9999px, 30px, 0);
  }
  25% {
    clip: rect(25px, 9999px, 61px, 0);
  }
  30% {
    clip: rect(54px, 9999px, 66px, 0);
  }
  35% {
    clip: rect(46px, 9999px, 33px, 0);
  }
  40% {
    clip: rect(44px, 9999px, 73px, 0);
  }
  45% {
    clip: rect(46px, 9999px, 13px, 0);
  }
  50% {
    clip: rect(35px, 9999px, 56px, 0);
  }
  55% {
    clip: rect(33px, 9999px, 11px, 0);
  }
  60% {
    clip: rect(30px, 9999px, 88px, 0);
  }
  65% {
    clip: rect(58px, 9999px, 53px, 0);
  }
  70% {
    clip: rect(84px, 9999px, 96px, 0);
  }
  75% {
    clip: rect(4px, 9999px, 69px, 0);
  }
  80% {
    clip: rect(15px, 9999px, 95px, 0);
  }
  85% {
    clip: rect(69px, 9999px, 93px, 0);
  }
  90% {
    clip: rect(38px, 9999px, 53px, 0);
  }
  95% {
    clip: rect(82px, 9999px, 68px, 0);
  }
  100% {
    clip: rect(27px, 9999px, 37px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(21px, 9999px, 74px, 0);
  }
  5% {
    clip: rect(45px, 9999px, 23px, 0);
  }
  10% {
    clip: rect(7px, 9999px, 83px, 0);
  }
  15% {
    clip: rect(98px, 9999px, 70px, 0);
  }
  20% {
    clip: rect(50px, 9999px, 13px, 0);
  }
  25% {
    clip: rect(73px, 9999px, 55px, 0);
  }
  30% {
    clip: rect(81px, 9999px, 17px, 0);
  }
  35% {
    clip: rect(32px, 9999px, 56px, 0);
  }
  40% {
    clip: rect(27px, 9999px, 70px, 0);
  }
  45% {
    clip: rect(41px, 9999px, 15px, 0);
  }
  50% {
    clip: rect(21px, 9999px, 90px, 0);
  }
  55% {
    clip: rect(4px, 9999px, 91px, 0);
  }
  60% {
    clip: rect(73px, 9999px, 18px, 0);
  }
  65% {
    clip: rect(52px, 9999px, 55px, 0);
  }
  70% {
    clip: rect(60px, 9999px, 74px, 0);
  }
  75% {
    clip: rect(51px, 9999px, 62px, 0);
  }
  80% {
    clip: rect(50px, 9999px, 87px, 0);
  }
  85% {
    clip: rect(41px, 9999px, 59px, 0);
  }
  90% {
    clip: rect(27px, 9999px, 73px, 0);
  }
  95% {
    clip: rect(86px, 9999px, 62px, 0);
  }
  100% {
    clip: rect(12px, 9999px, 87px, 0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 1200px) {
  .hero, .cta-section {
    flex-direction: column;
  }
  
  .hero-content, .cta-content {
    max-width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .showcase-item, .showcase-item.reversed {
    flex-direction: column;
    padding: 30px;
  }
  
  .showcase-visual {
    height: 250px;
    margin-bottom: 30px;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .tool-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  .main-nav {
    width: 260px;
    transform: translateX(-100%);
  }
  
  .main-nav.open {
    transform: translateX(0);
  }
  
  .main-nav a {
    padding: 12px 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .cta-button {
    width: 100%;
  }
  
  .cta-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .active-users {
    display: none;
  }
  
  .main-nav {
    width: 230px;
  }
}

/* ====== HOLOGRAM ELEMENTS ====== */
.hologram-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 204, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.5), inset 0 0 15px rgba(0, 204, 255, 0.5);
  animation: hologram-rotate 20s linear infinite;
}

.hologram-ring:nth-child(1) {
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  border-width: 3px;
  animation-direction: reverse;
  animation-duration: 25s;
}

.hologram-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-width: 2px;
  animation-duration: 18s;
}

.hologram-core {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.5) 0%, rgba(0, 204, 255, 0) 70%);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 204, 255, 0.7);
  animation: pulse 3s infinite alternate;
}

.hologram-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.hologram-particles:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 40% 70%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 60% 20%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 70% 50%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 80% 80%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 30% 60%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 90% 40%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%),
    radial-gradient(circle at 10% 90%, rgba(0, 204, 255, 0.8) 0%, rgba(0, 204, 255, 0) 3%);
  animation: float 8s ease-in-out infinite alternate;
}

/* Tool Modal Styles */
.tool-modal {
  max-width: 800px;
  width: 90%;
  background: linear-gradient(145deg, rgba(12, 16, 28, 0.97), rgba(10, 14, 24, 0.98));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 40, 0.5);
  border: 1px solid rgba(0, 234, 255, 0.2);
  animation: fadeInScale 0.4s ease-out;
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid rgba(0, 234, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.modal-body {
  padding: 30px;
}

.modal-visual {
  margin-bottom: 25px;
}

.modal-visualization-area {
  height: 250px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-details {
  margin-bottom: 25px;
}

.feature-details p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.feature-details ul {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.feature-details li {
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
}

.feature-details li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.modal-button {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button.primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
}

.modal-button.secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--text-secondary);
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.modal-button.primary:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.modal-button.secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes chartAnimation {
  0% {
    clip-path: polygon(
      0% 100%, 5% 80%, 10% 85%, 15% 70%, 20% 80%, 25% 60%, 
      30% 70%, 35% 50%, 40% 60%, 45% 45%, 50% 60%, 55% 40%, 
      60% 50%, 65% 30%, 70% 40%, 75% 20%, 80% 30%, 85% 15%, 
      90% 25%, 95% 10%, 100% 20%, 100% 100%
    );
  }
  100% {
    clip-path: polygon(
      0% 100%, 5% 70%, 10% 75%, 15% 60%, 20% 70%, 25% 50%, 
      30% 60%, 35% 40%, 40% 50%, 45% 35%, 50% 50%, 55% 30%, 
      60% 40%, 65% 20%, 70% 30%, 75% 10%, 80% 20%, 85% 5%, 
      90% 15%, 95% 5%, 100% 10%, 100% 100%
    );
  }
}

/* Tool-specific styling */
/* Lists */
.list-item {
  width: 80%;
  padding: 15px;
  margin: 10px auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
  animation: slideInRight 0.5s forwards;
  animation-fill-mode: both;
  opacity: 0;
}

.list-item:nth-child(1) { animation-delay: 0.1s; }
.list-item:nth-child(2) { animation-delay: 0.2s; }
.list-item:nth-child(3) { animation-delay: 0.3s; }
.list-item:nth-child(4) { animation-delay: 0.4s; }
.list-item:nth-child(5) { animation-delay: 0.5s; }

/* Live chart */
.live-chart {
  width: 100%;
  height: 60%;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(90deg, 
    rgba(0, 204, 255, 0.1) 0%, 
    rgba(0, 204, 255, 0.2) 30%, 
    rgba(0, 204, 255, 0.3) 70%, 
    rgba(0, 204, 255, 0.5) 100%);
  clip-path: polygon(
    0% 100%, 5% 80%, 10% 85%, 15% 70%, 20% 80%, 25% 60%, 
    30% 70%, 35% 50%, 40% 60%, 45% 45%, 50% 60%, 55% 40%, 
    60% 50%, 65% 30%, 70% 40%, 75% 20%, 80% 30%, 85% 15%, 
    90% 25%, 95% 10%, 100% 20%, 100% 100%
  );
  animation: chartAnimation 10s linear infinite alternate;
}

.live-stats {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}

.stat-group {
  text-align: center;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Strategy visualization */
.strategy-visualization {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.strategy-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 8px;
  margin: 10px;
  position: relative;
}

.strategy-node.main {
  background: rgba(0, 204, 255, 0.1);
  border-color: rgba(0, 204, 255, 0.3);
  font-weight: bold;
  margin-bottom: 40px;
}

.strategy-connections {
  display: flex;
  gap: 20px;
}

/* Cataloger */
.catalog-items {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.catalog-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.8rem;
}

/* Checker */
.checker-demo {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.check-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.check-item.success i {
  color: #10b981;
}

.check-item.warning i {
  color: #f59e0b;
}

.check-item.error i {
  color: #ef4444;
}

/* Backtest chart */
.backtest-chart {
  height: 100%;
  position: relative;
  padding: 20px;
}

.backtest-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.backtest-line:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.backtest-line:after {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.backtest-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.marker.success {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.marker.error {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Calendar */
.calendar-view {
  height: 100%;
  padding: 20px;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.calendar-body {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  height: calc(100% - 30px);
}

.calendar-day {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  padding: 5px;
  min-height: 80px;
}

.event {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 8px;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.event.high {
  border-left: 3px solid #ef4444;
}

.event.medium {
  border-left: 3px solid #f59e0b;
}

.event.low {
  border-left: 3px solid #10b981;
}

/* Filter */
.filter-demo {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.filter-input, .filter-output {
  width: 80%;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin: 20px 0;
}

.filter-input {
  background: linear-gradient(90deg, 
    rgba(255, 100, 100, 0.2), 
    rgba(255, 200, 100, 0.2), 
    rgba(100, 255, 100, 0.2), 
    rgba(100, 200, 255, 0.2)
  );
}

.filter-output {
  background: linear-gradient(90deg, 
    rgba(0, 204, 255, 0.1),
    rgba(0, 204, 255, 0.2),
    rgba(0, 204, 255, 0.3)
  );
}

.filter-process {
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.filter-stage {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 8px;
}

/* Coming soon */
.coming-soon {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
}

.coming-soon span {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coming-soon p {
  color: var(--text-secondary);
}

/* Signal Sender Styles */
.signal-sender {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.signal-preview {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 10px;
  margin: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 40, 0.3);
  border: 1px solid rgba(0, 204, 255, 0.2);
  max-width: 400px;
  align-self: center;
}

.signal-header {
  background: #0088cc;
  color: white;
  padding: 12px 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal-header i {
  font-size: 18px;
}

.signal-content {
  padding: 20px;
  background: #1e2338;
}

.signal-type {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #4caf50;
  text-align: center;
}

.signal-asset {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.signal-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.signal-details span {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 6px;
  font-size: 14px;
}

.signal-time {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.countdown {
  color: var(--accent-color);
  font-weight: 600;
}

.sender-stats {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

/* Add animation for the countdown */
@keyframes pulse-countdown {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.countdown {
  animation: pulse-countdown 1.5s infinite;
}

/* Timezone Converter Styles */
.timezone-converter {
  padding: 0 !important;
  height: auto !important;
  min-height: 400px;
}

.converter-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  height: 100%;
}

.input-section, .result-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-section h3, .result-section h3 {
  font-size: 18px;
  margin: 0;
  color: var(--text-color);
}

.hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

#signal-input {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  font-family: monospace;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease;
}

#signal-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.2);
}

.timezone-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.timezone-from, .timezone-to {
  flex: 1;
}

.timezone-from label, .timezone-to label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 14px;
}

.timezone-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 24px;
}

select {
  width: 100%;
  padding: 10px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.2);
}

option {
  background-color: #1e2338;
}

.action-section {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.convert-button {
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.convert-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 204, 255, 0.4);
}

.convert-button:active {
  transform: translateY(1px);
}

.result-display {
  min-height: 150px;
  padding: 15px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: monospace;
}

.empty-result {
  color: var(--text-secondary);
  text-align: center;
  padding: 20px;
}

.signal-row {
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}

.signal-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.05);
}

.signal-pair {
  font-weight: 600;
  color: var(--accent-color);
}

.signal-time {
  color: var(--text-color);
}

.signal-direction {
  font-weight: 600;
}

.signal-direction.call {
  color: #4caf50;
}

.signal-direction.put {
  color: #f44336;
}

@media (max-width: 768px) {
  .timezone-section {
    flex-direction: column;
    gap: 10px;
  }
  
  .timezone-arrow {
    transform: rotate(90deg);
  }
} 

/* Success animation for conversion */
@keyframes conversionSuccess {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 204, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 204, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 204, 255, 0);
  }
}

.conversion-success {
  animation: conversionSuccess 1s ease-in-out;
  border-color: var(--accent-color);
}

.copy-btn-container {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.copy-button {
  background: rgba(0, 204, 255, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(0, 204, 255, 0.3);
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-button i {
  font-size: 16px;
}

.copy-button:hover {
  background: rgba(0, 204, 255, 0.2);
  transform: translateY(-2px);
}

.copy-button.copied {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border-color: rgba(76, 175, 80, 0.4);
}

/* Timezone Converter Demo */
.timezone-converter-demo {
  padding: 0 !important;
  height: auto !important;
  min-height: 300px;
  background: rgba(10, 14, 24, 0.5);
}

.converter-demo-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.converter-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  margin-bottom: 20px;
}

.demo-left, .demo-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: rgba(10, 15, 30, 0.3);
  border-radius: 8px;
  min-height: 160px;
}

.demo-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  color: var(--accent-color);
  font-size: 24px;
}

.demo-signals {
  width: 100%;
  margin-bottom: 15px;
}

.demo-signal {
  padding: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  color: var(--text-color);
}

.demo-timezone {
  padding: 8px 15px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.demo-footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.full-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 204, 255, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(0, 204, 255, 0.3);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.full-tool-link:hover {
  background: rgba(0, 204, 255, 0.2);
  transform: translateY(-2px);
  color: var(--accent-color);
}

/* Responsive styles for timezone converter demo */
@media (max-width: 768px) {
  .converter-demo {
    flex-direction: column;
    gap: 20px;
  }
  
  .demo-left, .demo-right {
    width: 100%;
  }
  
  .demo-arrow {
    transform: rotate(90deg);
    padding: 5px 0;
  }
  
  .modal-visual {
    height: auto !important;
    min-height: 0;
  }
  
  .modal-body {
    padding: 20px 15px;
  }
}

/* Make the modal responsive */
.modal-container {
  padding: 15px;
}

.modal {
  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 480px) {
  .modal-header {
    padding: 15px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .modal-button {
    width: 100%;
  }
}

/* Language notification */
.language-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 204, 255, 0.2);
    border: 1px solid rgba(0, 204, 255, 0.5);
    border-radius: 6px;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s forwards;
}

.language-notification i {
    margin-right: 8px;
    font-size: 18px;
    color: rgba(0, 204, 255, 1);
}

/* RTL Support */
body.rtl {
    text-align: right;
}

body.rtl .nav-wrapper ul {
    padding-right: 0;
}

body.rtl .language-notification {
    right: auto;
    left: 20px;
}

body.rtl .language-notification i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .right-section {
    flex-direction: row-reverse;
}

body.rtl .logo-container {
    margin-right: 0;
    margin-left: 20px;
}

body.rtl .hero-content {
    text-align: right;
}

body.rtl .feature-list li {
    padding-left: 0;
    padding-right: 25px;
}

body.rtl .feature-list li:before {
    left: auto;
    right: 0;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}