/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Lato', Helvetica, Arial, sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; }

/* Header */
header { background-color: #ffffff; padding: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 0; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text { font-size: 28px; font-weight: 400; line-height: 1; letter-spacing: -1px; }
.logo-text .people { color: #4A90D9; }
.logo-text .scan { background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Navigation */
nav a { color: #333333; text-decoration: none; margin-left: 25px; font-size: 0.95rem; transition: color 0.3s; }
nav a:hover { color: #555555; text-decoration: underline; }

/* Main Container */
.main-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 30px; }

/* Search Widget */
.search-widget { background: #0075A7; padding: 25px 20px; border-radius: 0; box-shadow: none; margin: 0; text-align: center; }
.search-widget h2 { color: #fff; font-size: 64px; font-weight: 300; margin-bottom: 10px; text-align: center; }
.search-widget .subtext { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 25px; }
.widget-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 15px; max-width: 900px; margin: 0 auto 20px; align-items: end; }
.form-field { text-align: left; }
.form-field label { display: block; color: #3e3e3e; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.form-field input, .form-field select { width: 100%; padding: 12px 15px; border: 2px solid #ddd; border-radius: 5px; font-size: 1rem; background-color: #fffacd; }
.form-field input:focus, .form-field select:focus { outline: none; border-color: #28a745; }
.form-field input::placeholder { color: #aaa; opacity: 1; }
.widget-form button { padding: 12px 30px; background-color: #6DB88F; color: #fff; border: none; border-radius: 5px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color 0.3s; height: 48px; }
.widget-form button:hover { background-color: #5aa87a; }
.widget-footer { color: #fff; font-size: 0.9rem; }
.widget-footer span { margin: 0 15px; }

.start-here-box {
    background-color: #005580;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}
.start-here-box strong {
    font-weight: bold;
}
.start-here-box::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #005580 transparent transparent transparent;
}

/* Info Section */
.info-section {
    padding: 10px 20px 40px;
    text-align: center;
    margin-top: 15px;
}
.info-section h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.info-section h3 .bold {
    font-weight: 700;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 2px 15px;
    justify-content: center;
    max-width: fit-content;
    margin: 0 auto;
}
.info-item {
    color: #fff;
    font-size: 16px;
    padding: 2px 0;
    text-align: left;
    line-height: 1.2;
}
.checkmark {
    color: #ffd700;
    font-weight: bold;
    margin-right: 10px;
}
.more-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

/* Search Results */
.results-section { background: #fff; padding: 30px; border-radius: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 30px; }
.results-title { color: #1a365d; font-size: 2rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; text-align: center; }
.result-item { padding: 25px 0; border-bottom: 1px solid #e2e8f0; }
.result-item:last-child { border-bottom: none; }
.result-item h3 { color: #2b6cb0; font-size: 1.2rem; margin-bottom: 10px; }
.result-item h3 a { color: #2b6cb0; text-decoration: none; }
.result-item h3 a:hover { text-decoration: underline; }
.result-item p { color: #4a5568; font-size: 0.95rem; margin-bottom: 10px; line-height: 1.7; }
.result-item .result-url { color: #38a169; font-size: 0.85rem; word-break: break-all; margin-bottom: 15px; display: block; }
.result-item .result-url:hover { text-decoration: underline; }
.result-item img { max-width: 100%; height: auto; border-radius: 5px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); margin-top: 10px; }
.result-item .siteimg {
    display: block;
    max-width: 75%;
    margin: 20px auto;
}
/* Related Section */
.related-section { background: #fff; padding: 30px; border-radius: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 30px; }
.related-title { color: #1a365d; font-size: 1.2rem; margin-bottom: 15px; }
.related-links { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.related-links a { color: #2b6cb0; text-decoration: none; font-size: 0.9rem; }
.related-links a:hover { text-decoration: underline; }

/* Footer */
footer { background-color: #0075A7; color: #fff; padding: 40px 0; margin-top: 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-bottom: 20px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: #90cdf4; }
.footer-copyright { text-align: center; color: #a0aec0; font-size: 0.85rem; }

/* Disclaimer */
.disclaimer { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.5; max-width: 900px; margin: 0 auto 20px auto; text-align: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.2); }

/* Login Page */
.login-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.login-content h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 32px;
}
.login-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}
.login-content a {
    color: #0075A7;
    text-decoration: underline;
}
.login-example {
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
}
.login-example h3 {
    color: #666;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
}
.login-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: left;
}
.login-box .form-group {
    margin-bottom: 20px;
}
.login-box label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}
.login-box input[type="email"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}
.login-box .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}
.login-box .remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-weight: 400;
}
.login-box .forgot-password {
    color: #0075A7;
    text-decoration: none;
}
.login-box .login-btn {
    width: 100%;
    padding: 14px;
    background: #0075A7;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
}
.login-box .signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
.login-box .signup-text a {
    color: #0075A7;
    text-decoration: none;
}

/* Terms Page */
.terms-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.terms-content h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
}
.terms-content h2 {
    color: #333;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.terms-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}
.terms-content ul {
    margin: 15px 0 15px 30px;
    color: #555;
    line-height: 1.8;
}
.terms-content li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Privacy Page */
.privacy-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.privacy-content h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
}
.privacy-content h2 {
    color: #333;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.privacy-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}
.privacy-content a {
    color: #0075A7;
    text-decoration: underline;
}

/* Opt-Out Page */
.optout-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.optout-content h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
}
.optout-content h2 {
    color: #333;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.optout-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}
.optout-content ul {
    margin: 15px 0 15px 30px;
    color: #555;
    line-height: 1.8;
}
.optout-content li {
    margin-bottom: 10px;
    font-size: 15px;
}
.optout-content a {
    color: #0075A7;
    text-decoration: underline;
}
.important-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 15px;
    color: #856404;
}

/* Responsive */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    nav a { margin-left: 15px; }
    nav a:first-child { margin-left: 0; }
    h1 { font-size: 1.8rem; }
    .widget-form { grid-template-columns: 1fr; }
    .widget-form button { width: 100%; }
    .search-widget h2 { font-size: 1.5rem; }
    .start-here-box { display: none; }
    .login-content { margin: 30px 20px; padding: 25px; }
    .login-content h1 { font-size: 26px; }
    .terms-content { margin: 30px 20px; padding: 25px; }
    .terms-content h1 { font-size: 26px; }
    .privacy-content { margin: 30px 20px; padding: 25px; }
    .privacy-content h1 { font-size: 26px; }
    .optout-content { margin: 30px 20px; padding: 25px; }
    .optout-content h1 { font-size: 26px; }
}

@media (max-width: 576px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-section h3 {
        font-size: 18px;
    }
}
