@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --canvas: #fffaf0;
  --primary: #0a0a0a;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --brand-coral: #ff6b5a;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --surface-warm: #f5ede0;
  --surface-dark: #0a1a1a;
  --earth-light: #f0e6d4;
  --earth-mid: #e0d0b8;
  --hairline: #e5e5e5;
  --ink: #0a0a0a;
  --body-strong: #1a1a1a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --rounded-xs: 6px;
  --rounded-sm: 8px;
  --rounded-md: 12px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
  --rounded-pill: 9999px;
  --spacing-section: 96px;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--canvas);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.display-xl {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--ink);
}

.display-lg {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
}

.display-md {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
}

.display-sm {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.title-lg {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.title-md {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
}

.caption {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.caption-uppercase {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 56px;
  margin-top: 12px;
  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 24px;
  z-index: 100;
  max-width: 720px;
  width: calc(100% - 48px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--body);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--rounded-pill);
  transition: all 0.15s;
}

.nav-links a:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-right .btn-primary {
  padding: 8px 18px;
  height: 36px;
  font-size: 13px;
  border-radius: var(--rounded-pill);
}

.nav-right .btn-secondary {
  padding: 8px 14px;
  height: 36px;
  font-size: 13px;
  border-radius: var(--rounded-pill);
  border: none;
  background: transparent;
}

.nav-right .btn-secondary:hover {
  background: var(--surface-strong);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-secondary:hover {
  background: var(--surface-soft);
  border-color: var(--muted-soft);
  transform: translateY(-1px);
}

/* Earth Band — shared hero + footer background */
.earth-band {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--surface-soft) 0%,
    var(--earth-light) 30%,
    var(--earth-mid) 60%,
    var(--surface-card) 80%,
    var(--surface-soft) 100%
  );
  width: 100%;
  overflow: hidden;
}

/* Hero Band */
.hero-band {
  padding: 140px 0 80px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

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

.hero-band .hero-content .hero-buttons {
  justify-content: center;
}

.hero-band .display-xl {
  color: #ffffff;
}

.hero-band .body-md {
  color: rgba(255,255,255,0.7);
}

.hero-band .caption-uppercase {
  color: rgba(255,255,255,0.45);
}

.hero-band .btn-primary {
  background: #ffffff;
  color: #0a0a0a;
}

.hero-band .btn-primary:hover {
  background: #e8e8e8;
}

.hero-band .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.15);
}

.hero-band .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}

.hero-band .btn-secondary svg {
  color: #ffffff;
}

.hero-band .tech-badge {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

.hero-band .tech-badge svg {
  filter: none;
}

.hero-terrain {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.hero-terrain svg {
  display: block;
  width: 100%;
  height: 140px;
}

/* Tech Stack Icons */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 240, 224, 0.8);
  backdrop-filter: blur(4px);
  padding: 10px 12px;
  border-radius: var(--rounded-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--body-strong);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.15s;
}

.tech-badge:hover {
  background: var(--surface-card);
  transform: translateY(-1px);
}

.tech-badge svg {
  width: 16px;
  height: 16px;
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  border-radius: var(--rounded-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
   transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.feature-card-pink {
  background: linear-gradient(145deg, #ff4d8b, #e63a72);
  color: var(--on-dark);
}

.feature-card-teal {
  background: linear-gradient(145deg, #1a3a3a, #0f2828);
  color: var(--on-dark);
}

.feature-card-lavender {
  background: linear-gradient(145deg, #b8a4ed, #a08cd6);
  color: var(--ink);
}

.feature-card-peach {
  background: linear-gradient(145deg, #ffb084, #f59e70);
  color: var(--ink);
}

.feature-card-ochre {
  background: linear-gradient(145deg, #e8b94a, #d4a630);
  color: var(--ink);
}

.feature-card-cream {
  background: linear-gradient(145deg, #f5f0e0, #ede6d0);
  color: var(--ink);
}

.feature-card h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.9;
}

/* Project Cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--surface-card);
  border-radius: var(--rounded-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.project-card .project-image {
  border-radius: var(--rounded-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface-strong);
}

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

.project-card .project-title {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}

.project-card .project-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
}

.project-card .project-links {
  display: flex;
  gap: 10px;
}

.project-card .project-links a {
  color: var(--muted);
  transition: color 0.15s;
}

.project-card .project-links a:hover {
  color: var(--ink);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--surface-strong);
  border-radius: var(--rounded-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

/* Testimonials */
.testimonial-section {
  background: var(--surface-dark);
  padding: 80px 0;
}

.testimonial-container {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 16px;
  animation: scroll 25s linear infinite;
}

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

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

.testimonial-card {
  background: var(--surface-dark);
  border: 1px solid #262626;
  border-radius: var(--rounded-lg);
  padding: 20px;
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-lavender);
}

.testimonial-card .author-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--on-primary);
}

.testimonial-card .author-role {
  font-size: 12px;
  color: var(--muted-soft);
}

.testimonial-card .testimonial-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-primary);
  opacity: 0.9;
}

/* CTA Band */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 96px 0;
}

/* Footer — earth band with mountains */
.footer {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2a2a 0%, #0d1a1a 100%) !important;
}

.footer-mountains {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 64px;
  position: relative;
}

.footer-mountains svg {
  display: block;
  width: 100%;
  height: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer .footer-brand > div {
  color: #ffffff !important;
}

.footer-brand p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.55;
}

.footer-col h4 {
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 48px 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--rounded-pill);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}

.contact-btn:hover {
  transform: scale(1.05);
}

/* Floating Social Buttons */
.floating-buttons {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-mountain-top,
  .hero-mountain-top svg {
    height: 100px !important;
  }
  .display-xl {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .display-lg {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .display-md {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .hero-band {
    padding: 120px 0 60px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .cta-band {
    padding: 48px 24px;
  }
  .nav-links {
    display: none;
  }
  .top-nav {
    max-width: calc(100% - 32px);
    padding: 0 6px 0 16px;
  }
  .container {
    padding: 0 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
