/*
Theme Name: AgbaLoaded Landing Theme
Theme URI: https://agbaloaded.com
Author: AgbaLoaded
Description: Lightweight public-facing landing theme for AgbaLoaded Music Distribution. Every text, link, image, colour and section is editable from AgbaLoaded > Landing Page Settings in the WordPress admin. Business functions (registration, uploads, earnings, withdrawals) are handled by separate plugins.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: agbaloaded
*/

:root{--ag-primary:#0b78ff;--ag-dark:#08111f;--ag-dark2:#0a1630;--ag-ink:#0b1530;--ag-muted:#5b6478;--ag-line:#e4e8f0;--ag-link:#5aa8ff}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:var(--ag-ink);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,p{margin:0}
.ag-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 24px}
.ag-ico{display:block;width:100%;height:100%}

/* Buttons */
.ag-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 28px;border-radius:4px;font-size:14px;font-weight:600;text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:background .2s,filter .2s,border-color .2s}
.ag-btn--solid{background:var(--ag-primary);color:#fff}
.ag-btn--solid:hover{filter:brightness(1.12)}
.ag-btn--line{border-color:rgba(255,255,255,.8);color:#fff;background:transparent}
.ag-btn--line:hover{background:rgba(255,255,255,.12)}
.ag-btn--sm{min-height:36px;padding:0 20px;font-size:12px}
.ag-btn:focus-visible,.ag-nav a:focus-visible,.ag-burger:focus-visible,summary:focus-visible{outline:2px solid #7fb8ff;outline-offset:2px}

/* Eyebrow + titles */
.ag-eyebrow{font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--ag-primary)}
.ag-title{font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.01em}

/* Logo */
.ag-logo{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#fff;flex-shrink:0}
.ag-logo img{display:block;width:auto;max-width:240px}
.ag-logo__mark{width:46px;height:46px;display:block;object-fit:contain}
.ag-logo__txt{display:flex;flex-direction:column;line-height:1}
.ag-logo__txt b{font-size:22px;font-weight:800;letter-spacing:-.02em}
.ag-logo__txt b i{font-style:normal;color:var(--ag-primary)}
.ag-logo__txt small{font-size:7px;letter-spacing:.2em;margin-top:3px;text-transform:uppercase;opacity:.8;font-weight:500}
.ag-logo--sm .ag-logo__mark{width:26px;height:26px}
.ag-logo--sm .ag-logo__txt b{font-size:12px}
.ag-logo--sm .ag-logo__txt small{font-size:4px}

/* Header */
.ag-header{position:sticky;top:0;z-index:50;background:var(--ag-dark);color:#fff;border-bottom:1px solid rgba(255,255,255,.06)}
.ag-header__in{display:flex;align-items:center;gap:28px;min-height:72px}
.ag-nav{flex:1}
.ag-nav ul{display:flex;justify-content:center;gap:34px}
.ag-nav a{font-size:12.5px;font-weight:600;text-decoration:none;color:#fff;opacity:.92;padding:6px 0}
.ag-nav a:hover{color:var(--ag-link)}
.ag-nav__btns{display:none}
.ag-header__btns{display:flex;gap:10px}
.ag-burger{display:none;background:none;border:0;padding:8px;color:#fff;cursor:pointer;margin-left:auto}
.ag-burger span{display:block;width:24px;height:2px;background:#fff;margin:5px 0;border-radius:2px;transition:transform .2s,opacity .2s}
.ag-menu-open .ag-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.ag-menu-open .ag-burger span:nth-child(2){opacity:0}
.ag-menu-open .ag-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Hero */
.ag-hero{position:relative;background:var(--ag-dark);color:#fff;overflow:hidden}
.ag-hero__bg{position:absolute;inset:0 0 0 auto;width:58%;background:radial-gradient(circle at 70% 40%,rgba(11,120,255,.45),transparent 60%),linear-gradient(135deg,#0c2a5e,#08111f);background-size:cover;background-position:center}
.ag-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--ag-dark) 0,rgba(8,17,31,.55) 38%,rgba(8,17,31,0) 100%)}
.ag-hero__in{position:relative;z-index:1;padding:64px 24px 76px;min-height:420px;display:flex;flex-direction:column;justify-content:center}
.ag-hero h1{font-size:clamp(40px,5.4vw,62px);line-height:1.04;font-weight:800;letter-spacing:-.025em;margin:16px 0 20px}
.ag-hero h1 span{color:var(--ag-primary)}
.ag-hero__text{max-width:470px;font-size:14px;color:#cfd8e8;line-height:1.65}
.ag-hero__btns{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.ag-partners{position:relative;z-index:1;background:rgba(5,10,20,.65);border-top:1px solid rgba(255,255,255,.06)}
.ag-partners ul{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 30px;padding:24px 0}
.ag-partners li{color:#c9d2e2;font-size:16px;font-weight:500;letter-spacing:-.01em}
.ag-partners img{display:block;max-height:24px;width:auto;opacity:.85}

/* How it works */
.ag-how{padding:56px 0 60px;background:#fff}
.ag-how .ag-eyebrow,.ag-why .ag-eyebrow{display:block;text-align:center;margin-bottom:8px}
.ag-how .ag-title,.ag-why .ag-title{text-align:center}
.ag-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:44px}
.ag-step{position:relative}
.ag-step__n{width:34px;height:34px;border-radius:50%;background:var(--ag-primary);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.ag-step h3{font-size:14px;font-weight:700;margin-bottom:6px}
.ag-step p{font-size:12.5px;color:var(--ag-muted);line-height:1.6;max-width:210px}
.ag-step:not(:last-child)::after{content:"\2192";position:absolute;right:14px;top:44px;color:#a3abbb;font-size:16px}

/* Why */
.ag-why{background:var(--ag-dark);color:#fff;padding:46px 0 50px;border-top:1px solid rgba(255,255,255,.05)}
.ag-feats{display:grid;grid-template-columns:repeat(7,1fr);margin-top:34px}
.ag-feat{text-align:center;padding:4px 14px}
.ag-feat + .ag-feat{border-left:1px solid rgba(255,255,255,.09)}
.ag-feat__ico{width:36px;height:36px;margin:0 auto 12px;padding:7px;border-radius:50%;color:var(--ag-primary);background:rgba(11,120,255,.12);box-shadow:0 0 18px rgba(11,120,255,.25)}
.ag-feat h3{font-size:12.5px;font-weight:700;margin-bottom:6px}
.ag-feat p{font-size:11.5px;color:#9fb0cc;line-height:1.55}

/* Release types + dashboard */
.ag-rel{padding:50px 0 54px;background:#fff}
.ag-rel__grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.ag-rel .ag-title{margin:8px 0 10px}
.ag-rel__text{font-size:13px;color:var(--ag-muted);max-width:430px}
.ag-types{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}
.ag-type{border:1px solid var(--ag-line);border-radius:6px;padding:16px 14px;background:#fff;box-shadow:0 6px 18px rgba(12,28,60,.06)}
.ag-type__ico{width:30px;height:30px;padding:6px;border-radius:6px;background:var(--ag-primary);color:#fff;margin-bottom:12px}
.ag-type h3{font-size:13.5px;font-weight:700;margin-bottom:6px}
.ag-type p{font-size:11.5px;color:var(--ag-muted);line-height:1.5;margin-top:3px}
.ag-dash__win{display:grid;grid-template-columns:30% 1fr;border-radius:8px;overflow:hidden;box-shadow:0 18px 44px rgba(8,17,31,.28);border:1px solid #d7deea;background:#fff}
.ag-dash__side{background:var(--ag-dark2);padding:14px 10px;color:#c6d2e6}
.ag-dash__side ul{margin-top:18px}
.ag-dash__side li{font-size:10px;padding:8px 9px;border-radius:4px;margin-bottom:2px}
.ag-dash__side li.is-on{background:var(--ag-primary);color:#fff}
.ag-dash__top{background:var(--ag-dark2);color:#fff;font-size:11px;font-weight:700;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.ag-dash__main{background:#f3f6fb}
.ag-dash__stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}
.ag-stat{background:#fff;border:1px solid var(--ag-line);border-radius:5px;padding:11px 12px}
.ag-stat small{display:block;font-size:9.5px;color:var(--ag-muted)}
.ag-stat b{display:block;font-size:21px;font-weight:700;margin:2px 0;color:var(--ag-ink)}
.ag-stat em{font-style:normal;font-size:9.5px;color:#1da35a}
.ag-stat .ag-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#1da35a;margin-left:6px}
.ag-dash figcaption{font-size:11px;color:var(--ag-muted);margin-top:10px}

/* Requirements */
.ag-req{background:var(--ag-dark);color:#fff;padding:34px 0 38px;border-top:1px solid rgba(255,255,255,.05)}
.ag-req .ag-title{margin-top:8px;font-size:22px}
.ag-reqs{display:grid;grid-template-columns:repeat(5,1fr);gap:22px;margin-top:22px}
.ag-reqi{display:flex;gap:12px;align-items:flex-start}
.ag-reqi__ico{width:30px;height:30px;flex-shrink:0;padding:5px;border-radius:50%;color:var(--ag-primary);background:rgba(11,120,255,.12)}
.ag-reqi p{font-size:11.5px;color:#cdd6e6;line-height:1.5;max-width:150px;font-weight:500}

/* FAQ */
.ag-faq{padding:46px 0;background:#fff}
.ag-faq__grid{display:grid;grid-template-columns:1fr 1.3fr;gap:50px;align-items:start}
.ag-faq .ag-title{margin:8px 0 10px;font-size:24px}
.ag-faq__intro{font-size:13px;color:var(--ag-muted);max-width:300px}
.ag-contact{margin-top:18px;font-size:13px}
.ag-contact a{color:var(--ag-primary);font-weight:600;text-decoration:none}
.ag-contact a:hover{text-decoration:underline}
.ag-faq details{border-bottom:1px solid var(--ag-line)}
.ag-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:12px 0;font-size:13.5px;font-weight:600}
.ag-faq summary::-webkit-details-marker{display:none}
.ag-faq summary::after{content:"+";color:var(--ag-muted);font-size:18px;line-height:1}
.ag-faq details[open] summary::after{content:"\2212";color:var(--ag-primary)}
.ag-faq details p{font-size:13px;color:var(--ag-muted);padding:0 30px 14px 0;line-height:1.65}

/* CTA */
.ag-cta{position:relative;background:linear-gradient(120deg,#08111f,#0a2a66);background-size:cover;background-position:center;color:#fff;padding:46px 0;overflow:hidden}
.ag-cta::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,17,31,.92),rgba(8,17,31,.55))}
.ag-cta .ag-wrap{position:relative}
.ag-cta .ag-title{font-size:22px}
.ag-cta p{font-size:12.5px;color:#c4d0e4;margin:8px 0 18px}
.ag-cta__btns{display:flex;gap:10px;flex-wrap:wrap}

/* Footer */
.ag-footer{background:var(--ag-dark);color:#fff;padding:22px 0 18px;border-top:1px solid rgba(255,255,255,.07)}
.ag-footer__row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.ag-footer__links{display:flex;flex-wrap:wrap;gap:6px 22px;justify-content:center;flex:1}
.ag-footer__links a{font-size:12px;color:var(--ag-link);text-decoration:none}
.ag-footer__links a:hover{text-decoration:underline}
.ag-social{display:flex;gap:14px}
.ag-social a{width:18px;height:18px;color:#c9d2e2;display:block}
.ag-social a:hover{color:#fff}
.ag-copy{font-size:10.5px;color:#7f8ca3;text-align:center;margin-top:14px}

/* Generic pages */
.ag-page{padding:56px 0 72px;min-height:50vh}
.ag-page h1{font-size:34px;font-weight:800;margin-bottom:22px}
.ag-page .entry{max-width:780px;font-size:15px;line-height:1.75}
.ag-page .entry h2,.ag-page .entry h3{margin:28px 0 10px}
.ag-page .entry a{color:var(--ag-primary)}

/* Tablet / mobile */
@media (max-width:1000px){
  .ag-feats{grid-template-columns:repeat(4,1fr);gap:24px 8px}
  .ag-feat{border:0!important;padding:0 4px}
  .ag-feat p{display:none}
  .ag-feat h3{font-size:12px;margin:0}
  .ag-reqs{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .ag-header__in{min-height:68px}
  .ag-header__btns{display:none}
  .ag-burger{display:block}
  .ag-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--ag-dark);padding:8px 24px 24px;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 20px 30px rgba(0,0,0,.4)}
  .ag-nav.is-open{display:block}
  .ag-nav ul{flex-direction:column;gap:0;justify-content:flex-start}
  .ag-nav li a{display:block;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:15px}
  .ag-nav__btns{display:flex;flex-direction:column;gap:10px;margin-top:18px}
  .ag-nav__btns .ag-btn{width:100%}
  .ag-hero__bg{width:100%;opacity:.4}
  .ag-hero__bg::after{background:linear-gradient(180deg,rgba(8,17,31,.55),var(--ag-dark))}
  .ag-hero__in{padding:36px 24px 34px;min-height:0}
  .ag-hero h1{font-size:40px;margin:14px 0 16px}
  .ag-hero__text{max-width:none;font-size:13.5px}
  .ag-hero__btns{flex-direction:column;gap:12px}
  .ag-hero__btns .ag-btn{width:100%}
  .ag-partners ul{justify-content:flex-start;gap:16px 30px;padding:18px 0 22px}
  .ag-partners li{font-size:14px}
  .ag-how{padding:36px 0 40px}
  .ag-how .ag-title,.ag-why .ag-title{font-size:21px}
  .ag-steps{grid-template-columns:1fr;gap:20px;margin-top:26px}
  .ag-step{display:grid;grid-template-columns:34px 1fr;column-gap:16px;align-items:start}
  .ag-step__n{margin:0;grid-row:1 / span 2}
  .ag-step p{max-width:none}
  .ag-step:not(:last-child)::after{display:none}
  .ag-why{padding:30px 0 34px}
  .ag-feats{margin-top:24px}
  .ag-rel{padding:30px 0}
  .ag-rel__grid{grid-template-columns:1fr;gap:0}
  .ag-rel .ag-title{font-size:20px;text-align:center}
  .ag-rel .ag-eyebrow{display:block;text-align:center}
  .ag-rel__text{display:none}
  .ag-types{gap:10px;margin-top:18px}
  .ag-type{padding:14px 10px}
  .ag-type p.ag-more{display:none}
  .ag-hide-m{display:none}
  .ag-faq__grid{grid-template-columns:1fr;gap:18px}
  .ag-cta{padding:34px 0}
  .ag-cta__btns{flex-direction:column}
  .ag-cta__btns .ag-btn{width:100%}
  .ag-footer__row{flex-direction:column;align-items:flex-start}
  .ag-footer__links{justify-content:flex-start}
}
@media (max-width:520px){
  .ag-reqs{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
