:root {
  --bg: #0b0d12;
  --panel: #141826;
  --text: #eaeaf0;
  --muted: #9aa0b3;
  --accent: #5da9ff;
  --border: #23283b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #182044, var(--bg));
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: url('https://assets.getaurelia.app/images/hero/Aurelia_heading.png') no-repeat center center;
  background-size: cover;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.main-nav {
  margin-left: -1in;
  /* Navigation is now vertical */
}

.main-nav a {
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5da9ff, #7cc1ff);
  color: #0b0d12 !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
}

/* =========================
   Main
========================= */

.site-main {
  min-height: 60vh;
  padding: 64px 0;
}

/* =========================
   Footer
========================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: #0b0d12;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-logo {
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 14px;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text);
}

.site-footer a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 16px;
}

.footer-section li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--text);
}

.footer-social {
  margin-top: 16px;
}

.footer-social a {
  display: inline-block;
  margin-right: 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-social a:hover {
  color: var(--text);
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  margin: 0 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--text);
}

/* =========================
   Responsive
========================= */

@media (max-width: 800px) {
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0b0d12;
    flex-direction: column;
    padding: 24px;
    display: none;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* =========================
   Documentation Styles
========================= */

.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.docs-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.docs-section h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
}

.docs-section p {
  margin-bottom: 16px;
  color: var(--muted);
}

.docs-section ul {
  margin: 0;
  padding-left: 20px;
}

.docs-section li {
  margin-bottom: 8px;
}

.docs-section a {
  color: var(--accent);
  text-decoration: none;
}

.docs-section a:hover {
  text-decoration: underline;
}

.docs-resources {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.resource-item h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
}

.resource-item ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.resource-item li {
  margin-bottom: 8px;
}

.docs-license-info {
  margin-top: 48px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.docs-license-info h2 {
  margin-top: 0;
}

.docs-license-info ul {
  margin: 16px 0;
}

.docs-license-info a {
  color: var(--accent);
  font-weight: 500;
}

/* =========================
   Download Page Styles
========================= */

.download-hero {
  text-align: center;
  margin-bottom: 48px;
}

.download-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

.download-options {
  margin-bottom: 64px;
}

.download-options h2 {
  text-align: center;
  margin-bottom: 32px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.platform-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.platform-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(93, 169, 255, 0.2);
}

.platform-header {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.platform-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.platform-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
}

.platform-badge {
  background: var(--accent);
  color: #0b0d12;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  top: 16px;
  right: 16px;
}

.platform-content {
  padding: 24px;
}

.platform-details {
  margin: 16px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.download-buttons .btn {
  text-align: center;
}

.checksum {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0 0;
}

.checksum code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.system-requirements {
  margin: 64px 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.requirement-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.requirement-card.recommended {
  border-color: var(--accent);
}

.requirement-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.requirement-card ul {
  margin: 0;
  padding-left: 20px;
}

.requirement-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.requirements-note {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.requirements-note h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.requirements-note ul {
  margin: 16px 0 0 0;
  padding-left: 20px;
}

.installation-guide {
  margin: 64px 0;
}

.installation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.step {
  display: flex;
  gap: 16px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #0b0d12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.step-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.whats-included {
  margin: 64px 0;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.included-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.included-item h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.included-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.first-run-experience {
  margin: 64px 0;
}

.first-run-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.first-run-step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.first-run-step h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.first-run-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.troubleshooting {
  margin: 64px 0;
}

.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.trouble-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.trouble-item h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.trouble-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.security-notice {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin: 64px 0;
  text-align: center;
}

.security-notice h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.next-steps {
  text-align: center;
  margin: 64px 0;
  padding: 48px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.next-steps h2 {
  margin-bottom: 16px;
}

.next-steps p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
}

.next-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn.large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Responsive Design for Download Page */
@media (max-width: 768px) {
  .download-hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .requirements-grid,
  .installation-steps,
  .included-grid,
  .first-run-grid,
  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }

  .next-actions {
    flex-direction: column;
    align-items: center;
  }

  .next-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    align-self: center;
  }
}

/* =========================
   Enterprise Page Styles
========================= */

.enterprise-hero {
  text-align: center;
  margin-bottom: 64px;
}

.enterprise-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 18px;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.enterprise-benefits {
  margin-bottom: 64px;
}

.enterprise-benefits h2 {
  text-align: center;
  margin-bottom: 48px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.benefit-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.enterprise-features {
  margin: 64px 0;
}

.enterprise-features h2 {
  text-align: center;
  margin-bottom: 48px;
}

.features-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.feature-category {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.feature-category h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
}

.feature-category ul {
  margin: 0;
  padding-left: 20px;
}

.feature-category li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.feature-category strong {
  color: var(--accent);
}

.licensing-options {
  margin: 64px 0;
}

.licensing-options h2 {
  text-align: center;
  margin-bottom: 48px;
}

.licensing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.license-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.license-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(93, 169, 255, 0.2);
}

.license-price {
  font-size: 32px;
  font-weight: bold;
  color: var(--accent);
  margin: 16px 0;
}

.license-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.license-card ul {
  margin: 0;
  padding-left: 20px;
}

.license-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.case-studies {
  margin: 64px 0;
}

.case-studies h2 {
  text-align: center;
  margin-bottom: 48px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.case-study {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.case-study-logo {
  font-size: 32px;
  margin-bottom: 16px;
}

.case-study h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
}

.case-study p {
  margin: 0 0 16px 0;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}

.case-study cite {
  font-size: 14px;
  color: var(--accent);
  font-style: normal;
}

.support-services {
  margin: 64px 0;
}

.support-services h2 {
  text-align: center;
  margin-bottom: 48px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.support-tier {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.support-tier.premium {
  border-color: var(--accent);
  position: relative;
}

.support-tier h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
}

.support-tier ul {
  margin: 0;
  padding-left: 20px;
}

.support-tier li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.deployment-options {
  margin: 64px 0;
}

.deployment-options h2 {
  text-align: center;
  margin-bottom: 48px;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.deployment-option {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.deployment-option h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.deployment-option > p {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-weight: 500;
}

.deployment-option ul {
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

.deployment-option li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.security-compliance {
  margin: 64px 0;
}

.security-compliance h2 {
  text-align: center;
  margin-bottom: 48px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.compliance-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.compliance-item h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.compliance-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.enterprise-cta {
  text-align: center;
  margin: 64px 0;
  padding: 48px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.enterprise-cta h2 {
  margin-bottom: 16px;
}

.enterprise-cta p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn.large {
  padding: 16px 32px;
  font-size: 18px;
}

.contact-info {
  font-size: 16px;
  color: var(--muted);
}

/* Responsive Design for Enterprise Page */
@media (max-width: 768px) {
  .enterprise-hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .benefits-grid,
  .features-showcase,
  .licensing-grid,
  .case-study-grid,
  .support-grid,
  .deployment-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* =========================
   Features Page Styles
========================= */

.features-hero {
  text-align: center;
  margin-bottom: 64px;
}

.features-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.features-hero p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.core-features,
.ai-features,
.export-features,
.advanced-features {
  margin: 64px 0;
}

.core-features h2,
.ai-features h2,
.export-features h2,
.advanced-features h2 {
  text-align: center;
  margin-bottom: 48px;
}

.ai-features p,
.export-features p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
}

.feature-grid,
.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card,
.export-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.feature-card.large {
  grid-column: 1 / -1;
  max-width: none;
}

.feature-icon,
.export-icon {
  font-size: 48px;
  margin-bottom: 16px;
  text-align: center;
  display: block;
}

.feature-card h3,
.export-card h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  text-align: center;
}

.feature-card p,
.export-card p {
  margin: 0 0 24px 0;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.feature-card ul,
.export-card ul {
  margin: 0;
  padding-left: 20px;
}

.feature-card li,
.export-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.feature-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.feature-details h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: var(--accent);
}

.feature-examples {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.feature-examples p {
  margin: 8px 0;
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}

.export-badge {
  background: var(--accent);
  color: #0b0d12;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  position: absolute;
  top: 16px;
  right: 16px;
}

.feature-comparison {
  margin: 64px 0;
}

.feature-comparison h2 {
  text-align: center;
  margin-bottom: 8px;
}

.feature-comparison > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

.comparison-container {
  overflow-x: auto;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 600px;
}

.feature-table th,
.feature-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.feature-table th {
  background: var(--bg);
  font-weight: bold;
  position: sticky;
  top: 0;
}

.feature-table th:nth-child(2),
.feature-table th:nth-child(3),
.feature-table th:nth-child(4) {
  text-align: center;
  width: 120px;
}

.feature-table td:nth-child(2),
.feature-table td:nth-child(3),
.feature-table td:nth-child(4) {
  text-align: center;
  font-size: 18px;
}

.feature-table tr:last-child th,
.feature-table tr:last-child td {
  border-bottom: none;
}

.feature-cta {
  text-align: center;
  margin: 64px 0;
  padding: 48px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-cta h2 {
  margin-bottom: 16px;
}

.feature-cta p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design for Features Page */
@media (max-width: 768px) {
  .features-hero h1 {
    font-size: 36px;
  }

  .features-hero p {
    font-size: 18px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .feature-grid,
  .export-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: auto;
  }

  .feature-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison-container {
    font-size: 14px;
  }

  .feature-table th,
  .feature-table td {
    padding: 12px 8px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* =========================
   Contact Page Styles
========================= */

.contact-hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--panel) 100%);
}

.contact-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.contact-options {
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-card h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
}

.contact-card p {
  color: var(--muted);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.contact-info {
  text-align: left;
  background: var(--bg);
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-info strong {
  color: var(--text);
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form-section {
  padding: 64px 0;
  background: var(--bg);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 8px;
}

.form-container > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0b0d12;
  font-size: 12px;
  font-weight: bold;
}

.btn-primary {
  background: var(--accent);
  color: #0b0d12;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.btn-primary:hover {
  background: #00d4aa;
}

.office-info {
  padding: 64px 0;
}

.office-info h2 {
  text-align: center;
  margin-bottom: 48px;
}

.office-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.office-address h3 {
  margin-bottom: 16px;
}

.office-address address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 24px;
}

.office-address p {
  color: var(--muted);
  line-height: 1.6;
}

.map-placeholder {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  color: var(--muted);
}

.map-placeholder p {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.social-community {
  padding: 64px 0;
  background: var(--bg);
}

.social-community h2 {
  text-align: center;
  margin-bottom: 8px;
}

.social-community > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--accent);
  color: #0b0d12;
  transform: translateY(-2px);
}

.social-icon {
  font-size: 20px;
}

.social-text {
  font-weight: 500;
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.community-stats .stat {
  text-align: center;
}

.community-stats .stat-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--accent);
  display: block;
}

.community-stats .stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-hero {
    padding: 48px 0;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .office-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .community-stats {
    flex-direction: column;
    gap: 24px;
  }

  .btn-primary {
    align-self: stretch;
  }
}

/* =========================
   Index Page Styles
========================= */

.hero {
  background: url('/assets/images/Aurelia_heading.png') no-repeat center center;
  background-size: cover;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 13, 18, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin: 0;
  color: white;
}

.hero-content p {
  font-size: 24px;
  margin: 16px 0 0 0;
  color: white;
}

.hero-logo {
  width: 600px;
  height: auto;
  margin-bottom: 24px;
}

.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-description {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #0b0d12;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #00d4aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
  background: var(--panel);
  color: var(--text);
  padding: 16px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 14px 30px;
  border: 2px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--accent);
  display: block;
}

.hero-stats .stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.mockup-screen {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mockup-content {
  background: var(--bg);
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
}

.mockup-header {
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.mockup-text p {
  margin: 12px 0;
  line-height: 1.6;
  color: var(--text);
}

.mockup-equation {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  margin: 16px 0;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  color: var(--accent);
}

.features-preview {
  padding: 80px 0;
  background: var(--bg);
}

.features-preview h2 {
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.how-it-works {
  padding: 80px 0;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #0b0d12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 24px;
}

.step h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
}

.step p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.testimonials {
  padding: 80px 0;
  background: var(--bg);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 8px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.author-info .author-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.author-info .author-title {
  font-size: 14px;
  color: var(--muted);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design for Index Page */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}
/* =========================
   License Page Styles
========================= */

.license-hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
}

.license-hero h1 {
  margin-bottom: 16px;
}

.license-hero .hero-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.license-overview {
  padding: 80px 0;
}

.license-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.license-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.license-card.pro {
  border-color: var(--accent);
  position: relative;
}

.license-card.pro::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.license-card.enterprise {
  border-color: var(--text);
}

.license-card h3 {
  margin-bottom: 16px;
  color: var(--text);
}

.license-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.license-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.license-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.license-card li:last-child {
  border-bottom: none;
}

.license-details {
  padding: 80px 0;
  background: var(--bg);
}

.license-content h3 {
  margin: 32px 0 16px;
  color: var(--text);
}

.license-content h3:first-child {
  margin-top: 0;
}

.license-content p {
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}

.license-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.license-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.open-source {
  padding: 80px 0;
}

.oss-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.oss-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.oss-item h4 {
  margin-bottom: 8px;
  color: var(--text);
}

.oss-item p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.oss-item a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.oss-item a:hover {
  text-decoration: underline;
}

.oss-notice {
  text-align: center;
  color: var(--muted);
  margin-top: 32px;
}

.license-faq {
  padding: 80px 0;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.faq-item h4 {
  margin-bottom: 12px;
  color: var(--text);
}

.faq-item p {
  color: var(--muted);
  line-height: 1.6;
}

.license-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
}

.license-cta h2 {
  margin-bottom: 16px;
}

.license-cta p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}