/* OnlyCheck v20 — Professional visual system
   Concept: Trust · Privacy · Clarity
   Each section has its own atmosphere while sharing one coherent language.
*/

:root {
  --oc-blue: #2b5ce6;
  --oc-ink: #0f1c33;
  --oc-navy: #152238;
  --oc-soft: #f4f7fc;
  --oc-line: rgba(43, 92, 180, 0.14);
}

html { scroll-behavior: smooth; }

body {
  background: #f8fafc;
  color: #1e293b;
}

/* ── Shared section shell ─────────────────────────────────── */
main > section,
body > section,
section[data-oc-section],
section#verification-types,
section#verification-request,
section#developers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: box-shadow 0.65s ease, background-color 0.65s ease;
}

section.oc-v19 {
  --mx: 50%;
  --my: 50%;
  --accent: 67, 117, 239;
  background-image:
    radial-gradient(ellipse 72% 90% at 92% 8%, rgba(var(--accent), 0.16), transparent 68%),
    radial-gradient(ellipse 58% 80% at 4% 96%, rgba(var(--accent), 0.09), transparent 72%),
    linear-gradient(145deg, var(--bg1), var(--bg2)) !important;
  border-bottom: 1px solid rgba(80, 119, 192, 0.12) !important;
}

section.oc-v19::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(var(--accent), 0.11),
    transparent 72%
  );
  transition: opacity 0.4s ease;
}

section.oc-v19::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(92%, 1180px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--accent), 0.32),
    transparent
  );
  pointer-events: none;
}

section.oc-v19 > *:not(.oc-motion-field) {
  position: relative;
  z-index: 2;
}

section.oc-v19 .oc-motion-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.6s ease;
}

/* Floating particles */
.oc-spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--sz);
  height: var(--sz);
  border-radius: 50%;
  background: rgba(var(--accent), 0.55);
  box-shadow: 0 0 14px 3px rgba(var(--accent), 0.18);
  animation: oc-drift var(--dur) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.oc-spark:nth-child(3n) {
  border: 1px solid rgba(var(--accent), 0.5);
  background: transparent;
  width: calc(var(--sz) * 2.1);
  height: calc(var(--sz) * 2.1);
}

.oc-light-trail {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent), 0.16);
  left: var(--x);
  top: var(--y);
  animation: oc-orbit var(--dur) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.oc-light-trail::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 14%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(var(--accent), 0.75);
  box-shadow: 0 0 14px rgba(var(--accent), 0.55);
}

@keyframes oc-drift {
  0%   { transform: translate3d(-10px, 12px, 0); opacity: 0.28; }
  100% { transform: translate3d(22px, -28px, 0); opacity: 0.95; }
}

@keyframes oc-orbit {
  from { transform: translate3d(-18px, 10px, 0) rotate(-10deg); }
  to   { transform: translate3d(28px, -16px, 0) rotate(18deg); }
}

section.oc-v19.oc-current {
  box-shadow: inset 0 3px 0 rgba(var(--accent), 0.48);
}

section.oc-v19.oc-current .oc-motion-field {
  opacity: 0.85;
}

section.oc-v19 .max-w-7xl {
  position: relative;
  z-index: 2;
}

section.oc-v19 .rounded-xl,
section.oc-v19 .rounded-2xl,
section.oc-v19 .rounded-3xl {
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

section.oc-v19 .rounded-xl:hover,
section.oc-v19 .rounded-2xl:hover {
  transform: translateY(-3px);
}

/* ── Section-specific atmospheres (cohesive palette) ──────── */
/* Hero remains in style.css atmosphere; these are content sections */

#verification-types {
  --bg1: #f3f7ff;
  --bg2: #e8f0fe;
  --accent: 59, 110, 235;   /* clear verification blue */
}

#verification-request {
  --bg1: #eef9f7;
  --bg2: #e0f3f1;
  --accent: 16, 148, 142;   /* teal — trust / request */
}

#directory {
  --bg1: #f2f4ff;
  --bg2: #e6eaff;
  --accent: 88, 98, 220;    /* indigo discovery */
}

#solutions {
  --bg1: #fff9f4;
  --bg2: #f7eee6;
  --accent: 210, 132, 72;   /* warm amber — product lines */
}

#features {
  --bg1: #f0f7ff;
  --bg2: #e6f1fb;
  --accent: 55, 130, 200;   /* sky capability */
}

#how-it-works {
  --bg1: #f6f4ff;
  --bg2: #ece8ff;
  --accent: 118, 88, 210;   /* violet process */
}

#certificate {
  --bg1: #e9f2ff;
  --bg2: #f3f6ff;
  --accent: 55, 100, 220;   /* certificate blue */
}

#privacy {
  --bg1: #ecf9f6;
  --bg2: #dff2ef;
  --accent: 28, 150, 136;   /* privacy teal */
}

#developers {
  --bg1: #eef3ff;
  --bg2: #dce6ff;
  --accent: 55, 95, 215;
  color: #1a2a44 !important;
}

#register {
  --bg1: #f7f5ff;
  --bg2: #ebe9ff;
  --accent: 110, 85, 210;
  color: #1a2a44 !important;
}

.oc-hero {
  --bg1: #f3f7ff;
  --bg2: #e6efff;
  --accent: 55, 105, 235;
}

/* Developers & Register text contrast fixes */
#developers h2,
#developers p,
#developers span,
#register h2,
#register p {
  color: inherit;
}

#developers .text-slate-300,
#register .text-slate-300 {
  color: #4d6282 !important;
}

#developers .text-white,
#register .text-white {
  color: #152844 !important;
}

#developers pre,
#developers code,
#developers .bg-slate-950,
#developers .bg-slate-900,
#developers .bg-slate-800 {
  color: #e8eefc !important;
}

#developers .bg-slate-900 *,
#developers .bg-slate-950 *,
#developers pre *,
#developers code * {
  color: inherit;
}

#register input {
  color: white;
}

/* ── Certificate section polish ───────────────────────────── */
#certificate > .max-w-7xl > div:not(.oc-cert-stage) {
  background: linear-gradient(150deg, #ffffff, #eef4ff) !important;
  color: #1a2b48 !important;
  border: 1px solid #c9daf7;
  box-shadow: 0 22px 55px rgba(40, 80, 160, 0.12) !important;
}

#certificate h2 {
  color: #132a54 !important;
}

#certificate .text-slate-300,
#certificate .text-slate-200 {
  color: #4d5f7c !important;
}

#certificate .text-brand-400 {
  color: #3460d4 !important;
}

#certificate .grid.lg\:grid-cols-12 {
  align-items: stretch;
}

#certificate .lg\:col-span-7 {
  grid-column: span 12 / span 12;
}

#certificate .lg\:col-span-5 {
  grid-column: span 12 / span 12;
  justify-content: stretch;
}

#certificate .lg\:col-span-5 > div:not(.oc-cert-card-inner) {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  text-align: left;
  background: #fff !important;
  border: 1px solid #d8e4f6 !important;
  padding: 22px 26px !important;
}

#certificate .lg\:col-span-5 .w-20 {
  flex: none;
  margin: 0 !important;
  background: linear-gradient(135deg, #2869ef, #7a52ef) !important;
}

#certificate .lg\:col-span-5 .text-white {
  color: #1e3355 !important;
}

#certificate .lg\:col-span-5 .text-slate-300 {
  color: #627496 !important;
}

#certificate .lg\:col-span-5 .font-mono {
  margin-left: auto;
  color: #14765a !important;
  background: #e0f6ed !important;
  border-color: #b2e4cf !important;
  white-space: nowrap;
}

#certificate .lg\:col-span-12 {
  background: #f7faff !important;
  border: 1px solid #d5e1f5 !important;
  color: #20355a !important;
  margin-top: 0 !important;
}

#certificate .lg\:col-span-12 label {
  color: #20355a !important;
}

#certificate #verify-code {
  border: 1px solid #c6d6ef;
  background: #ffffff !important;
}

#certificate #verify-result {
  color: #233858 !important;
  background: #eef4ff !important;
}

#certificate .fa-square-check {
  color: #12a87f !important;
}

#certificate .oc-certificate-button {
  background: #285fee !important;
  color: #fff !important;
  border: 1px solid #285fee !important;
  box-shadow: 0 6px 16px rgba(40, 95, 238, 0.16);
  white-space: nowrap;
}

#certificate .oc-certificate-button:hover {
  background: #1a4dcd !important;
}

/* ── Action buttons & badges ──────────────────────────────── */
.oc-demo-badge {
  position: relative;
  margin: 0 0 14px auto;
  width: max-content;
  max-width: 100%;
  z-index: 1;
}

.oc-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #2150c0;
  border: 1px solid #c4d5f8;
  box-shadow: 0 5px 14px rgba(35, 85, 180, 0.07);
  transition: 0.22s ease;
}

.oc-secondary-action:hover {
  background: #edf3ff;
  border-color: #8aabf6;
  box-shadow: 0 8px 20px rgba(35, 85, 180, 0.1);
}

.oc-header-action {
  background: #e8f0ff;
  border: 1px solid #c8daf9;
  transition: 0.22s ease;
}

.oc-header-action:hover {
  background: #d8e7ff;
}

/* Developers JSON panel — light professional */
#developers .oc-json-panel {
  background: #ffffff !important;
  border-color: #d4deee !important;
  color: #1e293b !important;
}

#developers .oc-json-panel pre,
#developers .oc-json-panel code,
#developers .oc-json-panel pre * {
  color: #111827 !important;
  background: transparent !important;
}

#developers .oc-json-panel .text-amber-300 {
  color: #8a580d !important;
  border-color: #e6d4a8 !important;
  background: #fff8e6;
}

/* ── Hero atmosphere refinement (works with style.css) ────── */
.oc-hero {
  isolation: isolate;
}

/* ── Responsive & accessibility ───────────────────────────── */
@media (max-width: 767px) {
  section.oc-v19 {
    background-image: linear-gradient(145deg, var(--bg1), var(--bg2)) !important;
  }
  section.oc-v19 .oc-motion-field {
    opacity: 0.38;
  }
  #certificate .lg\:col-span-5 > div:not(.oc-cert-card-inner) {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px !important;
  }
  #certificate .lg\:col-span-5 .font-mono {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  #certificate > .max-w-7xl > div:not(.oc-cert-stage) {
    padding: 24px !important;
  }
}

@media (max-width: 640px) {
  .oc-demo-badge {
    margin: 0 auto 14px;
  }
  #certificate .oc-certificate-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oc-spark,
  .oc-light-trail {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Subtle depth for cards across sections */
section.oc-v19 .bg-white,
section.oc-v19 .glass-panel {
  box-shadow: 0 4px 24px rgba(25, 45, 90, 0.04);
}

section.oc-v19 .bg-white:hover,
section.oc-v19 .glass-panel:hover {
  box-shadow: 0 12px 36px rgba(25, 45, 90, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   Certificate stage — premium credential presentation
   ═══════════════════════════════════════════════════════════ */

#certificate {
  --bg1: #eef3ff;
  --bg2: #f5f8ff;
  --accent: 55, 100, 220;
}

.oc-cert-stage {
  position: relative;
  isolation: isolate;
  border-radius: 1.75rem;
  padding: 2rem 1.5rem 1.75rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59, 110, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 90%, rgba(124, 92, 220, 0.10), transparent 50%),
    linear-gradient(160deg, #f7f9ff 0%, #eef3ff 50%, #f4f7ff 100%);
  border: 1px solid rgba(80, 120, 200, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 60px rgba(40, 80, 160, 0.08);
  overflow: hidden;
}

@media (min-width: 640px) {
  .oc-cert-stage { padding: 2.75rem 2.5rem 2.25rem; }
}

.oc-cert-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.oc-cert-glow-a {
  width: 280px; height: 280px;
  top: -80px; right: -40px;
  background: rgba(99, 130, 250, 0.35);
}
.oc-cert-glow-b {
  width: 220px; height: 220px;
  bottom: -60px; left: -30px;
  background: rgba(130, 100, 230, 0.28);
}

.oc-cert-stage > .grid { position: relative; z-index: 1; }

.oc-cert-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3b6adf;
  background: rgba(59, 106, 223, 0.08);
  border: 1px solid rgba(59, 106, 223, 0.18);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Check chips */
.oc-cert-checks { margin-top: 0.25rem; }

.oc-cert-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(200, 215, 245, 0.9);
  box-shadow: 0 2px 8px rgba(40, 70, 140, 0.04);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e3355;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.oc-cert-check i {
  color: #12a87f;
  font-size: 1rem;
  flex-shrink: 0;
}
.oc-cert-check:hover {
  transform: translateY(-2px);
  border-color: #a8c4f5;
  box-shadow: 0 8px 20px rgba(40, 90, 180, 0.08);
}

/* ── Physical certificate card ───────────────────────────── */
.oc-cert-card {
  width: 100%;
  max-width: 320px;
  perspective: 900px;
}

.oc-cert-card-inner {
  position: relative;
  background:
    linear-gradient(145deg, #ffffff 0%, #f4f7ff 45%, #eef2ff 100%);
  border-radius: 1.35rem;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid rgba(120, 150, 220, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 50px rgba(35, 70, 150, 0.14),
    0 4px 12px rgba(35, 70, 150, 0.06);
  text-align: center;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .oc-cert-card:hover .oc-cert-card-inner {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 28px 60px rgba(35, 70, 150, 0.18),
      0 8px 20px rgba(35, 70, 150, 0.08);
  }
}

/* Corner ribbon */
.oc-cert-ribbon {
  position: absolute;
  top: 14px;
  right: -28px;
  width: 110px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.28rem 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(180, 100, 0, 0.25);
  z-index: 3;
}

/* Seal with concentric rings */
.oc-cert-seal {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0.5rem auto 1.1rem;
}

.oc-cert-seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(59, 110, 235, 0.35);
  animation: oc-seal-spin 28s linear infinite;
}

.oc-cert-seal-core {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b6adf 0%, #5b4de8 55%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.85rem;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgba(59, 110, 235, 0.2),
    0 12px 28px rgba(59, 90, 200, 0.35);
}

@keyframes oc-seal-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.oc-cert-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #152844;
  letter-spacing: -0.02em;
}

.oc-cert-sub {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.oc-cert-divider {
  height: 1px;
  margin: 1.1rem 0 0.9rem;
  background: linear-gradient(90deg, transparent, rgba(100, 130, 200, 0.35), transparent);
}

.oc-cert-meta { display: flex; justify-content: center; }

.oc-cert-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0d7a5f;
  background: linear-gradient(135deg, #e0f7ef, #d1f0e4);
  border: 1px solid #a8e0cb;
  padding: 0.4rem 0.85rem;
  border-radius: 0.55rem;
}

/* Subtle foil shimmer overlay */
.oc-cert-foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(180, 200, 255, 0.12) 52%,
    transparent 65%
  );
  background-size: 220% 100%;
  animation: oc-foil 7s ease-in-out infinite alternate;
  opacity: 0.55;
  border-radius: inherit;
  mix-blend-mode: soft-light;
}

@keyframes oc-foil {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* Lookup bar */
.oc-cert-lookup {
  margin-top: 0.25rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(180, 200, 235, 0.7);
  border-radius: 1.15rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 28px rgba(40, 70, 140, 0.06);
}

.oc-cert-input {
  border: 1.5px solid #c8d6ef;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: #1e293b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.oc-cert-input:focus {
  border-color: #3b6adf;
  box-shadow: 0 0 0 3px rgba(59, 106, 223, 0.15);
}
.oc-cert-input::placeholder { color: #94a3b8; letter-spacing: 0.08em; }

.oc-cert-lookup-btn {
  background: linear-gradient(135deg, #2b5ce6, #4f46e5) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0.75rem;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 8px 20px rgba(43, 92, 230, 0.28);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.oc-cert-lookup-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(43, 92, 230, 0.35);
  transform: translateY(-1px);
}

/* Kill old certificate light overrides that flattened the design */
#certificate > .max-w-7xl > div:not(.oc-cert-stage) { all: unset; }
#certificate .lg\:col-span-5 > div:not(.oc-cert-card-inner) { all: unset; }

@media (max-width: 767px) {
  .oc-cert-stage { padding: 1.5rem 1.1rem 1.35rem; border-radius: 1.35rem; }
  .oc-cert-card { max-width: 100%; }
  .oc-cert-lookup-btn { width: 100%; justify-content: center; }
  .oc-cert-seal-ring { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .oc-cert-seal-ring,
  .oc-cert-foil { animation: none !important; }
}

/* v23: certificate two-column composition and expanded footer */
@media(min-width:1024px){#certificate .oc-cert-stage > .grid{align-items:stretch}#certificate .oc-cert-stage .lg\:col-span-7{min-width:0}#certificate .oc-cert-stage .lg\:col-span-5{align-self:stretch}#certificate .oc-cert-card{height:100%;display:flex;align-items:center;justify-content:center}#certificate .oc-cert-card-inner{width:100%}}
#certificate .oc-cert-lookup{margin-top:1.5rem}#certificate .oc-cert-lookup .flex-1{min-width:0}
.oc-footer{background:linear-gradient(145deg,#fff,#f4f7ff)}.oc-footer-title{font-size:.88rem;font-weight:800;color:#172b4d;margin-bottom:1.1rem}.oc-footer-links{display:flex;flex-direction:column;gap:.8rem}.oc-footer-links a{font-size:.85rem;color:#64748b;text-decoration:none}.oc-footer-links a:hover{color:#2563eb}.oc-social{width:39px;height:39px;border:1px solid #dbe4f3;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#52627c;background:#fff}.oc-payment{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid #dbe4f3;border-radius:10px;background:#fff;font-size:12px;font-weight:900;letter-spacing:.04em;color:#163e8c}.oc-mastercard{color:#374151;letter-spacing:0}.oc-mc-circles{display:inline-flex}.oc-mc-circles b{display:block;width:17px;height:17px;border-radius:50%;background:#ea001b}.oc-mc-circles b+b{background:#f79e1b;margin-left:-7px;opacity:.9}
    .oc-certificate-section {
      background: #f4f7fc;
      color: #172b4d;
      isolation: isolate;
    }

    .oc-certificate-section *,
    .oc-certificate-section *::before,
    .oc-certificate-section *::after {
      box-sizing: border-box;
    }

    .oc-cert-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    .oc-cert-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #3263db;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .oc-cert-heading {
      margin: 14px 0 12px;
      font-size: clamp(28px, 3.5vw, 42px);
      line-height: 1.17;
      font-weight: 800;
      letter-spacing: -1.2px;
      color: #15294c;
    }

    .oc-cert-description {
      color: #61718b;
      font-size: 15px;
      line-height: 1.8;
      max-width: 760px;
    }

    .oc-cert-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
      gap: 22px;
      align-items: stretch;
      margin-top: 34px;
    }

    .oc-cert-panel {
      background: #ffffff;
      border: 1px solid #dce5f4;
      border-radius: 22px;
      padding: 30px;
      box-shadow: 0 8px 32px rgba(24, 50, 100, 0.035);
    }

    .oc-cert-panel-title {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 28px;
    }

    .oc-cert-panel-icon {
      width: 52px;
      height: 52px;
      border-radius: 15px;
      background: #eaf1ff;
      color: #315eea;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 23px;
      flex-shrink: 0;
    }

    .oc-cert-panel-title h3 {
      font-size: 19px;
      font-weight: 800;
      color: #172b4d;
      margin: 0;
    }

    .oc-cert-panel-title p {
      font-size: 12px;
      color: #73829b;
      margin: 5px 0 0;
    }

    .oc-cert-checks {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .oc-cert-check {
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 16px 14px;
      border-radius: 12px;
      background: #f8faff;
      border: 1px solid #edf1f8;
      font-size: 13px;
      font-weight: 600;
      color: #30415d;
      min-width: 0;
    }

    .oc-cert-check i {
      color: #13a87a;
      font-size: 17px;
      flex-shrink: 0;
    }

    .oc-cert-check span {
      overflow-wrap: anywhere;
    }

    .oc-cert-note {
      margin-top: 25px;
      padding: 15px 17px;
      background: #f2f6ff;
      border: 1px solid #e3eafa;
      border-radius: 12px;
      color: #657692;
      font-size: 12px;
      line-height: 1.7;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .oc-cert-note i {
      color: #3869e7;
      margin-top: 3px;
    }

    /* Certificate card */

    .oc-cert-seal-panel {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      justify-content: center;
      position: relative;
    }

    .oc-cert-seal {
      width: 94px;
      height: 94px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #2869f0, #7250ef);
      color: #ffffff;
      font-size: 39px;
      box-shadow: 0 12px 25px rgba(62, 91, 228, 0.2);
      margin-bottom: 21px;
    }

    .oc-cert-seal-name {
      font-size: 22px;
      font-weight: 800;
      color: #172b4d;
      letter-spacing: -0.5px;
    }

    .oc-cert-demo {
      margin-top: 13px;
      padding: 8px 15px;
      background: #f0f3f8;
      border: 1px solid #e0e6f0;
      color: #5e6d83;
      border-radius: 30px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 1px;
    }

    .oc-cert-qr {
      margin-top: 22px;
      width: 112px;
      height: 112px;
      background: #f4f7fc;
      border: 1px solid #e5eaf4;
      border-radius: 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .oc-cert-qr i {
      font-size: 52px;
      color: #304d7d;
    }

    .oc-cert-qr span {
      font-size: 9px;
      color: #71809a;
    }

    .oc-cert-seal-description {
      margin-top: 17px;
      color: #71809a;
      font-size: 12px;
      line-height: 1.7;
      max-width: 280px;
    }

    /* Lookup */

    .oc-cert-lookup {
      margin-top: 22px;
      background: #ffffff;
      border: 1px solid #dce5f4;
      border-radius: 20px;
      padding: 28px 30px;
      box-shadow: 0 8px 32px rgba(24, 50, 100, 0.025);
    }

    .oc-cert-lookup-title {
      display: flex;
      align-items: center;
      gap: 11px;
      font-size: 17px;
      font-weight: 800;
      color: #172b4d;
      margin-bottom: 8px;
    }

    .oc-cert-lookup-title i {
      color: #315eea;
    }

    .oc-cert-lookup-description {
      font-size: 13px;
      color: #70819a;
      margin-bottom: 20px;
    }

    .oc-cert-lookup-form {
      display: flex;
      align-items: stretch;
      gap: 12px;
    }

    .oc-cert-lookup-input {
      flex: 1;
      min-width: 0;
      height: 52px;
      padding: 0 17px;
      background: #f9fbff;
      border: 1px solid #dce5f4;
      border-radius: 12px;
      color: #172b4d;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .oc-cert-lookup-input:focus {
      border-color: #315eea;
      box-shadow: 0 0 0 3px rgba(49, 94, 234, 0.1);
    }

    .oc-cert-lookup-button {
      height: 52px;
      padding: 0 25px;
      background: #315eea;
      border: 1px solid #315eea;
      border-radius: 12px;
      color: #ffffff;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      white-space: nowrap;
      transition: background 0.2s, transform 0.2s;
    }

    .oc-cert-lookup-button:hover {
      background: #244dcb;
      transform: translateY(-1px);
    }

    .oc-cert-lookup-button:focus-visible {
      outline: 3px solid rgba(49, 94, 234, 0.3);
      outline-offset: 3px;
    }

    .oc-cert-lookup-footer {
      margin-top: 13px;
      font-size: 11px;
      color: #8390a5;
      display: flex;
      align-items: center;
      gap: 7px;
    }

    #certificate #verify-result {
      margin-top: 18px;
      padding: 16px;
      border-radius: 12px;
      font-size: 13px;
      line-height: 1.6;
      background: #f4f7fc;
      color: #30415d;
    }

    #certificate #verify-result.hidden {
      display: none;
    }

    @media (max-width: 900px) {
      .oc-cert-grid {
        grid-template-columns: 1fr;
      }

      .oc-cert-seal-panel {
        padding: 35px 24px;
      }
    }

    @media (max-width: 640px) {
      .oc-cert-container {
        padding: 0 16px;
      }

      .oc-cert-panel,
      .oc-cert-lookup {
        padding: 22px 18px;
        border-radius: 17px;
      }

      .oc-cert-checks {
        grid-template-columns: 1fr;
        gap: 9px;
      }

      .oc-cert-check {
        padding: 13px;
      }

      .oc-cert-lookup-form {
        flex-direction: column;
      }

      .oc-cert-lookup-button {
        width: 100%;
      }

      .oc-cert-heading {
        letter-spacing: -0.6px;
      }
    }