*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05070b;
  color: #f4f4f5;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(5,7,11,0.96);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand-link {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  align-items: center;
}

.nav-link {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #e5e7eb;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15,23,42,0.85);
}

.nav-link.active {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  font-weight: 600;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(148,163,184,0.4);
  margin-left: 0.25rem;
}

.lang-switch a {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a.active {
  border-color: rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 55%),
              radial-gradient(circle at top right, rgba(52,211,153,0.15), transparent 55%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 46rem;
  color: #d1d5db;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  font-weight: 600;
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: rgba(15,23,42,0.8);
}

.btn.ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
}

.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-meta span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15,23,42,0.9);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-muted {
  background: #020617;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 2rem;
  align-items: flex-start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem;
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), #020617);
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.card p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* About / Contact */

.narrow {
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

main h1 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

main p {
  margin-bottom: 0.9rem;
  color: #e5e7eb;
}

.bullet-list {
  margin: 0.75rem 0 1.5rem;
  padding-left: 1.2rem;
  color: #e5e7eb;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

/* Contact form */

.form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form label {
  font-size: 0.85rem;
  color: #d1d5db;
}

.form input,
.form textarea {
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  color: #f9fafb;
  font-size: 0.95rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.5);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.form-status.ok {
  color: #4ade80;
}

.form-status.err {
  color: #fb7185;
}

/* Contact card */

.contact-card {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(30,64,175,0.4), #020617);
}

.contact-card h2 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-card a {
  color: #a5b4fc;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  padding: 1.5rem 0;
  background: #020617;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-title {
  font-weight: 600;
}

.footer-subtitle {
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #a5b4fc;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0,1fr);
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
