:root {
  --bg: #0b1120;
  --bg-alt: #0f1729;
  --surface: #141d33;
  --border: #223052;
  --text: #e7ecf7;
  --text-muted: #9aa7c2;
  --accent: #3ad0c2;
  --accent-strong: #22b8a9;
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon { flex-shrink: 0; }

.logo-text { color: var(--text); }

.logo .accent { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(58, 208, 194, 0.12), transparent 60%),
    var(--bg);
}

.hero-graphic {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 480px;
  height: 480px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner { position: relative; }

@media (max-width: 860px) {
  .hero-graphic { display: none; }
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.hero-lead {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 36px;
}

.hero-badge {
  display: inline-block;
  background: rgba(58, 208, 194, 0.1);
  border: 1px solid rgba(58, 208, 194, 0.3);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  margin: 0 0 32px;
}

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #0b1120;
}

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

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

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

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

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

.tech-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}

.tech-logos img {
  height: 28px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.tech-logos img:hover { opacity: 1; }

.tech-logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.tech-logo-text:hover { opacity: 1; }

/* Grid / Cards */
.grid { display: grid; gap: 28px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-media {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(58, 208, 194, 0.15), rgba(58, 208, 194, 0.02));
}

.card-media svg {
  width: 48px;
  height: 48px;
}

.card-body { padding: 22px; }

.card-body h3 { margin: 0 0 10px; font-size: 1.1rem; }

.card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  background: rgba(58, 208, 194, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Services */
.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(58, 208, 194, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}

.service-icon svg { width: 20px; height: 20px; }

.service h3 { margin: 0 0 10px; font-size: 1.1rem; }

.service p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }

.service-highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(58, 208, 194, 0.08), transparent);
}

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

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

.contact-info a { color: var(--accent); }

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

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

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

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

.contact-form button { margin-top: 18px; align-self: flex-start; }

.form-status {
  margin-top: 14px;
  font-size: 0.85rem;
  min-height: 1em;
}

.form-status-success { color: var(--accent); }

.form-status-error { color: #f27272; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    display: none;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
