/* ==========================================================================
   APP NS — software development company
   ========================================================================== */

:root {
  --ink:        #0b1220;
  --ink-soft:   #1b2436;
  --body:       #4a5568;
  --muted:      #6b7688;
  --line:       #e4e8ef;
  --bg:         #ffffff;
  --bg-alt:     #f6f8fb;

  --brand:      #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #e8efff;
  --accent:     #38bdf8;

  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px rgba(11, 18, 32, .06);
  --shadow-lg:  0 20px 60px rgba(11, 18, 32, .16);

  --maxw:       1160px;
  --pad:        24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

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

/* --------------------------------------------------------------- brand --- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 19px;
  text-transform: uppercase;
}
.brand:hover { color: var(--ink); }

.brand-mark { display: inline-flex; }
.brand-mark svg { display: block; }

.mark-bg   { fill: var(--brand); }
.mark-line {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -------------------------------------------------------------- header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15.5px;
  font-weight: 500;
}
.site-nav a { color: var(--body); }
.site-nav a:hover { color: var(--ink); }

/* -------------------------------------------------------------- buttons -- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(37, 99, 235, .30);
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .38);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
}
.btn-light:hover { background: #fff; color: var(--brand-dark); }

.btn-sm  { padding: 10px 20px; font-size: 15px; }
.btn-lg  { padding: 17px 36px; font-size: 18px; }

.btn-mail {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: .82;
}
.btn-light .btn-mail { opacity: .6; }

.header-cta { flex: none; }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 12% -10%, rgba(56, 189, 248, .28), transparent 62%),
    radial-gradient(760px 420px at 88% 8%, rgba(37, 99, 235, .38), transparent 60%),
    linear-gradient(165deg, #0b1220 0%, #131e36 55%, #0b1220 100%);
  color: #c8d3e6;
  padding: 104px 0 112px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #cfe0f8;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  letter-spacing: -0.035em;
  margin-bottom: .35em;
}

.hero .accent {
  background: linear-gradient(100deg, #7dd3fc, #60a5fa 55%, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #b9c6dd;
  max-width: 660px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  font-size: 15px;
  color: #9fb0cb;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ------------------------------------------------------------- sections -- */

.section { padding: 92px 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: .4em;
}

.section-sub {
  max-width: 640px;
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 22px; }

.cards {
  margin-top: 52px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #cfdaf1;
  box-shadow: 0 18px 44px rgba(11, 18, 32, .10);
}

.card h3 {
  font-size: 1.16rem;
  margin-bottom: .45em;
}

.card p {
  font-size: .97rem;
  color: var(--muted);
  margin: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.card-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-featured {
  background: linear-gradient(160deg, #10203f 0%, #16294c 100%);
  border-color: transparent;
  color: #b8c7de;
}
.card-featured h3 { color: #fff; }
.card-featured p  { color: #b1c1d9; }
.card-featured .card-icon {
  background: rgba(96, 165, 250, .18);
  color: #7dd3fc;
}
.card-featured:hover { box-shadow: var(--shadow-lg); }

/* ---------------------------------------------------------------- chips -- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------------------------------------------------------------- steps -- */

.steps {
  list-style: none;
  padding: 0;
  margin: 52px 0 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: 14px;
}

.step h3 { font-size: 1.12rem; margin-bottom: .4em; }
.step p  { font-size: .96rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ why -- */

.why-grid {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 56px;
  align-items: start;
}

.why-intro .section-sub { margin-bottom: 28px; }

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.why-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:first-child { padding-top: 0; }
.why-list li:last-child  { border-bottom: 0; padding-bottom: 0; }

.why-list h3 {
  font-size: 1.06rem;
  margin-bottom: .3em;
}
.why-list p {
  font-size: .97rem;
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------------ cta -- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(720px 320px at 50% 0%, rgba(56, 189, 248, .26), transparent 65%),
    linear-gradient(140deg, #1d4ed8 0%, #1e3a8a 55%, #0b1220 100%);
  color: #d7e2f5;
  text-align: center;
}

.cta-inner { max-width: 680px; margin: 0 auto; }

.cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.cta-inner > p {
  font-size: 1.08rem;
  color: #c6d5ee;
  margin-bottom: 34px;
}

.cta-note {
  margin: 22px 0 0;
  font-size: .94rem;
  color: #a9bcdb;
}
.cta-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: #93a3ba;
  padding: 72px 0 28px;
  font-size: .95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr .7fr;
  gap: 48px;
  padding-bottom: 48px;
}

.site-footer .brand { color: #fff; }
.site-footer .brand-name { color: #fff; }

.footer-brand p {
  margin-top: 18px;
  max-width: 340px;
  color: #8494ab;
}

.footer-col h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer address {
  font-style: normal;
  line-height: 1.75;
  color: #a9b8cd;
}
.site-footer a { color: #cfe0f8; }
.site-footer a:hover { color: #fff; }

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer-nav a { color: #93a3ba; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: .88rem;
  color: #74839a;
}
.footer-bottom p { margin: 0; }

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 940px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .header-inner { min-height: 64px; gap: 14px; justify-content: space-between; }
  .header-cta { margin-left: auto; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 68px 0; }
  .hero-actions .btn { width: 100%; }
  .cta { padding: 72px 0 78px; }
}

@media (max-width: 480px) {
  :root { --pad: 18px; }
  .brand-name { font-size: 17px; }
  .btn-lg { padding: 15px 22px; font-size: 16.5px; }
  .btn-mail { font-size: 11.5px; }
  .card { padding: 26px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
