/* ==========================================================
   COPYGUT - MASTER STYLESHEET (KILLED BANNER)
   ========================================================== */

/* --- VARIABLES --- */
:root {
    --magenta: #CB6CE6;
    --magenta-dark: #4E4351;
    --magenta-pastel: #B4A7B7;
    --grey-light: #f6f6f6;
    --yellow: #FFBD59;
    --black: #111111;
    --grey: #444444;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* --- STICKY HEADER --- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 24px; width: auto; }
.logo .logo-text { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--black); }

.menu { display: flex; align-items: center; gap: 40px; }
.menu a { color: var(--grey); text-decoration: none; font-size: 1.05rem; font-weight: 500; transition: color 0.2s ease; }
.menu a:hover { color: var(--black); }

.menu a.cta { 
    background: var(--magenta-dark); 
    color: #fff; 
    padding: 10px 20px; 
    border-radius: 4px; 
    font-size: 1rem; 
    font-weight: 600; 
    transition: background 0.2s ease; 
}
.menu a.cta:hover { background: var(--magenta); }

/* --- TOOL SECTION --- */
.tool-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: left;
}

h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 64px;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.tool-container {
    background: var(--grey-light);
    border-radius: 8px;
    padding: 24px;
}

.tool-container textarea {
    width: 100%;
    height: 200px;
    border: none;
    outline: none;
    padding: 16px;
    font-size: 1.1rem;
    font-family: inherit;
    resize: vertical;
    background: var(--white);
}

.tool-btn {
    background: var(--magenta-dark); 
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 16px;
}
.tool-btn:hover { background: var(--magenta); }

/* --- ARTICLE SECTION --- */
.article-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

p { font-size: 1.1rem; color: var(--grey); margin-bottom: 1.5rem; }

.article-h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: var(--black);
    border-left: 5px solid var(--yellow);
    padding-left: 0.75rem;
}

/* --- KEY TAKEAWAYS BOX --- */
.takeaway-box {
    background: var(--grey-light);
    border-radius: 8px;
    padding: 32px;
    margin: 40px 0;
}
.takeaway-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}
.takeaway-box ul {
    list-style: none;
    padding: 0;
}
.takeaway-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--grey);
}
.takeaway-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
}

/* --- FAQ ACCORDION (Collapsible) --- */
.faq-container {
    margin-top: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--grey-light);
    padding: 16px 0;
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--magenta);
    transition: transform 0.2s ease;
}

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

.faq-item p {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--grey);
}












/* --- NEW GLOBAL FOOTER --- */
.footer { background: #faf9f7; padding: 128px 24px 64px; }
.footer-inner { max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.footer-logo { width: 32px; height: 32px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-menu { display: flex; flex-direction: column; gap: 12px; }
.footer-menu a { text-decoration: none; font-size: 0.85rem; font-weight: 400; color: var(--grey); transition: color 0.2s ease; }
.footer-menu a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.06); }
.footer-legal-text { font-size: 0.75rem; color: var(--grey); line-height: 1.8; }
.footer-legal-text strong { color: var(--black); font-weight: 500; }
.footer-location { font-size: 0.75rem; color: var(--grey); margin-top: 8px; }

/* --- PRIVACY POPUP CSS --- */
.privacy-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 9999; justify-content: center; align-items: center; }
.privacy-popup.active { display: flex; }
.privacy-popup-inner { background: #ffffff; width: 100%; max-width: 500px; padding: 48px; border-radius: 12px; position: relative; }
.privacy-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 2.5rem; line-height: 1; cursor: pointer; color: #111; transition: color 0.2s; }
.privacy-close:hover { color: #666; }
.privacy-content { font-size: 1rem; color: #444; line-height: 1.8; }
.privacy-content h3 { font-size: 1.5rem; color: #111; margin-bottom: 24px; }
.privacy-content p { margin-bottom: 24px; }
.privacy-ok-btn { display: block; width: 100%; margin-top: 8px; background: var(--magenta-dark); color: #fff; border: none; padding: 14px 24px; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.privacy-ok-btn:hover { background: var(--magenta); }

/* --- MOBILE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.6rem; margin-bottom: 48px; }
    .tool-section { padding: 80px 16px 60px; }
    .article-section { padding: 24px 16px 80px; }
    .menu a { display: none; }
    .menu a.cta { display: block; }
    .tool-btn { width: 100%; }
    .takeaway-box { padding: 24px; }
    
    /* New Footer Mobile Rules */
    .footer { padding: 96px 16px 48px; }
    .privacy-popup-inner { padding: 32px; }
}