/* PromptSeen AI - common styles (all pages): colours, header, footer, back-to-top */
:root {
    --primary-gradient: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --secondary-color: #1A1A2E;
    --text-color: #333333; 
    --bg-color: #F4F7FE;
    --white: #FFFFFF;
    --luxury-multi: linear-gradient(45deg, #FF007A, #7A00FF, #00B8D4, #FF9100);
    --card-border: #E2E8F0;
    --c: #764BA2;
}
/* links inside header/footer: no underline, inherit colour */
header a, footer a { text-decoration: none; color: inherit; }
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; position: relative; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; display: inline-flex; align-items: center; transition: opacity 0.3s; color: var(--secondary-color); }
.logo:hover { opacity: 0.9; }
.logo-prompt { color: #0c33e6; }
.logo-seen { color: #ff5b00; }
.logo-ai { background: linear-gradient(135deg, #460bce 0%, #9004c0 50%, #c400ad 100%); color: #FFFFFF; font-size: 1.2rem; padding: 2px 8px; border-radius: 6px; margin-left: 4px; position: relative; top: -2px; }
.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-menu a { color: var(--text-color); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; transition: 0.3s; }
.nav-menu > a:hover, .dropdown:hover .dropbtn { color: #764BA2; }
.nav-app { background: var(--primary-gradient); color: #fff !important; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.nav-app:hover { opacity: 0.9; color: #fff !important; }
@media (max-width: 768px) {
    .nav-app { display: inline-block; width: auto; margin: 10px 20px; border-radius: 20px; }
}
.dropdown { position: relative; display: inline-block; }
.dropbtn { background: none; border: none; font-size: 0.9rem; font-weight: 600; font-family: inherit; color: var(--text-color); text-transform: uppercase; display: flex; align-items: center; gap: 5px; cursor: pointer; outline: none; padding: 0; transition: 0.3s; }
.dropdown-content { display: none; position: absolute; background-color: var(--white); min-width: 220px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-radius: 10px; z-index: 1; top: 100%; left: 0; overflow: hidden; border: 1px solid var(--card-border); max-height: 480px; overflow-y: auto; }
.dropdown-content a { color: var(--text-color); padding: 12px 20px; display: block; font-size: 0.95rem; border-bottom: 1px solid #F4F7FE; text-transform: none; transition: all 0.2s ease; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: #F8FAFC; color: #0097A7; padding-left: 25px; }
.dropdown:hover .dropdown-content { display: block; }
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--secondary-color); }
footer { background: var(--secondary-color); color: var(--white); padding: 4rem 20px 2rem; margin-top: 2rem; min-height: 150px; }
.footer-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 2rem; }
.footer-col h3 { margin-bottom: 1rem; font-size: 1.2rem; font-weight: 800; background: var(--luxury-multi); -webkit-background-clip: text; -webkit-text-fill-color: transparent; border:none; padding:0; }
.footer-col p { opacity: 0.8; font-size: 0.95rem; line-height: 1.6; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--white); opacity: 0.8; transition: 0.2s; font-size: 0.95rem; }
.footer-col ul li a:hover { opacity: 1; color: #00E5FF; padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; opacity: 0.7; }
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background-color: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 20px 0; border-top: 1px solid #EEE; z-index: 1001; }
    .nav-menu.active { display: flex; }
    .nav-menu a, .dropbtn { padding: 15px 20px; width: 100%; display: block; text-align: left; box-sizing: border-box; }
    .dropdown { width: 100%; }
    .dropdown-content { position: static; box-shadow: none; border: none; border-left: 3px solid #764BA2; border-radius: 0; margin-left: 20px; display: none; }
    .dropdown.active .dropdown-content { display: block; }
}
.back-to-top { display: none; }
@media (max-width: 768px) {
    .back-to-top { display: flex; align-items: center; justify-content: center; position: fixed; right: 16px; bottom: 20px; width: 46px; height: 46px; border: none; border-radius: 50%; background: var(--primary-gradient); color: #FFFFFF; font-size: 1.1rem; cursor: pointer; box-shadow: 0 6px 18px rgba(118,75,162,0.35); z-index: 1500; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, bottom 0.3s ease; -webkit-tap-highlight-color: transparent; }
    .back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
    .back-to-top:active { transform: scale(0.92); }
    body.ps-toast-on .back-to-top { bottom: 84px; }
}
