:root {
  color-scheme: dark;
  color: #e2e8f0;
  background: #020617;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --bg: #020617;
  --panel: #0f172a;
  --surface: #0b1224;
  --surface-alt: #111827;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-dark: #0f766e;
  --gold: #f59e0b;
  --gold-soft: #fde68a;
  --white: #ffffff;
  --border: rgba(148, 163, 184, 0.16);
  --shadow: 0 24px 80px rgba(5, 10, 24, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(13, 148, 136, 0.12), transparent 40%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
}

.hero {
  min-height: 80vh;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: blur(1.5px) saturate(1.15);
  transform: scale(1.03);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.86) 30%, rgba(2, 6, 23, 0.58) 58%, rgba(2, 6, 23, 0.32) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero-title span {
  display: block;
  color: var(--accent);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin: 1.25rem 0;
  font-size: 1.2rem;
  color: rgba(255,255,255,.82);
}

.hero-copy {
  max-width: 48rem;
  margin: 0.75rem 0 1.75rem;
  color: rgba(226,232,240,.8);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn,
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--bg);
  box-shadow: 0 20px 40px rgba(13,148,136,0.2);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  background: transparent;
}

.btn-primary:hover,
.btn-outline:hover,
.footer-cta:hover {
  transform: translateY(-2px);
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 0.75rem;
}

.section-subtitle {
  max-width: 42rem;
  color: rgba(226,232,240,.7);
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

desktop-only {
  display: block;
}

.card,
.panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card {
  padding: 2rem;
}

.panel {
  padding: 1.8rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,.04);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
}

.feature-card p,
.testimonial p,
.faq-summary {
  color: rgba(226,232,240,.75);
  line-height: 1.75;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(13,148,136,0.25);
  background: rgba(13,148,136,0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.stat-card {
  padding: 1.75rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--white);
}

.stat-card span {
  color: rgba(226,232,240,.75);
}

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

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

@media (max-width: 900px) {
  .stats-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-card {
  padding: 1.75rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.service-card h3 {
  margin: 0 0 0.65rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(226,232,240,.75);
}

.service-card li::before {
  content: '•';
  color: var(--accent);
  line-height: 1;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-card .stars {
  color: #fcd34d;
}

.testimonial-card h3 {
  margin: 0;
  color: var(--white);
}

.testimonial-card p {
  margin: 0;
}

.cta-banner {
  border-radius: 32px;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(13,148,136,0.9), rgba(245,158,11,0.9));
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.35), transparent 30%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}

.section-divider {
  height: 1px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,.08);
}

.footer {
  background: #020616;
  color: rgba(226,232,240,.75);
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand h2 {
  margin: 0;
  color: var(--white);
}

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

.footer-note {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(226,232,240,.6);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
}

.input-group {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.input-group label {
  font-weight: 600;
  color: var(--white);
}

.input-field,
.select-field,
.textarea-field {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  outline: none;
}

.input-field:focus,
.select-field:focus,
.textarea-field:focus {
  border-color: rgba(13,148,136,0.75);
  box-shadow: 0 0 0 4px rgba(13,148,136,0.12);
}

.skill-meter {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.skill-level {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.filter-button {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(13,148,136,0.1);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.filter-button.active,
.filter-button:hover {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--bg);
  transform: translateY(-1px);
}

details {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  padding: 1rem 1.25rem;
}

details summary {
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: var(--gold);
}

.nav-links.open {
  display: flex;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(2,6,23,0.96);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 0;
    border-radius: 16px;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
