:root {
  /* Color Palette - Soft Corporate Dark Theme */
  --primary-color: #0a0a0a;
  --secondary-color: #1a1a2e;
  --background-color: #0d1117;
  --footer-bg-color: #000000;
  --button-color: #00ffff;
  --accent-soft: #ff6b9d;
  --accent-warm: #ffa726;
  
  /* Section Backgrounds */
  --section-bg-primary: #0d1117;
  --section-bg-secondary: #16213e;
  --section-bg-accent: #1a1a2e;
  
  /* Organic Gradients */
  --gradient-organic: linear-gradient(135deg, #0d1117 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-button: linear-gradient(135deg, #00ffff 0%, #00cccc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 167, 38, 0.1) 100%);
  --gradient-neon: linear-gradient(135deg, #00ffff 0%, rgba(0, 255, 255, 0.5) 100%);
  
  /* Typography - Round & Friendly */
  --font-primary: 'Inter', 'Nunito', 'Poppins', sans-serif;
  --font-secondary: 'Quicksand', 'Comfortaa', sans-serif;
  
  /* Organic Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius - Soft & Organic */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Soft Shadows - Organic Depth */
  --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.25);
  --shadow-medium: 0 8px 30px -8px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 15px 40px -12px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.3);
  --shadow-organic: 0 20px 50px -15px rgba(26, 26, 46, 0.4);
  
  /* Transitions - Smooth & Natural */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-gentle: all 0.25s ease-out;
}

/* Base Styles - Organic Foundation */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--background-color);
  color: #ffffff;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography Hierarchy - Round & Friendly */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00ffff;
}

p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Link Styles - Organic & Accessible */
a {
  color: var(--button-color);
  text-decoration: none;
  transition: var(--transition-gentle);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
}

a:hover {
  color: #ffffff;
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* Section Backgrounds - Organic Gradients */
.section-primary {
  background: var(--section-bg-primary);
  position: relative;
}

.section-secondary {
  background: var(--section-bg-secondary);
  position: relative;
}

.section-accent {
  background: var(--section-bg-accent);
  position: relative;
}

.section-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-organic);
  opacity: 0.8;
  z-index: -1;
}

/* Container - Full Width Organic */
.container {
  width: 100%;
  max-width: none !important;
  padding-left: var(--space-lg) !important;
  padding-right: var(--space-lg) !important;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-md) !important;
    padding-right: var(--space-md) !important;
  }
}

/* Cards - Soft & Organic */
.card {
  background: rgba(26, 26, 46, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-organic);
  border-color: rgba(0, 255, 255, 0.3);
}

.card:hover::before {
  opacity: 0.1;
}

.card-primary {
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.card-secondary {
  background: rgba(22, 33, 62, 0.8);
  border: 1px solid rgba(255, 167, 38, 0.2);
}

/* Buttons - Organic & Interactive */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-secondary);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-smooth);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-button);
  color: #000000;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-glow), var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--button-color);
  border: 2px solid var(--button-color);
}

.btn-secondary:hover {
  background: var(--button-color);
  color: #000000;
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: var(--gradient-neon);
  color: #000000;
  box-shadow: var(--shadow-soft);
}

.btn-accent:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-strong);
}

/* Hero Section - Full Screen Organic */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-organic);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 167, 38, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: var(--space-xl);
}

/* Grid System - Organic Layout */
.grid {
  display: grid;
  gap: var(--space-xl);
  margin: var(--space-3xl) 0;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Forms - Organic & Accessible */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: #ffffff;
  font-family: var(--font-secondary);
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(26, 26, 46, 0.6);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: var(--button-color);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
  background: rgba(26, 26, 46, 0.8);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Navigation - Organic & Modern */
.navbar {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  margin: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-secondary);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: var(--transition-gentle);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--button-color);
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Footer - Organic Dark */
.footer {
  background: var(--footer-bg-color);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-button);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--button-color);
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.footer-section a:hover {
  color: var(--button-color);
}

/* Utilities - Organic Helpers */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Animations - Organic & Subtle */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

/* Scrollbar - Organic Custom */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-button);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--button-color);
}

/* Focus States - Accessibility */
*:focus {
  outline: 2px solid var(--button-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus,
.form-input:focus {
  outline: none;
}

/* Selection - Organic */
::selection {
  background: rgba(0, 255, 255, 0.3);
  color: #ffffff;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
  
  p { font-size: 1rem; }
  .btn { font-size: 1rem; padding: var(--space-sm) var(--space-lg); }
}

/* Loading States - Organic */
.loading {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--button-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Organic Shapes & Decorative Elements */
.organic-shape {
  position: absolute;
  border-radius: var(--radius-xl);
  opacity: 0.1;
  z-index: -1;
}

.organic-shape-1 {
  top: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: var(--gradient-soft);
  animation: float 15s ease-in-out infinite;
}

.organic-shape-2 {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: var(--gradient-neon);
  animation: float 18s ease-in-out infinite reverse;
}

/* Neon Effects - Trading/Corporate Theme */
.neon-text {
  color: var(--button-color);
  text-shadow: 
    0 0 5px var(--button-color),
    0 0 10px var(--button-color),
    0 0 20px var(--button-color),
    0 0 40px var(--button-color);
}

.neon-border {
  border: 1px solid var(--button-color);
  box-shadow: 
    0 0 10px rgba(0, 255, 255, 0.3),
    inset 0 0 10px rgba(0, 255, 255, 0.1);
}

/* Trading Charts Specific Styles */
.chart-container {
  background: rgba(13, 17, 23, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.metric-card {
  background: rgba(26, 26, 46, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 255, 255, 0.3);
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--button-color);
  font-family: var(--font-secondary);
}

.metric-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}