:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --success: #4cc9f0;
    --light-bg: #f8f9fa;
    --dark-text: #2b2d42;
    --light-text: #6c757d;
    --gradient: linear-gradient(120deg, #4361ee, #3a0ca3);
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f5f7ff;
    color: #4a5568;
}

.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.hero-section {
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.ip-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    margin-bottom: 25px;
}

.ip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ip-card-header {
    background: var(--gradient);
    color: white;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.ip-input {
    border-radius: 12px;
    padding: 18px 25px;
    font-size: 18px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    margin: 5px;
    height: auto;
}

.ip-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

.btn-ip {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 12px;
    padding: 18px 30px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 5px;
}

.btn-ip:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.info-label {
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.1rem;
}

.info-item {
    background: #f9fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.info-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.loader {
    display: none;
    width: 60px;
    height: 60px;
    border: 5px solid rgba(67, 97, 238, 0.2);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.map-container {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 28px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.floating-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: white;
    padding: 0 10px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.input-container {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    background: white;
}

.raw-data-container {
    background: #1e293b;
    color: #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
    }

    .ip-input {
        padding: 14px 20px;
        font-size: 16px;
        height: 58px;
    }

    .btn-ip {
        padding: 14px 20px;
    }
}