/* ==========================================================================
   CSS Stylesheet for answer.net
   Theme: High-End Tech / Cyberpunk Glassmorphism / Dark Mode
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --bg-primary: #080c14;
  --bg-secondary: #0f1624;
  --bg-tertiary: #172237;
  --bg-card: rgba(23, 34, 55, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(157, 78, 221, 0.5);
  
  /* Brand Colors */
  --primary: #9d4edd;
  --primary-glow: rgba(157, 78, 221, 0.3);
  --secondary: #00f5d4;
  --secondary-glow: rgba(0, 245, 212, 0.25);
  --accent: #f72585;
  
  /* Text Colors */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-inverse: #080c14;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Blur Orbs */
.blur-orb {
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}
.orb-1 {
  top: -20%;
  left: -10%;
  background: var(--primary);
}
.orb-2 {
  bottom: -10%;
  right: -10%;
  background: var(--secondary);
}
.orb-3 {
  top: 40%;
  left: 30%;
  background: var(--accent);
  width: 30vw;
  height: 30vw;
  opacity: 0.08;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

strong {
  color: var(--text-main);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Common Layout Components & Utilities */
.highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  background: rgba(157, 78, 221, 0.12);
  border: 1px solid rgba(157, 78, 221, 0.25);
  color: #c77dff;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.125rem;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  background: #b5179e;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(181, 23, 158, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  margin-left: 1rem;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-action {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  box-shadow: 0 2px 10px var(--secondary-glow);
}
.btn-action:hover {
  background: var(--secondary);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

.btn-wallet {
  background: #2b1f4c;
  border: 1px solid var(--primary);
  color: #e2d9ff;
}
.btn-wallet:hover {
  background: var(--primary);
  color: var(--text-main);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Header & Navigation Styles */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

#main-header.scrolled {
  padding: 0.6rem 0;
  background: rgba(8, 12, 20, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-main);
}
.logo-symbol {
  color: var(--secondary);
  margin-right: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

#navbar ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

#navbar a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}
#navbar a:hover, #navbar a.active {
  color: var(--text-main);
}
#navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-fast);
}
#navbar a:hover::after, #navbar a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

/* Hero Section Styles */
.hero-section {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* Hero Terminal Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.code-terminal {
  width: 100%;
  max-width: 500px;
  background: #090e18;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(157, 78, 221, 0.05);
  overflow: hidden;
}

.terminal-header {
  background: #111827;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.terminal-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.5rem;
}
.terminal-header .red { background: #ef4444; }
.terminal-header .yellow { background: #f59e0b; }
.terminal-header .green { background: #10b981; }

.terminal-title {
  margin-left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
  overflow-x: auto;
}

/* Code Highlighting Styles */
.keyword { color: #f72585; }
.type { color: #00f5d4; }
.string { color: #a2d2ff; }
.literal { color: #ffb703; }
.comment { color: #64748b; font-style: italic; }

/* Services Section Styles */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(157, 78, 221, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 78, 221, 0.3);
  box-shadow: 0 10px 30px rgba(157, 78, 221, 0.05);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}
.tech-tags li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 4px;
}

/* Developments / Portfolio Section */
.portfolio-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  background: rgba(15, 22, 36, 0.6);
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}
.tab-btn.active {
  color: var(--text-main);
  background: var(--bg-tertiary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--text-muted);
}
.tab-btn.active .tab-badge {
  background: var(--primary);
  color: var(--text-main);
}

/* Project Panels */
.project-panel {
  display: none;
}
.project-panel.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

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

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.project-details {
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.project-header h3 {
  font-size: 2rem;
}

.status-indicator {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.status-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-indicator.online {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}
.status-indicator.online::before {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}
.status-indicator.testing {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}
.status-indicator.testing::before {
  background: var(--color-warning);
  box-shadow: 0 0 8px var(--color-warning);
}

.project-summary {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.project-features-list h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.project-features-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.project-features-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.project-features-list li::before {
  content: '➔';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.tech-stack-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}
.tech-stack-strip span:first-child {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 0.5rem;
}
.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
}

/* Swagger Mock Sandbox Visualizer */
.project-interactive {
  background: #090e18;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.interactive-title {
  background: #111827;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.swagger-mock {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 400px;
}

.swagger-sidebar {
  background: rgba(15, 22, 36, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
}

.sidebar-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  border-left: 2px solid transparent;
}
.sidebar-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}
.sidebar-item.active {
  color: var(--secondary);
  background: rgba(0, 245, 212, 0.03);
  border-left-color: var(--secondary);
}

.swagger-content {
  padding: 1.5rem;
}

.endpoint-detail {
  display: none;
}
.endpoint-detail.active {
  display: block;
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.endpoint-header .method {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.endpoint-header .method.post {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.endpoint-header .method.get {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-info);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.endpoint-header .path {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.endpoint-desc {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.code-block-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.code-preview {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.response-box {
  margin-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}
.response-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.response-status .status-code {
  color: var(--color-success);
  font-weight: 600;
}
.response-box pre {
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow-x: auto;
  color: #cbd5e1;
}

/* Suministro Flow Chart Styles */
.suministro-visual-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2rem 1.5rem;
  gap: 1rem;
  background: rgba(15, 22, 36, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-step-card {
  background: rgba(23, 34, 55, 0.6);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1rem;
  border-radius: 10px;
  text-align: center;
  width: 30%;
  transition: var(--transition-fast);
}
.flow-step-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.flow-step-card .flow-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.flow-step-card .flow-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.flow-step-card .flow-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.flow-connector {
  font-size: 1.25rem;
  color: var(--border-color);
}

.interactive-details-box {
  padding: 1.5rem;
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
}
.alert-info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  line-height: 1.5;
}

/* Solana Sandbox Styles */
.wallet-sandbox {
  padding: 1.5rem;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.wallet-status {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  position: relative;
  padding-left: 1.25rem;
}
.wallet-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-error);
}
.wallet-status.connected::before {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.wallet-balance-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.balance-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.balance-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.balance-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.wallet-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-action-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-main);
  transition: var(--transition-fast);
  width: 100%;
}
.btn-action-card:not(:disabled):hover {
  background: rgba(0, 245, 212, 0.05);
  border-color: var(--secondary);
}
.btn-action-card:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-action-card .icon {
  font-size: 1.35rem;
}
.btn-action-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.swap-box {
  background: rgba(15, 22, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.25rem;
}
.swap-box h5 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}
.swap-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.swap-row input {
  flex: 1;
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.swap-row input:focus {
  outline: none;
  border-color: var(--primary);
}
.swap-row input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.swap-rate {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.wallet-tx-log {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}
.wallet-tx-log h5 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 120px;
  overflow-y: auto;
}
.tx-empty-msg {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem 0;
}
.tx-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  animation: slideIn var(--transition-fast);
}

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

.tx-item .tx-type {
  font-weight: 600;
}
.tx-item .tx-type.success { color: var(--color-success); }
.tx-item .tx-hash {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* Marketing & Strategy Section */
.marketing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-color);
}

.marketing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.marketing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.marketing-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.marketing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.marketing-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.strat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.strat-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}
.strat-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.idea-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.idea-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.15rem;
  border-radius: 10px;
}
.idea-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}
.idea-item p {
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Contact Section */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-color);
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input, .form-group textarea {
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.form-status {
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}
.form-status.success { color: var(--color-success); }
.form-status.error { color: var(--color-error); }

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #111827;
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInLeft var(--transition-fast) forwards;
  min-width: 250px;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast.success { border-left: 4px solid var(--color-success); }
.toast.info { border-left: 4px solid var(--color-info); }
.toast.warning { border-left: 4px solid var(--color-warning); }
.toast.error { border-left: 4px solid var(--color-error); }

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background: #04060a;
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

footer p {
  font-size: 0.85rem;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    gap: 3rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-actions {
    display: flex;
    justify-content: center;
  }
  
  .project-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .marketing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #navbar {
    display: none; /* Mobile menu collapsed by default */
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .swagger-mock {
    grid-template-columns: 1fr;
  }
  .swagger-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
  }
  .sidebar-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    padding: 0.5rem 1rem;
  }
  .sidebar-item.active {
    border-bottom-color: var(--secondary);
  }
  
  .suministro-visual-flow {
    flex-direction: column;
    gap: 1.5rem;
  }
  .flow-step-card {
    width: 100%;
  }
  .flow-connector {
    transform: rotate(90deg);
  }
  
  .wallet-balance-row {
    grid-template-columns: 1fr;
  }
}
