@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #060913;
  --bg-surface: rgba(15, 23, 42, 0.65);
  --bg-surface-solid: #0f172a;
  --bg-surface-hover: rgba(30, 41, 59, 0.8);
  
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.15);
  --primary-glow-strong: rgba(139, 92, 246, 0.4);
  --primary-dark: #7c3aed;
  
  --secondary: #10b981;
  --secondary-glow: rgba(16, 185, 129, 0.15);
  --secondary-dark: #059669;
  
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(139, 92, 246, 0.2);
  
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background glowing meshes */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  top: 60vh;
  right: 5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

.extra-glow {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(6, 9, 19, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background: rgba(6, 9, 19, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  display: inline-block;
  box-shadow: 0 0 10px var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-smooth);
}

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

nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.lang-selector option {
  background-color: #0f172a;
  color: #ffffff;
}

.lang-selector:hover {
  border-color: var(--primary-glow-strong);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* Hero Section */
.hero {
  padding: 160px 24px 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #34d399 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--text-primary);
}

.stat-num span {
  color: var(--secondary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 3D Floating Mining Farm illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-container {
  width: 100%;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.1) 100%);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.floating-cube {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(139, 92, 246, 0.3) 100%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  color: gold;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-ring-1 {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.floating-ring-2 {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  animation: rotate-reverse 15s linear infinite;
}

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

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

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

/* Global Section Styles */
section {
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Glassmorphism Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-surface-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(139, 92, 246, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  border-color: rgba(16, 185, 129, 0.2);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  border-color: rgba(245, 158, 11, 0.2);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.service-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

/* Calculator Section */
.calc-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.slider-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--secondary);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.slider-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: var(--transition-smooth);
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-dark);
  transition: var(--transition-smooth);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.duration-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.duration-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.duration-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.duration-btn.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.calc-results {
  background: rgba(6, 9, 19, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-value-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.result-value-sub {
  font-size: 15px;
  color: var(--text-secondary);
}

.calc-warning {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(245, 158, 11, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Shop Catalog */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.shop-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.asic-header {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.asic-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.asic-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-top: 8px;
}

.asic-manufacturer {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.asic-image-placeholder {
  height: auto;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.5) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.asic-image-placeholder::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.03) 50%, transparent 55%);
  animation: shine 6s infinite linear;
}

.asic-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  box-sizing: border-box;
}

@keyframes shine {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.asic-specs {
  padding: 24px;
  flex-grow: 1;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--text-primary);
}

.asic-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(6, 9, 19, 0.3);
}

.asic-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.price-label {
  font-size: 13px;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
}

.price-val span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.hosting-toggle-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 16px;
}

.hosting-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.hosting-toggle-btn.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.shop-actions-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hosting Section Info Layout */
.hosting-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hosting-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hosting-param-card {
  display: flex;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(8px);
}

.hosting-param-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hosting-param-content h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.hosting-param-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Contact / B2B Section */
.b2b-form-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(6, 9, 19, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  background: rgba(6, 9, 19, 0.7);
}

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

.form-success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--secondary);
  color: var(--text-primary);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
}

/* AI Assistant floating widget styles */
.ai-widget-trigger {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
  z-index: 999;
  transition: var(--transition-smooth);
}

.ai-widget-trigger:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.7);
}

.ai-widget-trigger .pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: pulse-ring 2s infinite;
  pointer-events: none;
  opacity: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.ai-chat-panel {
  position: fixed;
  bottom: 112px;
  right: 32px;
  width: 420px;
  height: 600px;
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.ai-chat-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  padding: 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar-box {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-glow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  font-size: 20px;
}

.status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid #0f172a;
  box-shadow: 0 0 5px var(--secondary);
}

.chat-title-box {
  display: flex;
  flex-direction: column;
}

.chat-title-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.chat-status-text {
  font-size: 11px;
  color: var(--text-secondary);
}

.close-chat-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.close-chat-btn:hover {
  color: var(--text-primary);
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #090d16;
}

.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}

.message-ai {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border-color);
}

.message-user {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.message-time {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
  display: block;
}

.message-user .message-time {
  color: rgba(255, 255, 255, 0.6);
}

.message-link {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.message-disclaimer {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 8px;
  margin-top: 8px;
  font-style: italic;
}

/* Inline Lead Form in Chat Bubble */
.chat-inline-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-inline-form input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  padding: 8px;
  border-radius: 4px;
  outline: none;
}

.chat-inline-form input:focus {
  border-color: var(--primary);
}

.chat-inline-btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chat-inline-btn:hover {
  background: var(--secondary-dark);
}

.chat-inline-success {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 6px 0;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  align-self: flex-start;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.chat-quick-suggestions {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: #090d16;
  border-top: 1px solid var(--border-color);
  overflow-x: auto;
  white-space: nowrap;
}

.chat-quick-suggestions::-webkit-scrollbar {
  height: 4px;
}

.chat-quick-suggestions::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.suggestion-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.suggestion-chip:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
  color: var(--text-primary);
}

.chat-input-area {
  padding: 16px 20px;
  background: #0f172a;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-input {
  flex-grow: 1;
  background: rgba(6, 9, 19, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: var(--transition-smooth);
}

.chat-input:focus {
  border-color: var(--primary);
  background: rgba(6, 9, 19, 0.7);
}

.send-msg-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-sm);
  background: var(--primary);
  border: none;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.send-msg-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Footer Section */
footer {
  background: #03050a;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive design adjustments */
@media (max-width: 1024px) {
  .hero-grid, .services-grid, .calc-grid, .shop-grid, .hosting-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero {
    padding: 120px 24px 60px 24px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .calc-results {
    order: -1;
  }
  
  .b2b-form-container {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none; /* simple mockup ignores burger for now, focuses on desktop features */
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .ai-chat-panel {
    width: calc(100% - 32px);
    right: 16px;
    left: 16px;
    bottom: 96px;
  }
  
  .ai-widget-trigger {
    bottom: 16px;
    right: 16px;
  }
}

/* Dashboard styling */
.dashboard-section {
  position: relative;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dashboard-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.db-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.db-card-title {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.db-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-card-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.db-card-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.status-dot-static {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--secondary);
}

.dashboard-assets-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-asset-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.db-asset-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(139, 92, 246, 0.2);
}

.db-asset-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.db-asset-icon-box {
  font-size: 28px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.db-asset-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.db-asset-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.db-asset-metrics {
  display: flex;
  gap: 48px;
}

.db-metric-item {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.db-metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.db-metric-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .db-asset-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .db-asset-metrics {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }
}

/* Header profile button */
.profile-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.profile-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
  transform: scale(1.05);
}

/* User Dashboard Modal Overlay */
.dashboard-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001; /* Above header and chat assistant triggers */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dashboard-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 9, 19, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dashboard-modal-content {
  position: relative;
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 1000px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  z-index: 1002;
  transform: translateY(30px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dashboard-modal.active .dashboard-modal-content {
  transform: translateY(0) scale(1);
}

.close-dashboard-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border-radius: 50%;
  border: 1px solid transparent;
}

.close-dashboard-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
}

@media (max-width: 768px) {
  .dashboard-modal-content {
    padding: 32px 20px;
    width: 95%;
  }
}

/* Standalone Auth Styles */
.auth-page-container {
  width: 100%;
  max-width: 480px;
  margin: 120px auto 80px auto;
  padding: 0;
  box-sizing: border-box;
}

.auth-card {
  width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  padding: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  outline: none;
}

.auth-tab-btn.active {
  color: var(--text-primary);
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.auth-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-full {
  width: 100%;
}

.auth-switch-text a:hover {
  text-decoration: underline;
}

/* Comprehensive Mobile Responsiveness Adjustments */
@media (max-width: 768px) {
  section {
    padding: 40px 20px !important; /* Reduce default section padding on mobile while keeping horizontal margins */
  }

  .section-header {
    margin-bottom: 28px !important; /* Reduce section header margin bottom from 60px */
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 24px !important;
  }

  .services-grid, .calc-grid, .shop-grid, .hosting-layout {
    gap: 24px !important;
  }

  .hero {
    padding: 100px 20px 40px 20px !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 26px !important;
    line-height: 1.25 !important;
    text-align: center;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-content p {
    font-size: 14px !important;
    text-align: center;
    margin-bottom: 24px;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }

  .section-title {
    font-size: 28px !important;
    text-align: center;
  }

  .section-desc {
    font-size: 14px !important;
    text-align: center;
  }

  .header-container {
    padding: 0 16px;
  }

  .logo {
    font-size: 18px !important;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn-primary {
    display: none !important; /* Hide Start Mining in mobile header */
  }

  .auth-page-container {
    margin-top: 90px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 460px !important;
  }

  .auth-card {
    padding: 28px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .dashboard-header-block {
    text-align: center;
    margin-bottom: 24px !important;
  }
  
  .dashboard-page-title {
    font-size: 26px !important;
  }

  .dashboard-page-container {
    margin: 80px auto 40px auto !important;
    padding: 0 16px !important;
  }

  .calc-container {
    padding: 24px 16px !important;
  }

  .calc-results {
    padding: 20px 16px !important;
    gap: 16px !important;
  }
}

/* Real-time Spinning Fan animation for active ASICs */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.db-asset-icon-box.spinning {
  animation: spin 3s linear infinite;
}

/* Network Selection button toggles */
.network-btn {
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02) !important;
  color: var(--text-secondary) !important;
  transition: all 0.2s ease;
}
.network-btn.active {
  background: rgba(139, 92, 246, 0.1) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

/* Admin Notification Toast styles */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.admin-toast {
  pointer-events: auto;
  background: rgba(15, 12, 30, 0.95);
  border: 1px solid rgba(147, 51, 234, 0.4);
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.2);
  border-radius: 12px;
  padding: 16px;
  width: 340px;
  color: #fff;
  font-family: inherit;
  backdrop-filter: blur(8px);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.admin-toast.show {
  transform: translateX(0);
}

.admin-toast-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #c084fc;
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.admin-toast-body {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* Admin Transactions table */
#adminTxTable th, #adminTxTable td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#adminTxTable tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}


