/* Crown Datalytics - Agentic pages (journey flow + hover cues) */

:root{
  --navy:#0F203A;
  --navy-deep:#050B16;
  --gold:#D4AF37;
  --text:#111111;
  --muted:#555555;
  --bg:#FFFFFF;
  --border:#E5E7EB;
  --shadow: 0 14px 36px rgba(0,0,0,0.10);
}

html{scroll-behavior:smooth;}
body{
  font-family: "Montserrat", "Poppins", Calibri, "Segoe UI", Arial, sans-serif;
  margin:0;
  background:var(--bg);
  color:var(--text);
}

/* Sticky wrapper so header + nav are always visible (matches main site behaviour) */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Header */
.cd-header{
  background:#FFFFFF;
  color:#000000;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(0,0,0,0.06);
}
.cd-brand{
  text-decoration:none;
  color:#000000;
  display:flex;
  align-items:center;
  gap:10px;
}
.cd-brand-title{
  font-size:1.25rem;
  letter-spacing:0.03em;
  font-weight:600;
}
.logo{
  width:130px;
  height:auto;
}

/* Nav */
.cd-nav{
  width:100%;
  background:var(--navy);
  display:flex;
  justify-content:center;
  gap:8px;
  padding:10px 8px;
  box-sizing:border-box;
  flex-wrap:wrap;
}
.cd-nav a{
  color:#F5F7FA;
  text-decoration:none;
  padding:8px 14px;
  font-size:0.95rem;
  border-radius:999px;
  transition: background-color 0.25s ease,color 0.25s ease,transform 0.15s ease;
}
.cd-nav a:hover{
  background-color: rgba(255,255,255,0.12);
  color:#FFFFFF;
  transform: translateY(-1px);
}
.cd-nav a.is-active{
  background-color: var(--gold);
  color:#111111;
}

/* Page sections */
.agentic-hero{
  padding:78px 18px 62px 18px;
  text-align:center;
  background:var(--navy);
  color:#FFFFFF;
}
.agentic-hero.dark{background:var(--navy-deep);}
.agentic-hero h1{margin:0 0 12px 0; font-size:2.2rem; letter-spacing:0.02em;}
.agentic-hero .sub{max-width:980px; margin:0 auto 18px auto; color:#E5E9F0; line-height:1.6;}

.section-inner{max-width:1100px; margin:0 auto; padding:44px 18px;}

.agentic-values{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
  padding:44px 18px;
  max-width:1100px;
  margin:0 auto;
}

/* Clickable cards */
.card-link{
  display:block;
  text-decoration:none;
  color:inherit;
}
.value{
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px 18px 20px 18px;
  background:#FFFFFF;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card-link:hover .value{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(212,175,55,0.55);
}
.value h3{margin:0 0 8px 0; font-size:1.1rem;}
.value p{margin:0; color:var(--muted); line-height:1.65;}

/* Wider diagram container for large screens */
.agentic-diagram{
  max-width:1280px;
  margin:0 auto;
  padding:18px 18px 44px 18px;
  text-align:center;
}
.agentic-diagram img{
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
}

.agentic-trust{max-width:1100px; margin:0 auto; padding:0 18px 34px 18px;}
.agentic-trust ul{margin:0; padding-left:20px; line-height:1.7; color:#1F2937;}

/* Journey strip */
.journey{
  max-width:1100px;
  margin:0 auto 54px auto;
  padding:0 18px;
}
.journey .journey-bar{
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px 16px;
  background:#FFFFFF;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.journey .journey-title{
  font-weight:700;
  color:var(--navy);
}
.journey .journey-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.agentic-cta{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; padding:22px 18px 44px 18px;}

.btn-primary,.btn-secondary,.btn-tertiary{
  display:inline-block;
  padding:11px 22px;
  border-radius:999px;
  text-decoration:none;
  font-size:0.95rem;
  border:1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn-primary{background:var(--gold); color:#111111; border-color:var(--gold);}
.btn-primary:hover{filter:brightness(1.03); transform: translateY(-1px);}
.btn-secondary{background:transparent; color:var(--gold); border-color:var(--gold);}
.btn-secondary:hover{background:rgba(212,175,55,0.08); transform: translateY(-1px);}
.btn-tertiary{background:#F5F7FA; color:var(--navy); border-color:var(--border);}
.btn-tertiary:hover{border-color:rgba(15,32,58,0.25); transform: translateY(-1px);}

/* Plain links: subtle hover cue */
.plain-link{
  color:var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,32,58,0.25);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.plain-link:hover{
  color: #000000;
  border-bottom-color: rgba(212,175,55,0.85);
}

.compare{
  width:100%;
  border-collapse:collapse;
  margin:14px 0 34px 0;
  table-layout:fixed;
}
.compare th,.compare td{
  border:1px solid var(--border);
  padding:12px 10px;
  text-align:center;
  vertical-align:middle;
  font-size:0.95rem;
}
.compare th{background:#F5F7FA; font-weight:600;}
.compare td:first-child, .compare th:first-child{text-align:left;}

.yes{color:#065F46; font-weight:600;}
.no{color:#991B1B; font-weight:600;}
.partial{color:#92400E; font-weight:600;}

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:10px;
}
.price-card{
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px;
  background:#FFFFFF;
}
.price-card h3{margin:0 0 6px 0;}
.price{margin:0 0 10px 0; font-size:1.25rem; font-weight:700; color:var(--navy);}
.price-card ul{margin:0; padding-left:18px; color:var(--muted); line-height:1.7;}

.note{color:var(--muted); line-height:1.7; margin-top:12px;}

.form{max-width:720px; margin:0 auto;}
.form-row{margin-bottom:14px;}
label{display:block; margin-bottom:6px; font-size:0.95rem;}
input,textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--border);
  border-radius:10px;
  padding:11px 12px;
  font-family:inherit;
  font-size:1rem;
}
textarea{min-height:130px; resize:vertical;}

.captcha{display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.captcha img{border:1px solid var(--border); border-radius:10px; height:44px; width:auto;}

.alert{
  max-width:720px;
  margin:0 auto 16px auto;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
}
.alert.success{background:#ECFDF5; border-color:#A7F3D0; color:#064E3B;}
.alert.error{background:#FEF2F2; border-color:#FECACA; color:#7F1D1D;}

@media (max-width:768px){
  .cd-header{flex-direction:column; align-items:flex-start; padding:10px 16px;}
  .logo{margin-top:6px; align-self:flex-end;}
  .cd-nav{padding:8px 6px;}
  .cd-nav a{padding:6px 10px; font-size:0.9rem;}
  .agentic-diagram{max-width:1100px;}
  .journey .journey-bar{justify-content:center;}
}

@media (max-width:520px){
  .agentic-hero h1{font-size:1.8rem;}
}
