/* Ubuntu CurioTech Services — lavender and purple theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #1b2033;
  --muted: #657084;
  --purple: #5b35b5;
  --purple-dark: #402281;
  --purple-soft: #f0ebfc;
  --cyan: #45d5dc;
  --orange: #ff9b57;
  --line: rgba(91, 53, 181, .13);
  --shadow: 0 18px 50px rgba(39, 25, 76, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(69, 213, 220, .13), transparent 29rem),
    radial-gradient(circle at 88% 8%, rgba(91, 53, 181, .15), transparent 33rem),
    linear-gradient(135deg, #fcfbff 0%, #f3efff 100%);
  background-attachment: fixed;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Site header */
.header {
  width: min(1200px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.logo img {
  width: 54px;
  height: 54px;
  display: block;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(39,25,76,.12);
}
.navbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; }
.navbar a {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #555d70;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.navbar a:hover, .navbar a.active { color: var(--purple); background: rgba(255,255,255,.82); }
.navbar a:hover { transform: translateY(-1px); }
.talk {
  min-width: 142px;
  padding: 10px 12px 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(91,53,181,.13);
  border-radius: 14px;
  color: var(--purple-dark);
  background: rgba(255,255,255,.74);
  text-decoration: none;
  box-shadow: 0 7px 22px rgba(39,25,76,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.talk:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(39,25,76,.1); }
.talk h3 { margin: 0 0 3px; font: 800 14px "Manrope", "Segoe UI", sans-serif; }
.talk span { color: var(--muted); font-size: 11px; font-weight: 600; }
.talk-circle {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 6px solid rgba(91,53,181,.12);
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(69,213,220,.12);
}

main { padding-bottom: 44px; }

/* Main services introduction */
.hero {
  width: min(1200px, calc(100% - 48px));
  margin: 22px auto 32px;
  padding: clamp(36px, 6vw, 70px) 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255,255,255,.78), rgba(247,243,255,.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.small-title {
  margin-bottom: 17px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero h1 {
  max-width: 850px;
  margin: 0 auto;
  color: var(--ink);
  font: 800 clamp(38px, 6vw, 68px)/1.08 "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; color: var(--purple); }
.hero > p {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Service cards */
.services-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  min-width: 0;
  padding: 24px 23px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91,53,181,.24);
  box-shadow: 0 24px 55px rgba(39,25,76,.13);
}
.service-header { min-height: 76px; display: flex; align-items: center; gap: 13px; }
.service-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91,53,181,.1);
  border-radius: 15px;
  color: var(--purple);
  background: var(--purple-soft);
  font-size: 22px;
}
.service-icon.code { font: 800 19px "DM Sans", monospace; }
.service-name { min-width: 0; flex: 1; }
.service-name h2 {
  margin: 0;
  color: var(--ink);
  font: 800 16px/1.35 "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -.02em;
}
.number {
  align-self: flex-start;
  padding-top: 3px;
  color: rgba(91,53,181,.35);
  font: 800 13px "Manrope", "Segoe UI", sans-serif;
  letter-spacing: .08em;
}
.line {
  width: 48px;
  height: 3px;
  margin: 17px 0 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.description {
  min-height: 82px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.capabilities {
  margin: 0 0 9px;
  color: var(--ink);
  font: 700 13px "Manrope", "Segoe UI", sans-serif;
}
.service-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.service-card li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 19px;
  color: #525c70;
  font-size: 12px;
  line-height: 1.5;
}
.service-card li::before {
  position: absolute;
  top: 14px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(69,213,220,.14);
  content: "";
}
.learn {
  min-height: 40px;
  margin-top: auto;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(91,53,181,.14);
  border-radius: 10px;
  color: var(--purple);
  background: #faf8ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.learn:hover { border-color: var(--purple); color: #fff; background: var(--purple); }
.learn span { font-size: 19px; line-height: 1; }

/* Collaboration call to action */
.cta {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 20px;
  background: linear-gradient(115deg, rgba(255,255,255,.9), rgba(241,236,255,.86));
  box-shadow: var(--shadow);
}
.cta-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--purple-soft);
  font-size: 23px;
}
.cta-text { flex: 1; }
.cta-text h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font: 800 18px "Manrope", "Segoe UI", sans-serif;
}
.cta-text p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.collaborate {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 9px 22px rgba(91,53,181,.2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.collaborate:hover { transform: translateY(-2px); background: var(--purple-dark); }
.collaborate span { font-size: 18px; }

@media (max-width: 950px) {
  .header { flex-wrap: wrap; justify-content: center; padding: 16px 0; }
  .navbar { order: 3; flex-basis: 100%; }
  .services-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header, .hero, .services-container, .cta { width: calc(100% - 28px); }
  .header { gap: 12px; }
  .logo img { width: 46px; height: 46px; }
  .talk { min-width: 130px; }
  .navbar { gap: 2px; }
  .navbar a { min-height: 36px; padding: 0 9px; font-size: 12px; }
  .hero { margin-top: 12px; padding: 34px 20px; border-radius: 22px; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero > p { font-size: 14px; }
  .services-container { grid-template-columns: 1fr; gap: 13px; }
  .service-card { padding: 21px; }
  .description { min-height: 0; }
  .cta { padding: 20px; flex-wrap: wrap; }
  .cta-text { flex-basis: calc(100% - 68px); }
  .collaborate { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
