/* =============================================
   ZUCKERFREI.CLUB – Article / Blog Styles
   ============================================= */

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

:root {
    --primary: #8BDBB3;
    --primary-hover: #6ecb9f;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #1d1d1f;
    --gray: #86868b;
    --light-gray: #f5f5f7;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    font-size: 17px;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── Navigation ─── */
nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(139, 219, 179, 0.72);
    backdrop-filter: saturate(200%) blur(24px);
    -webkit-backdrop-filter: saturate(200%) blur(24px);
    z-index: 9999;
    border-bottom: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 4px 20px rgba(0,0,0,0.04);
}
.nav-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img { height: 28px; width: auto; max-width: 200px; display: block; }
.logo { text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.72;
    transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 600; }

/* ─── Hamburger Button ─── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    background-color: transparent;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #1d1d1f;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease;
    transform-origin: center;
    flex-shrink: 0;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Navigation Overlay ─── */
.mobile-nav {
    position: fixed;
    top: 56px;
    left: 0; right: 0; bottom: 0;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(139, 219, 179, 0.92);
    backdrop-filter: saturate(180%) blur(32px);
    -webkit-backdrop-filter: saturate(180%) blur(32px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:active { opacity: 1; }

/* ─── Article Hero ─── */
.article-hero {
    margin-top: 56px;
    background: var(--dark);
    color: var(--white);
    padding: 70px 24px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.article-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 200%; height: 100%;
    background: radial-gradient(circle at 50% -10%, rgba(139,219,179,0.25), transparent 55%);
}
.article-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.article-category {
    display: inline-block;
    background: rgba(139,219,179,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(139,219,179,0.28);
}
.article-hero h1 {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    color: var(--white);
}
.article-hero .hero-desc {
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* ─── Article Body ─── */
.article-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.article-body h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin: 52px 0 16px;
    line-height: 1.2;
}
.article-body h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--dark);
    margin: 36px 0 12px;
    line-height: 1.3;
}
.article-body p {
    font-size: 17px;
    line-height: 1.75;
    color: #3a3a3c;
    margin-bottom: 20px;
}
.article-body strong { color: var(--dark); font-weight: 600; }
.article-body ul, .article-body ol {
    padding-left: 0;
    margin-bottom: 24px;
    list-style: none;
}
.article-body ul li, .article-body ol li {
    font-size: 17px;
    line-height: 1.7;
    color: #3a3a3c;
    padding: 6px 0 6px 28px;
    position: relative;
}
.article-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

/* ─── Highlight Box ─── */
.highlight-box {
    background: linear-gradient(135deg, rgba(139,219,179,0.12), rgba(78,205,196,0.08));
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 32px 0;
}
.highlight-box p { margin: 0; color: var(--dark); font-weight: 500; font-size: 16px; line-height: 1.65; }

/* ─── App CTA Box ─── */
.app-cta-box {
    background: var(--dark);
    border-radius: 20px;
    padding: 36px 40px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
}
.app-cta-box::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(139,219,179,0.18), transparent 70%);
}
.app-cta-icon { font-size: 48px; flex-shrink: 0; }
.app-cta-content { flex: 1; }
.app-cta-content h4 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.app-cta-content p { font-size: 15px; color: rgba(255,255,255,0.62); margin: 0; line-height: 1.55; }
.app-cta-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 100px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.app-cta-btn:hover { opacity: 0.85; }

/* ─── Stat Boxes ─── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.stat-box {
    background: var(--light-gray);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
}
.stat-box .stat-number { display: block; font-size: 32px; font-weight: 700; color: var(--primary); letter-spacing: -0.03em; }
.stat-box .stat-label { font-size: 13px; color: var(--gray); line-height: 1.4; }

/* ─── Phase Timeline ─── */
.phase-list { margin: 24px 0; }
.phase-item { display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start; }
.phase-badge {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 100px;
    flex-shrink: 0;
    margin-top: 3px;
    white-space: nowrap;
}
.phase-content h4 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.phase-content p { font-size: 15px; color: var(--gray); margin: 0; line-height: 1.6; }

/* ─── Sugar Table ─── */
.sugar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
}
.sugar-table th {
    background: var(--dark);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.sugar-table td { padding: 11px 16px; border-bottom: 1px solid #e5e5ea; color: #3a3a3c; vertical-align: top; }
.sugar-table tr:nth-child(even) td { background: #fafafa; }
.sugar-table tr:last-child td { border-bottom: none; }
.sugar-table .tag-danger { color: #ff3b30; font-weight: 600; }
.sugar-table .tag-warning { color: #ff9500; font-weight: 600; }

/* ─── FAQ Section ─── */
.faq-section { margin: 48px 0 0; }
.faq-section h2 { margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid #e5e5ea; padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.faq-answer { font-size: 16px; line-height: 1.7; color: #3a3a3c; }

/* ─── Summary Box ─── */
.summary-box {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 32px 36px;
    margin: 48px 0 40px;
}
.summary-box h3 { font-size: 19px; font-weight: 700; color: var(--dark); margin: 0 0 16px; }
.summary-box ul { margin: 0; }
.summary-box ul li { font-size: 15px; color: #3a3a3c; padding: 5px 0 5px 24px; }
.summary-box ul li::before { content: '✓'; color: var(--primary); }

/* ─── Final Download CTA ─── */
.download-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 44px 40px;
    text-align: center;
    margin: 0 0 60px;
}
.download-cta h3 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.download-cta p { font-size: 16px; color: rgba(0,0,0,0.6); margin-bottom: 24px; line-height: 1.55; }
.download-cta .btn-download {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.download-cta .btn-download:hover { opacity: 0.8; }

/* ─── Related Articles ─── */
.related-section { margin: 20px 0 0; padding: 48px 0 0; border-top: 1px solid #e5e5ea; }
.related-section h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
    background: var(--light-gray);
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.related-card .rel-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; display: block; }
.related-card .rel-title { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.4; }

/* ─── Buttons ─── */
.btn {
    padding: 14px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}
.btn-primary { background: var(--primary); color: var(--dark); font-weight: 600; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139,219,179,0.4); }
.btn-secondary { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--dark); }

/* ─── Footer ─── */
footer {
    background: var(--dark);
    padding: 56px 24px 28px;
}
.footer-content { max-width: 980px; margin: 0 auto; }
.footer-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}
.footer-section h3 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.35);
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 10px; }
.footer-section a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-section a:hover { color: var(--white); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ─── Responsive ─── */
@media (max-width: 734px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .article-hero { padding: 52px 20px 44px; }
    .article-hero h1 { font-size: 30px; }
    .article-hero .hero-desc { font-size: 16px; }

    .article-wrapper { padding: 36px 18px 60px; }
    .article-body h2 { font-size: 23px; margin-top: 40px; }
    .article-body h3 { font-size: 18px; }

    .app-cta-box { flex-direction: column; text-align: center; padding: 28px 24px; gap: 16px; }
    .app-cta-icon { font-size: 36px; }

    .stats-row { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }

    .download-cta { padding: 32px 24px; }
    .download-cta h3 { font-size: 21px; }
    .summary-box { padding: 24px 20px; }

    .footer-sections { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 480px) {
    .article-hero { padding: 48px 18px 40px; }
    .phase-item { flex-direction: column; gap: 8px; }
    .footer-sections { grid-template-columns: 1fr; gap: 28px; }
}
