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

:root {
  --deep: #0a1628;
  --navy: #0d2137;
  --teal: #00b4d8;
  --aqua: #48cae4;
  --ice: #caf0f8;
  --white: #ffffff;
  --gray: #8d99ae;
  --glass: rgba(10,22,40,.72);
  --radius: 12px;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-body);background:var(--deep);color:var(--white);line-height:1.7;overflow-x:hidden}
img{max-width:100%;height:auto;display:block;border-radius:var(--radius)}
a{color:var(--aqua);text-decoration:none;transition:color .3s}
a:hover{color:var(--white)}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.2;letter-spacing:-.02em}
h1{font-size:clamp(2rem,5vw,3.4rem)}
h2{font-size:clamp(1.5rem,3.5vw,2.2rem)}
h3{font-size:clamp(1.2rem,2.5vw,1.5rem)}
p{margin-bottom:1rem;color:var(--ice)}

/* HEADER */
.site-header{position:sticky;top:0;z-index:100;background:var(--glass);backdrop-filter:blur(18px);border-bottom:1px solid rgba(0,180,216,.15)}
.header-inner{max-width:1320px;margin:0 auto;padding:.9rem 1.5rem;display:flex;align-items:center;justify-content:space-between}
.logo{font-family:var(--font-display);font-size:1.6rem;font-weight:700;color:var(--white);letter-spacing:.06em}
.logo span{color:var(--teal)}
nav ul{display:flex;gap:1.6rem;list-style:none}
nav a{font-size:.88rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ice);font-weight:600}
nav a:hover{color:var(--teal)}
.burger{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px}
.burger span{width:26px;height:2px;background:var(--white);transition:.3s}

/* HERO */
.hero{position:relative;min-height:85vh;display:flex;align-items:flex-end;padding:2rem 1.5rem 3rem;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,var(--deep) 100%);z-index:1}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.55) saturate(1.2)}
.hero-content{position:relative;z-index:2;max-width:720px}
.hero-tag{display:inline-block;background:var(--teal);color:var(--deep);font-size:.75rem;font-weight:700;padding:.3rem .9rem;border-radius:20px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1rem}
.hero h1{margin-bottom:1rem;text-shadow:0 2px 30px rgba(0,0,0,.5)}
.hero p{font-size:1.1rem;max-width:560px;color:rgba(255,255,255,.85)}

/* LAYOUT */
.container{max-width:1320px;margin:0 auto;padding:0 1.5rem}
.grid-main{display:grid;grid-template-columns:1fr 340px;gap:2.5rem;padding:4rem 0}
section{padding:4rem 0}

/* CARDS */
.card{background:var(--navy);border-radius:var(--radius);overflow:hidden;transition:transform .35s,box-shadow .35s}
.card:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(0,180,216,.15)}
.card-body{padding:1.4rem}
.card-tag{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);font-weight:700;margin-bottom:.5rem}
.card h3{margin-bottom:.6rem}
.card p{font-size:.92rem;color:var(--gray)}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.8rem}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:1.8rem}
.side-box{background:var(--navy);border-radius:var(--radius);padding:1.5rem;border-left:3px solid var(--teal)}
.side-box h3{font-size:1rem;margin-bottom:.8rem;color:var(--aqua)}
.side-box p{font-size:.88rem;color:var(--gray);margin-bottom:.5rem}
.side-box ul{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.side-box li{font-size:.88rem;color:var(--gray);padding-left:1rem;position:relative}
.side-box li::before{content:'›';position:absolute;left:0;color:var(--teal);font-weight:700}

/* SUBSCRIBE */
.subscribe-box{background:linear-gradient(135deg,var(--navy),rgba(0,180,216,.15));border-radius:var(--radius);padding:2rem;text-align:center}
.subscribe-box h3{margin-bottom:.6rem;color:var(--white)}
.subscribe-box p{font-size:.9rem;color:var(--gray);margin-bottom:1rem}
.subscribe-form{display:flex;gap:.6rem}
.subscribe-form input[type=email]{flex:1;padding:.75rem 1rem;border:1px solid rgba(0,180,216,.3);background:var(--deep);color:var(--white);border-radius:var(--radius);font-size:.9rem;min-height:44px}
.subscribe-form input[type=email]:focus{outline:none;border-color:var(--teal)}
.subscribe-form button{padding:.75rem 1.6rem;background:var(--teal);color:var(--deep);font-weight:700;border:none;border-radius:var(--radius);cursor:pointer;font-size:.9rem;min-height:44px;white-space:nowrap;transition:background .3s}
.subscribe-form button:hover{background:var(--aqua)}

/* WAVE DIVIDER */
.wave-divider{height:60px;background:var(--deep);position:relative;overflow:hidden}
.wave-divider::before{content:'';position:absolute;bottom:0;width:200%;height:100%;background:repeating-linear-gradient(90deg,transparent,transparent 40px,rgba(0,180,216,.06) 40px,rgba(0,180,216,.06) 80px)}

/* TIPS */
.tips-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.tip{background:linear-gradient(145deg,var(--navy),rgba(0,180,216,.08));border-radius:var(--radius);padding:1.5rem;border-top:3px solid var(--teal);transition:transform .3s}
.tip:hover{transform:scale(1.03)}
.tip h4{color:var(--aqua);margin-bottom:.5rem}
.tip p{font-size:.9rem;color:var(--gray)}

/* ARTICLE PAGE */
.article-hero{padding:5rem 1.5rem 3rem;background:linear-gradient(180deg,rgba(0,180,216,.1),var(--deep))}
.article-hero h1{max-width:800px}
.article-meta{font-size:.85rem;color:var(--gray);margin-top:.8rem}
.article-body{max-width:800px;padding:2rem 1.5rem 4rem;margin:0 auto}
.article-body p{font-size:1.05rem;margin-bottom:1.3rem}
.article-body h2{margin:2rem 0 1rem;color:var(--aqua)}
.article-body blockquote{border-left:3px solid var(--teal);padding:1rem 1.5rem;margin:1.5rem 0;background:rgba(0,180,216,.06);border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--ice)}
.article-cta{background:var(--navy);border-radius:var(--radius);padding:2rem;margin:2rem 0;text-align:center}

/* HIGHLIGHT STRIP */
.highlight-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.highlight-strip .hs-item{padding:2rem 1.5rem;text-align:center;background:var(--navy);border-right:1px solid rgba(0,180,216,.1);transition:background .3s}
.highlight-strip .hs-item:hover{background:rgba(0,180,216,.1)}
.highlight-strip .hs-num{font-family:var(--font-display);font-size:2.2rem;font-weight:700;color:var(--teal)}
.highlight-strip .hs-label{font-size:.82rem;color:var(--gray);margin-top:.3rem}

/* SUCCESS / ERROR */
.msg-page{min-height:70vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:2rem}
.msg-page h1{margin-bottom:1rem}
.msg-page p{color:var(--gray);margin-bottom:1.5rem;max-width:500px}
.btn{display:inline-block;padding:.85rem 2rem;background:var(--teal);color:var(--deep);font-weight:700;border-radius:var(--radius);min-height:44px;transition:background .3s}
.btn:hover{background:var(--aqua);color:var(--deep)}

/* LEGAL */
.legal-page{max-width:800px;margin:0 auto;padding:4rem 1.5rem}
.legal-page h1{margin-bottom:2rem;color:var(--aqua)}
.legal-page h2{font-size:1.15rem;margin:1.8rem 0 .6rem;color:var(--white)}
.legal-page p{font-size:.92rem;color:var(--gray)}

/* FOOTER */
.site-footer{background:var(--navy);border-top:1px solid rgba(0,180,216,.12);padding:2.5rem 1.5rem 1.5rem}
.footer-inner{max-width:1320px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.5rem}
.footer-brand{font-family:var(--font-display);font-size:1.2rem;font-weight:700;color:var(--white)}
.footer-links{display:flex;gap:1.2rem;flex-wrap:wrap}
.footer-links a{font-size:.82rem;color:var(--gray)}
.footer-links a:hover{color:var(--teal)}
.footer-disclaimer{width:100%;font-size:.75rem;color:rgba(141,153,174,.6);margin-top:1rem;line-height:1.6;border-top:1px solid rgba(0,180,216,.08);padding-top:1rem}

/* COOKIES BANNER */
.cookie-banner{position:fixed;bottom:1rem;right:1rem;max-width:380px;background:var(--navy);border:1px solid rgba(0,180,216,.2);border-radius:var(--radius);padding:1.4rem;z-index:999;box-shadow:0 8px 32px rgba(0,0,0,.4);transition:opacity .4s,visibility .4s}
#cookie-toggle:checked ~ .cookie-banner{opacity:0;visibility:hidden;pointer-events:none}
.cookie-banner p{font-size:.84rem;color:var(--gray);margin-bottom:1rem}
.cookie-actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
.cookie-actions .btn{font-size:.82rem;padding:.6rem 1.2rem}
.cookie-actions .btn-outline{background:transparent;border:1px solid var(--gray);color:var(--gray)}
.cookie-actions .btn-outline:hover{border-color:var(--teal);color:var(--teal)}
.cookie-actions a{font-size:.78rem;color:var(--gray)}

/* FEATURED MOSAIC */
.mosaic{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto auto;gap:1.2rem}
.mosaic .card:first-child{grid-column:1/3;grid-row:1/3}

/* RESPONSIVE */
@media(max-width:1024px){
  .grid-main{grid-template-columns:1fr}
  .highlight-strip{grid-template-columns:repeat(2,1fr)}
  .mosaic{grid-template-columns:1fr 1fr}
  .mosaic .card:first-child{grid-column:1/3;grid-row:auto}
}
@media(max-width:768px){
  nav ul{display:none;position:absolute;top:100%;left:0;right:0;background:var(--glass);backdrop-filter:blur(18px);flex-direction:column;padding:1.5rem;gap:1rem;border-bottom:1px solid rgba(0,180,216,.15)}
  nav.open ul{display:flex}
  .burger{display:flex}
  .hero{min-height:65vh}
  .highlight-strip{grid-template-columns:1fr 1fr}
  .mosaic{grid-template-columns:1fr}
  .mosaic .card:first-child{grid-column:auto}
  .subscribe-form{flex-direction:column}
  .cookie-banner{left:1rem;right:1rem;max-width:none}
}
@media(max-width:480px){
  .highlight-strip{grid-template-columns:1fr}
}

/* ANIMATIONS */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.fade-up{animation:fadeUp .7s ease both}
.fade-up:nth-child(2){animation-delay:.12s}
.fade-up:nth-child(3){animation-delay:.24s}
.fade-up:nth-child(4){animation-delay:.36s}

/* DEPTH EFFECTS */
.depth-bg{position:relative}
.depth-bg::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 80%,rgba(0,180,216,.08),transparent 60%);pointer-events:none}
