/* Roq POC - Docusaurus-inspired styling */

:root {
  --primary-color: #2e8555;
  --primary-dark: #1d5a3a;
  --primary-light: #4caf50;
  --secondary-color: #f8f9fa;
  --text-color: #1c1e21;
  --text-light: #606770;
  --border-color: #dadde1;
  --background-color: #ffffff;
  --code-background: #f6f8fa;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

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

.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 4rem 0; text-align: center; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.hero-title { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.5rem; margin-bottom: 2rem; opacity: 0.9; font-weight: 300; }
.hero-cta {
  background-color: var(--primary-color); color: white; padding: 1rem 2rem; border-radius: var(--border-radius);
  text-decoration: none; font-weight: 600; font-size: 1.1rem; display: inline-block; transition: all 0.2s; box-shadow: var(--shadow);
}
.hero-cta:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.features { padding: 4rem 0; background-color: var(--secondary-color); }
.features-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.feature-card { background-color: white; padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow); text-align: center; transition: transform 0.2s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--primary-color); }
.feature-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-color); }
.feature-description { color: var(--text-light); line-height: 1.6; }

pre { background-color: #2d3748 !important; color: #f7fafc !important; padding: 1.5rem !important; border-radius: var(--border-radius) !important; overflow-x: auto !important; margin: 1.5rem 0 !important; font-family: var(--font-mono) !important; font-size: 0.9rem !important; line-height: 1.5 !important; }
code { font-family: var(--font-mono) !important; }
:not(pre) > code { background-color: var(--code-background) !important; color: var(--primary-dark) !important; padding: 0.2rem 0.4rem !important; border-radius: 4px !important; font-size: 0.9em !important; border: 1px solid var(--border-color) !important; }

table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; box-shadow: var(--shadow); border-radius: var(--border-radius); overflow: hidden; }
table th, table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
table th { background-color: var(--secondary-color); font-weight: 600; color: var(--text-color); }
table tr:hover { background-color: var(--secondary-color); }

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .features-grid { grid-template-columns: 1fr; }
}
