*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#6366f1;
    --secondary:#06b6d4;
    --bg:#0f172a;
    --card:#111827;
    --border:#1f2937;
    --text:#f8fafc;
    --muted:#94a3b8;
}

body{
    font-family:Inter,Arial,Helvetica,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1280px;
    margin:auto;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
    overflow:hidden;
    padding:100px 0;
    background:
        radial-gradient(circle at top,#4338ca55 0%,transparent 35%),
        radial-gradient(circle at bottom,#0891b255 0%,transparent 35%),
        var(--bg);
}

.hero::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    border-radius:50%;
    background:#4f46e520;
    filter:blur(120px);
    top:-250px;
    left:-200px;
}

.hero::after{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    border-radius:50%;
    background:#06b6d420;
    filter:blur(120px);
    right:-200px;
    bottom:-250px;
}

.hero .container{
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:64px;
    font-weight:800;
    margin-bottom:25px;
    color:#fff;
}

.hero p{
    font-size:22px;
    color:var(--muted);
    max-width:760px;
    margin:0 auto 45px;
}

.search-form{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.search-form input{
    width:650px;
    max-width:100%;
    padding:18px 22px;
    border-radius:16px;
    border:1px solid #334155;
    background:#111827;
    color:#fff;
    font-size:18px;
    transition:.25s;
    outline:none;
}

.search-form input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(99,102,241,.2);
}

.search-form button{
    padding:18px 34px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.search-form button:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(99,102,241,.35);
}

.features{
    padding:90px 0;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
}

.feature-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:30px;
    transition:.3s;
}

.feature-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
}

.feature-card h3{
    margin-bottom:15px;
    color:#fff;
    font-size:22px;
}

.feature-card p{
    color:var(--muted);
    font-size:16px;
}

@media(max-width:768px){

.hero{
padding:70px 0;
}

.hero h1{
font-size:42px;
}

.hero p{
font-size:18px;
}

.search-form input,
.search-form button{
width:100%;
}

}
.footer{
    margin-top:120px;
    background:#f4f7fb;
    border-top:1px solid #e2e8f0;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
    padding:70px 0;
}

.footer h3,
.footer h4{
    color:#0f172a;
}

.footer p{
    color:#64748b;
    line-height:1.8;
}

.footer a{
    color:#64748b;
    text-decoration:none;
    transition:.3s;
}

.footer a:hover{
    color:#0ea5e9;
}

.footer-bottom{
    text-align:center;
    border-top:1px solid #e2e8f0;
    padding:25px;
    color:#64748b;
}

.footer-bottom p{
    color:#64748b;
}
/* ===========================
   NAVBAR
=========================== */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    background:rgba(15,23,42,.72);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar-container{
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.logo-mark{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg,#6366f1,#06b6d4);
    color:#fff;
    font-weight:700;
}

.logo-text{
    color:#fff;
    font-size:24px;
    font-weight:700;
    letter-spacing:.4px;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:32px;
}

.nav-menu a{
    color:#cbd5e1;
    text-decoration:none;
    font-weight:500;
    transition:.25s;
}

.nav-menu a:hover{
    color:#fff;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:18px;
}

.lang-switch{
    color:#cbd5e1;
    text-decoration:none;
}

.login-btn{
    padding:11px 20px;
    border-radius:12px;
    text-decoration:none;
    color:#fff;
    background:linear-gradient(135deg,#6366f1,#06b6d4);
    transition:.25s;
}

.login-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(99,102,241,.35);
}

main{
    padding-top:0;
}

@media(max-width:1000px){

    .nav-menu{
        display:none;
    }

    .navbar-container{
        height:70px;
    }

}
/* ==========================================
   LOOKUP DASHBOARD
========================================== */

.lookup-page{
    padding:70px 0 100px;
}

.lookup-header{
    text-align:center;
    margin-bottom:55px;
}

.lookup-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    background:rgba(99,102,241,.15);
    color:#8b9cff;
    border:1px solid rgba(99,102,241,.35);
    font-size:14px;
    margin-bottom:18px;
}

.lookup-header h1{
    font-size:52px;
    color:#fff;
    margin-bottom:15px;
    word-break:break-word;
}

.lookup-header p{
    color:#94a3b8;
    font-size:18px;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

.result-card{
    background:rgba(17,24,39,.85);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:28px;
    transition:.3s;
    backdrop-filter:blur(10px);
}

.result-card:hover{
    transform:translateY(-6px);
    border-color:#6366f1;
    box-shadow:0 18px 40px rgba(99,102,241,.18);
}

.result-label{
    display:block;
    color:#94a3b8;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:12px;
}

.result-card h3{
    color:#fff;
    font-size:22px;
    line-height:1.5;
    word-break:break-word;
}

.lookup-actions{
    margin-top:55px;
    text-align:center;
}

.back-button{
    display:inline-block;
    padding:15px 30px;
    border-radius:14px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    background:linear-gradient(135deg,#6366f1,#06b6d4);
    transition:.25s;
}

.back-button:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(99,102,241,.30);
}

@media(max-width:768px){

    .lookup-header h1{
        font-size:36px;
    }

    .lookup-header p{
        font-size:16px;
    }

}
.map-wrapper{

    margin-top:40px;

    background:#111827;

    border-radius:18px;

    padding:25px;

    border:1px solid rgba(255,255,255,.08);

}

.map-wrapper h2{

    color:#fff;

    margin-bottom:20px;

}

#ipMap{

    width:100%;

    height:450px;

    border-radius:15px;

}
/* ==========================
   Lookup Map
========================== */

.map-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding: 25px;
    background: #111827;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-sizing: border-box;
}

.map-wrapper h2 {
    color: #fff;
    margin: 0 0 20px;
}

#ipMap {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    background: #0f172a;
}
/* ==========================================
   IPVISION FAQ ACCORDION
========================================== */

.ipvision-faq-list{
    width:100%;
    max-width:900px;
    margin:40px auto 0;
}

.ipvision-faq-item{
    margin:0 0 16px;
    background:#111827;
    border:1px solid #1f2937;
    border-radius:16px;
    overflow:hidden;
    transition:border-color .25s ease, box-shadow .25s ease;
}

.ipvision-faq-item:hover{
    border-color:#6366f1;
    box-shadow:0 10px 30px rgba(99,102,241,.12);
}

.ipvision-faq-item summary{
    position:relative;
    display:block;
    padding:22px 65px 22px 24px;
    cursor:pointer;
    list-style:none;
    color:#f8fafc;
    font-size:17px;
    font-weight:600;
    line-height:1.5;
    user-select:none;
}

.ipvision-faq-item summary::-webkit-details-marker{
    display:none;
}

.ipvision-faq-item summary::after{
    content:"+";
    position:absolute;
    right:24px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(99,102,241,.12);
    color:#8b9cff;
    font-size:22px;
    font-weight:400;
    line-height:1;
    transition:.25s ease;
}

.ipvision-faq-item[open]{
    border-color:#6366f1;
}

.ipvision-faq-item[open] summary{
    border-bottom:1px solid #1f2937;
}

.ipvision-faq-item[open] summary::after{
    content:"−";
    background:rgba(99,102,241,.2);
    color:#a5b4fc;
}

.ipvision-faq-answer{
    padding:20px 24px 22px;
    background:rgba(15,23,42,.45);
}

.ipvision-faq-answer p{
    margin:0;
    color:#94a3b8;
    font-size:15px;
    line-height:1.8;
}

@media(max-width:768px){

    .ipvision-faq-list{
        margin-top:30px;
    }

    .ipvision-faq-item summary{
        padding:18px 58px 18px 18px;
        font-size:16px;
    }

    .ipvision-faq-item summary::after{
        right:18px;
    }

    .ipvision-faq-answer{
        padding:18px;
    }

}
/* ==========================================
   IPVision Navbar Logo
========================================== */

.logo-image {
    width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Keep navbar logo aligned and balanced */
.navbar .logo {
    display: flex;
    align-items: center;
    height: 48px;
}

/* Mobile */
@media (max-width: 768px) {
    .logo-image {
        width: 150px;
    }
}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 1000px) {

    .mobile-menu-toggle {
        display: flex !important;

        width: 44px;
        height: 44px;
        min-width: 44px;

        margin-left: auto;
        padding: 0;

        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;

        background: #111827;
        border: 1px solid #334155;
        border-radius: 10px;

        cursor: pointer;
        box-sizing: border-box;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;

        background: #f8fafc;
        border-radius: 2px;
    }

    .nav-menu,
    .nav-actions {
        display: none !important;
    }

    .navbar-container {
        height: 70px;
    }
}


/* =========================================================
   MOBILE NAV MENU
   ========================================================= */

@media (max-width: 1000px) {

    .nav-menu.mobile-open {
        display: flex !important;

        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 15px 20px 20px;

        background: #0f172a;
        border-top: 1px solid rgba(255,255,255,.08);
        border-bottom: 1px solid rgba(255,255,255,.08);

        box-sizing: border-box;
        z-index: 999;
    }

    .nav-menu.mobile-open a {
        display: block;
        padding: 13px 5px;

        color: #e2e8f0;
        text-decoration: none;

        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .nav-menu.mobile-open a:last-child {
        border-bottom: 0;
    }
}


/* =========================================================
   MOBILE FOOTER
   ========================================================= */

@media (max-width: 768px) {

    .footer {
        width: 100%;
        margin-top: 80px;
        overflow: hidden;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 100%;

        gap: 35px;
        padding: 50px 20px;

        box-sizing: border-box;
    }

    .footer-grid > * {
        min-width: 0;
        max-width: 100%;
    }

    .footer p,
    .footer a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-bottom {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
}
