/* ===== Peptide Daily 24 — Global Stylesheet ===== */

:root {
  --primary-50: #e8fcfa;
  --primary-100: #c2f5ee;
  --primary-200: #8aebde;
  --primary-300: #4dddc9;
  --primary-400: #1acab4;
  --primary-500: #00b8a8;
  --primary-600: #00a090;
  --primary-700: #008070;
  --primary-800: #006055;
  --primary-900: #004038;

  --secondary-50: #eef5ff;
  --secondary-100: #d6e8ff;
  --secondary-200: #b0d2ff;
  --secondary-300: #84b8f5;
  --secondary-400: #4f96e8;
  --secondary-500: #2a7ada;
  --secondary-600: #1e62b8;
  --secondary-700: #174e92;
  --secondary-800: #103a6e;
  --secondary-900: #0a284e;

  --accent-400: #ffc850;
  --accent-500: #f5b020;
  --accent-600: #d89010;

  --success-500: #34c070;
  --warning-500: #f5b020;
  --error-500: #e85050;

  --neutral-0: #ffffff;
  --neutral-50: #f7fbfa;
  --neutral-100: #eef5f3;
  --neutral-200: #dfe9e6;
  --neutral-300: #c5d4d0;
  --neutral-400: #98a8a4;
  --neutral-500: #6a7874;
  --neutral-600: #4a5854;
  --neutral-700: #2a3834;
  --neutral-800: #1a2824;
  --neutral-900: #0a1814;

  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(0, 60, 50, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 60, 50, 0.10);
  --shadow-lg: 0 12px 36px rgba(0, 60, 50, 0.14);

  --max-width: 1200px;
  --spacing: 8px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--neutral-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-800); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--neutral-900);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1em; }

ul, ol { margin-bottom: 1em; padding-left: 1.5em; }
li { margin-bottom: 0.4em; }

/* ===== Header ===== */
.site-header {
  background: var(--neutral-0);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary-500);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img { height: 44px; width: auto; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-700);
  line-height: 1.1;
}

.logo-text span { color: var(--secondary-600); }

/* ===== Navigation ===== */
.nav-toggle {
  display: none;
  background: var(--primary-600);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--neutral-700);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover, .site-nav a.active {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* ===== Main content ===== */
main { flex: 1; }

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-content h1 { margin-bottom: 0.8em; }

.section { padding: 48px 20px; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-800), var(--secondary-700), var(--primary-600));
  color: white;
  padding: 72px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,202,180,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 { color: white; max-width: 800px; margin: 0 auto 16px; }

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--primary-50);
}

.hero-img {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent-500);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-600);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Blog Grid ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--neutral-0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--neutral-200);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 18px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

.blog-card p { font-size: 0.92rem; color: var(--neutral-600); flex: 1; }

.blog-card .read-more {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
  color: var(--primary-700);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

/* ===== Blog Article Page ===== */
.article-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 20px 0;
}

.article-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-top: 24px;
  box-shadow: var(--shadow-md);
}

.article-meta {
  color: var(--neutral-500);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.article-body h2 { margin-top: 1.8em; margin-bottom: 0.5em; }
.article-body h3 { margin-top: 1.4em; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; }

.article-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-nav a {
  padding: 10px 18px;
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}

.article-nav a:hover { background: var(--primary-50); }

/* ===== Info / FAQ ===== */
.info-card {
  background: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--neutral-200);
  transition: box-shadow 0.2s;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.faq-item {
  border-bottom: 1px solid var(--neutral-200);
  padding: 18px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  cursor: pointer;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-500);
  font-weight: normal;
  transition: transform 0.2s;
}

.faq-item.open h3::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-top: 12px;
}

.faq-answer p { color: var(--neutral-600); }

/* ===== Contact Form ===== */
.contact-form { max-width: 600px; margin: 0 auto; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--neutral-50);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  background: white;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-success {
  background: var(--success-500);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: none;
}

.form-success.show { display: block; }

/* ===== Resources List ===== */
.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  background: var(--neutral-0);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-500);
}

.resource-list li strong { color: var(--neutral-900); }

/* ===== Disclaimer Box ===== */
.disclaimer-box {
  background: var(--warning-500);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.disclaimer-box p { margin: 0; font-weight: 500; }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--neutral-900);
  color: var(--neutral-100);
  padding: 16px 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 700px;
}

.cookie-banner a { color: var(--primary-300); text-decoration: underline; }

.cookie-buttons { display: flex; gap: 10px; }

.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.cookie-accept { background: var(--primary-500); color: white; }
.cookie-accept:hover { background: var(--primary-600); }

.cookie-decline { background: var(--neutral-600); color: white; }
.cookie-decline:hover { background: var(--neutral-500); }

/* ===== Footer ===== */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 48px 20px 20px;
  margin-top: auto;
  border-top: 4px solid var(--primary-500);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-700);
}

.footer-col ul { list-style: none; padding: 0; }

.footer-col li { margin-bottom: 10px; }

.footer-col a { color: var(--neutral-300); font-size: 0.9rem; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--primary-300); padding-left: 4px; }

.footer-about p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 12px; }

.footer-about .footer-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--primary-300);
  font-style: italic;
  margin-top: 8px;
}

.footer-features {
  list-style: none;
  padding: 0;
  margin-top: 14px;
}

.footer-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: 8px;
}

.footer-features li::before {
  content: '\2714';
  color: var(--primary-400);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-newsletter p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 12px; }

.footer-newsletter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--neutral-700);
  border-radius: var(--radius-sm);
  background: var(--neutral-800);
  color: white;
  font-size: 0.85rem;
  font-family: var(--font-body);
  margin-bottom: 10px;
}

.footer-newsletter input::placeholder { color: var(--neutral-500); }

.footer-newsletter button {
  width: 100%;
  padding: 10px;
  background: var(--primary-500);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-newsletter button:hover { background: var(--primary-600); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-700);
  text-align: center;
  font-size: 0.85rem;
  color: var(--neutral-500);
}

.footer-bottom p { margin: 0; }

/* ===== About Page — Vibrant Layout ===== */
.about-hero {
  background: linear-gradient(135deg, var(--primary-700), var(--secondary-600));
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero h1 { color: white; margin-bottom: 16px; }

.about-hero p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--primary-50);
}

.about-hero img {
  max-width: 800px;
  margin: 32px auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-split {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-split.reverse .about-split-text { order: 2; }
.about-split.reverse .about-split-image { order: 1; }

.about-split-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-split-text h2 {
  color: var(--primary-800);
  margin-bottom: 16px;
}

.about-split-text p {
  color: var(--neutral-700);
  line-height: 1.7;
}

.about-split-text .about-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
  color: var(--primary-700);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.about-features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
  background: var(--neutral-100);
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.about-feature-card {
  background: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-feature-card .feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
}

.about-feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-800);
}

.about-feature-card p {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; order: 3; }

  .site-nav {
    width: 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.open { max-height: 500px; }

  .site-nav ul {
    flex-direction: column;
    padding: 8px 0 16px;
  }

  .site-nav a { padding: 12px 14px; }

  .hero { padding: 40px 20px; }
  .hero p { font-size: 1rem; }

  .blog-grid { grid-template-columns: 1fr; }

  .section { padding: 32px 16px; }

  .info-card { padding: 20px; }

  .cookie-banner { flex-direction: column; text-align: center; }

  .about-split { grid-template-columns: 1fr; gap: 32px; padding: 36px 20px; }
  .about-split.reverse .about-split-text { order: 1; }
  .about-split.reverse .about-split-image { order: 2; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.05rem; }
  .logo-img { height: 36px; }
  .header-inner { padding: 10px 14px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}
