:root {
  --warm: #F7F5F0;
  --cream: #EBE8E0;
  --text: #3A3A32;
  --text-light: #6B6B5E;
  --accent: #7A8B6F;
  --accent-hover: #637A56;
  --white: #FFFFFF;
  --shadow: rgba(58,58,50,0.08);

  --blue: #7BA7C2;
  --green: #7A8B6F;
  --orange: #C4956A;
  --purple: #9B8DB8;
  --teal: #6FA8A0;
  --red: #C27A7A;
  --pink: #C28BA3;
  --navy: #6A7FA0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--warm);
  color: var(--text);
  line-height: 1.7;
}

/* HERO */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(122,139,111,0.07);
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(122,139,111,0.05);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 8px;
}
.hero h1 span { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500; color: var(--text-light);
  margin-bottom: 28px; letter-spacing: 0.5px;
}
.hero-desc {
  font-size: 17px; color: var(--text-light);
  max-width: 600px; margin: 0 auto 36px; line-height: 1.8;
}
.hero-badges {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px;
}
.badge {
  background: var(--white); border: 1px solid rgba(61,44,34,0.08);
  border-radius: 40px; padding: 8px 20px;
  font-size: 14px; font-weight: 600; color: var(--text);
  box-shadow: 0 2px 8px var(--shadow);
}
.hero-cta {
  display: inline-block; background: var(--accent); color: var(--white);
  font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 700;
  padding: 16px 40px; border-radius: 50px; text-decoration: none;
  transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(122,139,111,0.3);
}
.hero-cta:hover {
  background: var(--accent-hover); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122,139,111,0.4);
}

/* SECTION */
section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; text-align: center; color: var(--text); margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; font-size: 17px; color: var(--text-light);
  margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* TABS */
.tabs-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 40px;
  padding: 8px; background: var(--white);
  border-radius: 20px; box-shadow: 0 2px 12px var(--shadow);
}
.tab-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 20px; border: 2px solid transparent;
  background: transparent; border-radius: 14px; cursor: pointer;
  font-family: 'Nunito', sans-serif; color: var(--text-light);
  transition: all 0.25s ease; min-width: 110px;
}
.tab-btn i { font-size: 22px; margin-bottom: 4px; color: var(--text-light); transition: color 0.25s; }
.tab-btn .tab-label { font-size: 15px; font-weight: 800; }
.tab-btn .tab-title { font-size: 12px; font-weight: 600; opacity: 0.75; text-align: center; line-height: 1.2; }
.tab-btn:hover { background: var(--cream); color: var(--text); }
.tab-btn:hover i { color: var(--accent); }
.tab-btn.active {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 14px rgba(122,139,111,0.3);
}
.tab-btn.active i { color: var(--white); }
.tab-btn.active .tab-title { opacity: 0.9; }

/* TAB PANELS */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.panel-header {
  text-align: center; margin-bottom: 36px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(61,44,34,0.08);
}
.panel-header h3 {
  font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 800;
  color: var(--text); margin-bottom: 8px;
}
.panel-header h3 i { color: var(--accent); margin-right: 10px; }
.panel-subtitle { font-size: 15px; color: var(--text-light); }
.panel-subtitle strong { color: var(--accent); }

/* EBOOK GRID */
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.ebook-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; position: relative;
}
.ebook-card:hover {
  transform: translateY(-4px); box-shadow: 0 8px 28px rgba(61,44,34,0.12);
}

.ebook-header { padding: 28px 24px 20px; text-align: center; position: relative; }
.ebook-number {
  display: inline-block; width: 36px; height: 36px; border-radius: 50%;
  line-height: 36px; font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 12px;
}
.ebook-title {
  font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--text); line-height: 1.3; margin-bottom: 8px;
}
.ebook-desc {
  font-size: 14px; color: var(--text-light); line-height: 1.6;
  padding: 0 24px 20px; flex-grow: 1;
}
.ebook-footer {
  padding: 16px 24px; border-top: 1px solid rgba(61,44,34,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.ebook-price {
  font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 800; color: var(--text);
}

.ebook-btn {
  background: var(--accent); color: var(--white);
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700;
  padding: 10px 20px; border: none; border-radius: 30px; cursor: pointer;
  text-decoration: none; transition: background 0.3s;
}
.ebook-btn:hover { background: var(--accent-hover); }

/* STATS BAR */
.stats-bar {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  background: var(--white); padding: 20px 32px; border-radius: 16px;
  box-shadow: 0 2px 10px var(--shadow); margin: 0 auto 40px; max-width: 700px;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Nunito', sans-serif; font-size: 28px; font-weight: 800; color: var(--accent);
}
.stat-label { font-size: 13px; color: var(--text-light); font-weight: 600; }

/* DLA KOGO */
.audience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 40px;
}
.audience-card {
  background: var(--white); border-radius: 12px; padding: 28px 24px;
  text-align: center; box-shadow: 0 2px 10px var(--shadow);
}
.audience-icon {
  font-size: 32px; margin-bottom: 12px; color: var(--accent);
  width: 64px; height: 64px; line-height: 64px; border-radius: 50%;
  background: rgba(122,139,111,0.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.audience-card h3 {
  font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.audience-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-top: 40px;
}
.feature-item { text-align: center; padding: 24px 16px; }
.feature-item h3 {
  font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.feature-item p { font-size: 14px; color: var(--text-light); }

/* FOOTER */
footer {
  text-align: center; padding: 40px 24px;
  border-top: 1px solid rgba(61,44,34,0.08);
  font-size: 14px; color: var(--text-light);
}
footer a { color: var(--accent); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 700px) {
  .hero { min-height: 60vh; padding: 40px 20px; }
  section { padding: 60px 20px; }
  .ebook-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 8px; }
  .badge { font-size: 13px; padding: 6px 14px; }
  .tab-btn { min-width: 90px; padding: 10px 12px; }
  .tab-btn i { font-size: 18px; }
  .tab-btn .tab-label { font-size: 13px; }
  .tab-btn .tab-title { font-size: 11px; }
  .stats-bar { gap: 20px; padding: 16px 20px; }
  .stat-num { font-size: 24px; }
}