/* =========================================================
   Digimanic — Exact Recreation Stylesheet
   Brand colour: #2c8cf4
   ========================================================= */

:root{
  --brand: #2c8cf4;
  --brand-dark: #1c6fd1;
  --brand-light: #eaf3fe;
  --ink: #10162b;
  --ink-soft: #5a6280;
  --bg-alt: #f6f8fc;
  --dark-bg: #0a0e22;
  --dark-panel: #141a38;
  --radius: 18px;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6{ font-family: var(--font-display); color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
a{ text-decoration: none; }
.text-brand{ color: var(--brand); }
.text-brand-col{ color: var(--brand) !important; }

.eyebrow{ text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--brand); margin-bottom: .75rem; }
.eyebrow-light{ color: #93a8e8; }
.section-title{ font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; margin-bottom: 0; }
.section-desc{ color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; max-width: 480px; }

/* ---------- Buttons ---------- */
.btn-brand{ background: var(--brand); border: 1px solid var(--brand); color: #fff; font-weight: 600; border-radius: 999px; padding: .7rem 1.6rem; transition: all .2s ease; }
.btn-brand:hover{ background: var(--brand-dark); border-color: var(--brand-dark); color:#fff; transform: translateY(-1px); box-shadow: 0 10px 25px -8px rgba(44,140,244,.5); }
.btn-outline-brand{ border: 1px solid var(--brand); color: var(--brand); font-weight: 600; border-radius: 999px; padding: .65rem 1.5rem; background: transparent; transition: all .2s ease; }
.btn-outline-brand:hover{ background: var(--brand); color:#fff; }
.btn-outline-dark{ border: 1px solid var(--ink); color: var(--ink); font-weight: 600; border-radius: 999px; padding: .7rem 1.6rem; background: transparent; }
.btn-outline-dark:hover{ background: var(--ink); color:#fff; }
.btn-outline-light{ border: 1px solid rgba(255,255,255,.4); color:#fff; font-weight: 600; border-radius: 999px; padding: .7rem 1.6rem; background: transparent; }
.btn-outline-light:hover{ background:#fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header{ position: sticky; top:0; z-index: 1000; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.06); }
.navbar{ padding: .9rem 0; }
.nav-link{ color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.nav-link::after{ content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--brand); transition: width .2s ease; }
.nav-link:hover{ color: var(--brand); }
.nav-link:hover::after{ width:100%; }

/* ---------- Hero ---------- */
.hero{ padding: 4rem 0 3rem; background: linear-gradient(180deg, var(--brand-light) 0%, #ffffff 65%); }
.hero-badge{ display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:999px; padding:.4rem .9rem; font-size:.8rem; font-weight:600; color: var(--ink-soft); margin:0 .3rem .5rem; }
.hero-badge i{ color: var(--brand); }
.hero-title{ font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.15; text-align:center; }
.hero-sub{ color: var(--ink-soft); font-size: 1.08rem; margin-top: 1.1rem; text-align:center; }
.hero .col-lg-6 .hero-title, .hero .col-lg-6 .hero-sub{ text-align:left; margin-left:0; }
.hero-stats h3{ font-size: 1.7rem; margin-bottom:.15rem; }
.hero-stats p{ color: var(--ink-soft); font-size:.85rem; margin:0; }

.console-card{ background:#fff; border-radius: var(--radius); box-shadow: 0 30px 70px -25px rgba(15,30,80,.28); overflow:hidden; border:1px solid rgba(0,0,0,.05); }
.console-header{ background: var(--bg-alt); padding:.7rem 1rem; display:flex; align-items:center; gap:6px; }
.console-header .dot{ width:10px; height:10px; border-radius:50%; }
.dot.red{ background:#ff5f57; } .dot.yellow{ background:#febc2e; } .dot.green{ background:#28c840; }
.console-title{ margin-left:8px; font-size:.8rem; font-weight:600; color: var(--ink-soft); }
.console-body{ padding: 1.6rem; }
.metric-label{ color: var(--ink-soft); font-size:.83rem; margin-bottom:.2rem; }
.metric-value{ font-size: 2rem; margin:0; }
.mini-note{ color: var(--ink-soft); font-size:.8rem; }
.chart-line svg{ width:100%; height:70px; }
.badge-pill{ display:inline-flex; align-items:center; gap:6px; background: var(--brand-light); color: var(--brand-dark); font-weight:600; font-size:.78rem; padding:.35rem .8rem; border-radius:999px; }

.progress-row{ display:flex; align-items:center; gap:.7rem; margin-bottom:.5rem; font-size:.78rem; }
.progress-row span{ width: 110px; flex-shrink:0; color: var(--ink-soft); }
.progress-row.light span{ color:#aab3d6; }
.progress-row .progress{ flex:1; height:8px; background: var(--bg-alt); border-radius:999px; overflow:visible; }
.progress-row.light .progress{ background: rgba(255,255,255,.08); }
.progress-bar{ background: linear-gradient(90deg, var(--brand-dark), var(--brand)); border-radius:999px; font-size:0; transition: width 1.4s cubic-bezier(.16,1,.3,1); }

.serp-preview{ background: var(--bg-alt); border-radius: 12px; padding: .8rem 1rem; }
.serp-url{ color: #1a7d3c; font-size:.75rem; margin:0; }
.serp-query{ font-weight:600; font-size:.9rem; margin:.15rem 0; color: var(--ink); }
.serp-tag{ display:inline-block; background: var(--brand-light); color: var(--brand-dark); font-size:.7rem; font-weight:700; padding:.15rem .6rem; border-radius:999px; }

.logo-marquee{ border-top: 1px solid rgba(0,0,0,.08); text-align:center; overflow:hidden; }
.marquee-label{ font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: var(--ink-soft); margin-bottom:1.2rem; }
.marquee-track{ display:flex; overflow:hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-content{ display:flex; gap:3rem; flex-shrink:0; animation: marquee 28s linear infinite; padding-right: 3rem; }
.marquee-content span{ font-weight:700; font-family: var(--font-display); color:#b7bfd6; white-space:nowrap; font-size:1.05rem; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-100%);} }

/* ---------- Stats / light sections ---------- */
.section-light{ padding: 5.5rem 0; }
.section-alt{ padding: 5.5rem 0; background: var(--bg-alt); }

.stat-card{ background: var(--bg-alt); border-radius: var(--radius); padding: 1.6rem 1rem; height:100%; transition: transform .2s ease; }
.stat-card:hover{ transform: translateY(-4px); }
.stat-card h3{ font-size: 1.8rem; margin-bottom:.25rem; }
.stat-card p{ color: var(--ink); font-weight:600; font-size:.88rem; margin:0 0 .15rem; }
.stat-card small{ color: var(--ink-soft); font-size:.74rem; }

/* ---------- Dark sections ---------- */
.dark-section{ background: radial-gradient(120% 120% at 50% 0%, #16204a 0%, var(--dark-bg) 55%); color:#fff; padding: 5.5rem 0; }
.dark-title{ color:#fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 780px; margin: 0 auto 1.2rem; }
.dark-sub{ color: #a7b0d6; max-width: 640px; font-size: 1.05rem; }
.pill-grid{ max-width: 980px; margin: 0 auto; }
.pill{ background: var(--dark-panel); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding:.6rem 1rem; font-size:.8rem; color:#d7deff; text-align:center; transition: all .2s ease; }
.pill:hover{ border-color: var(--brand); color:#fff; background: rgba(44,140,244,.15); }
.dark-panel{ background: var(--dark-panel); border-radius: var(--radius); padding: 2.2rem 1.6rem; max-width: 940px; margin: 0 auto; border: 1px solid rgba(255,255,255,.06); }
.dark-panel h3{ color:#fff; font-size:1.6rem; margin-bottom:.2rem; }
.dark-panel p{ color:#9aa4cc; font-size:.85rem; margin:0; }

.ai-points{ list-style:none; padding:0; margin: 1.4rem 0; }
.ai-points li{ display:flex; gap:.7rem; align-items:flex-start; color:#c3cae8; font-size:.98rem; margin-bottom:1rem; line-height:1.5; }
.ai-points li i{ color: var(--brand); font-size:1.1rem; margin-top:2px; }

/* ---------- Feature / industry / service cards ---------- */
.feature-card{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 1.8rem; height:100%; transition: box-shadow .2s ease, transform .2s ease; }
.feature-card:hover{ box-shadow: 0 20px 40px -20px rgba(15,30,80,.18); transform: translateY(-3px); }
.feature-icon{ width:44px; height:44px; border-radius:12px; background: var(--brand-light); color: var(--brand); display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:1rem; }
.feature-card h5{ font-size:1.03rem; margin-bottom:.5rem; }
.feature-card p{ color: var(--ink-soft); font-size:.88rem; margin:0; }

.industry-card{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px; padding:1.3rem 1rem; display:flex; flex-direction:column; align-items:center; gap:.4rem; text-align:center; height:100%; transition: all .2s ease; }
.industry-card i{ font-size:1.5rem; color: var(--brand); }
.industry-card span{ font-weight:700; font-size:.92rem; }
.industry-card small{ color: var(--ink-soft); font-size:.76rem; }
.industry-card:hover{ border-color: var(--brand); background: var(--brand-light); transform: translateY(-3px); }

.service-card{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding:1.8rem; height:100%; transition: all .2s ease; }
.service-card:hover{ border-color: var(--brand); box-shadow: 0 20px 40px -20px rgba(15,30,80,.18); transform: translateY(-3px); }
.service-num{ display:inline-block; font-family: var(--font-display); font-weight:800; color: var(--brand); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; background: var(--brand-light); padding:.2rem .6rem; border-radius:999px; margin-bottom:.9rem; }
.service-card h5{ font-size:1.1rem; margin-bottom:.5rem; }
.service-card p{ color: var(--ink-soft); font-size:.9rem; }
.service-link{ font-weight:600; font-size:.87rem; color: var(--brand); display:inline-flex; align-items:center; gap:4px; }
.service-link:hover{ color: var(--brand-dark); gap:8px; }

/* ---------- Process ---------- */
.process-item{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px; padding:1.4rem; height:100%; position:relative; }
.process-num{ display:block; font-family: var(--font-display); font-weight:800; font-size:1.6rem; color: var(--brand-light); -webkit-text-stroke: 1.5px var(--brand); margin-bottom:.4rem; }
.process-item h6{ margin-bottom:.3rem; font-size:1rem; }
.process-item p{ color: var(--ink-soft); font-size:.85rem; margin:0; }
.process-note{ color: var(--ink-soft); font-size:1rem; font-weight:600; }
.process-note .counter{ color: var(--brand); font-weight:800; }

/* ---------- Results / case studies ---------- */
.result-card{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding:1.7rem; height:100%; }
.result-tag{ text-transform:uppercase; font-size:.7rem; font-weight:700; letter-spacing:.08em; color: var(--brand); margin-bottom:.5rem; }
.result-card h5{ font-size:1.05rem; }
.result-before{ display:block; color:#b6bccb; text-decoration:line-through; font-size:.85rem; }
.result-after{ display:block; font-size:1.5rem; font-weight:800; color: var(--ink); }
.result-caption{ color: var(--ink-soft); font-size:.78rem; margin:0; }
.result-metrics{ border-top: 1px dashed rgba(0,0,0,.1); padding-top:.9rem; text-align:center; }
.result-metrics strong{ display:block; font-size:.95rem; color: var(--ink); }
.result-metrics span{ display:block; font-size:.7rem; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testimonial-card{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 1.8rem; height:100%; }
.testimonial-card p{ font-size:.95rem; color: var(--ink); line-height:1.6; margin-top:.8rem; }
.testimonial-person{ display:flex; align-items:center; gap:.8rem; margin-top:1.2rem; }
.avatar{ width:40px; height:40px; border-radius:50%; background: var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0; }
.testimonial-person h6{ margin:0; font-size:.9rem; }
.testimonial-person small{ color: var(--ink-soft); }

/* ---------- Comparison table ---------- */
.compare-table{ background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: 0 20px 45px -25px rgba(15,30,80,.2); }
.compare-table thead th{ background: var(--ink); color:#fff; font-family: var(--font-display); font-weight:700; padding: 1rem 1.5rem; border:none; }
.compare-table thead th.text-brand-col{ background: var(--brand); }
.compare-table tbody td{ padding: 1rem 1.5rem; font-size:.92rem; border-color: rgba(0,0,0,.06); vertical-align: middle; }
.compare-table tbody td i{ margin-right:.5rem; }

/* ---------- ROI Calculator ---------- */
.cost-card, .audit-form{ background:#fff; border:1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding:1.8rem; height:100%; }
.cost-card .form-label, .audit-form .form-label{ font-size:.88rem; font-weight:600; color: var(--ink); }
.brand-range{ accent-color: var(--brand); }
.cost-card h4{ font-size:1.3rem; color: var(--brand); margin-bottom:.1rem; }
.audit-form .form-control, .audit-form .form-select{ border-radius:10px; padding:.6rem .9rem; border:1px solid rgba(0,0,0,.12); font-size:.9rem; }
.audit-form .form-control:focus, .audit-form .form-select:focus{ border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }

/* ---------- FAQ ---------- */
.accordion-item{ border:1px solid rgba(0,0,0,.08); border-radius:12px !important; overflow:hidden; margin-bottom:.8rem; }
.accordion-button{ font-weight:600; font-size:.97rem; }
.accordion-button:not(.collapsed){ color: var(--brand-dark); background: var(--brand-light); }
.accordion-button:focus{ box-shadow: 0 0 0 3px var(--brand-light); }

/* ---------- CTA ---------- */
.cta-section{ text-align:center; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--dark-bg); color:#a7b0d6; padding: 4rem 0 1.5rem; font-size:.9rem; }
.site-footer p{ color:#8890b8; }
.site-footer h6{ color:#fff; font-size:.9rem; margin-bottom:1rem; text-transform:uppercase; letter-spacing:.05em; }
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer ul li{ margin-bottom:.6rem; }
.site-footer ul li a{ color:#a7b0d6; }
.site-footer ul li a:hover{ color: var(--brand); }
.site-footer hr{ border-color: rgba(255,255,255,.08); margin: 2rem 0 1.2rem; }
.site-footer a{ color: var(--brand); }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar{ position: fixed; bottom:0; left:0; right:0; display:flex; z-index:999; background:#fff; box-shadow: 0 -8px 20px rgba(0,0,0,.08); }
.mb-btn{ flex:1; text-align:center; padding: .9rem 0; font-weight:600; color: var(--ink); font-size:.88rem; }
.mb-btn-brand{ background: var(--brand); color:#fff; }

/* ---------- Back to top ---------- */
.back-to-top{ position: fixed; bottom: 90px; right: 20px; width:46px; height:46px; border-radius:50%; background: var(--brand); color:#fff; border:none; display:none; align-items:center; justify-content:center; font-size:1.1rem; box-shadow: 0 10px 25px -8px rgba(44,140,244,.6); z-index: 999; }
.back-to-top.show{ display:flex; }
@media (min-width: 992px){ .back-to-top{ bottom: 24px; } }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
  .hero{ padding-top: 2.5rem; }
  .section-desc{ max-width:100%; }
  body{ padding-bottom: 62px; }
}
@media (max-width: 767.98px){
  .section-light, .section-alt{ padding: 3.5rem 0; }
  .dark-section{ padding: 3.5rem 0; }
  .progress-row span{ width: 90px; font-size:.72rem; }
  .compare-table thead th, .compare-table tbody td{ padding:.8rem 1rem; font-size:.82rem; }
}
