/* Shared styles for the Diki Software Solutions site. */
:root {
  --navy: #0a2a84;
  --navy-deep: #061b57;
  --cyan: #00c8ff;
  --bg: #f5f7fc;
  --surface: #ffffff;
  --text: #13203f;
  --muted: #55607a;
  --border: #dfe4f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 42, 132, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d1f;
    --surface: #0e1830;
    --text: #e8edf9;
    --muted: #9aa6c2;
    --border: #1d2a4a;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.monogram {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: linear-gradient(140deg, var(--navy), #1f4fd1); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em;
}
.monogram span { color: var(--cyan); }
nav a { text-decoration: none; color: var(--muted); margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); }
@media (max-width: 640px) { nav a.hide-sm { display: none; } }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(0, 200, 255, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 72px 0 84px;
}
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero.single .wrap { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } .hero-art { order: -1; } }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(0, 200, 255, .45); padding: 4px 12px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 18px 0 16px; letter-spacing: -.02em; }
.hero h1 span { color: var(--cyan); }
.hero p.lead { font-size: 18px; color: #d6defa; max-width: 560px; margin: 0 0 28px; }
.hero.single p.lead, .hero .center p.lead { margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero.single .cta { justify-content: center; }
@media (max-width: 820px) { .cta { justify-content: center; } }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600;
  padding: 13px 22px; border-radius: 12px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #04163f; box-shadow: 0 8px 24px rgba(0, 200, 255, .35); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn svg { width: 20px; height: 20px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(260px, 60vw); border-radius: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08);
}
.crumb { display: inline-block; color: #d6defa; text-decoration: none; font-size: 14px; margin-bottom: 14px; }
.crumb:hover { color: #fff; }

/* Sections */
section { padding: 72px 0; }
section.tight { padding-top: 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-title h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -.01em; }
.section-title p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy), #1f4fd1); color: #fff; margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.card ul li { margin: 4px 0; }

/* App cards on the home page */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }
.app { display: flex; flex-direction: column; gap: 16px; }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head img { width: 64px; height: 64px; border-radius: 16px; }
.app-head h3 { margin: 0; font-size: 20px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--cyan) 18%, transparent); color: var(--navy);
}
@media (prefers-color-scheme: dark) { .tag { color: var(--cyan); } }
.app .links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.app .links .btn { padding: 10px 16px; font-size: 14px; }
.app.soon { border-style: dashed; box-shadow: none; justify-content: center; text-align: center; align-items: center; }
.soon-mark {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  border: 2px dashed var(--border); color: var(--muted); font-size: 30px; font-weight: 300;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px 24px 24px 72px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #04163f; background: var(--cyan);
}
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.notice {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--cyan);
  border-radius: 12px; padding: 18px 20px; color: var(--muted); font-size: 14px; margin: 0;
}

.contact { text-align: center; }
.contact a.mail { font-size: 20px; font-weight: 600; color: var(--navy); text-decoration: none; }
@media (prefers-color-scheme: dark) { .contact a.mail { color: var(--cyan); } }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 16px; }
