/* ================================================================
   UnisealCR — design-system.css  (v20260616)
   Unified visual language for all page components.
   Load order: style.css → shared.css → design-system.css → responsive-full.css
   ================================================================ */

/* ── Design tokens ── */
:root {
  --ucr-brand:       #0b5cff;
  --ucr-brand-dark:  #0047e8;
  --ucr-black:       #000000;
  --ucr-text:        #0f172a;
  --ucr-text-muted:  #475569;
  --ucr-surface:     #ffffff;
  --ucr-surface-alt: #f8fafc;
  --ucr-border:      rgba(0, 0, 0, 0.08);
  --ucr-shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.06);
  --ucr-shadow-md:   0 8px 32px rgba(0, 0, 0, 0.09);
  --ucr-shadow-lg:   0 18px 48px rgba(0, 0, 0, 0.12);
  --ucr-radius-sm:   12px;
  --ucr-radius-md:   18px;
  --ucr-radius-lg:   24px;
  /* Logo gradient colors */
  --ucr-logo-from:   #b264a8;
  --ucr-logo-to:     #4c7cbf;
  --ucr-logo-grad:   linear-gradient(120deg, #b264a8 0%, #4c7cbf 100%);
}
html[data-theme="dark"] {
  --ucr-text:        #e5e7eb;
  --ucr-text-muted:  #94a3b8;
  --ucr-surface:     #111827;
  --ucr-surface-alt: #0b1220;
  --ucr-border:      rgba(255, 255, 255, 0.10);
  --ucr-shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.3);
  --ucr-shadow-md:   0 8px 32px rgba(0, 0, 0, 0.4);
  --ucr-shadow-lg:   0 18px 48px rgba(0, 0, 0, 0.5);
}

/* ── Base text ── */
body { color: var(--ucr-text); background: var(--ucr-surface); }

/* ================================================================
   HERO TEXT BELOW
   ================================================================ */
.hero-text-below {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: var(--ucr-surface);
  text-align: center;
}
.hero-text-below .container {
  width: 100%;
}
.hero-text-below .hero-title,
.chotam-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin: 0 0 18px;
  line-height: 1.15;
  /* Logo gradient: purple → steel blue */
  background: linear-gradient(120deg, #b264a8 0%, #4c7cbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-text-below .hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ucr-text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================================
   SECTION VARIANTS
   ================================================================ */
.section { padding: 72px 0; background: var(--ucr-surface); }
.section-alt { background: var(--ucr-surface-alt) !important; }

.section--dark {
  background: #0f172a !important;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}
.section--dark h2,
.section--dark p { color: #ffffff !important; }
html[data-theme="dark"] .section--dark { background: #020617 !important; }

.section--center { text-align: center; }

.section-header { margin-bottom: 48px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--ucr-text);
  margin: 0 0 12px;
  line-height: 1.15;
}
.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ucr-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ================================================================
   BASE CARD
   ================================================================ */
.ucr-card,
.solution-card,
.layer-card,
.threat-item,
.aud-card,
.feature-card {
  background: var(--ucr-surface);
  border: 1px solid var(--ucr-border);
  border-radius: var(--ucr-radius-md);
  padding: 28px;
  box-shadow: var(--ucr-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ucr-card:hover,
.solution-card:hover,
.layer-card:hover,
.threat-item:hover,
.aud-card:hover,
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ucr-shadow-md);
  border-color: rgba(11, 92, 255, 0.25);
}

/* ================================================================
   ICON BOX  (.ucr-icon)
   ================================================================ */
.ucr-icon,
.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--ucr-radius-sm);
  font-size: 1.35rem;
  flex-shrink: 0;
  /* Default: brand blue */
  background: rgba(11, 92, 255, 0.10) !important;
  color: var(--ucr-brand) !important;
}
html[data-theme="dark"] .ucr-icon,
html[data-theme="dark"] .solution-icon {
  background: rgba(11, 92, 255, 0.20) !important;
  color: #60a5fa !important;
}

/* ================================================================
   SOLUTION CARD  (solutions.html)
   ================================================================ */
.solution-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.solution-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ucr-text);
  line-height: 1.3;
}
.solution-body { display: flex; flex-direction: column; gap: 10px; }

.pain-point {
  background: #fff4f4;
  border-left: 3px solid #ef4444;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #7f1d1d;
  line-height: 1.5;
}
html[data-theme="dark"] .pain-point {
  background: rgba(239,68,68,0.12);
  color: #fca5a5;
  border-left-color: #ef4444;
}

.solution-point {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #14532d;
  line-height: 1.5;
}
html[data-theme="dark"] .solution-point {
  background: rgba(34,197,94,0.12);
  color: #86efac;
  border-left-color: #22c55e;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ucr-text-muted);
}
.feature-list li .fas.fa-check {
  color: #22c55e;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.industry-section { margin-top: 52px; }
.industry-section:first-child { margin-top: 0; }

/* ================================================================
   LAYER CARD  (security.html — "layers-container")
   ================================================================ */
.layers-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.layer-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ucr-text);
}
.layer-card p {
  margin: 8px 0 0;
  color: var(--ucr-text-muted);
  line-height: 1.65;
  font-size: 0.97rem;
}
/* Colorful icon boxes inside layer-card */
.layer-card [style*="background: #e0e7ff"] {
  background: rgba(99,102,241,0.12) !important;
  color: #6366f1 !important;
  border-radius: 10px !important;
}
.layer-card [style*="background: #dcfce7"] {
  background: rgba(34,197,94,0.12) !important;
  color: #16a34a !important;
  border-radius: 10px !important;
}
.layer-card [style*="background: #ffedd5"] {
  background: rgba(249,115,22,0.12) !important;
  color: #ea580c !important;
  border-radius: 10px !important;
}
html[data-theme="dark"] .layer-card [style*="background: #e0e7ff"] {
  background: rgba(99,102,241,0.20) !important;
  color: #a5b4fc !important;
}
html[data-theme="dark"] .layer-card [style*="background: #dcfce7"] {
  background: rgba(34,197,94,0.20) !important;
  color: #86efac !important;
}
html[data-theme="dark"] .layer-card [style*="background: #ffedd5"] {
  background: rgba(249,115,22,0.20) !important;
  color: #fdba74 !important;
}

/* ================================================================
   THREAT GRID  (security.html)
   ================================================================ */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px,100%), 1fr));
  gap: 20px;
}
.threat-header {
  font-weight: 900;
  font-size: 1rem;
  color: var(--ucr-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.threat-header .fas {
  color: #ef4444;
  font-size: 1rem;
}
.threat-item p {
  color: var(--ucr-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 12px;
}
.threat-solution {
  background: rgba(11,92,255,0.06);
  border: 1px solid rgba(11,92,255,0.14);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--ucr-brand);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
html[data-theme="dark"] .threat-solution {
  background: rgba(11,92,255,0.15);
  border-color: rgba(11,92,255,0.3);
  color: #93c5fd;
}

/* ================================================================
   AUDIENCE CARDS  (index.php)
   ================================================================ */
.aud-card {
  border-radius: var(--ucr-radius-md);
  padding: 28px;
  background: var(--ucr-surface);
}
.aud-card__icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.aud-card h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 800; color: var(--ucr-text); }
.aud-card p { margin: 0 0 14px; color: var(--ucr-text-muted); line-height: 1.6; font-size: 0.95rem; }
.aud-card__link {
  color: var(--ucr-brand);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.aud-card__link:hover { text-decoration: underline; }
html[data-theme="dark"] .aud-card h3 { color: #f1f5f9; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ucr-brand);
  color: #ffffff !important;
  border-color: var(--ucr-brand);
  box-shadow: 0 4px 16px rgba(11,92,255,0.28);
}
.btn-primary:hover {
  background: var(--ucr-brand-dark);
  border-color: var(--ucr-brand-dark);
  box-shadow: 0 6px 22px rgba(11,92,255,0.38);
}

.btn-outline,
.btn-force-black {
  background: transparent;
  color: var(--ucr-text) !important;
  border-color: var(--ucr-text) !important;
}
.btn-outline:hover,
.btn-force-black:hover {
  background: var(--ucr-text) !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .btn-force-black {
  color: #e5e7eb !important;
  border-color: #e5e7eb !important;
}
html[data-theme="dark"] .btn-outline:hover,
html[data-theme="dark"] .btn-force-black:hover {
  background: #e5e7eb !important;
  color: #0f172a !important;
}

.btn-large { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }
.btn-small { padding: 8px 16px; font-size: 0.88rem; border-radius: 8px; }

/* Contact button in nav */
.nav-menu .btn-small {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
.nav-menu .btn-small:hover {
  background: #333 !important;
  border-color: #333 !important;
}
html[data-theme="dark"] .nav-menu .btn-small {
  background: var(--ucr-brand) !important;
  border-color: var(--ucr-brand) !important;
  color: #fff !important;
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-accordion details {
  background: var(--ucr-surface);
  border: 1px solid var(--ucr-border);
  border-radius: var(--ucr-radius-sm);
  padding: 16px 20px;
  transition: border-color 0.2s ease;
}
.faq-accordion details[open] {
  border-color: rgba(11,92,255,0.3);
  box-shadow: var(--ucr-shadow-sm);
}
.faq-accordion summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
  color: var(--ucr-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ucr-brand);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-accordion details[open] summary::after { content: '−'; }
.faq-body {
  padding-top: 12px;
  color: var(--ucr-text-muted);
  line-height: 1.7;
  font-size: 0.96rem;
}
html[data-theme="dark"] .faq-accordion details { background: #111827; }
html[data-theme="dark"] .faq-accordion summary { color: #f1f5f9; }
html[data-theme="dark"] .faq-body { color: #94a3b8; }

/* ================================================================
   BADGE PILL
   ================================================================ */
.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(11,92,255,0.08);
  color: var(--ucr-brand);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(11,92,255,0.18);
  letter-spacing: 0.03em;
}
html[data-theme="dark"] .badge-pill {
  background: rgba(11,92,255,0.18);
  color: #93c5fd;
  border-color: rgba(11,92,255,0.35);
}

/* ================================================================
   MEDIA / IMAGES
   ================================================================ */
.content-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--ucr-radius-md);
  box-shadow: var(--ucr-shadow-md);
  display: block;
  margin: 0 auto;
}
.media-block { margin-top: 32px; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--ucr-surface-alt);
  border-top: 1px solid var(--ucr-border);
  padding: 72px 0 28px;
  margin-top: 60px;
}
.footer-section h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ucr-text);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--ucr-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ucr-brand); }
.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--ucr-text-muted);
  font-size: 0.92rem;
}
.footer-line a { color: var(--ucr-text-muted); text-decoration: none; }
.footer-line a:hover { color: var(--ucr-brand); }
.footer-bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ucr-border);
  color: var(--ucr-text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ================================================================
   SKIP LINK (accessibility)
   ================================================================ */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--ucr-brand);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .hero-text-below { padding: 40px 0 16px; }
  .section { padding: 52px 0; }
  .section--dark { padding: 56px 0; }
  .layers-container { gap: 12px; }
  .solution-card,
  .layer-card,
  .threat-item { padding: 20px; }
  .threat-grid { grid-template-columns: 1fr; }
}
