/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg: #FFFBEB;
  --accent-light: #FEF08A;
  --accent: #D97706;
  --accent-dark: #92400E;
  --text: #1C1917;
  --text-muted: #78716C;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(217,119,6,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; }
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; font-size: 1rem; font-family: inherit; text-align: center; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(217,119,6,0.32); }
.btn-primary { background: linear-gradient(270deg, #92400E, #D97706, #FEF08A, #F59E0B, #D97706); background-size: 400% 400%; animation: pulseGrad 5s ease infinite; color: #1C1917; font-weight: 700; }
@keyframes pulseGrad { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-white { background: var(--white); color: var(--accent-dark); font-weight: 700; }
.btn-white:hover { background: var(--accent-light); }

header { background: var(--white); box-shadow: 0 2px 16px rgba(217,119,6,0.10); position: sticky; top: 0; z-index: 200; }
.header-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 24px; flex-wrap: wrap; gap: 8px; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--accent); letter-spacing: -0.5px; }
nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--text-muted); font-size: .92rem; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
nav a:hover { color: var(--accent); border-bottom-color: var(--accent-light); }

.hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #D97706 0%, #F59E0B 35%, #FEF08A 70%, #FFFBEB 100%); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); padding: 90px 24px 150px; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.45) 0%, transparent 70%); }
.hero-content { position: relative; max-width: 720px; text-align: center; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.7); color: var(--accent-dark); font-size: .78rem; font-weight: 700; padding: 6px 18px; border-radius: 50px; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; backdrop-filter: blur(4px); }
.hero-content h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); color: #1C1917; margin-bottom: 22px; text-shadow: 0 2px 12px rgba(255,255,255,0.6); }
.hero-content p { font-size: 1.15rem; color: #44403C; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.section { padding: 72px 24px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--accent-dark); margin-bottom: 12px; }
.section-sub { color: var(--text-muted); margin-bottom: 44px; font-size: 1.05rem; }

.diagonal-band { background: linear-gradient(135deg, #FEF08A 0%, #FDE68A 50%, #FCD34D 100%); clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%); padding: 110px 24px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .28s, box-shadow .28s; }
.card:hover { transform: translateY(-7px); box-shadow: 0 16px 48px rgba(217,119,6,0.2); }
.card-body { padding: 30px; }
.card-tag { display: inline-block; background: var(--accent-light); color: var(--accent-dark); font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .6px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text); }
.card-body p { color: var(--text-muted); font-size: .95rem; margin-bottom: 22px; line-height: 1.7; }

.main-article-card { background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 40px rgba(217,119,6,0.14); overflow: hidden; display: grid; grid-template-columns: 1fr; }
@media(min-width:720px){.main-article-card{grid-template-columns:1fr 1fr;}}
.main-article-img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.main-article-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.main-article-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; color: var(--text); }
.main-article-body p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.8; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media(min-width:720px){.about-grid{grid-template-columns:1fr 1fr;}}
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--accent-dark); margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 40px; }
.stat-box { background: var(--white); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .88rem; color: var(--text-muted); font-weight: 500; }

.subscribe-section { background: linear-gradient(135deg, #78350F, #92400E, #D97706); clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 93%); padding: 130px 24px; text-align: center; }
.subscribe-section h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.subscribe-section p { color: rgba(255,255,255,0.88); margin-bottom: 40px; font-size: 1.05rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
@media(min-width:600px){.form-grid{grid-template-columns:1fr 1fr;} .form-full{grid-column:1 / -1;}}
.form-input { width: 100%; padding: 15px 20px; border-radius: var(--radius); border: 2px solid transparent; font-size: 1rem; font-family: inherit; background: rgba(255,255,255,0.96); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-input:focus { border-color: var(--accent-light); box-shadow: 0 0 0 4px rgba(254,240,138,0.3); }
.form-input::placeholder { color: var(--text-muted); }

.article-hero { background: linear-gradient(135deg, #D97706 0%, #F59E0B 40%, #FEF08A 100%); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); padding: 90px 24px 130px; text-align: center; }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #1C1917; margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.article-meta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.article-meta span { background: rgba(255,255,255,0.65); color: var(--accent-dark); font-size: .85rem; font-weight: 600; padding: 5px 16px; border-radius: 50px; backdrop-filter: blur(4px); }
.article-body { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article-body h2 { font-size: 1.75rem; color: var(--accent-dark); margin: 44px 0 18px; }
.article-body h3 { font-size: 1.3rem; color: var(--accent); margin: 32px 0 14px; font-style: italic; }
.article-body p { color: var(--text); margin-bottom: 22px; font-size: 1.05rem; line-height: 1.88; }
.article-body ul { margin: 0 0 22px 28px; }
.article-body ul li { margin-bottom: 12px; color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.article-intro { font-size: 1.18rem; color: #44403C; border-left: 4px solid var(--accent-light); padding-left: 20px; margin-bottom: 36px; font-style: italic; line-height: 1.85; }
.fact-box { background: linear-gradient(135deg, #FFFBEB, #FEF9C3); border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 28px; margin: 32px 0; }
.fact-box strong { color: var(--accent-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 8px; }
.fact-box p { margin: 0; font-style: italic; color: #44403C; font-size: .97rem; }
.article-img-full { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); margin: 40px 0; box-shadow: 0 8px 40px rgba(217,119,6,0.15); }
.disclaimer { background: #FEF9C3; border: 2px solid #FDE68A; border-radius: var(--radius); padding: 28px 32px; margin: 44px 0 20px; }
.disclaimer strong { color: var(--accent-dark); display: block; margin-bottom: 10px; font-size: 1rem; }
.disclaimer p { margin: 0; font-size: .92rem; color: var(--text-muted); line-height: 1.75; }

.policy-hero { background: linear-gradient(135deg, #D97706, #FEF08A); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); padding: 70px 24px 110px; text-align: center; }
.policy-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: #1C1917; }
.policy-hero p { color: #44403C; margin-top: 12px; font-size: .95rem; }
.policy-body { max-width: 780px; margin: 0 auto; padding: 56px 24px; }
.policy-body h2 { font-size: 1.4rem; color: var(--accent-dark); margin: 36px 0 14px; }
.policy-body p { color: var(--text); margin-bottom: 16px; line-height: 1.85; font-size: 1rem; }
.policy-body ul { margin: 0 0 18px 28px; }
.policy-body ul li { margin-bottom: 10px; color: var(--text); line-height: 1.7; }

.success-page { min-height: 72vh; display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.success-box { background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 60px rgba(217,119,6,0.16); padding: 60px 44px; max-width: 540px; width: 100%; text-align: center; border-top: 6px solid var(--accent); }
.success-icon { font-size: 4.5rem; margin-bottom: 24px; }
.success-box h1 { font-size: 2.2rem; color: var(--accent-dark); margin-bottom: 18px; }
.success-box p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }

.not-found { min-height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; }
.big-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(6rem, 18vw, 11rem); color: var(--accent-light); line-height: 1; margin-bottom: 4px; font-weight: 700; }
.not-found h2 { font-size: 2rem; color: var(--accent-dark); margin-bottom: 16px; }
.not-found p { color: var(--text-muted); margin-bottom: 32px; max-width: 440px; font-size: 1.05rem; }

footer { background: #1C1917; color: rgba(255,255,255,0.72); padding: 64px 24px 28px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; margin-bottom: 44px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; color: #FEF08A; letter-spacing: -0.5px; }
.footer-brand p { margin-top: 14px; font-size: .88rem; line-height: 1.75; }
.footer-col h4 { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,0.62); font-size: .88rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #FEF08A; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,0.45); }

#cookie-toggle { display: none; }
.cookie-banner { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 48px rgba(0,0,0,0.2); padding: 26px; max-width: 350px; border-top: 5px solid var(--accent); transition: opacity .35s ease, transform .35s ease; }
#cookie-toggle:checked ~ .cookie-banner { opacity: 0; pointer-events: none; transform: translateY(24px); }
.cookie-banner h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.cookie-banner p { font-size: .84rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-accept { display: inline-block; padding: 10px 22px; background: var(--accent); color: var(--white); border-radius: var(--radius); font-weight: 700; cursor: pointer; font-size: .88rem; transition: background .2s; font-family: inherit; }
.cookie-accept:hover { background: var(--accent-dark); }
.cookie-more { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--accent); color: var(--accent); border-radius: var(--radius); font-size: .85rem; font-weight: 500; transition: all .2s; }
.cookie-more:hover { background: var(--accent-light); }

@media(max-width:620px) {
  .header-inner { height: auto; padding: 12px 16px; gap: 8px; flex-direction: column; align-items: flex-start; }
  nav { gap: 14px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .main-article-body { padding: 24px; }
  .article-body { padding: 36px 16px; }
  .success-box { padding: 40px 24px; }
}