:root {
  --bg: #0b1220;
  --surface: #121b2e;
  --surface-alt: #0e1626;
  --border: #22304a;
  --text: #eef2f8;
  --muted: #9fb0c8;
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --metallic: #7d8aa3;

  --font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0 0 16px; font-weight: 700; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.placeholder { color: var(--muted); font-style: italic; }

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px;
  height: 34px;
}

.nav a {
  color: var(--muted);
  margin-left: 28px;
  font-weight: 600;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 560px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11,18,32,0.94) 0%, rgba(11,18,32,0.82) 35%, rgba(11,18,32,0.55) 60%, rgba(11,18,32,0.35) 100%),
    linear-gradient(0deg, rgba(11,18,32,0.5), rgba(11,18,32,0.1) 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
  text-align: left;
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero h1 span { color: var(--accent); }

.tagline {
  color: var(--text);
  opacity: 0.92;
  font-size: 1.25rem;
  max-width: 500px;
  margin: 0 0 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}
.btn-primary:hover {
  text-decoration: none;
  filter: brightness(1.1);
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 2rem;
  text-align: center;
}

.section-lead {
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.card h3 {
  color: var(--accent);
  font-size: 1.15rem;
}
.card p {
  color: var(--muted);
  margin: 0;
}

/* Feature blocks (About section) */
.feature-block {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}
.feature-block:last-child {
  margin-bottom: 0;
}
.feature-block-reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  min-width: 280px;
}
.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.feature-text {
  flex: 1;
  min-width: 280px;
}
.feature-heading {
  color: var(--accent);
  font-size: 1.6rem;
}
.feature-text > p {
  color: var(--muted);
  margin-bottom: 28px;
}
.feature-text .grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info p {
  margin: 0 0 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.contact-form label {
  font-weight: 600;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  margin-top: 18px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { min-height: 440px; }
  .hero-text { text-align: center; max-width: none; }
  .tagline { margin: 0 auto 32px; }
  .hero h1 { font-size: 2.2rem; }
  .nav a { margin-left: 16px; font-size: 0.9rem; }
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-block, .feature-block-reverse { flex-direction: column; margin-bottom: 48px; }
  .feature-text .grid { grid-template-columns: 1fr; }
}
