/* details.css — Uniform public feature detail pages for DALEAM WEB */

:root{
  --brand:#1d3557;
  --brand-2:#274a7a;
  --accent:#05bc82;
  --accent-blue:#0d6efd;
  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#64748b;
  --border:#e5e7eb;
  --soft:#f8fafc;
  --shadow:0 16px 38px rgba(15,23,42,.08);
  --radius:22px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(5,188,130,.12), transparent 34%),
    linear-gradient(180deg,#f8fafc,#ffffff);
  color:var(--text);
}

a{text-decoration:none}

.feature-detail-page{
  width:min(1180px, calc(100% - 28px));
  margin:24px auto 40px;
}

.feature-hero{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:18px;
  align-items:stretch;
  background:
    radial-gradient(circle at top right, rgba(5,188,130,.30), transparent 35%),
    linear-gradient(120deg,var(--brand),var(--brand-2));
  color:#fff;
  border-radius:26px;
  padding:28px;
  box-shadow:0 22px 48px rgba(15,23,42,.16);
}

.hero-content h1{
  margin:10px 0 12px;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.05;
  letter-spacing:-.045em;
  font-weight:950;
}

.hero-content p{
  max-width:780px;
  line-height:1.7;
  opacity:.95;
  margin:0;
  font-size:1.02rem;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  width:max-content;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:.38rem .75rem;
  font-weight:900;
  font-size:.82rem;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.hero-actions,
.cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:.72rem 1.05rem;
  font-weight:900;
  border:1px solid transparent;
  transition:.2s ease;
}

.btn:hover{transform:translateY(-1px)}

.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 12px 22px rgba(5,188,130,.22);
}

.btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.45);
}

.btn-light{
  color:var(--brand);
  background:#fff;
}

.btn-dark{
  color:#fff;
  background:#111827;
}

.btn-outline-dark{
  color:#111827;
  border-color:#111827;
  background:transparent;
}

.hero-panel{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  border-radius:22px;
  padding:18px;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.panel-title{
  font-weight:950;
  margin-bottom:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  opacity:.85;
  font-size:.82rem;
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.mini-grid span{
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  padding:11px;
  font-weight:800;
}

.public-note{
  margin:18px 0;
  background:#fffbeb;
  color:#92400e;
  border:1px solid #fde68a;
  border-radius:18px;
  padding:15px 17px;
  line-height:1.65;
}

.feature-overview{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:18px 0;
}

.overview-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  padding:16px;
}

.overview-card span{
  display:block;
  color:var(--muted);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:6px;
}

.overview-card strong{
  display:block;
  font-size:1rem;
  line-height:1.35;
}

.content-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.detail-card,
.workflow-card,
.upgrade-section,
.cta-band{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.card-heading{
  display:flex;
  gap:13px;
  align-items:flex-start;
  margin-bottom:12px;
}

.card-heading h2,
.section-title h2,
.cta-band h2{
  margin:0;
  font-weight:950;
  letter-spacing:-.02em;
  color:var(--brand);
}

.card-heading p,
.section-title p,
.cta-band p{
  margin:.25rem 0 0;
  color:var(--muted);
  line-height:1.55;
}

.icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  font-weight:950;
  color:#fff;
}

.icon-blue{background:#2563eb}
.icon-teal{background:#0f766e}
.icon-purple{background:#7c3aed}
.icon-green{background:#16a34a}
.icon-amber{background:#d97706}
.icon-red{background:#dc2626}

.feature-list{
  list-style:none;
  margin:0;
  padding:0;
}

.feature-list li{
  padding:10px 0;
  border-bottom:1px solid #f1f5f9;
  line-height:1.55;
  color:#334155;
}

.feature-list li:last-child{border-bottom:0}

.feature-list li:before{
  content:"✓";
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  margin-right:8px;
  border-radius:50%;
  background:#ecfdf5;
  color:#065f46;
  font-weight:950;
  font-size:.75rem;
}

.workflow-card,
.upgrade-section,
.cta-band{
  margin-top:18px;
}

.section-title{
  margin-bottom:14px;
}

.section-title .eyebrow{
  background:#eef2ff;
  color:#3730a3;
  border-color:#c7d2fe;
  margin-bottom:8px;
}

.workflow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.workflow-step{
  background:var(--soft);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
}

.workflow-step span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--brand);
  color:#fff;
  font-weight:950;
  margin-bottom:10px;
}

.workflow-step p{
  margin:0;
  line-height:1.55;
  color:#334155;
}

.upgrade-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.upgrade-item{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
}

.upgrade-item h3{
  margin:0 0 8px;
  color:var(--brand);
  font-size:1.05rem;
  font-weight:950;
}

.upgrade-item p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.cta-band{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  background:linear-gradient(90deg,#ecfdf5,#eff6ff);
}

.cta-band h2{
  margin-bottom:4px;
}

.cta-band p{
  margin:0;
}

@media(max-width:980px){
  .feature-hero,
  .content-grid{
    grid-template-columns:1fr;
  }

  .feature-overview,
  .workflow,
  .upgrade-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .cta-band{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media(max-width:620px){
  .feature-detail-page{
    width:min(100% - 20px, 1180px);
    margin-top:12px;
  }

  .feature-hero{
    padding:20px;
    border-radius:22px;
  }

  .hero-actions .btn,
  .cta-actions .btn{
    width:100%;
  }

  .feature-overview,
  .workflow,
  .upgrade-grid{
    grid-template-columns:1fr;
  }

  .detail-card,
  .workflow-card,
  .upgrade-section,
  .cta-band{
    padding:18px;
  }

  .card-heading{
    flex-direction:column;
  }
}
