/* ==============================================
   CSS VARIABLES - COINSHARES THEME
   ============================================== */
:root {
  /* Colors */
  --cs-navy: #0A2540;
  --cs-blue: #0066FF;
  --cs-light-blue: #E6F0FF;
  --cs-white: #FFFFFF;
  --cs-gray-50: #F8FAFC;
  --cs-gray-100: #F1F5F9;
  --cs-gray-200: #E2E8F0;
  --cs-gray-300: #CBD5E1;
  --cs-gray-400: #94A3B8;
  --cs-gray-500: #64748B;
  --cs-gray-600: #475569;
  --cs-gray-700: #334155;
  --cs-gray-800: #1E293B;
  --cs-gray-900: #0F172A;
  --cs-success: #10B981;
  --cs-error: #EF4444;
  --cs-warning: #F59E0B;

  /* Typography */
  --cs-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cs-font-secondary: 'Manrope', sans-serif;
  --cs-fs-xs: 0.75rem;
  --cs-fs-sm: 0.875rem;
  --cs-fs-base: 1rem;
  --cs-fs-lg: 1.125rem;
  --cs-fs-xl: 1.25rem;
  --cs-fs-2xl: 1.5rem;
  --cs-fs-3xl: 1.875rem;
  --cs-fs-4xl: 2.25rem;

  /* Spacing */
  --cs-space-1: 0.25rem;
  --cs-space-2: 0.5rem;
  --cs-space-3: 0.75rem;
  --cs-space-4: 1rem;
  --cs-space-5: 1.25rem;
  --cs-space-6: 1.5rem;
  --cs-space-8: 2rem;
  --cs-space-10: 2.5rem;
  --cs-space-12: 3rem;
  --cs-space-16: 4rem;
  --cs-space-20: 5rem;
  --cs-space-24: 6rem;

  /* Shadows */
  --cs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --cs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --cs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --cs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --cs-transition: 0.2s ease-in-out;
}

/* ==============================================
   GLOBAL STYLES
   ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--cs-font-primary);
  font-size: var(--cs-fs-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--cs-gray-900);
  background-color: var(--cs-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==============================================
   NAVIGATION - COINSHARES STYLE
   ============================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all var(--cs-transition);
}

.main-header.scrolled {
  background-color: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav {
  width: 100%;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--cs-space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  z-index: 10;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--cs-space-3);
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
}

.brand-name {
  font-size: var(--cs-fs-xl);
  font-weight: 600;
  color: var(--cs-white);
  letter-spacing: -0.01em;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--cs-space-4);
  list-style: none;
  margin: 0;
}

.nav-link {
  padding: var(--cs-space-3) var(--cs-space-6);
  font-size: var(--cs-fs-base);
  font-weight: 500;
  color: var(--cs-white);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--cs-transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--cs-white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--cs-white);
  border-radius: 8px;
  box-shadow: var(--cs-shadow-lg);
  border: 1px solid var(--cs-gray-200);
  padding: var(--cs-space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--cs-transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: var(--cs-space-3) var(--cs-space-4);
  color: var(--cs-gray-700);
  text-decoration: none;
  border-radius: 6px;
  font-size: var(--cs-fs-sm);
  font-weight: 500;
  transition: all var(--cs-transition);
}

.dropdown-content a:hover {
  background-color: var(--cs-gray-50);
  color: var(--cs-navy);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--cs-space-4);
}

.crypto-ticker {
  display: flex;
  align-items: center;
  gap: var(--cs-space-2);
  padding: var(--cs-space-2) var(--cs-space-4);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: var(--cs-fs-sm);
  font-weight: 500;
}

.ticker-label {
  color: rgba(255, 255, 255, 0.7);
}

.ticker-price {
  color: var(--cs-white);
  font-weight: 600;
}

/* Buttons */
.btn-nav {
  padding: var(--cs-space-2) var(--cs-space-5);
  font-size: var(--cs-fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--cs-transition);
  display: inline-block;
}

.btn-ghost {
  color: var(--cs-white);
  background-color: transparent;
}

.btn-ghost:hover {
  color: var(--cs-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  color: var(--cs-white);
  background-color: var(--cs-blue);
}

.btn-primary:hover {
  background-color: #0066FF;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: var(--cs-space-3);
  transition: all var(--cs-transition);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--cs-white);
  border-radius: 2px;
  transition: all var(--cs-transition);
}

/* ==============================================
   HERO SECTION - VIDEO BACKGROUND
   ============================================== */
.cs-hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video Container */
.cs-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(
    135deg,
    #0A2540 0%,
    #0d2d4d 50%,
    #112d47 100%
  );
}

.cs-hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4);
}

.cs-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.cs-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--cs-space-6);
  position: relative;
  z-index: 2;
}

.cs-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cs-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cs-white);
  margin-bottom: var(--cs-space-6);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cs-hero-subtitle {
  font-size: var(--cs-fs-xl);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--cs-space-10);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.cs-hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--cs-space-4);
  flex-wrap: wrap;
}

.cs-btn-primary,
.cs-btn-secondary {
  padding: var(--cs-space-4) var(--cs-space-8);
  font-size: var(--cs-fs-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--cs-transition);
  display: inline-block;
}

.cs-btn-primary {
  color: var(--cs-white);
  background-color: var(--cs-blue);
  border: 2px solid var(--cs-blue);
}

.cs-btn-primary:hover {
  background-color: #0066FF;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.4);
}

.cs-btn-secondary {
  color: var(--cs-white);
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cs-btn-secondary:hover {
  border-color: var(--cs-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.cs-btn-large {
  padding: var(--cs-space-5) var(--cs-space-10);
  font-size: var(--cs-fs-lg);
}

/* ==============================================
   STATS BAR
   ============================================== */
.cs-stats-bar {
  padding: var(--cs-space-16) 0;
  background-color: var(--cs-white);
  border-bottom: 1px solid var(--cs-gray-200);
}

.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--cs-space-12);
  text-align: center;
}

.cs-stat-item {
  padding: var(--cs-space-6) 0;
}

.cs-stat-value {
  font-size: var(--cs-fs-4xl);
  font-weight: 700;
  color: var(--cs-navy);
  line-height: 1;
  margin-bottom: var(--cs-space-2);
}

.cs-stat-label {
  font-size: var(--cs-fs-base);
  color: var(--cs-gray-600);
  font-weight: 500;
}

/* ==============================================
   SECTIONS
   ============================================== */
.cs-section {
  padding: var(--cs-space-20) 0;
}

.cs-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--cs-space-16);
}

.cs-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cs-navy);
  margin-bottom: var(--cs-space-4);
  letter-spacing: -0.02em;
}

.cs-section-description {
  font-size: var(--cs-fs-lg);
  line-height: 1.6;
  color: var(--cs-gray-600);
}

/* ==============================================
   PRODUCT GRID
   ============================================== */
.cs-products {
  background-color: var(--cs-white);
}

.cs-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--cs-space-6);
}

.cs-product-card {
  padding: var(--cs-space-8);
  background-color: var(--cs-white);
  border: 1px solid var(--cs-gray-200);
  border-radius: 12px;
  transition: all var(--cs-transition);
}

.cs-product-card:hover {
  border-color: var(--cs-navy);
  box-shadow: var(--cs-shadow-lg);
  transform: translateY(-4px);
}

.cs-product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--cs-space-4);
}

.cs-product-header h3 {
  font-size: var(--cs-fs-2xl);
  font-weight: 700;
  color: var(--cs-navy);
}

.cs-product-badge {
  padding: var(--cs-space-1) var(--cs-space-3);
  background-color: var(--cs-light-blue);
  color: var(--cs-navy);
  font-size: var(--cs-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
}

.cs-product-description {
  font-size: var(--cs-fs-base);
  line-height: 1.6;
  color: var(--cs-gray-600);
  margin-bottom: var(--cs-space-6);
}

.cs-product-features {
  list-style: none;
  margin-bottom: var(--cs-space-6);
}

.cs-product-features li {
  padding: var(--cs-space-2) 0;
  font-size: var(--cs-fs-sm);
  color: var(--cs-gray-700);
  position: relative;
  padding-left: var(--cs-space-6);
}

.cs-product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cs-success);
  font-weight: 600;
}

.cs-product-link {
  font-size: var(--cs-fs-sm);
  font-weight: 600;
  color: var(--cs-navy);
  text-decoration: none;
  transition: all var(--cs-transition);
}

.cs-product-link:hover {
  color: var(--cs-blue);
}

/* ==============================================
   WHY CHOOSE SECTION
   ============================================== */
.cs-why-choose {
  background-color: var(--cs-gray-50);
}

.cs-two-column {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--cs-space-16);
  align-items: start;
}

.cs-column-left {
  position: sticky;
  top: 120px;
}

.cs-large-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cs-navy);
  margin-bottom: var(--cs-space-6);
  letter-spacing: -0.02em;
}

.cs-large-description {
  font-size: var(--cs-fs-lg);
  line-height: 1.7;
  color: var(--cs-gray-600);
}

.cs-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--cs-space-10);
}

.cs-feature-item {
  display: flex;
  gap: var(--cs-space-6);
  padding: var(--cs-space-8);
  background-color: var(--cs-white);
  border-radius: 12px;
  border: 1px solid var(--cs-gray-200);
  transition: all var(--cs-transition);
}

.cs-feature-item:hover {
  border-color: var(--cs-navy);
  box-shadow: var(--cs-shadow-md);
}

.cs-feature-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cs-navy);
  color: var(--cs-white);
  font-size: var(--cs-fs-lg);
  font-weight: 700;
  border-radius: 50%;
}

.cs-feature-content h4 {
  font-size: var(--cs-fs-xl);
  font-weight: 600;
  color: var(--cs-navy);
  margin-bottom: var(--cs-space-2);
}

.cs-feature-content p {
  font-size: var(--cs-fs-base);
  line-height: 1.6;
  color: var(--cs-gray-600);
}

/* ==============================================
   MARKET DATA SECTION
   ============================================== */
.cs-market-data {
  background-color: var(--cs-white);
}

.cs-price-table {
  background-color: var(--cs-white);
  border: 1px solid var(--cs-gray-200);
  border-radius: 12px;
  overflow: hidden;
}

.cs-price-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr 1fr;
  gap: var(--cs-space-6);
  padding: var(--cs-space-5) var(--cs-space-6);
  align-items: center;
  border-bottom: 1px solid var(--cs-gray-200);
  transition: background-color var(--cs-transition);
}

.cs-price-row:last-child {
  border-bottom: none;
}

.cs-price-row:not(.cs-price-header):hover {
  background-color: var(--cs-gray-50);
}

.cs-price-header {
  background-color: var(--cs-gray-50);
  font-weight: 600;
  color: var(--cs-gray-700);
  font-size: var(--cs-fs-sm);
}

.cs-price-col {
  font-size: var(--cs-fs-base);
}

.cs-asset-info {
  display: flex;
  align-items: center;
  gap: var(--cs-space-3);
}

.cs-asset-icon {
  font-size: var(--cs-fs-3xl);
  color: var(--cs-navy);
}

.cs-crypto-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--cs-gray-100);
  border-radius: 50%;
  font-weight: 600;
}

.cs-asset-name {
  font-weight: 600;
  color: var(--cs-navy);
}

.cs-asset-symbol {
  font-size: var(--cs-fs-sm);
  color: var(--cs-gray-500);
}

.cs-price-value {
  font-weight: 600;
  color: var(--cs-navy);
}

.cs-change-positive {
  color: var(--cs-success);
  font-weight: 600;
}

.cs-change-negative {
  color: var(--cs-error);
  font-weight: 600;
}

.cs-trade-btn {
  padding: var(--cs-space-2) var(--cs-space-4);
  font-size: var(--cs-fs-sm);
  font-weight: 600;
  color: var(--cs-white);
  background-color: var(--cs-navy);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--cs-transition);
  display: inline-block;
}

.cs-trade-btn:hover {
  background-color: #0d2d4d;
  transform: translateY(-1px);
}

.cs-view-all {
  text-align: center;
  margin-top: var(--cs-space-8);
}

/* ==============================================
   INSIGHTS SECTION
   ============================================== */
.cs-insights {
  background-color: var(--cs-gray-50);
}

.cs-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--cs-space-6);
}

.cs-insight-card {
  padding: var(--cs-space-8);
  background-color: var(--cs-white);
  border: 1px solid var(--cs-gray-200);
  border-radius: 12px;
  transition: all var(--cs-transition);
}

.cs-insight-card:hover {
  border-color: var(--cs-navy);
  box-shadow: var(--cs-shadow-lg);
  transform: translateY(-4px);
}

.cs-insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--cs-space-4);
}

.cs-insight-category {
  padding: var(--cs-space-1) var(--cs-space-3);
  background-color: var(--cs-light-blue);
  color: var(--cs-navy);
  font-size: var(--cs-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
}

.cs-insight-date {
  font-size: var(--cs-fs-sm);
  color: var(--cs-gray-500);
}

.cs-insight-title {
  font-size: var(--cs-fs-xl);
  font-weight: 700;
  color: var(--cs-navy);
  margin-bottom: var(--cs-space-3);
  line-height: 1.3;
}

.cs-insight-excerpt {
  font-size: var(--cs-fs-base);
  line-height: 1.6;
  color: var(--cs-gray-600);
  margin-bottom: var(--cs-space-4);
}

.cs-insight-link {
  font-size: var(--cs-fs-sm);
  font-weight: 600;
  color: var(--cs-navy);
  text-decoration: none;
  transition: all var(--cs-transition);
}

.cs-insight-link:hover {
  color: var(--cs-blue);
}

/* ==============================================
   CTA SECTION
   ============================================== */
.cs-cta-section {
  padding: var(--cs-space-24) 0;
  background: linear-gradient(135deg, var(--cs-navy) 0%, #0d2d4d 100%);
  text-align: center;
}

.cs-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cs-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cs-white);
  margin-bottom: var(--cs-space-6);
  letter-spacing: -0.02em;
}

.cs-cta-description {
  font-size: var(--cs-fs-xl);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--cs-space-8);
}

.cs-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--cs-space-4);
  flex-wrap: wrap;
}

.cs-cta-section .cs-btn-primary {
  background-color: var(--cs-white);
  color: var(--cs-navy);
  border-color: var(--cs-white);
}

.cs-cta-section .cs-btn-primary:hover {
  background-color: var(--cs-gray-100);
}

.cs-cta-section .cs-btn-secondary {
  color: var(--cs-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cs-cta-section .cs-btn-secondary:hover {
  border-color: var(--cs-white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==============================================
   FOOTER - COINSHARES STYLE
   ============================================== */
.main-footer {
  background-color: var(--cs-navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--cs-space-20);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--cs-space-6) var(--cs-space-10);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--cs-space-12);
  padding-bottom: var(--cs-space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--cs-space-8);
}

.footer-brand-col {
  max-width: 350px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--cs-space-3);
  text-decoration: none;
  margin-bottom: var(--cs-space-4);
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-brand span {
  font-size: var(--cs-fs-xl);
  font-weight: 600;
  color: var(--cs-white);
}

.footer-tagline {
  font-size: var(--cs-fs-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--cs-space-6);
}

.footer-social {
  display: flex;
  gap: var(--cs-space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: all var(--cs-transition);
  text-decoration: none;
}

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

.footer-col h4 {
  font-size: var(--cs-fs-base);
  font-weight: 600;
  color: var(--cs-white);
  margin-bottom: var(--cs-space-4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: var(--cs-space-2);
}

.footer-col ul li a {
  font-size: var(--cs-fs-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--cs-transition);
}

.footer-col ul li a:hover {
  color: var(--cs-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--cs-space-6) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left p {
  font-size: var(--cs-fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: var(--cs-space-6);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--cs-space-2);
  font-size: var(--cs-fs-xs);
  color: rgba(255, 255, 255, 0.6);
}

.badge-item i {
  color: var(--cs-success);
}

.footer-disclaimer {
  padding-top: var(--cs-space-6);
}

.footer-disclaimer p {
  font-size: var(--cs-fs-xs);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ==============================================
   LOADER
   ============================================== */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A2540 0%, #1a1a2e 50%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  overflow: hidden;
}

#page-loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
  animation: loader-bg-subtle 4s ease-in-out infinite;
}

@keyframes loader-bg-subtle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 80px;
  height: auto;
  filter: brightness(0) invert(1);
  animation: logo-fade-in 0.8s ease-out forwards, logo-gentle-pulse 3s ease-in-out infinite 0.8s;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes logo-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logo-gentle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

.loader-spinner {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0, 102, 255, 0.2);
  border-top: 2px solid #0066FF;
  border-radius: 50%;
  animation: spinner-rotate 1.5s linear infinite;
  opacity: 0;
  animation: spinner-fade-in 0.8s ease-out 0.3s forwards, spinner-rotate 1.5s linear infinite 1.1s;
}

@keyframes spinner-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes spinner-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  animation: text-fade-in 0.8s ease-out 0.6s forwards;
  opacity: 0;
  transform: translateY(10px);
}

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

/* ==============================================
   MOBILE MENU
   ============================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--cs-navy) 0%, #0d2d4d 100%);
  padding: 120px var(--cs-space-6) var(--cs-space-6);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

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

.mobile-menu-header {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--cs-transition);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1001;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mobile-menu-content {
  max-width: 500px;
  margin: 0 auto;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: var(--cs-space-12);
}

.mobile-nav-links li {
  margin-bottom: var(--cs-space-4);
}

.mobile-nav-links a {
  display: block;
  padding: var(--cs-space-5) var(--cs-space-6);
  font-size: var(--cs-fs-xl);
  font-weight: 600;
  color: var(--cs-white);
  text-decoration: none;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--cs-transition);
  text-align: center;
}

.mobile-nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--cs-space-3);
}

.btn-mobile {
  padding: var(--cs-space-4);
  font-size: var(--cs-fs-base);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  transition: all var(--cs-transition);
}

.btn-ghost-mobile {
  color: var(--cs-navy);
  background-color: var(--cs-gray-50);
}

.btn-primary-mobile {
  color: var(--cs-white);
  background-color: var(--cs-navy);
}

/* ==============================================
   AUTH PAGES - COINSHARES STYLE
   ============================================== */
.cs-auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cs-auth-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.75) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.cs-auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cs-space-16);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: var(--cs-space-8) 0;
}

.cs-register-wrapper {
  grid-template-columns: 1fr 1.2fr;
}

.cs-auth-left {
  padding: var(--cs-space-8);
}

.cs-auth-branding {
  max-width: 400px;
}

.cs-auth-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--cs-space-8);
  filter: brightness(0) invert(1);
}

.cs-auth-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--cs-white);
  margin-bottom: var(--cs-space-4);
  line-height: 1.1;
}

.cs-auth-subtitle {
  font-size: var(--cs-fs-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--cs-space-8);
}

.cs-auth-features {
  display: flex;
  flex-direction: column;
  gap: var(--cs-space-4);
}

.cs-auth-feature {
  display: flex;
  align-items: center;
  gap: var(--cs-space-3);
  font-size: var(--cs-fs-base);
  color: rgba(255, 255, 255, 0.8);
}

.cs-auth-feature i {
  color: var(--cs-blue);
  width: 20px;
  text-align: center;
}

.cs-auth-right {
  padding: var(--cs-space-8);
}

.cs-auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: var(--cs-space-8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cs-auth-header {
  text-align: center;
  margin-bottom: var(--cs-space-6);
}

.cs-auth-header h2 {
  font-size: var(--cs-fs-3xl);
  font-weight: 700;
  color: var(--cs-navy);
  margin-bottom: var(--cs-space-2);
}

.cs-auth-header p {
  font-size: var(--cs-fs-base);
  color: var(--cs-gray-600);
}

.cs-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--cs-space-4);
}

.cs-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--cs-space-2);
}

.cs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cs-space-4);
}

.cs-form-label {
  font-size: var(--cs-fs-sm);
  font-weight: 600;
  color: var(--cs-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cs-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cs-input-icon {
  position: absolute;
  left: var(--cs-space-4);
  color: var(--cs-gray-400);
  font-size: var(--cs-fs-base);
  z-index: 1;
}

.cs-form-input {
  width: 100%;
  padding: var(--cs-space-4) var(--cs-space-4) var(--cs-space-4) var(--cs-space-12);
  border: 2px solid var(--cs-gray-200);
  border-radius: 8px;
  font-size: var(--cs-fs-base);
  background: var(--cs-white);
  transition: all var(--cs-transition);
  outline: none;
}

.cs-form-input:focus {
  border-color: var(--cs-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.cs-form-input::placeholder {
  color: var(--cs-gray-400);
}

.cs-password-toggle {
  position: absolute;
  right: var(--cs-space-4);
  background: none;
  border: none;
  color: var(--cs-gray-400);
  cursor: pointer;
  padding: var(--cs-space-1);
  transition: color var(--cs-transition);
}

.cs-password-toggle:hover {
  color: var(--cs-navy);
}

.cs-password-strength {
  margin-top: var(--cs-space-2);
}

.cs-strength-bar {
  height: 4px;
  background: var(--cs-gray-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--cs-space-2);
}

.cs-strength-fill {
  height: 100%;
  width: 0;
  transition: width var(--cs-transition), background-color var(--cs-transition);
  border-radius: 2px;
}

.cs-strength-fill.strength-weak {
  background: #ef4444;
  width: 33%;
}

.cs-strength-fill.strength-medium {
  background: #f59e0b;
  width: 66%;
}

.cs-strength-fill.strength-strong {
  background: #10b981;
  width: 100%;
}

.cs-strength-text {
  font-size: var(--cs-fs-xs);
  color: var(--cs-gray-500);
  font-weight: 500;
}

.cs-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs-checkbox {
  display: flex;
  align-items: center;
  gap: var(--cs-space-3);
  cursor: pointer;
  font-size: var(--cs-fs-sm);
}

.cs-checkbox input[type="checkbox"] {
  display: none;
}

.cs-checkbox-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--cs-gray-300);
  border-radius: 4px;
  position: relative;
  transition: all var(--cs-transition);
}

.cs-checkbox input[type="checkbox"]:checked + .cs-checkbox-mark {
  background: var(--cs-blue);
  border-color: var(--cs-blue);
}

.cs-checkbox input[type="checkbox"]:checked + .cs-checkbox-mark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.cs-checkbox-text {
  color: var(--cs-gray-700);
}

.cs-link {
  color: var(--cs-blue);
  text-decoration: none;
  font-weight: 500;
}

.cs-link:hover {
  text-decoration: underline;
}

.cs-forgot-link {
  color: var(--cs-blue);
  text-decoration: none;
  font-size: var(--cs-fs-sm);
  font-weight: 500;
  transition: color var(--cs-transition);
}

.cs-forgot-link:hover {
  color: var(--cs-navy);
  text-decoration: underline;
}

.cs-auth-btn {
  width: 100%;
  padding: var(--cs-space-4) var(--cs-space-6);
  background: var(--cs-navy);
  color: var(--cs-white);
  border: 2px solid var(--cs-navy);
  border-radius: 8px;
  font-size: var(--cs-fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--cs-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cs-space-2);
  margin-top: var(--cs-space-2);
}

.cs-auth-btn:hover {
  background: #0d2d4d;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
}

.cs-auth-divider {
  position: relative;
  text-align: center;
  margin: var(--cs-space-6) 0;
}

.cs-auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cs-gray-200);
}

.cs-auth-divider span {
  background: rgba(255, 255, 255, 0.95);
  padding: 0 var(--cs-space-4);
  font-size: var(--cs-fs-sm);
  color: var(--cs-gray-500);
  position: relative;
  z-index: 1;
}

.cs-auth-footer {
  text-align: center;
}

.cs-auth-footer p {
  font-size: var(--cs-fs-sm);
  color: var(--cs-gray-600);
  margin: 0;
}

.cs-auth-link {
  color: var(--cs-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--cs-transition);
}

.cs-auth-link:hover {
  color: var(--cs-navy);
  text-decoration: underline;
}

.cs-field-error {
  font-size: var(--cs-fs-xs);
  color: #ef4444;
  font-weight: 500;
  min-height: 16px;
  display: block;
}

/* ==============================================
   LIGHT THEME AUTH PAGES
   ============================================== */

/* ==============================================
   AUTH PAGE VARIABLES
   ============================================== */
:root {
  --auth-primary: #0066FF;
  --auth-primary-dark: #0044CC;
  --auth-primary-light: #E6F0FF;
  --auth-secondary: #f8fafc;
  --auth-accent: #06b6d4;
  --auth-success: #10b981;
  --auth-warning: #f59e0b;
  --auth-error: #ef4444;
  --auth-gray-50: #f8fafc;
  --auth-gray-100: #f1f5f9;
  --auth-gray-200: #e2e8f0;
  --auth-gray-300: #cbd5e1;
  --auth-gray-400: #94a3b8;
  --auth-gray-500: #64748b;
  --auth-gray-600: #475569;
  --auth-gray-700: #334155;
  --auth-gray-800: #1e293b;
  --auth-gray-900: #0f172a;
  --auth-white: #ffffff;
  --auth-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --auth-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --auth-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --auth-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --auth-radius-sm: 0.375rem;
  --auth-radius-md: 0.5rem;
  --auth-radius-lg: 0.75rem;
  --auth-radius-xl: 1rem;
  --auth-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================================
   AUTH PAGE LAYOUT
   ============================================== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--auth-gray-50) 0%, var(--auth-white) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--auth-white);
  border-radius: var(--auth-radius-xl);
  box-shadow: var(--auth-shadow-xl);
  overflow: hidden;
  min-height: 600px;
}

.register-wrapper {
  grid-template-columns: 1fr 1.2fr;
}

/* ==============================================
   LEFT SIDE - BRANDING
   ============================================== */
.auth-left {
  background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-dark) 100%);
  padding: 3rem;
  color: var(--auth-white);
  display: flex;
  align-items: center;
  min-height: 600px;
}

.auth-branding {
  width: 100%;
  max-width: 400px;
}

.auth-logo-wrapper {
  margin-bottom: 2rem;
}

.auth-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.auth-content {
  margin-top: 2rem;
}

.auth-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--auth-white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.auth-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--auth-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.feature-icon i {
  font-size: 1.25rem;
  color: var(--auth-white);
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--auth-white);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ==============================================
   RIGHT SIDE - FORM
   ============================================== */
.auth-right {
  padding: 3rem;
  background: var(--auth-white);
}

.auth-card {
  max-width: 400px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--auth-gray-900);
  margin-bottom: 0.5rem;
}

.auth-header p {
  font-size: 1rem;
  color: var(--auth-gray-600);
}

/* ==============================================
   FORM ELEMENTS
   ============================================== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--auth-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--auth-gray-400);
  font-size: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid var(--auth-gray-200);
  border-radius: var(--auth-radius-lg);
  font-size: 1rem;
  background: var(--auth-white);
  transition: var(--auth-transition);
  outline: none;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: var(--auth-gray-400);
}

.form-input:hover {
  border-color: var(--auth-gray-300);
}

/* Password toggle */
.password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--auth-gray-400);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--auth-transition);
  border-radius: var(--auth-radius-md);
}

.password-toggle:hover {
  color: var(--auth-primary);
  background: var(--auth-gray-100);
}

/* Password strength */
.password-strength {
  margin-top: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: var(--auth-gray-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.strength-fill {
  height: 100%;
  width: 0;
  transition: var(--auth-transition);
  border-radius: 2px;
}

.strength-fill.weak {
  background: var(--auth-error);
  width: 33%;
}

.strength-fill.medium {
  background: var(--auth-warning);
  width: 66%;
}

.strength-fill.strong {
  background: var(--auth-success);
  width: 100%;
}

.strength-fill.very-strong {
  background: var(--auth-accent);
  width: 100%;
}

.strength-text {
  font-size: 0.75rem;
  color: var(--auth-gray-500);
  font-weight: 500;
}

/* Form options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.checkbox input[type="checkbox"] {
  display: none;
}

.checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--auth-gray-300);
  border-radius: var(--auth-radius-md);
  position: relative;
  transition: var(--auth-transition);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checkbox input[type="checkbox"]:checked + .checkbox-mark {
  background: var(--auth-primary);
  border-color: var(--auth-primary);
}

.checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--auth-white);
  font-size: 12px;
  font-weight: bold;
}

.checkbox-text {
  color: var(--auth-gray-700);
  line-height: 1.4;
}

.link {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--auth-transition);
}

.link:hover {
  color: var(--auth-primary-dark);
  text-decoration: underline;
}

.forgot-link {
  color: var(--auth-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--auth-transition);
}

.forgot-link:hover {
  color: var(--auth-primary-dark);
  text-decoration: underline;
}

/* Form check (terms) */
.form-check {
  margin-top: 0.5rem;
}

/* ==============================================
   BUTTONS
   ============================================== */
.auth-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--auth-primary);
  color: var(--auth-white);
  border: 2px solid var(--auth-primary);
  border-radius: var(--auth-radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--auth-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.auth-btn:hover {
  background: var(--auth-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--auth-shadow-lg);
}

.auth-btn:active {
  transform: translateY(0);
}

.auth-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==============================================
   DIVIDERS & FOOTER
   ============================================== */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--auth-gray-200);
}

.auth-divider span {
  background: var(--auth-white);
  padding: 0 1rem;
  font-size: 0.875rem;
  color: var(--auth-gray-500);
  position: relative;
  z-index: 1;
}

.auth-footer {
  text-align: center;
}

.auth-footer p {
  font-size: 0.875rem;
  color: var(--auth-gray-600);
  margin: 0;
}

.auth-link {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--auth-transition);
}

.auth-link:hover {
  color: var(--auth-primary-dark);
  text-decoration: underline;
}

/* ==============================================
   ERROR HANDLING
   ============================================== */
.field-error {
  font-size: 0.75rem;
  color: var(--auth-error);
  font-weight: 500;
  min-height: 1rem;
  display: none;
  margin-top: 0.25rem;
}

/* ==============================================
   BACKGROUND ELEMENTS
   ============================================== */
.auth-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: -75px;
  animation-delay: 4s;
}

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

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1024px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: var(--auth-radius-lg);
  }

  .auth-left {
    padding: 2rem;
    text-align: center;
    min-height: auto;
  }

  .auth-right {
    padding: 2rem;
  }

  .auth-title {
    font-size: 2.5rem;
  }

  .auth-features {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .auth-page {
    padding: 1rem;
  }

  .auth-left {
    padding: 1.5rem;
  }

  .auth-right {
    padding: 1.5rem;
  }

  .auth-wrapper {
    border-radius: var(--auth-radius-md);
  }

  .auth-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bg-shape {
    display: none;
  }
}

@media (max-width: 480px) {
  .auth-left {
    padding: 1rem;
  }

  .auth-right {
    padding: 1rem;
  }

  .auth-title {
    font-size: 1.75rem;
  }

  .auth-subtitle {
    font-size: 1rem;
  }

  .auth-header h2 {
    font-size: 1.5rem;
  }

  .form-input {
    padding: 0.75rem 0.875rem 0.75rem 2.75rem;
  }

  .input-icon {
    left: 0.875rem;
  }

  .password-toggle {
    right: 0.5rem;
  }
}

/* ==============================================
   RESPONSIVE AUTH PAGES
   ============================================== */
@media (max-width: 1024px) {
  .cs-auth-wrapper {
    grid-template-columns: 1fr;
    gap: var(--cs-space-8);
  }

  .cs-auth-left {
    text-align: center;
    order: 2;
  }

  .cs-auth-right {
    order: 1;
  }

  .cs-auth-features {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cs-auth-page {
    padding: var(--cs-space-4);
  }

  .cs-auth-card {
    padding: var(--cs-space-6);
  }

  .cs-auth-title {
    font-size: var(--cs-fs-3xl);
  }

  .cs-form-row {
    grid-template-columns: 1fr;
  }

  .cs-auth-wrapper {
    margin: var(--cs-space-4) 0;
  }
}
@media (max-width: 1024px) {
  .cs-two-column {
    grid-template-columns: 1fr;
    gap: var(--cs-space-10);
  }

  .cs-column-left {
    position: static;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--cs-space-4);
    height: 64px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .brand-logo {
    height: 28px;
  }

  .cs-hero-video {
    min-height: 100vh;
    padding: 0 var(--cs-space-4);
  }

  .cs-hero-title {
    font-size: var(--cs-fs-3xl);
    line-height: 1.2;
  }

  .cs-hero-subtitle {
    font-size: var(--cs-fs-base);
    line-height: 1.6;
  }

  .cs-hero-cta {
    flex-direction: column;
    gap: var(--cs-space-3);
  }

  .cs-hero-cta a {
    width: 100%;
    text-align: center;
  }

  .cs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--cs-space-6);
  }

  .cs-product-grid,
  .cs-insights-grid {
    grid-template-columns: 1fr;
    gap: var(--cs-space-6);
  }

  .cs-price-row {
    grid-template-columns: 1fr;
    gap: var(--cs-space-2);
    padding: var(--cs-space-4);
    font-size: var(--cs-fs-sm);
  }

  .cs-price-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cs-price-col:not(:last-child)::after {
    content: ":";
    margin-left: var(--cs-space-2);
  }

  .cs-section {
    padding: var(--cs-space-12) 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--cs-space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--cs-space-4);
    text-align: center;
  }

  .cs-cta-buttons {
    flex-direction: column;
    gap: var(--cs-space-3);
  }

  .cs-cta-section .cs-btn-primary,
  .cs-cta-section .cs-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 var(--cs-space-4);
  }

  .cs-container {
    padding: 0 var(--cs-space-4);
  }

  .cs-stats-grid {
    grid-template-columns: 1fr;
  }

  .cs-hero-cta a {
    width: 100%;
    text-align: center;
  }
}
