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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.language-selector select {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: #667eea;
}

/* Main Content */
main {
    padding: 2rem 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Checker Container */
.checker-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.url-form {
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#urlInput {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 300px;
}

#urlInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.check-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.check-btn:active {
    transform: translateY(0);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: #667eea;
    font-size: 1.1rem;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Results */
.result-container {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #667eea;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.status-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.status-icon.safe {
    color: #10b981;
}

.status-icon.warning {
    color: #f59e0b;
}

.status-icon.danger {
    color: #ef4444;
}

.result-item {
    display: flex;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.result-item .label {
    font-weight: 600;
    color: #374151;
    min-width: 100px;
}

.result-item .value {
    flex: 1;
    word-break: break-all;
}

.status.safe {
    color: #10b981;
    font-weight: 600;
}

.status.warning {
    color: #f59e0b;
    font-weight: 600;
}

.status.danger {
    color: #ef4444;
    font-weight: 600;
}

.risk.low {
    color: #10b981;
    font-weight: 600;
}

.risk.medium {
    color: #f59e0b;
    font-weight: 600;
}

.risk.high {
    color: #ef4444;
    font-weight: 600;
}

/* Error */
.error-container {
    background: #fef2f2;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #ef4444;
    text-align: center;
}

.error-icon {
    color: #ef4444;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-container h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.error-container p {
    color: #991b1b;
}

/* Info Section */
.info-section {
    margin-top: 4rem;
    text-align: center;
    color: white;
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-card p {
    opacity: 0.9;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .input-group {
        flex-direction: column;
    }

    #urlInput {
        min-width: unset;
    }

    .checker-container {
        margin: 0 1rem 2rem 1rem;
        padding: 1.5rem;
    }

    .info-section h2 {
        font-size: 2rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .result-item {
        flex-direction: column;
    }

    .result-item .label {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .checker-container {
        margin: 0 0.5rem 2rem 0.5rem;
        padding: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-container,
.error-container {
    animation: fadeIn 0.5s ease;
}
