/* NexusHive Website Styling - Modern Marketing Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono&display=swap');

:root {
  --primary-color: #2563eb;       /* Brighter blue */
  --primary-dark: #1d4ed8;
  --secondary-color: #0f172a;     /* Dark blue/slate */
  --tertiary-color: #10b981;      /* Modern green */
  --accent-color: #f97316;        /* Orange */
  --bg-color: #ffffff;
  --section-bg: #f8fafc;
  --text-color: #1e293b;
  --text-light: #64748b;
  --link-color: #2563eb;
  --link-hover-color: #1d4ed8;
  --code-bg: #f1f5f9;
  --card-bg: #ffffff;
  --card-shadow: rgba(0,0,0,0.05);
  --header-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-font: 'Roboto Mono', monospace;
  --border-radius: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1.title {
  font-size: 2.75rem;
  text-align: center;
  margin: 2rem 0;
  border: none;
  padding: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border: none;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
}

/* Links & Navigation */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--link-hover-color);
}

/* Hide Org-mode specific elements */
.todo, .done, .tag, .timestamp, .timestamp-kwd, .timestamp-wrapper, 
.priority, .priority_a, .priority_b, .priority_c, .priority_d,
.priority_e {
  display: none !important;
}

/* Hide TOC by default and style it better */
#table-of-contents {
  display: none; /* Hide TOC completely */
}

/* Marketing Components */

.banner-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2em;
  margin: 1em 0 2em 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 1.2em;
}

.license-box {
  background-color: rgba(0, 102, 204, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 1em;
  margin: 1.5em 0;
  border-radius: 0 5px 5px 0;
  font-size: 1.1em;
}

.license-text {
  font-family: var(--mono-font);
  font-size: 0.9em;
  white-space: pre-wrap;
  background-color: var(--code-bg);
  padding: 1em;
  border-radius: 5px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
}

.cta-box {
  background: linear-gradient(135deg, var(--tertiary-color), var(--primary-color));
  color: white;
  padding: 2em;
  margin: 2em 0;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  font-size: 1.2em;
}

.cta-button {
  display: inline-block;
  margin-top: 1em;
  padding: 0.8em 1.6em;
  background-color: var(--primary-color);
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cta-button.primary {
  background-color: var(--primary-color);
  color: white !important;
}

.cta-button.secondary {
  background-color: white;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none !important;
  background-color: var(--primary-dark);
}

.cta-button.secondary:hover {
  background-color: #f8fafc;
}

/* Contact Card Styling */
.contact-card {
  display: flex;
  flex-wrap: wrap;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin: 3rem 0;
  align-items: center;
  border: 1px solid #e2e8f0;
  gap: 2rem;
}

.contact-info {
  flex: 2;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-top: 0;
  color: var(--secondary-color);
}

.contact-title {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.contact-icon {
  margin-right: 0.75rem;
  font-size: 1.2rem;
  display: inline-block;
  width: 24px;
}

.contact-actions {
  margin-top: 2rem;
}

.qr-code {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 1rem;
  background-color: white;
  border-radius: var(--border-radius);
  border: 1px dashed #e2e8f0;
}

.qr-code img {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.5rem;
}

.qr-caption {
  font-size: 0.9rem;
  color: var(--text-light);
}

.highlight-box {
  background-color: rgba(0, 153, 51, 0.1);
  border-left: 4px solid var(--tertiary-color);
  padding: 1em;
  margin: 1.5em 0;
  border-radius: 0 5px 5px 0;
  font-size: 1.1em;
}

.use-case-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}

.use-case, .service-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 4px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case:hover, .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px var(--card-shadow);
}

.service-card {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.service-status {
  margin-top: auto;
  padding-top: 0.5em;
  font-size: 0.9em;
  color: #666;
  display: flex;
  align-items: center;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin-right: 8px;
}

.port-8080 .status-dot {
  background-color: #00cc66; /* Online */
}

.port-12345 .status-dot {
  background-color: #00cc66; /* Online */
}

.port-6667 .status-dot, 
.port-5901 .status-dot,
.port-8023 .status-dot {
  background-color: #ff6600; /* Setup required */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}

.feature {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.2em;
  box-shadow: 0 2px 4px var(--card-shadow);
  border-top: 3px solid var(--primary-color);
}

strong {
  color: var(--secondary-color);
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 2em 0;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

th {
  background-color: var(--secondary-color);
  color: white;
  text-align: left;
  padding: 0.75em;
}

td {
  padding: 0.75em;
  border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
  background-color: rgba(0,0,0,0.02);
}

tr:hover {
  background-color: rgba(0,102,204,0.05);
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 0.75rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .use-case-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .banner-box {
    padding: 1.5em;
  }
}

/* Footer Styling */
.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-links {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Print styling */
@media print {
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  #table-of-contents {
    background-color: transparent;
    border: 1px solid #ccc;
  }
  
  .banner-box,
  .highlight-box,
  .use-case,
  .feature {
    box-shadow: none;
    break-inside: avoid;
  }
  
  .footer {
    border-top: 1px solid #ccc;
  }
}