/*
Theme Name: Cognitrix Systems Child
Theme URI: https://cognitrixsystems.com
Description: Lightweight child theme for Cognitrix Systems, designed for Hello Elementor. Creates a premium product-led enterprise website for DIVE.
Author: Cognitrix Systems
Template: hello-elementor
Version: 1.0.0
Text Domain: cognitrix-systems-child
*/

:root {
  --ctx-red: #A11217;
  --ctx-text: #111111;
  --ctx-bg: #ffffff;
  --ctx-gray: #f5f5f5;
  --ctx-border: #e5e5e5;
  --ctx-muted: #555555;
  --ctx-max: 1180px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ctx-bg);
  color: var(--ctx-text);
  font-family: "IBM Plex Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: var(--ctx-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.ctx-wrap { max-width: var(--ctx-max); margin: 0 auto; padding: 0 24px; }
.ctx-section { padding: 84px 0; }
.ctx-section.gray { background: var(--ctx-gray); }
.ctx-eyebrow { color: var(--ctx-red); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.ctx-h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -0.055em; margin: 0 0 22px; max-width: 980px; }
.ctx-h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 18px; max-width: 880px; }
.ctx-h3 { font-size: 22px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.02em; }
.ctx-lead { font-size: clamp(18px, 2vw, 22px); color: #333; max-width: 820px; margin: 0 0 26px; }
.ctx-copy { color: var(--ctx-muted); max-width: 760px; margin: 0 0 20px; }

.ctx-header {
  border-bottom: 1px solid var(--ctx-border);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ctx-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ctx-logo { font-weight: 800; letter-spacing: -0.03em; color: var(--ctx-text); font-size: 22px; white-space: nowrap; }
.ctx-logo .x { color: var(--ctx-red); }
.ctx-menu { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.ctx-menu a { color: var(--ctx-text); }
.ctx-menu a:hover { color: var(--ctx-red); text-decoration: none; }

.ctx-btns { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.ctx-btn { display:inline-flex; align-items:center; justify-content:center; min-height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--ctx-red); font-weight: 700; font-size: 14px; text-decoration: none !important; }
.ctx-btn.primary { background: var(--ctx-red); color: #fff; }
.ctx-btn.secondary { background: #fff; color: var(--ctx-red); }
.ctx-btn.dark { background: var(--ctx-text); color: #fff; border-color: var(--ctx-text); }

.ctx-hero { padding: 96px 0 72px; overflow: hidden; }
.ctx-hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items:center; }
.ctx-visual {
  min-height: 420px; border: 1px solid var(--ctx-border); border-radius: 28px; background: linear-gradient(135deg, #fff 0%, #f7f7f7 55%, #fff 100%); padding: 24px; position: relative; overflow: hidden;
}
.ctx-visual::before { content:""; position:absolute; width:260px; height:260px; right:-80px; top:-80px; background: rgba(161,18,23,.13); border-radius:50%; filter: blur(10px); }
.ctx-faux-ui { position:relative; z-index:1; display:grid; gap:14px; filter: blur(.15px); }
.ctx-ui-bar { height: 46px; border-radius: 12px; border:1px solid var(--ctx-border); background:#fff; display:flex; align-items:center; padding:0 14px; gap:8px; }
.ctx-dot { width:9px; height:9px; border-radius:50%; background: var(--ctx-red); opacity:.85; }
.ctx-ui-card { border:1px solid var(--ctx-border); border-radius:16px; background:#fff; padding:18px; }
.ctx-line { height:10px; background:#ededed; border-radius:999px; margin:10px 0; }
.ctx-line.red { background: rgba(161,18,23,.22); }
.ctx-grid { display:grid; gap:22px; }
.ctx-grid.three { grid-template-columns: repeat(3,1fr); }
.ctx-grid.two { grid-template-columns: repeat(2,1fr); }
.ctx-card { border:1px solid var(--ctx-border); border-radius:18px; background:#fff; padding:28px; }
.ctx-card.redline { border-top: 4px solid var(--ctx-red); }
.ctx-card p { color: var(--ctx-muted); margin:0; }
.ctx-list { list-style:none; padding:0; margin:22px 0 0; display:grid; gap:12px; }
.ctx-list li { border:1px solid var(--ctx-border); background:#fff; border-radius:12px; padding:14px 16px; }
.ctx-footer { border-top:1px solid var(--ctx-border); padding:42px 0; }
.ctx-footer-grid { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.ctx-footer-links { display:flex; gap:18px; flex-wrap:wrap; font-size:14px; }
.ctx-muted { color:var(--ctx-muted); }
.ctx-product-card { display:grid; grid-template-columns: 1fr .8fr; gap:28px; align-items:center; }
.ctx-badge { display:inline-flex; border:1px solid rgba(161,18,23,.25); color:var(--ctx-red); background:rgba(161,18,23,.05); border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; margin-bottom:14px; }

@media (max-width: 900px) {
  .ctx-menu { display:none; }
  .ctx-hero-grid, .ctx-product-card { grid-template-columns: 1fr; }
  .ctx-grid.three, .ctx-grid.two { grid-template-columns: 1fr; }
  .ctx-section { padding: 58px 0; }
  .ctx-hero { padding: 68px 0 46px; }
  .ctx-visual { min-height: 300px; }
}
