/* NovusTools Standard Variables (Blue Theme) */
:root {
    --bg-page: #F9FAFB;
    --bg-card: #FFFFFF;
    --border-light: #E5E7EB;
    --text-main: #111827;
    --text-muted: #6B7280;
    --primary-color: #0071e3;
    --primary-hover: #005bb5;
    --accent-green: #10B981;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body.light-bento-theme {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0; padding: 0; line-height: 1.6;
}

/* Strict Centering */
.centered-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding-left: 20px; padding-right: 20px;
    box-sizing: border-box;
}

.material-symbols-rounded { vertical-align: middle; }
.hidden { display: none !important; }

/* Tool Header */
.tool-header { background: var(--bg-card); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; }
.tool-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-main); font-size: 1.1rem; }
.tool-logo .logo-icon { color: var(--primary-color); background: #f0f7ff; padding: 6px; border-radius: 8px; font-size: 22px; }
.tool-logo strong { font-weight: 700; }
.tool-nav { display: flex; gap: 24px; }
.tool-nav a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.tool-nav a:hover { color: var(--primary-color); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); }

/* Hero Section */
.hero-section { text-align: center; margin-bottom: 50px; }
.update-badge {
    display: inline-flex; align-items: center; gap: 6px; background: #f0f7ff;
    color: var(--primary-color); padding: 6px 14px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 500; margin-bottom: 24px;
}
.update-badge .material-symbols-rounded { font-size: 16px; }
.hero-section h1 { font-size: clamp(2rem, 4vw, 3rem); font-family: 'Space Grotesk', sans-serif; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--text-main); }
.subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Layout */
.calc-grid { display: grid; grid-template-columns: 1fr 450px; gap: 32px; margin-bottom: 60px; align-items: start; }
.input-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; padding: 32px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }

/* Form Elements */
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-main); font-size: 0.9rem; }

.niche-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.niche-btn {
    background: var(--bg-page); border: 1px solid var(--border-light);
    padding: 8px 16px; border-radius: 8px; cursor: pointer;
    font-family: inherit; font-weight: 500; color: var(--text-muted);
    transition: all 0.2s; font-size: 0.9rem; flex-grow: 1; text-align: center;
}
.niche-btn:hover { background: #f3f4f6; }
.niche-btn.active { background: #f0f7ff; border-color: var(--primary-color); color: var(--primary-color); }

/* JAVÍTOTT DROPDOWN NYÍL ÉS PADDING */
.form-control {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border-light);
    border-radius: 8px; font-family: inherit; font-size: 1rem; color: var(--text-main);
    box-sizing: border-box; background: var(--bg-card); transition: border 0.2s;
}
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1); }

.custom-select {
    padding-right: 36px;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23111827%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: right 12px top 50%; background-size: 12px auto;
    cursor: pointer;
}

/* Buttons */
.primary-btn {
    width: 100%; background: var(--primary-color); color: #FFF; border: none;
    padding: 14px; border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: background 0.2s;
}
.primary-btn:hover { background: var(--primary-hover); }

.action-buttons { display: flex; gap: 12px; }
.secondary-btn {
    flex: 1; background: var(--bg-page); color: var(--text-main); border: 1px solid var(--border-light);
    padding: 12px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 8px; transition: all 0.2s;
}
.secondary-btn:hover { background: #f3f4f6; }

/* Dashboard (Right Sticky) */
.result-card-container { position: relative; }
.sticky-dashboard {
    background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px;
    padding: 24px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); border-top: 4px solid var(--primary-color);
    position: sticky; top: 100px; display: flex; flex-direction: column; height: calc(100vh - 140px); min-height: 500px;
}
.output-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.output-header h3 { margin: 0; font-size: 1.1rem; color: var(--text-main); }
.stats { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

#result-box {
    flex-grow: 1; width: 100%; resize: none; border: 1px solid var(--border-light);
    border-radius: 8px; padding: 16px; font-family: 'Inter', monospace; font-size: 0.95rem;
    line-height: 1.6; color: var(--text-main); background: var(--bg-page); margin-bottom: 16px; box-sizing: border-box;
}
#result-box:focus { outline: none; border-color: var(--primary-color); }

/* SEO & Content Zones */
.content-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; padding: 40px; margin-bottom: 32px; }
.content-card h2, .faq-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 24px; color: var(--text-main); font-family: 'Space Grotesk', sans-serif; }
.seo-article h3 { font-size: 1.4rem; margin: 32px 0 16px; color: var(--text-main); }
.seo-article p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.8; }
.faq-accordion details { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; margin-bottom: 12px; padding: 16px 20px; }
.faq-accordion summary { font-weight: 600; font-size: 1rem; color: var(--text-main); cursor: pointer; outline: none; }
.faq-accordion details[open] summary { margin-bottom: 12px; color: var(--primary-color); }
.faq-accordion .faq-content { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* Ads */
.ad-slot { min-height: 100px; border: 1px dashed var(--border-light); background: var(--bg-page); display: flex; align-items: center; justify-content: center; position: relative; border-radius: 12px; margin: 40px 0; }
.ad-label { position: absolute; top: 8px; left: 12px; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }

/* Footer & Cookie */
.tool-footer { border-top: 1px solid var(--border-light); padding: 60px 0 30px; margin-top: 60px; background: var(--bg-card); }
.footer-col h4 { margin-bottom: 16px; color: var(--text-main); font-size: 0.95rem; font-weight: 700; }
.footer-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-link:hover { color: var(--primary-color); }
.back-to-hub-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-page); border: 1px solid var(--border-light); padding: 10px 20px; border-radius: 8px; color: var(--text-main); font-weight: 600; text-decoration: none; transition: all 0.2s; font-size: 0.9rem; }
.back-to-hub-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--border-light); padding: 16px 0; z-index: 9999; box-shadow: 0 -4px 10px rgba(0,0,0,0.05); display: none; }
.cookie-content { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-btn { background: var(--primary-color); color: white; border: none; padding: 8px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* Responsive */
@media (max-width: 900px) {
    .calc-grid { grid-template-columns: 1fr; }
    .sticky-dashboard { position: relative; top: 0; height: 500px; }
    .tool-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border-light); padding: 20px; }
    .tool-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
}