/* Cybasco redesign: reskin for pages that still use css/style.css layouts.
   Loaded AFTER style.css and shell.css. It re-points the old design tokens
   to the new palette and fonts, then flattens the effects that read as
   template-made. Page-specific <style> blocks still win where they must. */

:root {
  /* palette: navy carries actions and text accents, cyan is the accent line */
  --accent-primary: var(--primary);
  --accent-secondary: var(--brand-blue);
  --accent-hover: var(--primary-hover);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary));   /* solid: kills gradient text and buttons */
  --gradient-hero: linear-gradient(165deg, var(--cyan-50) 0%, var(--page) 46%, var(--tint-50) 100%);
  --bg-primary: #F8FAFF;
  --bg-secondary: #EAF7FD;
  --bg-card: #FFFFFF;
  --bg-glass: #FFFFFF;
  --bg-glass-strong: #FFFFFF;
  --bg-mesh: none;
  --text-primary: #0D1117;
  --text-secondary: #374151;
  --text-muted: #596473;
  --border: #D5DCE6;
  --border-accent: var(--tint-200);
  /* type */
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-sans-display: Arial, Helvetica, sans-serif;
  --font-mono: Arial, Helvetica, sans-serif;
  /* shape and depth: flat, small radii, no glow, no glass */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 14px;
  --glass-blur: none;
  --glass-blur-sm: none;
  --backdrop-blur: none;
  --backdrop-blur-sm: none;
  --glass-border: 1px solid #D5DCE6;
  --glass-shadow: 0 2px 8px rgba(13, 17, 23, .06);
  --shadow-sm: 0 1px 3px rgba(13, 17, 23, .06);
  --shadow-md: 0 2px 8px rgba(13, 17, 23, .08);
  --shadow-lg: 0 6px 18px rgba(13, 17, 23, .10);
  --shadow-glow: 0 6px 18px rgba(var(--primary-rgb), .14);
  --shadow-glow-sm: 0 0 0 3px rgba(var(--accent-rgb), .20);
}

body { font-size: 1.0625rem; line-height: 1.6; }
body::before { display: none; }

/* ---------- effects that go ---------- */
.cursor-dot, .cursor-ring, .scroll-progress, .orb, #hero-webgl, .hero-ticker, .hero-scroll-hint,
.hero-chip, .hero-ring, .visual-glow, .gold-divider { display: none !important; }
html body:not(.admin-body):not(.admin-login-body) * { cursor: auto !important; }
html body:not(.admin-body):not(.admin-login-body) a,
html body:not(.admin-body):not(.admin-login-body) button,
html body:not(.admin-body):not(.admin-login-body) select,
html body:not(.admin-body):not(.admin-login-body) label,
html body:not(.admin-body):not(.admin-login-body) summary,
html body:not(.admin-body):not(.admin-login-body) [role="button"] { cursor: pointer !important; }
input:focus, select:focus, textarea:focus { transform: none !important; }

/* ---------- type ---------- */
h1, h2 { font-weight: 500; letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font-body); }
.headline-gradient, .highlight { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--primary) !important; }

/* labels: sentence case, no wide tracking, no mono */
.hero-tagline, .hero-badge, .service-hero-badge, .breadcrumbs, .stat-label, .blog-card-category,
.track-step, .process-panel-num, .framework-tag, .trust-badge, .nav-cta {
  font-family: var(--font-body) !important; text-transform: none !important; letter-spacing: .01em !important;
}
.breadcrumbs { justify-content: flex-start; font-size: .9375rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 .9375rem/1.3 var(--font-body);
  text-transform: none; letter-spacing: .01em; color: var(--primary); margin-bottom: .75rem;
}
.section-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand-cyan); }
.section-header { text-align: left; margin-left: 0; margin-right: auto; margin-bottom: 3rem; max-width: 760px; }
.section-header p { margin-left: 0; margin-right: 0; }

/* ---------- hero banners on inner pages ---------- */
.page-header, .service-hero { background: var(--gradient-hero); position: relative; overflow: hidden; }
.page-header::before, .page-header::after, .service-hero::before, .service-hero::after { display: none !important; }
.page-header, .page-header .container { text-align: left; }
.page-header p { margin-left: 0; margin-right: 0; }
.service-hero-badge, .hero-badge { background: var(--tint-100); border: 1px solid var(--tint-200); color: var(--primary); }

/* ---------- cards: white, flat, a coloured top edge ---------- */
.service-card, .offering-card, .blog-card, .ind-card, .pricing-card, .product-card, .value-card, .team-card, .feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none !important;
}
.service-card, .offering-card, .value-card, .feature-card { border-top: 3px solid var(--brand-cyan); }
.service-card:nth-child(even), .offering-card:nth-child(even), .value-card:nth-child(even), .feature-card:nth-child(even) { border-top-color: var(--brand-blue); }
.service-card:hover, .offering-card:hover, .blog-card:hover, .product-card:hover { box-shadow: 0 6px 18px rgba(var(--primary-rgb), .14); border-color: var(--tint-200); transform: none !important; }
.service-icon { background: var(--tint-100); border: 0; border-radius: 10px; color: var(--primary); }
.service-card:nth-child(even) .service-icon { background: var(--cyan-100); color: var(--cyan-text); }
.feature-item { border-left: 3px solid var(--brand-cyan); }
.framework-tag { background: var(--tint-50); border: 1px solid var(--tint-200); color: var(--ink); border-radius: 999px; }
.card-link { color: var(--primary); font-weight: 600; }

/* ---------- stats ---------- */
.stat-item { transform: none !important; box-shadow: none !important; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); border-top: 3px solid var(--brand-cyan); }
.stat-item::before { display: none !important; }
.stat-item:nth-child(even) { border-top-color: var(--brand-blue); }
.stat-value { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--primary) !important; font-family: var(--font-heading); }

/* ---------- buttons ---------- */
.btn { border-radius: var(--radius-md); font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; box-shadow: none; }
.btn::after, .btn-primary::after, .nav-cta::after { display: none !important; }
.btn-primary { background: var(--primary); color: #fff; border: 1.5px solid transparent; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: none; box-shadow: none; }
.btn-secondary { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; transform: none; }

/* ---------- closing call to action ---------- */
.cta-section { background: var(--white); border: 1px solid var(--tint-200); border-left: 6px solid var(--primary); border-radius: var(--radius-lg); text-align: left; box-shadow: 0 10px 28px rgba(var(--primary-rgb), .12); }
.cta-section::before, .cta-section::after { display: none !important; }
.cta-section p { margin-left: 0; margin-right: 0; }

/* ---------- inner-page spacing under the fixed header ---------- */
.list-checked li::before { color: var(--primary); }

/* ---------- filter pills (were styled by the admin stylesheet) ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.filter-pill { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--tint-200); background: var(--white); color: var(--ink); font: 500 .9375rem/1.2 var(--font-body); cursor: pointer; transform: none; box-shadow: none; }
.filter-pill:hover { background: var(--tint-50); transform: none; box-shadow: none; }
.filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* ---------- cover tiles: gradients come from the database and were dark, so always light ---------- */
.product-cover, .product-cover-large, .consultation-cover, .consultation-hero-strip, .blog-card-image, .full-bleed-hero-placeholder {
  background: linear-gradient(135deg, var(--tint-100), var(--cyan-100)) !important;
}
.product-cover i, .product-cover-large i, .consultation-cover i, .blog-card-image i, .full-bleed-hero-placeholder i { color: var(--primary); }
