@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --color-primary: #ff6b6b;
  --color-secondary: #ffd93d;
  --color-accent: #6bcb77;
  --color-bg: #ffffff;
  --color-text: #2d2d2d;
  --color-muted: #6b6b6b;
  --color-border: #eee;
  --color-soft: #fff5f5;
  --shadow-card: 0 4px 20px rgba(0,0,0,.06);
  --radius: 18px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; position: relative; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.25rem; color: var(--color-text); }
.brand-icon { width: 28px; height: 28px; display: inline-block; vertical-align: -6px; }
.brand-icon svg, .brand-icon img { width: 100%; height: 100%; display: block; }
.brand-text { color: var(--color-primary); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; list-style: none; }
.nav-links > li > a { color: var(--color-text); font-weight: 600; font-size: .95rem; }
.nav-links > li > a:hover { color: var(--color-primary); text-decoration: none; }
.lang-switch { display: flex; gap: .35rem; align-items: center; font-size: .8rem; }
.lang-switch a { padding: .25rem .55rem; border-radius: 6px; color: var(--color-muted); font-weight: 700; }
.lang-switch a.active { background: var(--color-primary); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, #fff5f5 0%, #fff9e6 100%);
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.hero .accent { color: var(--color-primary); }
.hero p.lead { font-size: 1.15rem; color: var(--color-muted); max-width: 640px; margin: 0 auto 1.75rem; }
.hero-cta { display: inline-flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  padding: .85rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
  border: 0; cursor: pointer;
  text-decoration: none !important;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 4px 14px rgba(255,107,107,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,107,107,.45); }
.btn-outline { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* Section */
.section { padding: 3.5rem 0; }
.section-alt { background: #fffaf0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: .5rem; }
.section-head p { color: var(--color-muted); max-width: 580px; margin: 0 auto; }
.kicker { display: inline-block; background: var(--color-secondary); color: #5d4700; font-weight: 700; font-size: .8rem; padding: .3rem .8rem; border-radius: 100px; margin-bottom: .75rem; letter-spacing: .04em; text-transform: uppercase; }

/* Grid */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Card */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  color: var(--color-text);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.1); text-decoration: none; }
.card-visual {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #ffe4e4, #fff4c2);
}
.card-visual.op { background: linear-gradient(135deg, #ffedd5, #fde68a); }
.card-visual.pk { background: linear-gradient(135deg, #fecaca, #fef08a); }
.card-visual.sa { background: linear-gradient(135deg, #fce7f3, #fee2e2); }
.card-visual.cs { background: linear-gradient(135deg, #fde4cf, #fecdd3); }
.card-visual.gn { background: linear-gradient(135deg, #d1fae5, #fef3c7); }
.card-visual.bl { background: linear-gradient(135deg, #dbeafe, #ede9fe); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card-tag { display: inline-block; background: var(--color-soft); color: var(--color-primary); font-size: .72rem; font-weight: 800; padding: .2rem .6rem; border-radius: 100px; margin-bottom: .5rem; align-self: flex-start; letter-spacing: .03em; text-transform: uppercase; }
.card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; line-height: 1.3; }
.card p { color: var(--color-muted); font-size: .9rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--color-muted); margin-top: .75rem; align-items: center; }
.card-price { color: var(--color-primary); font-weight: 800; }
.card-link { margin-top: .75rem; color: var(--color-primary); font-weight: 700; font-size: .9rem; }

/* Article layout */
.article { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.25rem 1rem; }
.article h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; line-height: 1.2; }
.article .meta { color: var(--color-muted); font-size: .9rem; margin-bottom: 2rem; }
.article h2 { font-size: 1.5rem; font-weight: 800; margin: 2.25rem 0 .75rem; }
.article h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.article p, .article li { font-size: 1.05rem; color: #333; margin-bottom: .9rem; }
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article img { border-radius: var(--radius); margin: 1.5rem 0; }
.article blockquote { border-left: 4px solid var(--color-primary); padding: .5rem 0 .5rem 1rem; color: var(--color-muted); font-style: italic; margin: 1.25rem 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; }
.article th, .article td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--color-border); }
.article th { background: var(--color-soft); font-weight: 800; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--color-primary), #ff8787);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-box h3 { font-size: 1.4rem; margin-bottom: .5rem; color: #fff; }
.cta-box p { color: rgba(255,255,255,.92); margin-bottom: 1.25rem; }
.cta-box .btn { background: #fff; color: var(--color-primary); }
.cta-box .btn:hover { transform: translateY(-2px); }

/* Product card */
.product {
  display: flex; gap: 1rem; align-items: center;
  background: var(--color-soft); border-radius: var(--radius);
  padding: 1rem; margin: 1rem 0;
  border: 1px solid #ffe0e0;
}
.product-visual { width: 110px; height: 110px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 2.75rem; background: #fff; flex-shrink: 0; }
.product-info { flex: 1; }
.product-info h4 { font-size: 1rem; font-weight: 800; margin-bottom: .25rem; }
.product-info p { font-size: .85rem; color: var(--color-muted); margin-bottom: .4rem; }
.product-info .price { color: var(--color-primary); font-weight: 800; font-size: .95rem; }
.product a.btn { padding: .6rem 1rem; font-size: .85rem; flex-shrink: 0; }

/* Footer */
.site-footer { background: #1f1f1f; color: #d0d0d0; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: .75rem; font-weight: 800; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .4rem; }
.footer-grid a { color: #b8b8b8; font-size: .9rem; }
.footer-grid a:hover { color: var(--color-primary); }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .5rem; }
.footer-about { color: #a0a0a0; font-size: .9rem; max-width: 340px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 1.25rem; display: flex; justify-content: space-between; font-size: .8rem; color: #888; flex-wrap: wrap; gap: .5rem; }
.disclosure { font-size: .8rem; color: #888; margin-top: .75rem; max-width: 720px; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--color-muted); padding: 1rem 0 0; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* Tag row */
.tag-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tag { background: var(--color-soft); color: var(--color-primary); font-size: .8rem; font-weight: 700; padding: .3rem .75rem; border-radius: 100px; }

/* Series header */
.series-header { padding: 3rem 0 1.5rem; text-align: center; background: linear-gradient(135deg, #fff5f5, #fff9e6); }
.series-header h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: .5rem; }
.series-header p { color: var(--color-muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* Cookie consent banner */
.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 720px; margin: 0 auto;
  background: #1f1f1f; color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 200;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .9rem;
  line-height: 1.45;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; flex: 1 1 320px; color: #d8d8d8; }
.consent-banner a { color: var(--color-secondary); text-decoration: underline; }
.consent-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.consent-actions button {
  font-family: inherit; font-size: .85rem; font-weight: 700;
  border: 0; cursor: pointer; padding: .55rem 1.1rem;
  border-radius: 100px; transition: transform .12s, opacity .12s;
}
.consent-actions button:hover { transform: translateY(-1px); }
.consent-actions [data-consent="accept"] { background: var(--color-primary); color: #fff; }
.consent-actions [data-consent="deny"] { background: #444; color: #fff; }

/* Responsive */
@media (max-width: 780px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 1rem 1.25rem; border-top: 1px solid var(--color-border); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; padding: .6rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-links > li:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .lang-switch { padding-top: .5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product { flex-direction: column; align-items: stretch; }
  .product-visual { width: 100%; height: 160px; }
  .product a.btn { text-align: center; }
}
