* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1f2937;
    background: #f8fafc;
    line-height: 1.6;
}

a {
    color: #0ea5e9;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
}

/* Mobile: remove side gaps, full width content */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .container {
        padding: 24px 16px;
        max-width: 100%;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
}

/* Hero */
.hero {
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    padding: 64px 24px;
    width: 100%;
}

    .hero .wrap {
        max-width: 1120px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

/* Mobile: full width hero */
@media (max-width: 768px) {
    .hero {
        padding: 48px 16px;
        width: 100%;
    }

        .hero .wrap {
            max-width: 100%;
            padding: 0;
            width: 100%;
        }
}

.eyebrow {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .95;
}

h1 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
}

.sub {
    font-size: 18px;
    opacity: .95;
    margin-top: 12px;
}

.cta {
    display: inline-block;
    margin-top: 20px;
    background: #fff;
    color: #0ea5e9;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

    .cta.secondary {
        background: transparent;
        color: #fff;
        border: 1.5px solid #e0f2fe;
        margin-left: 10px;
    }


/* Sections */
section {
    padding: 56px 0;
}

h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

p.lead {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

    .card h3 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 8px;
    }

.muted {
    color: #475569;
}

ul {
    padding-left: 18px;
}

li {
    margin: 6px 0;
}

.badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 700;
}

.kicker {
    font-weight: 700;
    color: #0ea5e9;
}

/* Images */
.hero-image {
    width: 90%;
    max-width: 90%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    display: block;
}

.feature-image {
    width: 75%;
    max-width: 75%;
    height: auto;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: none;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
}

/* Footer CTA */
.cta-block {
    background: #0ea5e9;
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .cta-block .cta {
        background: #fff;
        color: #0ea5e9;
    }


/* Advanced Operators styles (from SearchBios) */
.search-operators {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 30px;
}

.operator-example {
    background: #fff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

    .operator-example code {
        background: #f1f3f5;
        padding: 8px 12px;
        border-radius: 5px;
        font-family: 'Courier New', monospace;
        color: #e83e8c;
    }

/* features-grid styling (from SearchBios Complete X Account Discovery) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #667eea;
}

/* Comparison section styling (from CompareUsers) */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.comparison {
    padding: 4rem 0;
    background: #f8f9fa;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .comparison-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .comparison-table th {
        background: #1da1f2;
        color: white;
        padding: 1rem;
        text-align: left;
    }

    .comparison-table td {
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .comparison-table tr:last-child td {
        border-bottom: none;
    }

.check {
    color: #28a745;
    font-weight: bold;
    font-size: 1.25rem;
}

.cross {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Navigation - Separate from main content */
nav {
    background: #5bc6ed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .nav-logo img {
        height: 18px;
        width: auto;
    }

.nav-acquired {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #fff;
        font-weight: 500;
        font-size: 14px;
        white-space: nowrap;
    }

        .nav-links a:hover {
            color: rgba(255, 255, 255, 0.8);
        }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-help {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

    .nav-help:hover {
        color: rgba(255, 255, 255, 0.8);
    }

.nav-divider {
    color: rgba(255, 255, 255, 0.4);
}

.nav-button {
    background: #fff;
    color: #5bc6ed;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

    .nav-button:hover {
        background: rgba(255, 255, 255, 0.9);
    }

/* Responsive navigation - properly sized for mobile */
@media (max-width: 900px) {
    nav {
        padding: 12px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    /* Top row: logo + help/login */
    .nav-left {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        gap: 6px;
    }

    .nav-logo img {
        height: 16px;
    }

    .nav-acquired {
        font-size: 10px;
    }

    .nav-right {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        flex-shrink: 0;
    }
    /* Bottom row: navigation links */
    .nav-links {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
        box-sizing: border-box;
    }

        .nav-links a {
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            font-size: 13px;
            box-sizing: border-box;
            flex-shrink: 0;
            color: #fff;
        }

            .nav-links a:hover {
                background: rgba(255, 255, 255, 0.3);
                color: #fff;
            }
}

/* Keep horizontal on larger screens */
@media (min-width: 901px) {
    .nav-container {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .nav-links {
        flex-wrap: nowrap;
        margin-top: 0;
    }

    .nav-right {
        flex-wrap: nowrap;
    }
}


/* Tool sections */
.tools-section {
    padding: 60px 0;
    width: 100%;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Mobile: full width tool sections */
@media (max-width: 768px) {
    .tools-section {
        padding: 40px 0;
        width: 100%;
    }

    .tools-grid {
        gap: 30px;
        margin-top: 30px;
        width: 100%;
    }
}

.tool-card {
    text-align: center;
}

    .tool-card img {
        width: 100%;
        max-width: 220px;
        height: auto;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .tool-card h1 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 16px;
        color: #1f2937;
    }

    .tool-card ul {
        list-style: none;
        padding: 0;
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .tool-card li {
        margin: 12px 0;
        padding-left: 24px;
        position: relative;
    }

        .tool-card li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #0ea5e9;
            font-size: 20px;
        }

/* What's happening section */
.whats-happening {
    background: #f8fafc;
    padding: 60px 24px;
    text-align: center;
    width: 100%;
}

    .whats-happening h2 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 24px;
        color: #1f2937;
    }

    .whats-happening p {
        font-size: 18px;
        color: #475569;
        max-width: 800px;
        margin: 0 auto 16px;
    }

/* Mobile: full width what's happening section */
@media (max-width: 768px) {
    .whats-happening {
        padding: 40px 16px;
        width: 100%;
    }
}

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 24px;
    text-align: center;
    color: #475569;
    font-size: 14px;
    width: 100%;
}

    footer a {
        color: #0ea5e9;
        margin: 0 4px;
    }

/* Mobile: full width footer */
@media (max-width: 768px) {
    footer {
        padding: 24px 16px;
        width: 100%;
    }
}

@media (min-width: 900px) {
    .hero .wrap {
        grid-template-columns: 6fr 6fr;
        align-items: center;
    }
}




/*Modal*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

    /* Modal Content */
    .modal .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 420px;
        text-align: center;
        border-radius: 15px;
    }

        .modal .modal-content a {
            text-decoration: none;
            color: #0ea5e9;
        }

        .modal .modal-content .modal-title {
            font-size: 20px;
            font-weight: bold;
            color: #000;
            line-height: 1.4em;
            font-family: "Roboto Slab",Museo,"Helvetica Neue",Helvetica,Arial,sans-serif !important;
            display:flex;
        }

        .modal .modal-content a, .modal .modal-content p {
            font-family: nimbus-sans,helvetica,arial,sans-serif !important;
        }

    .modal .cta {
        color: white !important;
        padding: 8px 15px;
        text-decoration: none;
    }

.modal .modal-content .login-here-btn {
    background-color: #4DBDEB;
}

.modal .modal-content .create-acc-btn {
    background-color: #FCAD5E;
}


/* The Close Button */
.modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .modal .close:hover,
    .modal .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }