/* ==========================================================================
   BASE.CSS - MASTER TEMPLATE & MICRO-UI KIT (NOVUSTOOLS APPLE 2026 EDITION)
   ========================================================================== */

:root {
    --bg-main: #f5f5f7;
    --surface-color: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --primary-color: #0071e3;
    --primary-hover: #0077ed;
    --primary-gradient: linear-gradient(135deg, #0071e3 0%, #45b3cb 100%);
    --border-color: rgba(0,0,0,0.08);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --border-radius: 24px;
    --shadow-sm: 0 4px 14px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & ALAPOK --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.8; }

/* --- LAYOUT & GRID --- */
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.site-main { flex: 1; padding: 40px 20px; display: flex; flex-direction: column; gap: 40px; }

/* --- HEADER --- */
.site-header { background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* --- HEADER LOGO --- */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: var(--transition); }
.logo:hover { opacity: 0.8; }
.logo-svg-header { width: 36px; height: 36px; }
.logo-text-header { display: flex; gap: 2px; align-items: center; font-size: 1.4rem; letter-spacing: -0.02em; }
.novus { color: var(--text-main); font-weight: 700; }
.tools {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.top-nav { display: flex; gap: 32px; align-items: center; }
.top-nav a { font-size: 0.9rem; color: var(--text-main); font-weight: 500; transition: var(--transition); opacity: 0.8; }
.top-nav a:hover { opacity: 1; color: var(--primary-color); }

/* --- MICRO-UI KIT --- */
.app-container, .card { background-color: var(--surface-color); border-radius: var(--border-radius); padding: 40px; box-shadow: var(--shadow-md); border: none; width: 100%; }

/* --- FORMS & BUTTONS --- */
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.input-control { width: 100%; padding: 16px 20px; font-size: 1rem; font-family: inherit; color: var(--text-main); background-color: var(--bg-main); border: 1px solid transparent; border-radius: 12px; transition: var(--transition); outline: none; }
.input-control:focus { border-color: var(--primary-color); background-color: var(--surface-color); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
select.input-control { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2386868b'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; background-size: 24px; padding-right: 48px; cursor: pointer; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 16px 28px; font-size: 1.05rem; font-weight: 600; font-family: inherit; border-radius: 100px; border: none; cursor: pointer; transition: var(--transition); }
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-hover); transform: scale(1.02); box-shadow: var(--shadow-md); }

/* --- FEATURE GRID --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 40px 0; }
.feature-card { background-color: var(--surface-color); padding: 32px; border-radius: var(--border-radius); border: none; box-shadow: var(--shadow-sm); text-align: left; transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .material-symbols-rounded { font-size: 36px; color: var(--primary-color); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; letter-spacing: -0.02em; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* --- FAQ ACCORDION --- */
.faq-section { margin-top: 40px; width: 100%; }
details {
    width: 100%;
    display: block;
    background-color: var(--surface-color);
    border: none;
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}
details:hover { box-shadow: var(--shadow-md); }
summary {
    width: 100%;
    padding: 24px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}
summary::-webkit-details-marker { display: none; }
summary::after { 
    content: '+'; 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    font-weight: 400; 
}
details[open] summary::after { 
    content: '×'; 
    color: var(--text-muted);
}
details .faq-content { padding: 0 30px 30px 30px; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* --- LOGO WINK ANIMATION --- */
@keyframes wink {
    0% { transform: scaleY(1); }
    15% { transform: scaleY(0.1); }
    30% { transform: scaleY(1); }
    100% { transform: scaleY(1); }
}
.wink-eye {
    animation: wink 2.5s ease-in-out forwards;
    animation-delay: 0.8s; /* Kis szünet a betöltés után, hogy észrevegye a user */
}

/* --- AD & FOOTER --- */
.ad-slot { width: 100%; min-height: 100px; background-color: var(--surface-color); border: 1px dashed var(--border-color); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 40px 0; }
.ad-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 2px; }
.seo-content h2 { font-size: 2rem; margin-bottom: 24px; letter-spacing: -0.03em; font-weight: 800; }
.site-footer { border-top: 1px solid var(--border-color); padding: 40px 0; margin-top: auto; background-color: transparent; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); }