/* ==========================================================================
   OlaDigitalHub — Design System
   Navy #1F3A5F · Teal #00A8A8 · White #FFFFFF · Light Grey #F5F7FA
   Display: Source Serif 4 · Body: Inter · Data/mono: IBM Plex Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --navy: #1F3A5F;
  --navy-deep: #14263f;
  --navy-tint: #2c4d78;
  --teal: #00A8A8;
  --teal-tint: #E3F6F6;
  --teal-deep: #00807f;
  --white: #FFFFFF;
  --grey: #F5F7FA;
  --grey-line: #E1E6ED;
  --ink: #16232F;
  --ink-soft: #52657A;
  --amber: #E8A33D; /* used sparingly for "attention" data states only */
  --radius: 4px;
  --maxw: 1180px;
  --shadow: 0 1px 2px rgba(20,38,63,0.06), 0 8px 24px rgba(20,38,63,0.06);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter', sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
h1,h2,h3,h4{
  font-family:'Source Serif 4', serif;
  color:var(--navy-deep);
  margin:0 0 .5em 0;
  font-weight:600;
  letter-spacing:-0.01em;
}
h1{font-size:clamp(2.2rem,4.5vw,3.4rem); line-height:1.08; font-weight:700;}
h2{font-size:clamp(1.6rem,3vw,2.3rem); line-height:1.15;}
h3{font-size:1.25rem; line-height:1.3;}
p{margin:0 0 1em 0; color:var(--ink-soft);}
a{color:var(--teal-deep); text-decoration:none;}
a:hover{text-decoration:underline;}
.mono, .kpi-value, .eyebrow, .price, .tag{font-family:'IBM Plex Mono', monospace;}
img{max-width:100%; display:block;}
:focus-visible{outline:2px solid var(--teal); outline-offset:2px;}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
section{padding:88px 0;}
@media (max-width:720px){ section{padding:56px 0;} }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--grey-line);
}
.nav{
  max-width:var(--maxw); margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{display:flex; align-items:center; gap:10px; font-family:'Source Serif 4',serif; font-weight:700; font-size:1.15rem; color:var(--navy-deep);}
.brand .dot{width:9px; height:9px; border-radius:50%; background:var(--teal); display:inline-block;}
.nav-links{display:flex; gap:26px; list-style:none; margin:0; padding:0; flex-wrap:wrap;}
.nav-links a{color:var(--navy); font-weight:500; font-size:0.94rem;}
.nav-links a:hover{color:var(--teal-deep); text-decoration:none;}
.nav-cta{
  background:var(--navy); color:var(--white); padding:10px 18px;
  border-radius:var(--radius); font-weight:600; font-size:0.9rem; white-space:nowrap;
}
.nav-cta:hover{background:var(--navy-deep); text-decoration:none; color:var(--white);}
.nav-toggle{display:none;}
@media (max-width:900px){
  .nav-links{display:none;}
  .nav-toggle{display:block; background:none; border:1px solid var(--grey-line); border-radius:var(--radius); padding:8px 12px; font-size:1.1rem;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 24px; border-radius:var(--radius); font-weight:600; font-size:0.95rem;
  border:1px solid transparent; cursor:pointer; transition:transform .12s ease, background .15s ease;
}
.btn:hover{text-decoration:none;}
.btn-primary{background:var(--teal); color:var(--white);}
.btn-primary:hover{background:var(--teal-deep); color:var(--white);}
.btn-dark{background:var(--navy); color:var(--white);}
.btn-dark:hover{background:var(--navy-deep); color:var(--white);}
.btn-outline{background:transparent; color:var(--navy); border-color:var(--navy);}
.btn-outline:hover{background:var(--navy); color:var(--white);}
.btn-ghost{background:transparent; color:var(--navy); border-color:var(--grey-line);}
.btn-ghost:hover{border-color:var(--navy);}
.btn-row{display:flex; gap:14px; flex-wrap:wrap;}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  text-transform:uppercase; letter-spacing:0.08em; font-size:0.72rem;
  color:var(--teal-deep); font-weight:600; display:flex; align-items:center; gap:8px; margin-bottom:14px;
}
.eyebrow::before{content:''; width:18px; height:1px; background:var(--teal-deep); display:inline-block;}

/* ---------- Hero ---------- */
.hero{
  background:var(--navy-deep);
  color:var(--white);
  padding:96px 0 0 0;
  overflow:hidden;
  position:relative;
}
.hero .wrap{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; padding-bottom:60px;}
@media (max-width:960px){ .hero .wrap{grid-template-columns:1fr;} }
.hero h1{color:var(--white);}
.hero p.lede{color:#B9C7D6; font-size:1.1rem; max-width:46ch;}
.hero .eyebrow{color:var(--teal);}
.hero .eyebrow::before{background:var(--teal);}

/* Live KPI pulse strip — signature element */
.pulse-card{
  background:var(--navy); border:1px solid rgba(255,255,255,0.08);
  border-radius:8px; padding:22px; box-shadow:var(--shadow);
}
.pulse-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; color:#8FA3BC; font-size:0.78rem;}
.pulse-live{display:flex; align-items:center; gap:6px; color:var(--teal);}
.pulse-live .blip{width:7px; height:7px; border-radius:50%; background:var(--teal); animation:blip 1.6s infinite;}
@keyframes blip{0%,100%{opacity:1;}50%{opacity:.25;}}
.pulse-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.pulse-kpi{background:var(--navy-tint); border-radius:6px; padding:14px 16px;}
.pulse-kpi .label{font-size:0.72rem; color:#B9C7D6; text-transform:uppercase; letter-spacing:.05em;}
.pulse-kpi .kpi-value{font-size:1.5rem; color:var(--white); margin-top:4px;}
.pulse-kpi .delta{font-size:0.76rem; margin-top:4px;}
.delta.up{color:#6FD3B0;} .delta.down{color:#F0A5A5;}
.hero-strip{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:20px 0; display:flex; gap:40px; flex-wrap:wrap; color:#8FA3BC; font-size:0.85rem;
}
.hero-strip strong{color:var(--white); font-family:'IBM Plex Mono',monospace;}

/* ---------- Sections generic ---------- */
.section-head{max-width:640px; margin-bottom:48px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
@media (max-width:900px){ .grid-3, .grid-4{grid-template-columns:1fr 1fr;} .grid-2{grid-template-columns:1fr;} }
@media (max-width:600px){ .grid-3, .grid-4{grid-template-columns:1fr;} }

.card{
  background:var(--white); border:1px solid var(--grey-line); border-radius:8px;
  padding:28px; box-shadow:var(--shadow);
}
.card h3{margin-bottom:10px;}
.bg-grey{background:var(--grey);}
.bg-navy{background:var(--navy-deep); color:#fff;}
.bg-navy h2, .bg-navy h3{color:#fff;}
.bg-navy p{color:#B9C7D6;}

/* ---------- Pricing / service table ---------- */
.svc-table{width:100%; border-collapse:collapse; margin-top:8px;}
.svc-table th, .svc-table td{text-align:left; padding:16px 14px; border-bottom:1px solid var(--grey-line);}
.svc-table th{font-size:0.75rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft);}
.svc-table td.price{color:var(--navy-deep); font-weight:600;}
.svc-table tr:hover td{background:var(--teal-tint);}

/* ---------- Product cards (store) ---------- */
.product-card{display:flex; flex-direction:column; height:100%;}
.product-card .thumb{
  aspect-ratio:4/3; border-radius:6px; margin-bottom:18px;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-tint) 60%, var(--teal-deep) 130%);
  display:flex; align-items:center; justify-content:center; color:#fff; position:relative; overflow:hidden;
}
.product-card .thumb .tag{
  position:absolute; top:12px; left:12px; background:rgba(255,255,255,0.14);
  padding:4px 9px; border-radius:3px; font-size:0.68rem; letter-spacing:.04em; color:#fff;
}
.product-card .price-row{display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:14px;}
.product-card .price{font-size:1.3rem; color:var(--navy-deep); font-weight:600;}
.product-card ul{margin:0 0 14px 0; padding-left:18px; color:var(--ink-soft); font-size:0.92rem;}
.product-card li{margin-bottom:4px;}

/* ---------- Dashboard preview shell ---------- */
.dash-shell{
  background:var(--navy-deep); border-radius:10px; padding:20px; box-shadow:var(--shadow);
}
.dash-shell .dots{display:flex; gap:6px; margin-bottom:14px;}
.dash-shell .dots span{width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.25); display:inline-block;}
.dash-inner{background:var(--white); border-radius:6px; padding:18px;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-deep); color:#8FA3BC; padding:56px 0 26px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px;}
@media (max-width:800px){ .footer-grid{grid-template-columns:1fr 1fr;} }
.footer-grid h4{color:#fff; font-family:'Inter',sans-serif; font-size:0.82rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px;}
.footer-grid ul{list-style:none; padding:0; margin:0;}
.footer-grid li{margin-bottom:9px;}
.footer-grid a{color:#B9C7D6; font-size:0.92rem;}
.footer-grid a:hover{color:var(--teal);}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1); padding-top:22px; font-size:0.82rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

/* ---------- Utility ---------- */
.tag{
  display:inline-block; background:var(--teal-tint); color:var(--teal-deep);
  padding:4px 10px; border-radius:3px; font-size:0.7rem; letter-spacing:.04em; text-transform:uppercase; margin-right:6px;
}
.stat-row{display:flex; gap:44px; flex-wrap:wrap; margin-top:8px;}
.stat{border-left:2px solid var(--teal); padding-left:14px;}
.stat .kpi-value{font-size:1.8rem; color:var(--navy-deep);}
.stat .label{font-size:0.82rem; color:var(--ink-soft);}
hr.divider{border:none; border-top:1px solid var(--grey-line); margin:40px 0;}

.breadcrumb{font-size:0.85rem; color:var(--ink-soft); margin-bottom:18px;}
.breadcrumb a{color:var(--ink-soft);}

.callout{
  background:var(--teal-tint); border-left:3px solid var(--teal); border-radius:0 6px 6px 0;
  padding:18px 22px; font-size:0.95rem; color:var(--navy-deep);
}
.quote{font-family:'Source Serif 4',serif; font-size:1.3rem; color:var(--navy-deep); font-style:italic; line-height:1.45;}

/* ---------- Checkout modal ---------- */
.modal-backdrop{
  display:none; position:fixed; inset:0; background:rgba(20,38,63,0.55);
  align-items:center; justify-content:center; z-index:200; padding:20px;
}
.modal{
  background:#fff; border-radius:8px; padding:30px; max-width:400px; width:100%;
  box-shadow:0 20px 60px rgba(20,38,63,0.3);
}
.modal h3{margin-bottom:4px;}
.modal .modal-price{color:var(--teal-deep); font-size:1.4rem; margin-bottom:18px;}
.modal label{display:block; font-size:0.82rem; color:var(--ink-soft); margin:14px 0 6px;}
.modal input{
  width:100%; padding:11px 12px; border:1px solid var(--grey-line); border-radius:4px; font-family:'Inter',sans-serif; font-size:0.95rem;
}
.modal .modal-actions{display:flex; gap:10px; margin-top:22px;}
.modal-close{background:none; border:none; float:right; font-size:1.2rem; cursor:pointer; color:var(--ink-soft);}
.checkout-success{display:none; text-align:center;}
.checkout-success .tick{font-size:2.2rem; color:var(--teal); margin-bottom:8px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

/* Footer connect strip */
.footer-connect{display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; padding:18px 0 22px;}
.footer-connect-label{font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:#fff;}
.footer-connect a{color:#B9C7D6; font-size:0.9rem; border-bottom:1px solid rgba(185,199,214,0.35); padding-bottom:1px;}
.footer-connect a:hover{color:var(--teal); border-color:var(--teal);}

/* Fiverr band */
.fiverr-band{background:var(--teal-tint); border:1px solid var(--grey-line); border-radius:6px; padding:28px 32px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;}
