/* ------------------- */
/* --- ARTICLE THEME & BASE --- */
/* ------------------- */
:root {
    --bg-color: #fdfdfd;
    --text-color: #3d3d3d;
    --heading-color: #1a1a1a;
    --primary-accent: #007bff; /* Readable Blue */
    --border-color: #e5e7eb;
    --quote-bg: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* ------------------- */
/* --- ARTICLE LAYOUT & TYPOGRAPHY --- */
/* ------------------- */
.article-container { max-width: 800px; margin: 0 auto; padding: 80px 20px; }

h1, h2, h3 { font-weight: 600; color: var(--heading-color); line-height: 1.3; }
h1 { font-size: clamp(2.5rem, 5vw, 3.2rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin-top: 60px; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
h3 { font-size: clamp(1.4rem, 3vw, 1.6rem); margin-top: 40px; margin-bottom: 20px; }

p { margin-bottom: 20px; font-size: 1.1rem; }
a { color: var(--primary-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 600; color: var(--heading-color); }

ul, ol { padding-left: 25px; margin-bottom: 20px; }
li { margin-bottom: 10px; font-size: 1.1rem; }

.article-intro {
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}
.article-intro p { font-size: 1.3rem; color: #555; font-style: italic; }

.btn {
    display: inline-block;
    padding: 16px 38px;
    background-color: var(--primary-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px var(--primary-accent); filter: brightness(1.1); }

/* Reveal Animation on Scroll */
.reveal { opacity: 0; transition: opacity 0.8s ease-out; }
.reveal.visible { opacity: 1; }

/* ------------------- */
/* --- UI ILLUSTRATIONS --- */
/* ------------------- */
.ui-illustration {
    background: var(--quote-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 10px -2px rgba(26, 32, 44, 0.03);
}
.ui-field { display: flex; flex-direction: column; }
.ui-field label { font-size: 0.9rem; font-weight: 500; color: #666; margin-bottom: 5px; }
.ui-field .input { height: 44px; background: #fff; border-radius: 6px; border: 1px solid #ccc; }
.ui-button { height: 44px; background: var(--primary-accent); border-radius: 6px; color: white; display: flex; align-items: center; justify-content: center; font-weight: 500; }

.ui-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.ui-template { height: 120px; border-radius: 8px; border: 1px solid #ddd; background: #fff; }
.ui-template.active { border: 2px solid var(--primary-accent); }

.ui-links .icon { width: 40px; height: 40px; border-radius: 50%; background: #eee; }

.ui-qr { width: 150px; height: 150px; margin: 0 auto; border: 5px solid #333; background: repeating-conic-gradient(#333 0% 25%, white 0% 50%) 50% / 20px 20px; }

/* ------------------- */
/* --- CTA BLOCK --- */
/* ------------------- */
.cta-block {
    background: var(--quote-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-accent);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}
.cta-block p { margin-bottom: 15px; }

/* ------------------- */
/* --- FOOTER --- */
/* ------------------- */
footer { text-align: center; padding: 50px 20px; font-size: 0.9rem; border-top: 1px solid var(--border-color); margin-top: 60px; }
