*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-soft: #ccfbf1;
  --text: #111827;
  --muted: #4b5563;
  --soft: #f9fafb;
  --white: #ffffff;
  --footer: #111827;
  --radius: 0.5rem;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

.site {
  min-height: 100vh;
}

.container {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 2rem, 56rem);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background-size: 200% 200%;
}

.hero-gradient-primary {
  background-image: linear-gradient(135deg, #99f6e4, #dbeafe, #e9d5ff);
  animation: gradientMove 8s ease-in-out infinite;
}

.hero-gradient-secondary {
  background-image: linear-gradient(45deg, rgb(251 207 232 / 0.5), transparent, rgb(165 243 252 / 0.5));
  animation: gradientMoveReverse 10s ease-in-out infinite;
}

.orb,
.spark,
.dot {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.orb {
  border-radius: 999px;
  filter: blur(24px);
  animation: float 3s ease-in-out infinite;
}

.orb-1 {
  top: 5rem;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  background: rgb(153 246 228 / 0.2);
}

.orb-2 {
  top: 10rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  background: rgb(191 219 254 / 0.2);
  animation-delay: 1s;
  animation-duration: 4s;
}

.orb-3 {
  bottom: 10rem;
  left: 5rem;
  width: 6rem;
  height: 6rem;
  background: rgb(233 213 255 / 0.2);
  animation-delay: 2s;
  animation-duration: 3.5s;
}

.orb-4 {
  right: 2.5rem;
  bottom: 5rem;
  width: 4rem;
  height: 4rem;
  background: rgb(251 207 232 / 0.2);
  animation-delay: 0.5s;
  animation-duration: 2.5s;
}

.spark {
  width: 0.5rem;
  height: 0.5rem;
  rotate: 45deg;
  animation: spin 8s linear infinite;
}

.spark-1 {
  top: 25%;
  left: 25%;
  background: #2dd4bf;
}

.spark-2 {
  right: 25%;
  bottom: 25%;
  width: 0.75rem;
  height: 0.75rem;
  background: #60a5fa;
  animation-duration: 6s;
  animation-direction: reverse;
}

.dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot-1 {
  top: 50%;
  left: 16.66%;
  background: #c084fc;
  animation-delay: 1s;
}

.dot-2 {
  top: 33.33%;
  right: 16.66%;
  background: #f472b6;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 56rem);
}

.reveal {
  animation: revealUp 1s ease-out both;
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0 0 2rem;
  color: var(--teal-dark);
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.button-primary {
  background: var(--teal);
  color: var(--white);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border: 1px solid var(--teal);
  background: var(--white);
  color: var(--teal);
}

.button-secondary:hover {
  background: #f0fdfa;
}

.button-full {
  width: 100%;
  border: 0;
  font-size: 0.875rem;
}

.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 2;
  color: #9ca3af;
  transform: translateX(-50%);
  animation: cueBounce 1s infinite;
  transition: color 0.3s ease;
}

.scroll-cue:hover {
  color: var(--teal);
}

.scroll-cue svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section {
  padding: 5rem 0;
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 5vw, 2.25rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.25rem;
}

.heading-line {
  display: block;
  width: 6rem;
  height: 0.25rem;
  margin: 0 auto;
  background: var(--teal);
}

.cards {
  display: grid;
  gap: 2rem;
}

.expertise-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.expertise-card {
  padding: 2rem;
  text-align: center;
}

.expertise-card h3,
.project-card h3,
.contact-copy h3 {
  margin: 0;
  color: var(--text);
}

.expertise-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.expertise-card p,
.project-card p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.625;
}

.icon-circle {
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.expertise-card:hover .icon-circle {
  background: var(--teal);
  color: var(--white);
}

.icon-circle svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.project-card {
  padding: 2rem;
}

.project-card:hover {
  box-shadow: var(--shadow-xl);
}

.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.project-title h3 {
  font-size: 1.5rem;
}

.project-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: color 0.3s ease;
}

.project-card:hover .project-title svg {
  color: var(--teal);
}

.project-card p {
  margin-bottom: 1.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags span {
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.contact-copy h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-copy p {
  margin-top: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: center;
  color: var(--muted);
}

.contact-row svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-card {
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.contact-card:hover {
  transform: none;
}

form {
  display: grid;
  gap: 1.5rem;
}

label {
  margin-bottom: -1rem;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem 0.75rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input {
  min-height: 2.5rem;
}

textarea {
  min-height: 5rem;
  resize: none;
}

input:focus,
textarea:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgb(20 184 166 / 0.2);
}

.footer {
  padding: 3rem 1rem;
  background: var(--footer);
  color: var(--white);
  text-align: center;
}

.footer h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.footer p {
  margin: 0 0 1.5rem;
  color: #9ca3af;
}

.footer-company {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 1.5rem;
  color: #9ca3af;
  font-style: normal;
}

.footer-company strong {
  color: var(--white);
  font-weight: 600;
}

.footer-company a {
  color: #99f6e4;
  transition: color 0.2s ease;
}

.footer-company a:hover {
  color: var(--white);
}

.footer small {
  color: #6b7280;
}

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

  50% {
    background-position: 100% 50%;
  }
}

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

  50% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-25%);
  }

  50% {
    transform: translateY(0);
  }
}

@keyframes cueBounce {
  0%,
  100% {
    transform: translate(-50%, -25%);
  }

  50% {
    transform: translate(-50%, 0);
  }
}

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

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 3rem, 72rem);
  }

  .container-narrow {
    width: min(100% - 3rem, 56rem);
  }

  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 4rem, 72rem);
  }

  .container-narrow {
    width: min(100% - 4rem, 56rem);
  }

  .expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
