/* =========================================================
   ABOULAY PAN-AFRICAN BRAND BENEFITS + AI ONBOARDING BUTTON
   Clean WordPress Plugin Version
   ========================================================= */

:root{
  --ab-green:#0B6E3D;
  --ab-green-dark:#063F27;
  --ab-green-deep:#042d1d;
  --ab-gold:#D9A441;
  --ab-gold-soft:#F7E7B4;
  --ab-red:#B8322A;
  --ab-ivory:#FFF8E7;
  --ab-earth:#A8725A;
  --ab-text:#1F2933;
  --ab-muted:#5f6b7a;
  --ab-border:rgba(11,110,61,.18);
  --ab-shadow:0 18px 42px rgba(6,63,39,.14);
}

.aboulay-benefits{
  display:grid;
  gap:18px;
}

.aboulay-benefit-item{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(255,248,231,.96), rgba(255,255,255,.98)),
    radial-gradient(circle at top right, rgba(217,164,65,.18), transparent 36%);
  border:1px solid var(--ab-border);
  padding:22px 22px 20px;
  border-radius:18px;
  cursor:pointer;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease;
  box-shadow:0 8px 24px rgba(6,63,39,.07);
}

.aboulay-benefit-item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:6px;
  height:100%;
  background:linear-gradient(180deg,var(--ab-green),var(--ab-gold),var(--ab-red));
  opacity:.95;
}

.aboulay-benefit-item::after{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:100px;
  height:100px;
  background:rgba(217,164,65,.16);
  border-radius:999px;
  transition:.25s ease;
}

.aboulay-benefit-item:hover{
  transform:translateY(-4px);
  border-color:rgba(217,164,65,.75);
  box-shadow:var(--ab-shadow);
}

.aboulay-benefit-item:hover::after{
  transform:scale(1.15);
  background:rgba(217,164,65,.24);
}

.aboulay-benefit-item h4{
  position:relative;
  z-index:2;
  margin:0;
  color:var(--ab-green-dark);
  font-size:20px;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.25;
}

.aboulay-benefit-item h4::first-letter{
  color:var(--ab-gold);
}

.aboulay-benefit-item p{
  position:relative;
  z-index:2;
  display:none;
  margin:12px 0 0;
  color:var(--ab-muted);
  font-size:16px;
  line-height:1.65;
}

.aboulay-benefit-item.active{
  background:
    linear-gradient(135deg, rgba(11,110,61,.97), rgba(6,63,39,.98)),
    radial-gradient(circle at top right, rgba(217,164,65,.28), transparent 40%);
  border-color:rgba(217,164,65,.85);
  box-shadow:0 20px 48px rgba(6,63,39,.24);
}

.aboulay-benefit-item.active::before{
  background:linear-gradient(180deg,var(--ab-gold),#ffffff,var(--ab-red));
}

.aboulay-benefit-item.active h4{
  color:#ffffff;
}

.aboulay-benefit-item.active h4::first-letter{
  color:var(--ab-gold);
}

.aboulay-benefit-item.active p{
  display:block;
  color:rgba(255,255,255,.9);
}

.aboulay-hero-cta{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:24px;
  margin-bottom:40px;
  text-align:center;
}

.aboulay-btn-ai{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:260px;
  max-width:100%;
  padding:16px 28px;
  border-radius:14px;
  border:1px solid rgba(217,164,65,.55);
  background:linear-gradient(135deg, #0B6E3D, #063F27);
  color:#ffffff !important;
  font-size:18px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:.01em;
  text-align:center;
  text-decoration:none !important;
  box-shadow:0 14px 30px rgba(11,110,61,.28);
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}

.aboulay-btn-ai::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:90%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  transition:left .6s ease;
}

.aboulay-btn-ai:hover::before{
  left:120%;
}

.aboulay-btn-ai:hover{
  transform:translateY(-3px);
  background:linear-gradient(135deg, #0e7f47, #084f2c);
  color:#ffffff !important;
  box-shadow:0 18px 42px rgba(6,63,39,.36);
}

.aboulay-btn-ai:focus{
  outline:3px solid rgba(217,164,65,.45);
  outline-offset:4px;
}

.aboulay-btn-ai.large{
  padding:17px 30px;
  font-size:18px;
}

.aboulay-btn-icon{
  font-size:20px;
  line-height:1;
}

.ab-register-role-form{
  background:
    linear-gradient(135deg,rgba(255,248,231,.98),rgba(247,243,232,.96)),
    radial-gradient(circle at top left, rgba(11,110,61,.13), transparent 34%),
    radial-gradient(circle at bottom right, rgba(217,164,65,.22), transparent 32%);
  padding:60px 16px;
  font-family:Inter, Arial, sans-serif;
  color:var(--ab-text);
}

.ab-register-wrap{
  max-width:1180px;
  margin:0 auto;
}

.ab-register-head{
  text-align:center;
  margin-bottom:34px;
}

.ab-register-head span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(135deg,rgba(11,110,61,.12),rgba(217,164,65,.18));
  color:var(--ab-green-dark);
  border:1px solid rgba(217,164,65,.42);
  padding:9px 18px;
  border-radius:999px;
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.08em;
}

.ab-register-head span::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--ab-green),var(--ab-gold),var(--ab-red));
  box-shadow:0 0 0 4px rgba(217,164,65,.15);
}

.ab-register-head h1{
  color:var(--ab-green-dark);
  font-size:clamp(34px,5vw,58px);
  margin:18px 0 12px;
  font-weight:950;
  letter-spacing:-.045em;
  line-height:1.05;
}

.ab-register-head h1 strong,
.ab-register-head h1 em{
  color:var(--ab-gold);
  font-style:normal;
}

.ab-register-head p{
  max-width:760px;
  margin:0 auto;
  color:var(--ab-muted);
  font-size:18px;
  line-height:1.75;
}

@media (max-width:767px){
  .aboulay-benefits{gap:14px;}
  .aboulay-benefit-item{padding:19px 18px 18px;border-radius:16px;}
  .aboulay-benefit-item h4{font-size:18px;}
  .aboulay-benefit-item p{font-size:15px;}
  .aboulay-hero-cta{padding:0 16px;margin-top:22px;margin-bottom:34px;}
  .aboulay-btn-ai,
  .aboulay-btn-ai.large{width:100%;max-width:420px;min-width:0;padding:15px 22px;font-size:16px;}
  .ab-register-role-form{padding:44px 16px;}
  .ab-register-head{margin-bottom:26px;}
  .ab-register-head h1{font-size:clamp(31px,9vw,42px);}
  .ab-register-head p{font-size:16px;}
}

@media (prefers-reduced-motion:reduce){
  .aboulay-benefit-item,
  .aboulay-benefit-item::after,
  .aboulay-btn-ai,
  .aboulay-btn-ai::before{transition:none;}
  .aboulay-benefit-item:hover,
  .aboulay-btn-ai:hover{transform:none;}
}
