﻿:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-2: #101010;
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --max-width: 1200px;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'General Sans', sans-serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 120px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 42px;
}

.logo {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255, 75, 31, 0.32));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.chevron {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}

.pill-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.6px solid var(--white);
  border-radius: 999px;
  padding: 1px;
  background: transparent;
  overflow: hidden;
  text-decoration: none;
}

.pill-glow {
  position: absolute;
  top: -12px;
  left: 20%;
  width: 60%;
  height: 24px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  filter: blur(8px);
  opacity: 0.75;
}

.pill {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 29px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pill-wrap:hover .pill {
  transform: translateY(-1px);
  opacity: 0.92;
}

.pill-dark {
  background: #000;
  color: #fff;
}

.pill-light {
  background: #fff;
  color: #000;
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 280px 20px 102px;
}

.hero-stack {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  border: 1px solid var(--white-20);
  background: var(--white-10);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white-60);
  margin-bottom: 40px;
  white-space: nowrap;
  backdrop-filter: blur(2px);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--white);
  flex-shrink: 0;
}

.badge strong {
  color: var(--white);
  font-weight: 500;
}

.hero-title {
  max-width: 613px;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
  background: linear-gradient(144.5deg, rgba(255, 255, 255, 1) 28%, rgba(255, 255, 255, 0) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
  color: var(--white-70);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
}

.section {
  padding: 96px 20px;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 16px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

h2 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  font-weight: 600;
}

.grid-two p,
.feature-card p,
.contact-copy,
.projects-meta,
.project-text {
  color: var(--white-70);
  line-height: 1.7;
}

.feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  padding: 24px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.tech-carousel {
  margin-top: 36px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.tech-track {
  display: flex;
  width: max-content;
  animation: tech-scroll var(--tech-duration, 28s) linear infinite;
  will-change: transform;
}

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

.tech-row {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.tech-card {
  min-width: 250px;
  height: 136px;
  border-radius: 22px;
  border: 1px solid var(--white-10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tech-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--white-20);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tech-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.tech-name {
  color: var(--white-70);
  font-size: 18px;
  font-weight: 500;
}

@keyframes tech-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--tech-row-width, 0px)));
  }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

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

.project-card {
  border: 1px solid var(--white-10);
  border-radius: 18px;
  padding: 20px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.project-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.projects-meta {
  font-size: 13px;
  margin-bottom: 12px;
}

.project-text {
  font-size: 14px;
  margin-bottom: 16px;
}

.project-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.project-link:hover {
  border-color: var(--white);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--white-10);
  border-radius: 20px;
  background: var(--surface-2);
}

.contact-copy {
  margin-top: 12px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.contact-link {
  color: var(--white-70);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.footer {
  border-top: 1px solid var(--white-10);
  padding: 24px 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--white-60);
  font-size: 14px;
}

.footer-inner a {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .navbar {
    padding-left: 48px;
    padding-right: 48px;
  }

  .hero-main {
    padding-top: 240px;
  }

  .grid-two,
  .projects-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .navbar {
    padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-left {
    gap: 0;
  }

  .logo {
    width: 52px;
    height: 52px;
  }

  .hero-main {
    padding-top: 200px;
    padding-bottom: 102px;
  }

  .badge {
    padding: 8px 12px;
    white-space: normal;
    justify-content: center;
  }

  .hero-title {
    font-size: 36px;
    max-width: 95%;
  }

  .hero-subtitle {
    font-size: 15px;
    max-width: 92%;
  }

  .section {
    padding: 74px 20px;
  }

  .tech-card {
    min-width: 200px;
    height: 120px;
  }

  .tech-name {
    font-size: 16px;
  }

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