* {
    font-family: "Inter", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc, #eef2ff, #f1f5f9);
    color: #0f172a;
}

.wrapper {
    max-width: 1320px;
    margin: 0px auto 40px auto;
    padding: 0 20px;
}

.navbar-brand-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.brand-logo {
    font-size: 34px;
    font-weight: 800;
}

.brand-logo span {
    color: #2563eb;
}

.hero-card,
.search-card,
.map-box,
.premium-table,
.plan-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.hero-card {
    padding: 50px;
    margin-bottom: 35px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 540px;
    gap: 50px;
    align-items: center;
}

.hero-left h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero-left p {
    font-size: 22px;
    color: #475569;
    max-width: 650px;
    line-height: 1.6;
}

.code-terminal {
    width: 100%;
    height: 450px;
    background: #0f172a;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.terminal-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.terminal-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.terminal-dots span:nth-child(1) {
    background: #ff5f56; /* red */
}

.terminal-dots span:nth-child(2) {
    background: #ffbd2e; /* yellow */
}

.terminal-dots span:nth-child(3) {
    background: #27c93f; /* green */
}

#typing-code {
    color: #4ade80;
    font-size: 22px;
    white-space: pre-wrap;
    line-height: 1.7;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin: 0;
}

#typing-code::-webkit-scrollbar {
    width: 6px;
}

#typing-code::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

.search-card {
    padding: 35px;
    margin-bottom: 35px;
}

.search-input {
    height: 62px;
    border-radius: 18px;
    border: 1px solid #dbeafe;
    font-size: 18px;
}

.search-btn {
    height: 62px;
    border-radius: 18px;
    font-weight: 700;
}

.result-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.map-box {
    overflow: hidden;
    min-height: 430px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: 0;
}

.premium-table {
    width: 100%;
    overflow: hidden;
}

.premium-table th,
.premium-table td {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
}

.premium-table th {
    width: 35%;
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
}

.premium-table td {
    font-size: 18px;
    font-weight: 600;
}

.pricing-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 35px;
}

.plan-card {
    padding: 30px;
    transition: 0.3s;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-6px);
}

.plan-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 42px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 20px;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.plan-list li {
    margin-bottom: 10px;
    color: #475569;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: #64748b;
    font-size: 14px;
}

.ipinfo-tabs-section {
    margin: 40px 0 70px;
}

.ip-tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.ip-tabs-wrap {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.ip-tab-btn {
    min-width: 190px;
    border: none;
    background: white;
    padding: 18px 30px;
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
    border-right: 1px solid #e5e7eb;
    transition: 0.25s;
}

.ip-tab-btn:last-child {
    border-right: none;
}

.ip-tab-btn.active {
    color: #0f172a;
    background: #f8fafc;
}

.ip-tab-pane {
    display: none;
}

.ip-tab-pane.active {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 80px;
    align-items: center;
}

.ip-left small {
    color: #0284c7;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
}

.ip-left h2 {
    font-size: 64px;
    line-height: 1.15;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 25px;
}

.ip-left h2 span {
    color: #6b7280;
}

.ip-left p {
    font-size: 22px;
    line-height: 1.7;
    color: #334155;
    max-width: 430px;
}

.ip-link {
    display: inline-block;
    margin-top: 25px;
    color: #0284c7;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.ip-right-card {
    background: white;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.ip-right-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.search-card-modern {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
    margin-bottom: 40px;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.search-icon-box {
    width: 62px;
    height: 62px;
    background: #1e293b;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.search-title-wrap h3 {
    margin: 0;
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
}

.search-title-wrap p {
    margin: 4px 0 0;
    font-size: 20px;
    color: #475569;
}

.search-form-row {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 16px;
}

.modern-search-input {
    height: 64px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 22px;
    font-size: 22px;
    color: #0f172a;
    outline: none;
}

.modern-search-input::placeholder {
    color: #94a3b8;
}

.modern-search-btn {
    height: 64px;
    border: none;
    border-radius: 12px;
    background: #1e293b;
    color: white;
    font-size: 24px;
    font-weight: 700;
    transition: 0.25s;
}

.modern-search-btn:hover {
    background: #0f172a;
}

.result-section-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
    margin-bottom: 45px;
}

.result-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.result-section-header h3 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.result-section-header p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 18px;
}

.result-badge {
    background: #dcfce7;
    color: #166534;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.premium-result-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 25px;
}

.premium-map-box {
    border-radius: 24px;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.premium-map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

.map-placeholder {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
}

.result-table-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.enhanced-table tr {
    transition: 0.2s;
}

.enhanced-table tr:hover {
    background: #f8fafc;
}

.enhanced-table th {
    width: 38%;
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.enhanced-table td {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.premium-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.brand-logo {
    font-size: 42px;
    font-weight: 900;
    color: #0f172a;
    text-decoration: none;
}

.brand-logo span {
    color: #2563eb;
}

.header-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: #334155;
    font-size: 17px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-btn-outline,
.header-btn-solid {
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.header-btn-outline {
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.header-btn-solid {
    background: #2563eb;
    color: #fff;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 34px;
    color: #0f172a;
    font-weight: 800;
}

.mobile-actions {
    display: none;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .desktop-actions {
        display: none;
    }

    .header-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        display: none;
    }

    .header-nav.show {
        display: flex;
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-actions a {
        width: 100%;
        text-align: center;
    }

    .brand-logo {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        font-size: 28px;
    }

    .header-inner {
        padding: 14px 16px;
    }

    .menu-toggle {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .premium-result-grid {
        grid-template-columns: 1fr;
    }

    .premium-map-box,
    .premium-map-box iframe,
    .map-placeholder {
        min-height: 350px;
    }

    .result-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .search-form-row {
        grid-template-columns: 1fr;
    }

    .search-title-wrap h3 {
        font-size: 28px;
    }

    .search-title-wrap p {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .ip-tab-pane.active {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ip-left h2 {
        font-size: 42px;
    }

    .ip-left p {
        font-size: 18px;
    }

    .ip-tab-btn {
        min-width: auto;
        padding: 14px 18px;
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .hero-grid,
    .result-grid {
        grid-template-columns: 1fr;
    }

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

    .code-terminal {
        height: 500px;
    }
}
