/* RSD Software company page styles - plain CSS, no build tools, no external assets */

:root {
  --bg: #0b1220;
  --bg-alt: #111a2e;
  --surface: #16223c;
  --text: #e8edf7;
  --muted: #a9b6cf;
  --brand: #3b82f6;
  --brand-strong: #2563eb;
  --border: #24324f;
  --max-width: 1080px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
}

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

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  background: #ffffff;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.language-nav a {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-nav a:hover,
.language-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-strong);
  color: #fff !important;
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(1200px 500px at 50% -10%, rgba(59, 130, 246, 0.18), transparent),
    var(--bg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--brand);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 900px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-strong);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--brand);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 760px;
  margin: 0 0 36px;
}

/* Certification badges */
.certs {
  list-style: none;
  margin: -16px 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.cert-icon {
  flex: none;
  color: var(--brand);
}

/* Feature grid / cards */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact {
  text-align: center;
}

.contact .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .language-nav {
    padding-left: 0;
    border-left: 0;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .section {
    padding: 52px 0;
  }
}
