/* eAppair Ltd. — site styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1f6feb;
  --teal: #12b5a6;
  --ink: #1b2533;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "Manrope", "Inter", sans-serif; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p + p { margin-top: 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 1.3rem; font-family: "Manrope", sans-serif; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand span { color: var(--blue); }
.brand small { display: block; white-space: nowrap; font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: -4px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  display: block; white-space: nowrap; padding: 8px 14px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links .btn { margin-left: 8px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 0.97rem;
  background: var(--blue); color: #fff; border: 2px solid var(--blue);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 111, 235, 0.3); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn.outline { background: transparent; color: var(--blue); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe6f5;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(18, 181, 166, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(31, 111, 235, 0.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero-home { padding: 110px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #5fb3ff, #3ee0cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; max-width: 600px; margin-bottom: 32px; }
.hero .eyebrow { color: #3ee0cf; }
.hero-page { padding: 80px 0 72px; }
.hero-page p { margin-bottom: 0; }
.crumbs { font-size: 0.85rem; margin-bottom: 14px; color: #9fb3cc; }
.crumbs a { color: #9fb3cc; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(6px);
}
.hero-card + .hero-card { margin-top: 16px; margin-left: 40px; }
.hero-card h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.hero-card p { font-size: 0.9rem; margin: 0; color: #b8c7db; }
.hero-card .row { display: flex; gap: 14px; align-items: center; }
.hero-card .dot { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--teal)); }
.hero-card .dot svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item .icon { flex: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -56px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat b { display: block; font-family: "Manrope", sans-serif; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 0.93rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(18, 181, 166, 0.12));
}
.icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); }
.checklist { list-style: none; margin-top: 22px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.panel {
  border-radius: 20px; padding: 40px; color: #dbe6f5;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}
.panel h3 { color: #fff; margin-bottom: 18px; }
.split .panel p, .panel p { color: #c3d1e4; }
.panel .checklist li { color: #dbe6f5; }

/* ---------- Product rows ---------- */
.product { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; padding: 36px; }
.product + .product { margin-top: 24px; }
.product-logo {
  height: 120px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--navy); text-align: center; padding: 10px;
}
.product-logo img { max-height: 70px; width: auto; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(18, 181, 166, 0.12); color: #0b8a7e; margin-bottom: 10px; }

/* ---------- Logo wall ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-tile {
  height: 96px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  display: grid; place-items: center; padding: 14px; text-align: center;
  font-family: "Manrope", sans-serif; font-weight: 700; color: #6b7a8c; font-size: 0.95rem;
  transition: color 0.2s, border-color 0.2s;
}
.logo-tile:hover { color: var(--navy); border-color: #c9d4e2; }
.logo-tile img { max-height: 56px; width: auto; filter: grayscale(1); opacity: 0.75; transition: 0.2s; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 32px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 2rem; color: var(--blue); opacity: 0.25;
}

/* ---------- Quote ---------- */
.quote {
  font-family: "Manrope", sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; color: var(--navy);
  max-width: 820px; margin: 0 auto; text-align: center; line-height: 1.45;
}
.quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 1; color: var(--teal); }

/* ---------- CTA ---------- */
.cta {
  border-radius: 22px; padding: 56px; color: #dbe6f5; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(18, 181, 166, 0.4), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--navy); font-weight: 600; }
form .field { margin-bottom: 18px; }
form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
form input, form select, form textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid #cfd8e3; font: inherit; color: var(--ink); background: #fff;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15); }
form textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb3cc; padding: 72px 0 28px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb3cc; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; margin-left: auto; order: 2; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 6px; }
  .nav-links .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .product { grid-template-columns: 1fr; padding: 26px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px; }
  .stat b { font-size: 1.5rem; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  .card { padding: 26px; }
  .hero-home { padding: 80px 0 100px; }
}
