/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Nunito:wght@300;400;600;700;800&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#F0FDF4;--card:#DCFCE7;--accent:#0EA5E9;--green:#16a34a;
  --text:#0f2a1a;--muted:#4b7a5a;--white:#ffffff;
  --radius:20px;
  --sh:0 8px 32px rgba(14,165,233,.12),0 2px 8px rgba(0,0,0,.06);
  --sh-xl:0 20px 60px rgba(14,165,233,.22),0 4px 16px rgba(0,0,0,.09);
  --fh:'Playfair Display',serif;--fb:'Nunito',sans-serif;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--fb);background:var(--bg);color:var(--text);line-height:1.75;min-height:100vh}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}

/* HEADER */
header{background:var(--white);box-shadow:0 2px 16px rgba(14,165,233,.1);position:sticky;top:0;z-index:100}
.hdr{max-width:1120px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-family:var(--fh);font-size:1.55rem;font-weight:900;color:var(--accent);letter-spacing:-.5px}
nav{display:flex;gap:1.25rem;align-items:center}
nav a{font-size:.875rem;font-weight:700;color:var(--muted);transition:color .2s}
nav a:hover{color:var(--accent)}

/* HERO */
.hero{position:relative;min-height:520px;display:flex;align-items:center;background:linear-gradient(135deg,#0EA5E9 0%,#16a34a 100%);overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.hero-ov{position:absolute;inset:0;background:rgba(4,30,15,.32)}
.hero-c{position:relative;z-index:2;max-width:740px;margin:0 auto;padding:4rem 1.5rem;text-align:center;color:var(--white)}
.hero-badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:50px;padding:.3rem 1rem;font-size:.75rem;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:1.25rem;backdrop-filter:blur(6px)}
.hero h1{font-family:var(--fh);font-size:clamp(1.9rem,5vw,3rem);font-weight:900;line-height:1.2;margin-bottom:1rem}
.hero p{font-size:1.05rem;opacity:.9;margin-bottom:2rem;max-width:560px;margin-left:auto;margin-right:auto}
.btn{display:inline-block;padding:.85rem 2rem;border-radius:50px;font-family:var(--fb);font-weight:800;font-size:.95rem;cursor:pointer;border:none;transition:transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-3px)}
.btn-white{background:var(--white);color:var(--accent);box-shadow:var(--sh-xl)}
.btn-accent{background:var(--accent);color:var(--white);box-shadow:var(--sh-xl)}
.btn-green{background:var(--green);color:var(--white);box-shadow:var(--sh)}

/* CONTAINER */
.wrap{max-width:1120px;margin:0 auto;padding:0 1.5rem}
.sec{padding:3rem 0}

/* SECTION TITLE */
.sec-t{font-family:var(--fh);font-size:1.4rem;font-weight:900;display:flex;align-items:center;gap:.75rem;margin-bottom:.25rem}
.sec-t::after{content:'';flex:1;height:2px;background:linear-gradient(to right,var(--accent),transparent);border-radius:1px}
.sec-sub{color:var(--muted);font-size:.9rem;margin-bottom:1.75rem}

/* CARDS */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin:1.5rem 0}
.card{background:var(--white);border-radius:var(--radius);box-shadow:var(--sh);overflow:hidden;display:block;color:var(--text);transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-6px);box-shadow:var(--sh-xl)}
.card-body{padding:1.5rem}
.badge{display:inline-block;border-radius:50px;padding:.25rem .75rem;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:1px;margin-bottom:.75rem}
.b-green{background:var(--card);color:var(--green)}
.b-yellow{background:#fef9c3;color:#854d0e}
.b-blue{background:#e0f2fe;color:#0369a1}
.card h3{font-family:var(--fh);font-size:1.15rem;font-weight:700;line-height:1.3;margin-bottom:.5rem}
.card p{font-size:.875rem;color:var(--muted);line-height:1.6}
.card-arrow{font-size:.8rem;color:var(--accent);font-weight:700;margin-top:.75rem;display:inline-block}

/* MAIN ARTICLE */
.main-article{background:var(--white);border-radius:var(--radius);box-shadow:var(--sh);padding:2.5rem;margin-bottom:2rem}
.main-article h2{font-family:var(--fh);font-size:clamp(1.4rem,3vw,1.9rem);font-weight:900;margin-bottom:1rem}
.main-article h3{font-family:var(--fh);font-size:1.15rem;font-weight:700;margin:1.75rem 0 .5rem;color:var(--green)}
.main-article p{margin-bottom:1rem;font-size:.97rem}
.main-article img{width:100%;max-height:320px;object-fit:cover;border-radius:14px;margin-bottom:1.5rem}
.main-article a{color:var(--accent);font-weight:600}

/* HOME LAYOUT */
.home-grid{display:grid;grid-template-columns:1fr 310px;gap:2rem;align-items:start}
.aside-box{background:var(--white);border-radius:var(--radius);box-shadow:var(--sh);padding:1.5rem;position:sticky;top:80px}
.aside-box h3{font-family:var(--fh);font-size:1rem;font-weight:800;color:var(--green);border-bottom:2px solid var(--card);padding-bottom:.6rem;margin-bottom:1rem}
.aside-link{display:block;padding:.75rem 0;border-bottom:1px solid var(--card);color:var(--text);transition:color .2s}
.aside-link:last-child{border-bottom:none}
.aside-link:hover{color:var(--accent)}
.aside-link strong{display:block;font-size:.875rem;font-weight:700;line-height:1.3;margin-bottom:.2rem}
.aside-link small{color:var(--muted);font-size:.775rem}

/* ABOUT */
.about-sec{background:linear-gradient(135deg,var(--card) 0%,#bbf7d0 100%);border-radius:var(--radius);padding:2.5rem;margin:2rem 0;display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.about-sec h2{font-family:var(--fh);font-size:1.7rem;font-weight:900;margin-bottom:.75rem}
.about-sec p{color:var(--muted);font-size:.97rem;margin-bottom:.75rem}
.neo{background:var(--bg);border-radius:var(--radius);box-shadow:8px 8px 20px rgba(14,165,233,.14),-8px -8px 20px rgba(255,255,255,.9);padding:1.5rem}
.stat-item{margin-bottom:1rem}
.stat-item span{display:block;font-family:var(--fh);font-size:1.8rem;font-weight:900;color:var(--accent)}
.stat-item small{font-size:.8rem;color:var(--muted);font-weight:600}

/* SUBSCRIBE */
.sub-sec{background:linear-gradient(135deg,#0EA5E9 0%,#0369a1 100%);border-radius:var(--radius);padding:3rem 2rem;margin:2rem 0;text-align:center;color:var(--white)}
.sub-sec h2{font-family:var(--fh);font-size:1.8rem;font-weight:900;margin-bottom:.5rem}
.sub-sec>p{opacity:.9;margin-bottom:2rem;font-size:1rem}
.form-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;max-width:700px;margin:0 auto 1.25rem}
.ff{display:flex;flex-direction:column;gap:.3rem;text-align:left}
.ff label{font-size:.82rem;font-weight:700;opacity:.9}
.ff input{padding:.75rem 1rem;border-radius:12px;border:2px solid rgba(255,255,255,.3);background:rgba(255,255,255,.15);color:var(--white);font-family:var(--fb);font-size:.95rem;backdrop-filter:blur(4px);outline:none;transition:border-color .2s}
.ff input::placeholder{color:rgba(255,255,255,.55)}
.ff input:focus{border-color:rgba(255,255,255,.8)}

/* DISCLAIMER */
.disclaimer{background:#fffbeb;border-left:4px solid #f59e0b;border-radius:0 var(--radius) var(--radius) 0;padding:1.25rem 1.5rem;margin:2rem 0;font-size:.875rem;color:#78350f;line-height:1.6}
.disclaimer strong{display:block;font-weight:800;margin-bottom:.3rem}

/* FOOTER */
footer{background:#071c0e;color:rgba(255,255,255,.7);padding:3.5rem 1.5rem 1.5rem}
.ftr{max-width:1120px;margin:0 auto}
.ftr-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:2rem;margin-bottom:2.5rem}
.ftr .logo{color:var(--white);margin-bottom:.5rem;display:block}
.ftr p{font-size:.875rem;opacity:.65;line-height:1.6}
footer h4{color:var(--white);font-weight:800;margin-bottom:.75rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}
footer a{color:rgba(255,255,255,.6);font-size:.875rem;display:block;margin-bottom:.4rem;transition:color .2s}
footer a:hover{color:var(--accent)}
.ftr-bot{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;text-align:center;font-size:.82rem;opacity:.6}

/* COOKIE CSS-ONLY */
#ck-chk{display:none}
.ck-modal{position:fixed;bottom:1.5rem;right:1.5rem;width:min(350px,calc(100vw - 3rem));background:var(--white);border-radius:var(--radius);box-shadow:var(--sh-xl);padding:1.5rem;z-index:999;transition:transform .4s cubic-bezier(.4,0,.2,1),opacity .4s}
#ck-chk:checked~.ck-modal{transform:translateY(calc(100% + 2rem));opacity:0;pointer-events:none}
.ck-modal h3{font-family:var(--fh);font-size:1rem;font-weight:800;margin-bottom:.5rem}
.ck-modal p{font-size:.82rem;color:var(--muted);margin-bottom:1rem;line-height:1.5}
.ck-modal label{display:inline-block;background:var(--accent);color:var(--white);padding:.55rem 1.4rem;border-radius:50px;font-weight:800;font-size:.875rem;cursor:pointer;transition:background .2s}
.ck-modal label:hover{background:#0284c7}
.ck-lnk{color:var(--accent);font-size:.78rem;margin-top:.5rem;display:inline-block}

/* ARTICLE PAGE */
.art-hdr{background:linear-gradient(135deg,#0EA5E9 0%,#16a34a 100%);color:var(--white);padding:4.5rem 1.5rem 3rem;text-align:center}
.art-hdr .badge{margin-bottom:1rem}
.art-hdr h1{font-family:var(--fh);font-size:clamp(1.6rem,4vw,2.5rem);font-weight:900;max-width:720px;margin:0 auto 1rem;line-height:1.2}
.art-meta{opacity:.8;font-size:.875rem}
.art-body{max-width:800px;margin:0 auto;padding:2.5rem 1.5rem}
.art-body h2{font-family:var(--fh);font-size:1.45rem;font-weight:800;margin:2.25rem 0 .75rem;color:var(--green)}
.art-body h3{font-family:var(--fh);font-size:1.1rem;font-weight:700;margin:1.5rem 0 .5rem;color:var(--accent)}
.art-body p{margin-bottom:1.1rem;font-size:.97rem}
.art-body a{color:var(--accent);font-weight:600}
.art-body img{width:100%;max-height:380px;object-fit:cover;border-radius:var(--radius);margin:1.5rem 0}
.sources{background:var(--card);border-radius:16px;padding:1.25rem;margin:1.5rem 0;font-size:.85rem}
.sources h4{font-weight:800;margin-bottom:.5rem;color:var(--green)}
.sources li{margin-left:1.25rem;margin-bottom:.3rem;color:var(--muted)}

/* POLICY PAGE */
.pol-body{max-width:800px;margin:0 auto;padding:3rem 1.5rem}
.pol-body h1{font-family:var(--fh);font-size:2rem;font-weight:900;margin-bottom:.5rem;color:var(--text)}
.pol-date{color:var(--muted);font-size:.875rem;margin-bottom:2rem}
.pol-body h2{font-family:var(--fh);font-size:1.2rem;font-weight:700;margin:2rem 0 .5rem;color:var(--green)}
.pol-body p{margin-bottom:1rem;font-size:.95rem;line-height:1.75}
.pol-body ul{margin-left:1.5rem;margin-bottom:1rem}
.pol-body li{margin-bottom:.35rem;font-size:.93rem;color:var(--muted)}

/* SUCCESS */
.suc-page{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:2rem}
.suc-card{background:var(--white);border-radius:var(--radius);box-shadow:var(--sh-xl);padding:3.5rem 2.5rem;max-width:520px;text-align:center}
.suc-icon{font-size:4.5rem;margin-bottom:1.25rem}
.suc-card h1{font-family:var(--fh);font-size:2rem;font-weight:900;color:var(--green);margin-bottom:.75rem}
.suc-card p{color:var(--muted);margin-bottom:2rem}

/* 404 */
.err-page{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:2rem;text-align:center}
.err-num{font-family:var(--fh);font-size:7rem;font-weight:900;color:var(--card);line-height:1}
.err-page h2{font-family:var(--fh);font-size:1.5rem;font-weight:700;margin:.5rem 0 1rem}
.err-page p{color:var(--muted);margin-bottom:2rem}

/* ACTIVITY DECO */
.act-deco{display:flex;align-items:flex-end;gap:3px;height:32px}
.act-bar{width:6px;background:var(--accent);border-radius:3px;opacity:.25;animation:ab 1.8s ease-in-out infinite}
.act-bar:nth-child(2){animation-delay:.2s}
.act-bar:nth-child(3){animation-delay:.4s}
.act-bar:nth-child(4){animation-delay:.6s}
.act-bar:nth-child(5){animation-delay:.3s}
@keyframes ab{0%,100%{opacity:.2}50%{opacity:.7}}

@media(max-width:768px){
  .home-grid{grid-template-columns:1fr}
  .aside-box{position:static}
  .about-sec{grid-template-columns:1fr}
  nav{gap:.6rem}
  nav a{font-size:.78rem}
  .main-article{padding:1.5rem}
}
