/* ─────────────────────────────────────────────────────────
   Meliora Technology Solutions — landing page styles
   Brand gradient: cyan → indigo → violet → rose, amber accent
   ───────────────────────────────────────────────────────── */

:root {
  --cyan:   #22D3EE;
  --indigo: #6366F1;
  --violet: #A855F7;
  --rose:   #F43F5E;
  --amber:  #F59E0B;

  --ink:    #111827;
  --body:   #475569;
  --line:   #E2E8F0;
  --bg:     #FFFFFF;
  --bg-alt: #F8FAFC;
  --dark:   #0B1120;

  --grad: linear-gradient(120deg, var(--cyan), var(--indigo) 34%, var(--violet) 67%, var(--rose));

  --wrap: 1120px;
  --r: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 12px 32px -12px rgba(15,23,42,.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

a { color: var(--indigo); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff; text-decoration: none;
  font-weight: 650; font-size: 16px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(99,102,241,.7);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(99,102,241,.8); }
.btn-sm  { padding: 9px 18px; font-size: 15px; }
.btn-lg  { padding: 16px 34px; font-size: 18px; }
.btn-ghost {
  background: transparent; color: #E2E8F0;
  border: 1px solid rgba(226,232,240,.35);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(226,232,240,.08); box-shadow: none; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--ink); font-size: 19px; letter-spacing: .06em; font-weight: 750; }
.brand-text em {
  font-style: normal; font-size: 10.5px; letter-spacing: .19em;
  text-transform: uppercase; font-weight: 650; color: var(--indigo);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 550; }
.nav a:not(.btn):hover { color: var(--indigo); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark);
  color: #94A3B8;
  padding: 104px 0 96px;
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .45; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; top: -220px; left: -120px;
  background: radial-gradient(circle, var(--indigo), transparent 65%); }
.hero::after  { width: 560px; height: 560px; bottom: -280px; right: -140px;
  background: radial-gradient(circle, var(--violet), transparent 65%); }
.hero-inner { position: relative; z-index: 1; max-width: 780px; }

.eyebrow {
  display: inline-block; margin: 0 0 20px;
  font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: #CBD5E1;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(203,213,225,.22); background: rgba(148,163,184,.1);
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .35em; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 620px; color: #A3B0C2; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 56px; }

.hero-stats {
  list-style: none; margin: 0; padding: 32px 0 0;
  border-top: 1px solid rgba(148,163,184,.2);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.hero-stats strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.hero-stats span { font-size: 14.5px; color: #8494A8; }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.section-sub { max-width: 620px; margin-bottom: 48px; font-size: 1.05rem; }

/* ── Work cards ──────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -18px rgba(15,23,42,.3); }
.card-img {
  aspect-ratio: 4 / 3; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; padding: 22px;
  border-bottom: 1px solid var(--line);
}
.card-img img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { padding: 24px 24px 28px; }
.card-body h3 { font-size: 1.18rem; }
.card-body p { margin: 0; font-size: 15.5px; }

/* ── Capabilities ────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 24px;
}
.cap-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  font-size: 22px; color: #fff;
}
.cap-icon[data-c="cyan"]   { background: linear-gradient(135deg, var(--cyan),   #0EA5E9); }
.cap-icon[data-c="indigo"] { background: linear-gradient(135deg, var(--indigo), #4F46E5); }
.cap-icon[data-c="violet"] { background: linear-gradient(135deg, var(--violet), #7C3AED); }
.cap-icon[data-c="rose"]   { background: linear-gradient(135deg, var(--rose),   var(--amber)); }
.cap h3 { font-size: 1.05rem; }
.cap p { margin: 0; font-size: 15px; }

/* ── Process ─────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.steps li { border-top: 3px solid var(--line); padding-top: 20px; position: relative; }
.steps li::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 46px; height: 3px;
  background: var(--grad);
}
.step-n {
  display: block; font-size: 13px; font-weight: 750; letter-spacing: .1em;
  color: var(--indigo); margin-bottom: 8px;
}
.steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; font-size: 15px; }

/* ── Contact ─────────────────────────────────────────── */
.contact { background: var(--dark); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: auto 0 -60% 0; height: 420px;
  background: radial-gradient(ellipse at 50% 100%, rgba(168,85,247,.45), transparent 70%);
  filter: blur(60px);
}
.contact-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.contact h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.contact p { color: #A3B0C2; }
.contact .btn { margin-top: 14px; }
.contact-fine { margin-top: 28px; font-size: 14.5px; color: #7C8AA0; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: #060B15; color: #64748B; padding: 26px 0; font-size: 14.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-tag em { color: #94A3B8; font-style: normal; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .cards, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 620px) {
  .hero { padding: 72px 0 64px; }
  .cards, .grid-4, .steps, .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
