:root {
  --bg: #0B0B0B;
  --text: #F5F5F5;
  --muted: rgba(245, 245, 245, .62);
  --line: rgba(245, 245, 245, .10);
  --accent: #019e97;
  --accentDark: #014d4a;
  --accentSoft: rgba(1, 158, 151, .35);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .2;
}

.blob-1 {
  left: 10%;
  top: 10%;
  background: radial-gradient(circle, #019e97 0%, transparent 60%);
}

.blob-2 {
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, #014d4a 0%, transparent 60%);
}

.blob-cursor {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #019e97 0%, #014d4a 50%, transparent 70%);
}

/* Layout */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 150px;
  height: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-sep {
  opacity: .35;
  font-weight: 700;
}

.lang-switch button {
  background: none;
  border: none;
  color: #777;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch .active {
  color: var(--accent);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
}

h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
}

.subtitle {
  margin-top: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.exp-text {
  margin-top: 10px;
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  margin-top: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(135deg, #019e97, #014d4a);
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}

/* Services pills */
.right-title {
  font-weight: 600;
  font-size: 13px;
  opacity: .85;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pill {
  border: 1px solid var(--accentSoft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* Section: two columns */
.section {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Right column: stacked cards */
.stack {
  display: grid;
  gap: 14px;
}

/* Mini titles */
.mini-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 12px;
}

/* Capabilities rows (pill-like) */
.work {
  display: grid;
  gap: 12px;
}

.work-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: .2s ease;
}

.work-item:hover {
  border-color: rgba(1, 158, 151, .3);
  background: rgba(255, 255, 255, .05);
}

.work-item .name {
  font-size: 14px;
  font-weight: 600;
}

.work-item .tag {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Stack text */
.stack-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  max-width: 520px;
  margin: 12vh auto 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .8);
  font-size: 20px;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, .08);
}

.modal-title {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .2px;
}

.modal-text {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.modal-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

/* Responsive */
@media(max-width:900px) {
  .wrap {
    padding: 25px 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  h1 {
    font-size: 32px;
  }

  .footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    margin-top: 50px;
  }

  .modal-card {
    margin: 14vh 16px 0;
  }
}

@media(max-width:480px) {
  .work-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .work-item .tag {
    white-space: normal;
    opacity: .7;
  }

  .cta-row .btn {
    width: 100%;
  }
}