/* ============================================================
   SecureShare marketing site — shared styles
   Brand palette: navy + blue, aligned with the SecureShare frontend
   (primary hsl(217 91% 60%) ~= #3b82f6).
   ============================================================ */
:root {
  --navy: #0c1a2c;
  --navy-2: #12243d;
  --navy-3: #1c3a5e;
  --teal: #2563eb;
  --teal-2: #3b82f6;
  --teal-glow: #60a5fa;
  --ink: #243240;
  --muted: #5d6b7a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --bg: #0a1626;
  --bg-soft: #0f1f33;
  --card: rgba(255, 255, 255, 0.035);
  --text: #d7e1ec;
  --text-dim: #9fb0c2;
  --white: #f4f8fb;
  --maxw: 1140px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--teal-glow); text-decoration: none; transition: color .15s ease; }
a:hover { color: #93c5fd; }

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

h1, h2, h3, h4 { color: var(--white); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: 14px;
}

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head.left { margin-left: 0; text-align: left; }
.section h2 { font-size: clamp(28px, 4vw, 40px); }
.section__head p { color: var(--text-dim); font-size: 18px; margin-top: 16px; }

.lead { color: var(--text-dim); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(59, 130, 246, 0.75); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--teal-glow); background: rgba(255,255,255,0.05); color: var(--white); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 38, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text-dim); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--white); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 96px; text-align: center; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before { background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(59,130,246,0.28), transparent 60%); }
.hero::after { background: radial-gradient(ellipse 50% 50% at 85% 110%, rgba(59,130,246,0.18), transparent 60%); }
.hero .container { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--teal-glow);
  border: 1px solid rgba(96,165,250,0.25); background: rgba(96,165,250,0.08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-glow); box-shadow: 0 0 10px var(--teal-glow); }
.hero h1 { font-size: clamp(40px, 6.5vw, 68px); letter-spacing: -0.03em; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--teal-glow), #93c5fd, var(--teal-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { max-width: 640px; margin: 26px auto 0; font-size: 20px; color: var(--text-dim); }
.hero__actions { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- Product screenshots ---------- */
.shot {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  margin: 0;
}
.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.shot--media { width: 100%; align-self: center; }
.showcase { position: relative; margin-top: -48px; padding-bottom: 8px; z-index: 2; }
.showcase .shot { max-width: 1000px; margin: 0 auto; }
.showcase__caption { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .showcase { margin-top: -24px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(5, 11, 20, 0.9); backdrop-filter: blur(4px);
  padding: 32px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 96vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 10px; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
  cursor: default;
}
.lightbox__close {
  position: absolute; top: 16px; right: 24px;
  background: none; border: 0; color: #fff; font-size: 34px; line-height: 1;
  cursor: pointer; opacity: .8;
}
.lightbox__close:hover { opacity: 1; }

/* ---------- Logos / trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust__row { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; }
.trust__row span { color: var(--text-dim); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.trust__row .tick { color: var(--teal-glow); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.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: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(255,255,255,0.05); }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.14); color: var(--teal-glow);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }
.card--accent { position: relative; overflow: hidden; }
.card--accent::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal-2), var(--teal-glow)); }

/* ---------- Feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split__media {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  min-height: 300px; padding: 28px;
  display: flex; align-items: center; justify-content: center;
}
.split h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 16px; }
.split p { color: var(--text-dim); font-size: 17px; margin-bottom: 18px; }
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.feature-list .tick {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px;
  background: rgba(59,130,246,0.16); color: var(--teal-glow);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.feature-list .tick svg { width: 13px; height: 13px; }

/* ---------- Encryption mode cards ---------- */
.mode-num { font-size: 32px; font-weight: 800; color: rgba(96,165,250,0.35); line-height: 1; margin-bottom: 12px; }

/* ---------- Diagram cards (key hierarchy etc) ---------- */
.kbox { border-radius: 10px; padding: 14px 18px; text-align: center; }
.kbox + .kbox { margin-top: 0; }
.kbox strong { display: block; color: #fff; font-size: 15px; }
.kbox span { font-size: 12.5px; color: var(--text-dim); }
.kstack { display: grid; gap: 10px; }
.kstack .karrow { text-align: center; color: var(--muted); font-size: 12px; font-style: italic; }
.k1 { background: var(--navy-2); border-top: 3px solid var(--teal); }
.k2 { background: var(--navy-3); }
.k3 { background: #34618c; }
.k4 { background: rgba(255,255,255,0.06); border: 1px solid var(--line-strong); }

/* ---------- Comparison table ---------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--navy-2); color: #fff; font-weight: 600; }
table.cmp th.col, table.cmp td.col { text-align: center; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td.col .yes { color: var(--teal-glow); font-weight: 700; }
table.cmp td.col .no { color: var(--muted); }
table.cmp .feat { color: var(--white); font-weight: 500; }
table.cmp .ours { background: rgba(59,130,246,0.06); }

/* ---------- Spec table ---------- */
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec tr td:first-child { color: var(--white); font-weight: 600; width: 34%; }
table.spec tr td:last-child { color: var(--text-dim); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 30px 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .num { font-size: 28px; font-weight: 800; color: rgba(96,165,250,0.3); }
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 50%, #1e3a6b 100%);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(59,130,246,0.25), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 38px); }
.cta-band p { color: var(--text-dim); font-size: 18px; max-width: 540px; margin: 16px auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--navy); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { height: 24px; margin-bottom: 16px; }
.footer__brand p { color: var(--text-dim); font-size: 14px; max-width: 280px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 10px; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.footer__bottom img { height: 40px; opacity: 0.9; }
.footer__bottom .bs { display: flex; align-items: center; gap: 8px; }

/* ---------- Note callout ---------- */
.note {
  border: 1px solid rgba(200,160,74,0.3);
  border-left: 3px solid #c8a04a;
  background: rgba(200,160,74,0.06);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px; color: #d8c79a; font-size: 14.5px;
}

/* ---------- Fine-print disclaimer ---------- */
.disclaimer-line {
  max-width: 820px; margin: 32px auto 0;
  text-align: center; font-size: 12.5px; font-style: italic;
  color: var(--muted);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: 72px 0 48px; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% -20%, rgba(59,130,246,0.2), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); }
.page-hero p { max-width: 620px; margin: 18px auto 0; color: var(--text-dim); font-size: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split__media { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--navy-2); border-bottom: 1px solid var(--line); padding: 16px 24px;
  }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
}
