/* ==========================================================================
   LimerCalc - Design System & Styles
   Aesthetic: Dark Futuristic / Cyberpunk Minimalist / Glassmorphism
   ========================================================================== */

:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-main: #07090e;
  --bg-card: rgba(16, 22, 34, 0.75);
  --bg-card-hover: rgba(22, 30, 46, 0.85);
  --bg-input: #0b111e;
  --bg-input-focus: #111a2e;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(0, 242, 254, 0.3);
  
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  --gradient-accent: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.03);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-family-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-heading: 'Outfit', sans-serif;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
body.light-theme {
  --bg-main: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-input: #ffffff;
  --bg-input-focus: #f8fafc;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(59, 130, 246, 0.4);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 0 15px rgba(59, 130, 246, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Ambient Glow */
.glow-bg {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(121, 40, 202, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.highlight {
  color: var(--accent-cyan);
}

.font-mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.fw-bold {
  font-weight: 700;
}

.text-accent {
  color: var(--accent-cyan);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.7);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-family-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-tag {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color-hover);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-text:hover {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 48px 0 32px 0;
  max-width: 780px;
  margin: 0 auto;
}

.hero-title {
  font-size: 42px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Main Layout Grid */
.calc-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

/* Card Component */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.card:hover {
  border-color: var(--border-color-hover);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.card-header h2, .card-header h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header i {
  color: var(--accent-cyan);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.2);
  font-weight: 700;
}

.tooltip-icon {
  color: var(--text-muted);
  cursor: help;
  transition: var(--transition-fast);
}

.tooltip-icon:hover {
  color: var(--accent-cyan);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-family-body);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  background: var(--bg-input-focus);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

/* Fiat Currency Selector Buttons */
.fiat-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fiat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.fiat-btn:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-input-focus);
}

.fiat-btn.active {
  border-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.fiat-symbol {
  font-size: 12px;
  opacity: 0.85;
}

/* Coin Selector Buttons */
.coin-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.coin-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.coin-btn:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-input-focus);
}

.coin-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.coin-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

/* Coin Colors */
.coin-icon.lmt { background: #00f2fe; color: #000; }
.coin-icon.btc { background: #f7931a; color: #fff; }
.coin-icon.eth { background: #627eea; color: #fff; }
.coin-icon.doge { background: #c2a633; color: #fff; }
.coin-icon.trx { background: #eb0029; color: #fff; }
.coin-icon.ltc { background: #345d9d; color: #fff; }

/* Input with Unit Group */
.input-with-unit {
  display: flex;
  gap: 8px;
}

.input-with-unit .form-control {
  flex: 1;
}

.unit-select {
  width: 90px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 10px;
  color: var(--text-primary);
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.unit-select:focus {
  border-color: var(--accent-cyan);
}

/* Advanced Panel Toggle */
.toggle-advanced-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition-fast);
}

.toggle-advanced-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.toggle-advanced-btn .arrow-icon {
  transition: transform 0.3s ease;
}

.toggle-advanced-btn.open .arrow-icon {
  transform: rotate(180deg);
}

.advanced-panel {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}

.advanced-panel.show {
  display: block;
}

/* Results Panel */
.results-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top Stat Cards */
.stat-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.primary-stat {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(16, 22, 34, 0.8) 100%);
  border-color: rgba(0, 242, 254, 0.2);
}

.highlight-stat {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 22, 34, 0.8) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.stat-icon {
  font-size: 18px;
  color: var(--accent-cyan);
}

.highlight-stat .stat-icon {
  color: var(--accent-green);
}

.stat-value {
  font-family: var(--font-family-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* Detailed Results Table */
.table-card {
  padding-bottom: 12px;
}

.updated-time {
  font-size: 12px;
  color: var(--text-muted);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.results-table th, .results-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.results-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-table tbody tr {
  transition: var(--transition-fast);
}

.results-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.results-table tbody tr.highlight-row {
  background: rgba(0, 242, 254, 0.04);
}

/* Chart Card */
.chart-card {
  display: flex;
  flex-direction: column;
}

.chart-period-buttons {
  display: flex;
  gap: 6px;
}

.chart-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chart-btn.active {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
}

.chart-container {
  position: relative;
  height: 250px;
  width: 100%;
  margin-top: 10px;
}

/* Extra Tools Section */
.extra-tools-section {
  margin-top: 48px;
  margin-bottom: 60px;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 32px;
}

.section-title-wrapper h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.section-title-wrapper p {
  color: var(--text-secondary);
  font-size: 15px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.tool-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.tool-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 0;
}

.converter-inputs, .roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.converter-results {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.converter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-output {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  color: var(--accent-green);
  font-size: 14px;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tips-list i {
  margin-top: 3px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 32px 0;
  background: rgba(7, 9, 14, 0.9);
  margin-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-cyan);
  font-size: 18px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid, .hub-cards-grid {
    grid-template-columns: 1fr;
  }

  .portal-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portal-hero-media {
    order: -1;
  }

  .portal-manifesto {
    border-left: none;
    padding-left: 0;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .features-bar {
    grid-template-columns: 1fr;
  }

  .community-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-buttons-grid {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title, .portal-title {
    font-size: 32px;
  }
  
  .header-actions .btn-outline {
    display: none;
  }

  .stat-cards-grid {
    grid-template-columns: 1fr;
  }

  .coin-selector-grid, .fiat-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   KryptoWalkers Portal Landing Page Styles
   ========================================================================== */

.brand-link {
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-cyan);
}

/* Portal Hero Section */
.portal-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 60px 0 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portal-title {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.portal-manifesto {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 16px;
  border-left: 3px solid var(--accent-cyan);
  padding-left: 16px;
}

.portal-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* Portal Hero Logo Frame */
.portal-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-frame-glow {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 8px;
  background: var(--gradient-accent);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.35);
  animation: pulseGlow 4s infinite alternate;
}

.hero-emblem {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 30px rgba(0, 242, 254, 0.25); }
  100% { box-shadow: 0 0 60px rgba(0, 242, 254, 0.5); }
}

/* Features Bar */
.features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 60px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  font-size: 24px;
  color: var(--accent-cyan);
  margin-top: 4px;
}

.feature-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Tools Hub Cards */
.tools-hub-section {
  margin-bottom: 60px;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hub-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.featured-tool {
  border-color: rgba(0, 242, 254, 0.3);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(16, 22, 34, 0.85) 100%);
}

.featured-tool:hover {
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.tool-badge-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-cyan);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tool-badge-upcoming {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.card-tool-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tool-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tool-brand-icon.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.tool-brand-icon.gold {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.sub-by {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.tool-category {
  font-size: 12px;
  color: var(--text-secondary);
}

.tool-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tool-action-btn {
  width: 100%;
  margin-top: auto;
}

/* Community Section */
.community-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.9) 0%, rgba(7, 9, 14, 0.95) 100%);
  border-color: rgba(0, 242, 254, 0.2);
}

.social-buttons-grid {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.community-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.hero-sub-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.calc-hero-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-cyan);
}

