/* ==========================================================================
   Waylark Solutions — institutional landing page
   Pure CSS, mobile-first, no external dependencies (no fonts, no trackers).
   ========================================================================== */

:root {
  --navy-900: #07152f;
  --navy-800: #0b2450;
  --navy-700: #123467;
  --cyan-500: #17a6e8;
  --cyan-400: #35b6f0;
  --blue-600: #1560ad;
  --blue-700: #0f4f95;

  --ink: #0e1a2b;
  --ink-soft: #35435a;
  --muted: #5b6b83;
  --line: #e4e9f1;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;

  --shadow-sm: 0 1px 2px rgba(7, 21, 47, 0.06), 0 4px 16px rgba(7, 21, 47, 0.05);
  --shadow-md: 0 12px 40px rgba(7, 21, 47, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --------------------------------------------------------- Header --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.header-right { display: flex; align-items: center; gap: 22px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.96rem;
}
.site-nav a:hover { color: var(--cyan-500); text-decoration: none; }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff !important;
}
.nav-cta:hover { background: var(--navy-800); }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
}
.lang-switch a { color: var(--muted); }
.lang-switch a.active { color: var(--navy-900); }
.lang-switch a:hover { color: var(--cyan-500); text-decoration: none; }
.lang-switch span { color: var(--line); }

/* --------------------------------------------------------- Buttons -------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 24px rgba(21, 96, 173, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(21, 96, 173, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* --------------------------------------------------------- Hero ----------- */
.hero {
  position: relative;
  color: #eaf2fb;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(23, 166, 232, 0.28), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(21, 96, 173, 0.30), transparent 60%),
    linear-gradient(160deg, #07152f 0%, #0a2148 55%, #0c2c5e 100%);
  overflow: hidden;
}
.hero-inner {
  padding: 96px 22px 104px;
  max-width: 880px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-400);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 22px;
  color: #fff;
}
.hero-lead {
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  color: #c4d5ea;
  max-width: 660px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------- Sections ------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan-500);
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 30px;
  max-width: 760px;
}
.prose { max-width: 720px; }
.prose p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

/* --------------------------------------------------------- Product -------- */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 980px;
}
.product-body { padding: 40px 40px; }
.product-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--navy-900);
}
.qraggy-logo { height: 44px; width: auto; display: block; }
.product-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan-500);
  margin: 0 0 16px;
}
.product-body p { color: var(--ink-soft); margin: 0 0 20px; }

/* Product screenshot (device mockup shown clean, no frame) */
.product-visual { padding: 24px 40px 24px 4px; }
.product-shot {
  width: 100%;
  height: auto;
  display: block;
  /* soft shadow that follows the laptop silhouette (image has transparency) */
  filter: drop-shadow(0 22px 45px rgba(7, 21, 47, 0.20));
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue-600);
}
.link-arrow span { transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover span { transform: translateX(4px); }

/* --------------------------------------------------------- Services grid -- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cfe0f2;
}
.card h3 {
  font-size: 1.16rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy-900);
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------- CTA band ------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 640px; }
.cta-band h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 12px;
}
.cta-band p { color: #bcd0e8; margin: 0 0 26px; font-size: 1.08rem; }

/* --------------------------------------------------------- Footer --------- */
.site-footer {
  background: var(--navy-900);
  color: #b9c7dc;
  padding-top: 52px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 34px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-icon { width: 48px; height: 48px; border-radius: 12px; }
.footer-legal-name {
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-size: 1.05rem;
}
.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 8px; font-size: 0.96rem; line-height: 1.6; }
.footer-contact a { color: var(--cyan-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 22px 30px;
}
.footer-bottom p { margin: 0; font-size: 0.86rem; color: #8ea2bd; }

/* --------------------------------------------------------- Responsive ----- */
@media (max-width: 860px) {
  .product-card { grid-template-columns: 1fr; max-width: 760px; }
  .product-visual { padding: 0 40px 38px; }
}

@media (max-width: 640px) {
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .section { padding: 60px 0; }
  .product-body { padding: 30px 24px; }
  .product-visual { padding: 0 24px 30px; }
  .hero-inner { padding: 72px 22px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .btn:hover, .card:hover { transform: none; }
}
