:root {
  --bg-color: #0d0d0f;
  /* Very dark background */
  --card-bg: #16161a;
  /* Dark gray for cards */
  --card-border: #27272a;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --accent: #3b82f6;
  /* Bright blue */
  --accent-hover: #2563eb;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1000px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
}

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

/* Blue text highlighting */
.text-accent {
  color: var(--accent);
}

/* Header */
.header-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}

.header {
  pointer-events: auto;
  background-color: rgba(22, 22, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 24px;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-img-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
}

.header-info {
  display: flex;
  flex-direction: column;
}

.header-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.2;
}

.header-role {
  font-size: 11px;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.header-btn,
.cta-btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  box-shadow: 0 0 0 rgba(59, 130, 246, 0);
}

.header-btn:hover,
.cta-btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.header-btn svg,
.cta-btn-accent svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.header-btn:hover svg,
.cta-btn-accent:hover svg {
  transform: translateX(3px);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 100px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.availability-pill .dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

h1 {
  font-size: 56px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 400px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: translateY(-4px);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-centered-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.3;
}

/* Cards Section */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 100px;
}

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

/* Specifically mimicking the "Who we work with" big card in screenshot 4 */
.feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.5;
}

/* Some cards span multiple rows or columns */
.card-large {
  grid-row: span 2;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.card-icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

.feature-card p,
.feature-card ul {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.feature-card ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Reviews - MARQUEE ANIMATION */
.reviews-section {
  padding: 100px 0;
}

.reviews-grid {
  overflow: hidden;
  width: 100%;
  padding-bottom: 24px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 40s linear infinite;
  gap: 20px;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  gap: 20px;
  width: max-content;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 10px));
  }

  /* 10px is half the gap between the two cloned nodes */
}

.review-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 320px;
  flex: 0 0 auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.stars {
  color: #fbbf24;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.reviewer-country {
  color: var(--text-muted);
  font-size: 12px;
}

/* About Me */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.about-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.about-title-tag svg {
  width: 18px;
  height: 18px;
}

.about-grid h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 40px;
  max-width: 400px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--text-main);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Contact CTA */
.contact-section {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-left h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 24px;
  position: relative;
}

/* The neon line above "Let's work together" */
.contact-left h2::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}

.contact-form-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

/* Neon border top-left corner effect */
.contact-form-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 150px;
  height: 150px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 20px;
  opacity: 0.8;
  mask-image: linear-gradient(to bottom right, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom right, black, transparent);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  color: var(--text-muted);
}

.form-group input {
  background-color: #1e1e24;
  border: 1px solid #333;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--accent);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.float-btn {
  background-color: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
  background-color: var(--accent-hover);
}

.float-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-image {
    order: -1;
    aspect-ratio: 1/1;
    max-width: 300px;
    margin: 0 auto;
  }

  h1 {
    font-size: 40px;
    text-align: center;
  }

  .hero .subtitle {
    text-align: center;
    margin: 0 auto 32px;
  }

  .availability-pill {
    margin: 0 auto 24px;
    display: flex;
    width: fit-content;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .masonry-grid {
    grid-template-columns: 1fr !important;
  }

  .reviews-section {
    padding: 60px 0;
    overflow-x: hidden;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 4px;
}

.lang-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.lang-btn:hover:not(.active) {
  color: var(--text-main);
}