:root {
  --bg: #1a2238;
  --bg-alt: #232c45;
  --card-bg: #2b3552;
  --accent: #e53935;
  --accent-soft: rgba(229, 57, 53, 0.18);
  --text: #f8f9ff;
  --muted: #c3c9d9;
  --border: #3a4564;
  --radius: 10px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.25);
  --max-width: 1120px;
  --transition: 0.2s ease;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #2a3354 0%, #1a2238 55%);
  color: var(--text);
}

body {
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(26, 34, 56, 0.96), rgba(26, 34, 56, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-mark {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  position: relative;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.9rem;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-list a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-image {
  margin-bottom: 2rem;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(229, 57, 53, 0.5);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-badges span {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(229, 57, 53, 0.18), transparent 55%);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #2d3758 0%, #1a2238 60%);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* Layout helpers */

.grid {
  display: grid;
  gap: 1.5rem;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}

.references {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Cards */

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Lists */

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.list li {
  margin-bottom: 0.35rem;
}

/* Table */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(26, 34, 56, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

th,
td {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
}

th {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}

.note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */

.contact-columns {
  align-items: flex-start;
}

.contact-form {
  margin-top: 0.75rem;
}

.field {
  margin-bottom: 0.75rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(35, 45, 70, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.4);
  background: rgba(35, 45, 70, 0.98);
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0 1.4rem;
  background: radial-gradient(circle at bottom, #2d3758 0%, #1a2238 60%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    background: rgba(26, 34, 56, 0.98);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    min-width: 180px;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
  }

  .nav-list.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-list li {
    margin: 0.15rem 0;
  }
}

/* Hero layout */

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
  }
}

