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

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

body {
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(65,130,255,0.15), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0,255,170,0.10), transparent 30%),
    linear-gradient(180deg, #f5f7fb, #edf1f6);
  color: #111827;
  min-height: 100vh;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo,
.logo:visited,
.logo:hover,
.logo:active {
  color: #111827;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.hero {
  padding-bottom: 80px;
}

.hero-content {
  padding-top: 120px;
  text-align: center;
}

.eyebrow {
  color: #4b5563;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 820px;
  margin: 0 auto 40px auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4b5563;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 26px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background: #111827;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.55);
  color: #111827;
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
}

.liquid-btn {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6, #2563eb);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 10px 35px rgba(37,99,235,0.35);
  animation: liquid 8s ease infinite;
}

@keyframes liquid {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.capabilities,
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 80px;
}

.card,
.project-card,
.project-entry {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 40px rgba(15,23,42,0.08);
}

.card h2,
.card h3,
.project-entry h2 {
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.card p,
.project-entry p {
  color: #4b5563;
  line-height: 1.7;
}

.featured-project {
  margin-top: 100px;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-glow {
  position: absolute;
  inset: -100px;
  background:
    radial-gradient(circle, rgba(14,165,233,0.18), transparent 35%),
    radial-gradient(circle at right, rgba(20,184,166,0.16), transparent 30%);
  pointer-events: none;
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #2563eb;
  font-weight: 600;
}

.project-card h2 {
  font-size: 3rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.project-card p {
  max-width: 760px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 28px;
}

.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.project-tags span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.8);
}

.page {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.page h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}

.page p {
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 18px;
  font-size: 1.08rem;
}

.project-list {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.footer {
  padding: 40px;
  text-align: center;
  color: #6b7280;
}

.contact-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 1.2rem;
  color: #2563eb;
  text-decoration: none;
}

.page-hero {
  padding: 120px 0 60px;
}

.page-title {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 28px;
}

.page-description {
  max-width: 860px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: #4b5563;
}

.section {
  margin-top: 90px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.service-card,
.engineering-card,
.about-card,
.contact-card,
.sidebar-card,
.workflow-step,
.metric-box,
.focus-item,
.contact-grid-item {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
}

.service-card h2,
.engineering-card h2,
.about-card h2,
.contact-card h2 {
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.service-card p,
.engineering-card p,
.about-card p,
.contact-card p,
.sidebar-text {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 18px;
}

.service-card ul,
.engineering-card ul,
.about-list {
  padding-left: 18px;
  color: #374151;
  line-height: 1.9;
}

.service-number,
.engineering-icon,
.sidebar-label,
.featured-badge {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.workflow-grid,
.engineering-grid,
.focus-grid,
.contact-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.about-main,
.contact-main,
.about-sidebar,
.contact-sidebar {
  display: grid;
  gap: 24px;
}

.tag-cloud,
.interest-list,
.stack-list,
.project-tags,
.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span,
.interest-list span,
.stack-list span,
.project-tags span,
.topic,
.tech-item {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
}

.principles {
  display: grid;
  gap: 18px;
}

.principle p {
  margin-top: 6px;
  color: #6b7280;
  line-height: 1.6;
}

.project-panel {
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 32px;
  padding: 34px;
  backdrop-filter: blur(24px);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
}

.project-panel.featured {
  position: relative;
  overflow: hidden;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 32px;
}

.project-left h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.project-intro {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 24px;
}

.project-right {
  display: grid;
  gap: 14px;
}

.metric-box span {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.metric-box strong {
  color: #111827;
  font-size: 1.05rem;
}

.project-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.stack-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.stack-column h3 {
  margin-bottom: 16px;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 18px;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
}

.timeline-content h3 {
  margin-bottom: 8px;
}

.timeline-content p {
  color: #4b5563;
  line-height: 1.7;
}

.cta {
  margin-top: 90px;
  padding: 48px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
}

.cta p {
  max-width: 760px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 26px;
}

.contact-info,
.contact-line {
  display: grid;
  gap: 10px;
}

.contact-line a {
  color: #2563eb;
  text-decoration: none;
}

.full-width {
  display: block;
  text-align: center;
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .about-layout,
  .contact-layout,
  .project-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 80px;
  }
}