/* =========================================================
   DLD LLC — Vibration & Vibration Pro marketing site
   Brand: Vibration = blue (#1565C0/#0D47A1, white)
          Vibration Pro = charcoal/amber (#1B1F24 / #E08E0B)
   ========================================================= */

:root {
  --vib-blue:      #1565C0;
  --vib-blue-dk:   #0D47A1;
  --vib-blue-soft: #e8f0fb;
  --pro-charcoal:  #1B1F24;
  --pro-charcoal-2:#252b32;
  --pro-amber:     #E08E0B;
  --pro-amber-dk:  #b9740a;

  --ink:      #1B1F24;
  --ink-soft: #3d454f;
  --muted:    #5b6470;
  --line:     #e3e6ea;
  --bg:       #ffffff;
  --bg-alt:   #f6f7f9;

  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20,30,45,0.10);
  --shadow-lg: 0 24px 60px rgba(20,30,45,0.18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, 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.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.center { text-align: center; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h2.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .3em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--vib-blue); margin: 0 0 .6em;
}
.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(150deg, var(--vib-blue), var(--pro-amber));
  display: inline-block;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .02em; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--vib-blue); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-blue  { background: var(--vib-blue); color: #fff; }
.btn-blue:hover { background: var(--vib-blue-dk); color:#fff; }
.btn-amber { background: var(--pro-amber); color: #1B1F24; }
.btn-amber:hover { background: var(--pro-amber-dk); color:#fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--vib-blue); color: var(--vib-blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(224,142,11,0.10), transparent 60%),
    radial-gradient(1000px 620px at 0% 0%, rgba(21,101,192,0.12), transparent 55%),
    linear-gradient(180deg, #fbfcfe, #ffffff);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero .lead { font-size: 1.22rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.hero-shot { position: relative; display: flex; justify-content: center; }

/* Phone frame */
.phone {
  position: relative; width: 270px; border-radius: 40px; padding: 12px;
  background: #0e1116; box-shadow: var(--shadow-lg);
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: #0e1116; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone img { border-radius: 30px; }
.phone.small { width: 210px; border-radius: 32px; padding: 9px; }
.phone.small::before { width: 70px; height: 18px; }
.phone.small img { border-radius: 24px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.pillar .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--vib-blue-soft); color: var(--vib-blue-dk); margin-bottom: 16px;
}
.pillar h3 { font-size: 1.2rem; }
.pillar ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-soft); }
.pillar li { margin: 7px 0; }

/* Screenshot gallery */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px 24px; margin-top: 54px; align-items: start;
}
.shot { text-align: center; }
.shot .cap { margin-top: 14px; font-weight: 600; font-size: .96rem; }
.shot .sub { color: var(--muted); font-size: .85rem; }

/* ---------- iPad band ---------- */
.ipad-band {
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(21,101,192,0.10), transparent 60%),
    linear-gradient(180deg, #fbfcfe, #ffffff);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ipad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ipad-copy .lead { font-size: 1.12rem; }
.ipad-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ipad-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.ipad-points .ck { color: var(--vib-blue); font-weight: 800; flex: 0 0 auto; }
.ipad-shot { display: flex; justify-content: center; }
/* iPad frame (portrait, uniform bezel) */
.ipad {
  position: relative; width: 340px; max-width: 100%;
  background: #0e1116; border-radius: 30px; padding: 16px;
  box-shadow: var(--shadow-lg);
}
.ipad { display: block; transition: transform .15s ease; }
.ipad:hover { transform: translateY(-3px); text-decoration: none; }
.ipad img { border-radius: 14px; display: block; width: 100%; }
.ipad-zoom {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: rgba(13,71,161,0.92); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.ipad:hover .ipad-zoom { opacity: 1; }
@media (hover: none) { .ipad-zoom { opacity: 1; } }
@media (max-width: 900px) {
  .ipad-grid { grid-template-columns: 1fr; text-align: center; }
  .ipad-shot { order: -1; }
  .ipad-points { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
}

/* ---------- Sample report ---------- */
.report-sample {
  margin-top: 84px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px;
}
.report-sample h3 { font-size: 1.5rem; margin: 0 0 .3em; }
.report-sample p { color: var(--ink-soft); margin: 0 0 20px; max-width: 520px; }
.report-thumb {
  display: block; position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .15s ease;
}
.report-thumb:hover { transform: translateY(-3px); }
.report-thumb img { display: block; width: 100%; }
.report-thumb .badge {
  position: absolute; bottom: 0; left: 0; right: 0; text-align: center;
  background: linear-gradient(transparent, rgba(13,71,161,0.85)); color: #fff;
  font-size: .8rem; font-weight: 600; padding: 26px 12px 10px;
}
@media (max-width: 760px) {
  .report-sample { grid-template-columns: 1fr; text-align: center; }
  .report-sample p { margin-left: auto; margin-right: auto; }
  .report-thumb { max-width: 260px; margin: 18px auto 0; }
}

/* ---------- Pro extension ---------- */
.pro-band {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(224,142,11,0.16), transparent 60%),
    var(--pro-charcoal);
  color: #eef1f4;
}
.pro-band .eyebrow { color: var(--pro-amber); }
.pro-band h2.section-title { color: #fff; }
.pro-band .lead { color: #b9c2cd; }
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pro-features { display: grid; gap: 22px; }
.pro-feature { display: flex; gap: 16px; }
.pro-feature .ic {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(224,142,11,0.15); color: var(--pro-amber); font-size: 1.2rem;
}
.pro-feature h3 { font-size: 1.14rem; color: #fff; margin-bottom: 4px; }
.pro-feature p { margin: 0; color: #aab4bf; font-size: .96rem; }
.pro-band .btn-amber { margin-top: 8px; }

/* Scripting sample */
.script-demo { margin-top: 52px; }
.script-demo .eyebrow { color: var(--pro-amber); }
.script-demo h3 { color:#fff; font-size:1.35rem; margin:0 0 6px; }
.script-demo > p.sd-lead { color:#aab4bf; max-width:640px; margin:0 0 22px; }
.script-card {
  background:#12151a; border:1px solid rgba(255,255,255,.08); border-radius:14px;
  overflow:hidden; box-shadow:var(--shadow-lg); max-width:760px;
}
.script-card-head {
  display:flex; align-items:center; gap:10px; padding:11px 16px;
  background:#0d1014; border-bottom:1px solid rgba(255,255,255,.06);
}
.script-card-head .dots { display:inline-flex; gap:6px; }
.script-card-head .dots i { width:11px; height:11px; border-radius:50%; background:#3a4048; }
.script-card-head .fn { color:#8a94a0; font-weight:600; font-size:.85rem; letter-spacing:.02em; }
.script-code {
  margin:0; padding:20px 22px; overflow-x:auto;
  font-family:"SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size:.85rem; line-height:1.75; color:#cfd6de; white-space:pre;
}
.script-code .c { color:#6b7683; }                       /* comment */
.script-code .k { color:var(--pro-amber); font-weight:600; } /* command */
.script-code .a { color:#8fd6ff; }                       /* argument  */
.script-ref { display:inline-block; margin-top:20px; color:var(--pro-amber); font-weight:600; }
.script-ref:hover { color:#fff; }
@media (max-width:560px){ .script-code{ font-size:.76rem; } }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { position: sticky; top: 0; background: #fff; font-size: .95rem; }
table.compare thead th.col-app { text-align: center; }
table.compare th.grp {
  background: var(--bg-alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
table.compare td.feat { font-weight: 500; color: var(--ink); }
table.compare td.val { text-align: center; width: 170px; font-weight: 600; }
.appcol-vib  { color: var(--vib-blue-dk); }
.appcol-pro  { color: var(--pro-amber-dk); }
.col-app .icn { width: 34px; height: 34px; border-radius: 8px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.yes  { color: #1a8a4a; }
.no   { color: #c3c9d0; }
.iap  { color: var(--pro-amber-dk); font-weight: 700; }
.iap-note { font-weight: 400; color: var(--muted); font-size: .8rem; display:block; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- App download cards ---------- */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.app-card {
  border-radius: var(--radius); padding: 32px; color: #fff; box-shadow: var(--shadow-lg);
  display: flex; gap: 22px; align-items: center;
}
.app-card.vib { background: linear-gradient(140deg, var(--vib-blue), var(--vib-blue-dk)); }
.app-card.pro { background: linear-gradient(140deg, #2b323b, var(--pro-charcoal)); }
.app-card img.appicon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.3); flex: 0 0 84px; }
.app-card h3 { font-size: 1.4rem; margin: 0 0 2px; color:#fff; }
.app-card p { margin: 0 0 14px; color: rgba(255,255,255,0.85); font-size: .95rem; }
.app-card.pro h3 span { color: var(--pro-amber); }
.appstore-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff;
  padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem; border: 1px solid rgba(255,255,255,.25);
}
.appstore-btn:hover { text-decoration: none; background: #111; }

/* ---------- Help CTA ---------- */
.help-cta {
  background: linear-gradient(135deg, var(--vib-blue-soft), #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.help-cta .txt { max-width: 620px; }
.help-cta h2 { margin-bottom: .3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pro-charcoal); color: #aeb7c1; padding: 46px 0 30px; }
.site-footer a { color: #d6dde4; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: .85rem; color: #8a95a1; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cta-row { justify-content: center; }
  .hero .lead { margin-left:auto; margin-right:auto; }
  .hero-shot { order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-shot { order: -1; display: flex; justify-content: center; }
  .apps { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column;
         background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .app-card { flex-direction: column; text-align: center; }
  .help-cta { flex-direction: column; text-align: center; }
}
