/* EnggiBasis marketing / SEO pages — design system (CFU-024 redesign) */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --indigo: #6366f1; --indigo-d: #4f46e5; --indigo-l: #eef2ff;
  --teal: #0d9488; --teal-d: #0f766e; --teal-l: #ecfdf5;
  --ink: #0f172a; --body: #475569; --muted: #64748b; --faint: #94a3b8;
  --line: #e7e5e0; --bg: #ffffff; --soft: #f7f8fb; --warm: #f5f3ef;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 30px 60px -18px rgba(15,23,42,.22);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--body); line-height: 1.6; background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--indigo); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 20px; border-radius: 11px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff !important; box-shadow: 0 6px 18px -4px rgba(79,70,229,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(79,70,229,.6); }
.btn-ghost { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #d7d3cc; box-shadow: var(--shadow); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 13px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #4f46e5); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -0.5px; box-shadow: 0 4px 12px rgba(99,102,241,0.4); }
.brand b { color: var(--ink); font-size: 17px; letter-spacing: -0.4px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-primary { color: #fff !important; }
@media (max-width: 720px){ .nav-links a:not(.btn){ display:none; } }

/* ── HERO (two-column) ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px;
  background:
    radial-gradient(900px 420px at 12% -8%, #eef2ff 0%, rgba(238,242,255,0) 60%),
    radial-gradient(760px 380px at 92% 0%, #e7fbf5 0%, rgba(231,251,245,0) 55%),
    #ffffff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--indigo-d); background:#fff; border:1px solid #dfe3ff; padding:6px 13px; border-radius:99px; letter-spacing:.01em; margin-bottom:22px; box-shadow: var(--shadow-sm); }
.eyebrow .dot { width:6px; height:6px; border-radius:50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; font-weight: 800; color: var(--ink); letter-spacing: -1.6px; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(120deg, #6366f1, #0d9488); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; line-height: 1.6; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { margin-top: 22px; font-size: 13px; color: var(--faint); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.trust b { color: var(--body); font-weight: 700; }
.hero-mini { display:flex; gap: 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-mini .n { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
.hero-mini .l { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Product mockup */
.mock { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .3s ease; }
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display:flex; align-items:center; gap:6px; padding: 11px 14px; background: #f7f8fb; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background:#e2e2e2; }
.mock-bar span:nth-child(1){ background:#ff6058; } .mock-bar span:nth-child(2){ background:#ffbd2e; } .mock-bar span:nth-child(3){ background:#28c840; }
.mock-bar .url { margin-left: 10px; font-size: 11px; color: var(--faint); font-weight: 600; }
.mock-body { padding: 20px; }
.mock-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 16px; }
.mock-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.mock-badge { font-size: 10px; font-weight: 800; color: var(--teal-d); background: var(--teal-l); border: 1px solid #bbf3e2; padding: 4px 9px; border-radius: 99px; }
.mock-row { display:flex; justify-content:space-between; align-items:center; padding: 11px 13px; background:#f7f8fb; border:1px solid var(--line); border-radius: 10px; margin-bottom: 9px; }
.mock-row .k { font-size: 12.5px; color: var(--muted); font-weight:600; }
.mock-row .v { font-size: 13px; color: var(--ink); font-weight: 700; }
.mock-result { margin-top: 14px; padding: 16px; border-radius: 13px; background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff; box-shadow: 0 12px 26px -8px rgba(13,148,136,.55); }
.mock-result .lab { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.mock-result .big { display:flex; align-items:baseline; gap: 18px; margin-top: 6px; }
.mock-result .big .m { font-size: 27px; font-weight: 800; letter-spacing: -0.5px; }
.mock-result .big .m small { font-size: 13px; font-weight: 600; opacity: .8; margin-left: 3px; }
.mock-cite { margin-top: 12px; font-size: 11px; color: var(--faint); display:flex; align-items:center; gap:6px; }
.mock-cite b { color: var(--teal-d); font-weight: 700; }

@media (max-width: 900px){
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero p.sub { max-width: none; }
  .mock { transform: none; max-width: 460px; }
  .mock:hover { transform: none; }
}
@media (max-width: 480px){ .hero-mini { gap: 18px; } .hero-mini .n { font-size: 21px; } }

/* Standards trust strip */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); padding: 22px 0; }
.logos .lab { text-align:center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.logos .row { display:flex; flex-wrap:wrap; justify-content:center; gap: 10px 12px; }
.logos .chip { font-size: 13px; font-weight: 700; color: var(--body); background:#fff; border:1px solid var(--line); border-radius: 9px; padding: 8px 14px; box-shadow: var(--shadow-sm); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -0.9px; margin-bottom: 12px; line-height: 1.12; }
.section-head p { color: var(--muted); font-size: 17px; }
.alt { background: var(--soft); }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px){ .grid-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Tool cards */
.card { display:block; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: box-shadow .18s, transform .18s, border-color .18s; position: relative; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #dcd8d0; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display:flex; align-items:center; justify-content:center; font-size: 22px; margin-bottom: 14px; background: var(--indigo-l); }
.card:nth-child(6n+1) .ic { background:#eef2ff; } .card:nth-child(6n+2) .ic { background:#ecfdf5; }
.card:nth-child(6n+3) .ic { background:#fef3f2; } .card:nth-child(6n+4) .ic { background:#fffbeb; }
.card:nth-child(6n+5) .ic { background:#f0f9ff; } .card:nth-child(6n+6) .ic { background:#f5f3ff; }
.card h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; margin-bottom: 7px; letter-spacing: -0.2px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Feature cards */
.feature { display: flex; gap: 15px; align-items: flex-start; background:#fff; border:1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .fic { flex-shrink:0; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,#eef2ff,#e7fbf5); display:flex; align-items:center; justify-content:center; font-size:20px; }
.feature h3 { font-size: 16px; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.2px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Stats band */
.stats { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align:center; }
.stats .s { padding: 8px; }
.stats .n { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -1px; background: linear-gradient(120deg,#6366f1,#0d9488); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stats .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 560px){ .stats { grid-template-columns: repeat(2,1fr); gap: 26px 18px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto; align-items: start; }
@media (max-width: 560px){ .plans { grid-template-columns: 1fr; } }
.plan { background:#fff; border:1px solid var(--line); border-radius:18px; padding:30px; box-shadow: var(--shadow-sm); }
.plan.pro { border:1.5px solid transparent; background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg,#6366f1,#0d9488) border-box; box-shadow: var(--shadow); position: relative; }
.plan .tag { position:absolute; top:-12px; right: 24px; font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#fff; background: linear-gradient(135deg,#6366f1,#4f46e5); padding: 5px 12px; border-radius: 99px; box-shadow: 0 6px 14px -4px rgba(79,70,229,.5); }
.plan h3 { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--indigo); margin-bottom:14px; }
.price { display:flex; align-items:baseline; gap:5px; margin-bottom:18px; }
.price .amt { font-size:44px; font-weight:800; color:var(--ink); letter-spacing:-1.5px; }
.price .per { font-size:14px; color:var(--muted); }
.feat { list-style:none; margin:0 0 22px; padding:0; }
.feat li { display:flex; gap:9px; align-items:flex-start; font-size:14px; color:#374151; margin-bottom:11px; line-height:1.4; }
.feat li::before { content:'✓'; color:var(--teal); font-weight:800; flex-shrink:0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #4f46e5, #0d9488); border-radius:22px; padding:52px 36px; text-align:center; margin: 32px 0; box-shadow: var(--shadow-lg); }
.cta-band h2 { color:#fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 24px; font-size: 16px; }
.cta-band .btn-primary { background: #fff; color: var(--indigo-d) !important; box-shadow: 0 10px 30px -6px rgba(0,0,0,.3); }
.cta-band .btn-primary:hover { background:#f8f8ff; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background:#fff; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 15.5px; list-style: none; padding: 16px 0; display:flex; justify-content:space-between; align-items:center; gap: 12px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; font-size: 22px; font-weight: 400; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Article (SEO landing pages) */
.article { padding: 44px 0 76px; }
.article h1 { font-size: clamp(30px, 4vw, 40px); color: var(--ink); font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; line-height: 1.1; }
.article .meta { color:var(--faint); font-size:13px; margin-bottom: 28px; }
.article h2 { font-size: 25px; margin: 34px 0 12px; }
.article h3 { font-size: 18px; color: var(--ink); margin: 22px 0 8px; }
.article p, .article li { font-size: 16px; color: #374151; margin-bottom: 14px; line-height: 1.7; }
.article ul, .article ol { margin: 0 0 14px 22px; }
.article code { background: var(--warm); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
.article .callout { background: linear-gradient(135deg,#eef2ff,#ecfdf5); border:1px solid #dbe2ff; border-radius:14px; padding:18px 20px; margin:22px 0; }
.article .callout p { margin:0; }
.article table { width:100%; border-collapse:collapse; margin:16px 0; font-size:14.5px; }
.article th, .article td { border:1px solid var(--line); padding:10px 12px; text-align:left; }
.article th { background: var(--soft); font-weight:700; color:var(--ink); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--warm); padding: 52px 0 40px; margin-top: 20px; }
.footer-in { display:flex; flex-wrap:wrap; gap: 40px; justify-content: space-between; }
.footer .col h4 { font-size: 12px; text-transform: uppercase; letter-spacing:.08em; color:var(--faint); margin-bottom: 12px; }
.footer .col a { display:block; color: var(--muted); font-size: 14px; margin-bottom: 9px; transition: color .15s; }
.footer .col a:hover { color: var(--indigo); }
.footer .bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size:12.5px; color:var(--faint); }

/* ══ Premium enhancements (CFU-025) ══════════════════════════════ */
/* Hero dot-grid texture (masked so it fades out) */
.hero::before { content:''; position:absolute; inset:0;
  background-image: radial-gradient(rgba(99,102,241,.11) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(760px 420px at 62% 30%, #000, transparent 78%);
  mask-image: radial-gradient(760px 420px at 62% 30%, #000, transparent 78%);
  pointer-events:none; }
.hero .container { position:relative; z-index:1; }

/* Mockup glow + floating accent cards */
.hero-visual { position:relative; }
.hero-visual::after { content:''; position:absolute; inset:-10% -8%;
  background: radial-gradient(closest-side, rgba(13,148,136,.22), transparent 72%); filter: blur(12px); z-index:0; }
.hero-visual .mock { position:relative; z-index:1; }
.float-chip { position:absolute; z-index:2; display:flex; align-items:center; gap:9px;
  background:#fff; border:1px solid var(--line); border-radius:13px; padding:10px 13px;
  box-shadow: var(--shadow-lg); font-size:12.5px; font-weight:700; color:var(--ink); }
.float-chip .ico { width:24px; height:24px; border-radius:7px; display:flex; align-items:center; justify-content:center; font-size:12px; color:#fff; flex-shrink:0; }
.float-chip .sub { display:block; font-size:10.5px; font-weight:500; color:var(--muted); margin-top:1px; }
.float-chip.a { top:-20px; left:-30px; } .float-chip.a .ico { background:#10b981; }
.float-chip.b { bottom:-18px; right:-24px; } .float-chip.b .ico { background: linear-gradient(135deg,#6366f1,#4f46e5); }
.float-chip.a { animation: ebFloat 5s ease-in-out infinite; }
.float-chip.b { animation: ebFloat 6s ease-in-out infinite reverse; }
@keyframes ebFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }
@media (max-width:900px){ .hero-visual::after{ display:none; } .float-chip{ display:none; } }

/* Tasteful load-in motion (never leaves content hidden if it doesn't run) */
@media (prefers-reduced-motion: no-preference){
  @keyframes ebUp { from{ opacity:0; transform: translateY(16px);} to{ opacity:1; transform:none; } }
  .hero-copy > * { animation: ebUp .62s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2){ animation-delay:.06s; }
  .hero-copy > *:nth-child(3){ animation-delay:.12s; }
  .hero-copy > *:nth-child(4){ animation-delay:.18s; }
  .hero-copy > *:nth-child(5){ animation-delay:.24s; }
  .hero-copy > *:nth-child(6){ animation-delay:.30s; }
  .hero-visual { animation: ebUp .75s .16s cubic-bezier(.2,.7,.2,1) both; }
  .float-chip.a { animation: ebUp .6s .5s both, ebFloat 5s .9s ease-in-out infinite; }
  .float-chip.b { animation: ebUp .6s .62s both, ebFloat 6s 1s ease-in-out infinite reverse; }
}

/* Tool-card hover arrow */
.card::after { content:'→'; position:absolute; top:22px; right:22px; font-size:16px; color:var(--faint);
  opacity:0; transform: translateX(-5px); transition: opacity .18s, transform .18s, color .18s; }
.card:hover::after { opacity:1; transform:none; color:var(--indigo); }

/* How it works */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; counter-reset: step; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }
.step { position:relative; background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 26px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.step .num { width:40px; height:40px; border-radius:11px; background: linear-gradient(135deg,#6366f1,#0d9488); color:#fff; font-weight:800; font-size:16px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; box-shadow:0 8px 18px -5px rgba(79,70,229,.55); }
.step h3 { font-size:17px; color:var(--ink); margin-bottom:7px; letter-spacing:-.2px; }
.step p { font-size:14px; color:var(--muted); line-height:1.6; }

/* Authenticity note */
.note { max-width:820px; margin:0 auto; text-align:center; }
.note .mark { font-size:40px; line-height:1; color:var(--indigo); opacity:.25; font-weight:800; }
.note p.q { font-size:clamp(20px,2.6vw,26px); line-height:1.5; color:var(--ink); font-weight:700; letter-spacing:-.4px; margin:10px 0 18px; }
.note .by { font-size:14px; color:var(--muted); }
.note .by b { color:var(--ink); }
