/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');
:root{--bg:#F0FDF4;--bg2:#DCFCE7;--accent:#0EA5E9;--accent-d:#0284C7;--green:#16A34A;--txt:#14532D;--muted:#4B7A5A;--card:#ffffff;--border:#BBF7D0;--shadow:0 4px 24px rgba(14,165,233,.08);--shadow-xl:0 20px 60px rgba(14,165,233,.16);--r:20px;--r-sm:12px;--fh:'Fraunces',serif;--fb:'DM Sans',sans-serif}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--fb);background:var(--bg);color:var(--txt);line-height:1.75;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none;transition:color .2s}
a:hover{color:var(--accent-d)}
h1,h2,h3,h4{font-family:var(--fh);line-height:1.2;color:var(--txt)}
h1{font-size:clamp(2rem,5vw,3.5rem);font-weight:900}
h2{font-size:clamp(1.4rem,3vw,2.1rem);font-weight:700}
h3{font-size:clamp(1.05rem,2.5vw,1.45rem);font-weight:700}
p{margin-bottom:1rem}
.container{max-width:1100px;margin:0 auto;padding:0 1.25rem}
.section{padding:4rem 0}
.section-title{text-align:center;margin-bottom:2.5rem}
.section-title p{color:var(--muted);margin-top:.4rem}

/* Header */
header{background:rgba(240,253,244,.93);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.25rem;max-width:1100px;margin:0 auto;gap:1rem}
.logo{font-family:var(--fh);font-size:1.6rem;font-weight:900;color:var(--txt);letter-spacing:-1px}
nav{display:flex;gap:1.4rem;align-items:center;flex-wrap:wrap}
nav a{font-size:.88rem;font-weight:500;color:var(--muted);transition:color .2s}
nav a:hover{color:var(--accent)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;border-radius:50px;font-family:var(--fb);font-weight:600;font-size:1rem;cursor:pointer;transition:transform .2s,box-shadow .2s;border:none;text-decoration:none}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 8px 24px rgba(14,165,233,.35)}
.btn-primary:hover{background:var(--accent-d);color:#fff;transform:translateY(-3px);box-shadow:0 14px 32px rgba(14,165,233,.45)}
.btn-outline{background:transparent;color:var(--accent);border:2px solid var(--accent)}
.btn-outline:hover{background:var(--accent);color:#fff;transform:translateY(-3px)}
.btn-green{background:var(--green);color:#fff;box-shadow:0 8px 24px rgba(22,163,74,.3)}
.btn-green:hover{background:#15803D;color:#fff;transform:translateY(-3px)}

/* Hero */
.hero{position:relative;min-height:90vh;display:flex;align-items:center;overflow:hidden;background:linear-gradient(135deg,#E8FFF2 0%,var(--bg2) 50%,#D0F0FF 100%)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.14;z-index:0}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(120deg,rgba(240,253,244,.97) 50%,rgba(220,252,231,.6) 100%);z-index:1}
.hero-content{position:relative;z-index:2;max-width:680px;padding:4rem 1.25rem}
.hero-badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(14,165,233,.1);color:var(--accent-d);border:1px solid rgba(14,165,233,.22);border-radius:50px;padding:.4rem 1rem;font-size:.8rem;font-weight:700;margin-bottom:1.5rem;letter-spacing:.04em;text-transform:uppercase}
.hero h1{margin-bottom:1.25rem}
.lead{font-size:1.13rem;color:var(--muted);margin-bottom:2rem;max-width:540px}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.hero-deco{position:absolute;right:5%;bottom:10%;z-index:2;display:flex;flex-direction:column;gap:12px;align-items:flex-end;opacity:.7}
.deco-badge{background:#fff;border-radius:14px;padding:.7rem 1rem;box-shadow:var(--shadow-xl);font-size:.8rem;font-weight:700;color:var(--txt);display:flex;align-items:center;gap:.5rem}
.deco-icon{font-size:1.2rem}
.activity-bars{display:flex;align-items:flex-end;gap:5px;height:48px;padding:0 .5rem}
.ab{width:10px;border-radius:5px;background:var(--bg2)}
.ab.h1c{height:30%;background:var(--accent)}
.ab.h2c{height:55%;background:var(--accent)}
.ab.h3c{height:80%;background:var(--green)}
.ab.h4c{height:100%;background:var(--green)}
.ab.h5c{height:70%;background:var(--accent)}
.ab.h6c{height:40%;background:var(--bg2)}
.ab.h7c{height:62%;background:var(--accent)}

/* Cards */
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);border:1px solid var(--border);overflow:hidden;transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-xl)}
.card-body{padding:1.75rem;flex:1;display:flex;flex-direction:column}
.card-badge{display:inline-flex;align-items:center;gap:.3rem;background:var(--bg2);color:var(--green);font-size:.72rem;font-weight:700;border-radius:50px;padding:.25rem .75rem;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.06em}
.card h3{margin-bottom:.75rem;font-size:1.15rem}
.card p{color:var(--muted);font-size:.94rem;flex:1;margin-bottom:1.25rem}
.card-link{display:inline-flex;align-items:center;gap:.4rem;color:var(--accent);font-weight:600;font-size:.88rem;margin-top:auto;transition:gap .2s}
.card-link:hover{gap:.7rem}

/* Main article */
.main-article{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);border:1px solid var(--border);overflow:hidden;margin-bottom:1.5rem}
.main-article-top{background:linear-gradient(135deg,var(--bg2),#D0F0FF);padding:.6rem 2.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.featured-badge{background:var(--accent);color:#fff;font-size:.72rem;font-weight:700;padding:.3rem .9rem;border-radius:50px;text-transform:uppercase;letter-spacing:.06em}
.reading-time{font-size:.82rem;color:var(--muted)}
.main-article-content{padding:2.5rem}
.main-article-meta{display:flex;gap:1.25rem;color:var(--muted);font-size:.85rem;margin-bottom:1.5rem;flex-wrap:wrap;align-items:center}
.main-article h2{font-size:clamp(1.35rem,3vw,1.9rem);margin-bottom:1rem}
.article-text p{color:var(--muted);line-height:1.8}
.read-more-btn{margin-top:1.75rem}

/* Full article page */
article.full{max-width:780px;margin:0 auto;padding:3rem 1.25rem}
article.full h1{margin-bottom:1rem}
.article-meta{display:flex;gap:1rem;flex-wrap:wrap;color:var(--muted);font-size:.88rem;margin-bottom:2rem;align-items:center}
.article-img{border-radius:var(--r);overflow:hidden;margin-bottom:2.5rem}
.article-img img{width:100%;height:400px;object-fit:cover}
.article-section{margin-bottom:2.5rem}
.article-section h2{margin-bottom:1rem;padding-left:1rem;border-left:4px solid var(--accent)}
.article-section p{color:var(--muted);line-height:1.8}
.article-section ul{padding-left:1.5rem;color:var(--muted);display:flex;flex-direction:column;gap:.55rem;margin-top:.75rem}
.highlight-box{background:linear-gradient(135deg,var(--bg2),#D0F0FF);border-radius:var(--r-sm);padding:1.5rem;margin:1.5rem 0;border-left:4px solid var(--green)}
.highlight-box p{color:var(--txt);margin:0;font-weight:500}
.disclaimer{background:#FFFBEB;border:1px solid #FDE68A;border-radius:var(--r-sm);padding:1.5rem 1.75rem;margin-top:2.5rem}
.disclaimer p{font-size:.9rem;color:#92400E;margin:0;line-height:1.65}
.sources{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.sources h4{font-size:.85rem;font-weight:700;margin-bottom:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.sources-list{display:flex;flex-direction:column;gap:.4rem}
.sources-list a{font-size:.85rem;color:var(--accent)}
.breadcrumb{display:flex;gap:.5rem;align-items:center;font-size:.84rem;color:var(--muted);margin-bottom:2rem;flex-wrap:wrap}
.breadcrumb a{color:var(--accent)}
.breadcrumb span{opacity:.5}
.tag{display:inline-block;background:var(--bg2);color:var(--green);border-radius:50px;padding:.2rem .7rem;font-size:.75rem;font-weight:600;margin-right:.35rem;margin-bottom:.35rem}

/* About */
.about-section{background:linear-gradient(135deg,var(--bg2),#E0F7FF);border-radius:var(--r);padding:3rem}
.about-inner{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;max-width:1100px;margin:0 auto}
.about-text h2{margin-bottom:1rem}
.about-text p{color:var(--muted);margin-bottom:1rem}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.stat-box{background:#fff;border-radius:var(--r-sm);padding:1.25rem;text-align:center;box-shadow:var(--shadow)}
.stat-num{font-family:var(--fh);font-size:2.1rem;font-weight:900;color:var(--accent);display:block;line-height:1}
.stat-lbl{font-size:.76rem;color:var(--muted);margin-top:.25rem;display:block}

/* Form */
.form-wrap{background:#fff;border-radius:var(--r);box-shadow:8px 8px 30px rgba(14,165,233,.08),-4px -4px 16px rgba(255,255,255,.9),0 20px 60px rgba(14,165,233,.1);padding:2.5rem;max-width:540px;margin:0 auto;border:1px solid var(--border)}
.form-wrap h2{margin-bottom:.5rem}
.form-wrap .sub{color:var(--muted);margin-bottom:2rem;font-size:.93rem}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-size:.84rem;font-weight:600;color:var(--muted);margin-bottom:.4rem;letter-spacing:.02em}
.form-group input{width:100%;padding:.9rem 1.15rem;border:2px solid var(--border);border-radius:var(--r-sm);font-family:var(--fb);font-size:1rem;background:var(--bg);color:var(--txt);transition:border-color .2s,box-shadow .2s;outline:none}
.form-group input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(14,165,233,.1)}
.form-submit{width:100%}

/* Policy pages */
.policy-content{max-width:840px;margin:0 auto;padding:3rem 1.25rem}
.policy-content h1{margin-bottom:.5rem}
.policy-content .date{color:var(--muted);font-size:.88rem;margin-bottom:2.5rem}
.policy-content section{margin-bottom:2rem}
.policy-content h2{font-size:1.25rem;margin-bottom:.75rem;padding-left:.75rem;border-left:3px solid var(--accent)}
.policy-content p{color:var(--muted);font-size:.97rem}
.policy-content ul{padding-left:1.5rem;display:flex;flex-direction:column;gap:.4rem;margin:.75rem 0}
.policy-content li{color:var(--muted);font-size:.97rem}

/* Success */
.success-wrap{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:2rem}
.success-card{background:#fff;border-radius:var(--r);box-shadow:var(--shadow-xl);padding:3rem;max-width:500px;width:100%;text-align:center;border:1px solid var(--border)}
.success-icon{font-size:4.5rem;margin-bottom:1.25rem;display:block}
.success-card h1{font-size:1.9rem;margin-bottom:.75rem}
.success-card p{color:var(--muted);margin-bottom:1.25rem}

/* 404 */
.notfound{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem}
.big-404{font-family:var(--fh);font-size:clamp(5rem,20vw,11rem);font-weight:900;color:var(--bg2);line-height:1;margin-bottom:.5rem}
.notfound h2{margin-bottom:.75rem;font-size:1.7rem}
.notfound p{color:var(--muted);margin-bottom:2rem;max-width:360px}

/* Cookie (CSS only) */
.cookie-wrap input[type="checkbox"]{display:none}
.cookie-wrap input[type="checkbox"]:checked~.cookie-modal{opacity:0;pointer-events:none;transform:translateY(20px) scale(.97)}
.cookie-modal{position:fixed;bottom:24px;right:24px;background:#fff;border-radius:var(--r);box-shadow:var(--shadow-xl);padding:1.5rem;max-width:320px;z-index:9999;transition:opacity .4s,transform .4s;border:1px solid var(--border)}
.cookie-modal p{font-size:.875rem;color:var(--muted);margin-bottom:1rem;line-height:1.55}
.cookie-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.cookie-btn{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1.15rem;border-radius:50px;font-weight:600;font-size:.84rem;cursor:pointer;transition:all .2s}
.cookie-btn-ok{background:var(--accent);color:#fff;box-shadow:0 4px 16px rgba(14,165,233,.3)}
.cookie-btn-ok:hover{background:var(--accent-d)}
.cookie-btn-more{background:var(--bg2);color:var(--green);border:1px solid var(--border)}

/* Footer */
footer{background:#14532D;color:rgba(255,255,255,.8);padding:3.5rem 1.25rem 2rem}
.footer-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.footer-brand .logo{color:#fff;display:block;margin-bottom:.75rem}
.footer-brand p{font-size:.87rem;opacity:.62;line-height:1.65}
footer h4{font-family:var(--fh);color:#fff;margin-bottom:1rem;font-size:1rem;font-weight:700}
footer ul{list-style:none;display:flex;flex-direction:column;gap:.55rem}
footer ul a{color:rgba(255,255,255,.6);font-size:.87rem;transition:color .2s}
footer ul a:hover{color:var(--accent)}
.footer-bottom{max-width:1100px;margin:0 auto;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;font-size:.82rem;opacity:.5}

/* Animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.fade-up{animation:fadeUp .8s ease both}
.fade-up-d1{animation:fadeUp .8s .12s ease both}
.fade-up-d2{animation:fadeUp .8s .24s ease both}
.fade-up-d3{animation:fadeUp .8s .36s ease both}
.float-anim{animation:float 4s ease-in-out infinite}

/* Responsive */
@media(max-width:768px){.about-inner{grid-template-columns:1fr;gap:2rem}.footer-inner{grid-template-columns:1fr;gap:1.5rem}.hero-deco{display:none}.section{padding:3rem 0}.main-article-content{padding:1.5rem}}
@media(max-width:520px){nav{gap:.75rem}nav a{font-size:.8rem}.cookie-modal{right:12px;bottom:12px;left:12px;max-width:unset}.about-stats{grid-template-columns:1fr 1fr}.cards-grid{grid-template-columns:1fr}}