/* ── Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #0D0D0D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0D0D0D;
}

.nav-logo sup {
  font-size: 8px;
  vertical-align: super;
}

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

.nav-links a {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: #0D0D0D; background: rgba(0,0,0,0.05); }

.nav-cta {
  margin-left: 12px;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  background: #0D0D0D !important;
  color: #fff !important;
  border-radius: 999px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #333 !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #0D0D0D;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile drawer */
.mobile-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, background 0.3s ease;
  background: transparent;
}

.mobile-drawer.open {
  max-height: 240px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.drawer-link {
  display: block;
  padding: 10px 20px 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #F3F4F6;
  transition: color 0.2s;
}

.drawer-link:last-child { border-bottom: none; }
.drawer-link:hover { color: #0D0D0D; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #c5ef35 0%, #d7f560 14%, #eafda0 32%, #f6ffdc 50%, #ffffff 68%);
}

.hero-rings {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 384px;
  height: 384px;
  pointer-events: none;
}

.ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.07);
}
.ring-lg { width: 384px; height: 384px; }
.ring-md { width: 240px; height: 240px; border-color: rgba(0,0,0,0.06); }
.ring-sm { width: 112px; height: 112px; border-color: rgba(0,0,0,0.05); }

.hero-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: 112px 40px 64px;
}

/* Availability badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.badge-dot {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.badge-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ADE80;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

.badge-dot-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
}

/* Headline */
.hero-title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #0D0D0D;
  margin-bottom: 32px;
}

/* Sub-row */
.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  max-width: 320px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0D0D0D;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #333; }

.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  transition: color 0.2s;
}
.btn-ghost:hover { color: #0D0D0D; }

/* Stats strip */
.stats-strip {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-num {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 2px;
}

/* ── Projects ────────────────────────────────────────────────────── */
.projects {
  padding: 80px 0 112px;
}

.section-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 8px;
}

.section-label.light { color: #6B7280; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.project-count {
  font-size: 11px;
  font-family: monospace;
  color: #D1D5DB;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Project Card */
.project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #F3F4F6;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  border-color: #E5E7EB;
  box-shadow: 0 20px 40px -8px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.card-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  height: 208px;
  overflow: hidden;
}

.card-img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.project-card:hover .card-img { transform: scale(1.05); }

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  color: #6B7280;
}

.card-index {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 11px;
  font-family: monospace;
  color: #9CA3AF;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.card-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.card-meta {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 2px;
}

/* ── Marquee ─────────────────────────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 16px 0;
  background: #C8F03A;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.marquee-item {
  font-size: clamp(1rem, 3vw, 1.75rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,0.70);
  margin: 0 40px;
  flex-shrink: 0;
}

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

/* ── Expertise ───────────────────────────────────────────────────── */
.expertise {
  background: #0D0D0D;
  color: #fff;
  padding: 80px 0 112px;
}

.expertise .section-label { color: #6B7280; }

.expertise-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .expertise-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 64px;
  }
}

.expertise-sub {
  font-size: 13px;
  color: #6B7280;
  max-width: 280px;
  line-height: 1.6;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
}

.expertise-card {
  background: #0D0D0D;
  padding: 28px 36px;
  transition: background 0.2s ease;
}

.expertise-card:hover { background: rgba(255,255,255,0.03); }

.expertise-card-top {
  margin-bottom: 20px;
}

.expertise-num {
  font-size: 11px;
  font-family: monospace;
  color: #6B7280;
}

.expertise-title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.expertise-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
}

/* ── Testimonial ─────────────────────────────────────────────────── */
.testimonial {
  padding: 80px 0 112px;
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .testimonial-body {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }
}

.testimonial-quote {
  flex: 1;
}

.testimonial-quote p {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.author-role {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 2px;
}

.rating-card {
  flex-shrink: 0;
  width: 100%;
  max-width: 220px;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 24px;
  align-self: flex-start;
}

.stars {
  color: #FBBF24;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.6;
}

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta {
  background: #0D0D0D;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 256px;
  border-radius: 50%;
  background: #C8F03A;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.cta-inner {
  padding: 96px 40px 144px;
  position: relative;
}

.cta .section-label { color: #6B7280; margin-bottom: 24px; }

.cta-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.cta-title em {
  font-style: normal;
  color: #C8F03A;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C8F03A;
  color: #0D0D0D;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cta-btn:hover { background: #d9f060; }

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta-btn:hover .cta-arrow {
  transform: translate(2px, -2px);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: #0D0D0D;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: #4B5563;
}

.footer-email {
  font-size: 11px;
  color: #4B5563;
  transition: color 0.2s;
}

.footer-email:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 80px 20px 48px; }
  .hero-rings { display: none; }

  .projects { padding: 60px 0 80px; }
  .section-inner { padding: 0 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .project-count { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .card-image-wrap { height: 176px; }

  .expertise { padding: 60px 0 80px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { padding: 24px 20px; }

  .testimonial { padding: 60px 0 80px; }
  .rating-card { max-width: 100%; }

  .cta-inner { padding: 80px 20px 96px; }

  .footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 6px; }

  .stats-strip { gap: 12px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .nav-inner { padding: 0 28px; }
  .hero-content { padding: 112px 28px 64px; }
  .section-inner { padding: 0 28px; }
  .cta-inner { padding: 96px 28px 144px; }
  .footer-inner { padding: 0 28px; }
}
