@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: 'kern' 1, 'liga' 1;
}

.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 146, 70, 0.05) 0%, rgba(206, 43, 55, 0.05) 100%);
    transform: rotate(-15deg);
}

.domain-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.domain-input:focus {
    border-color: #009246;
    box-shadow: 0 0 0 3px rgba(0, 146, 70, 0.1);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #009246, #ce2b37);
    border-radius: 2px;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #009246;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

.result-available {
    background: linear-gradient(135deg, rgba(0, 146, 70, 0.1) 0%, rgba(0, 146, 70, 0.05) 100%);
    border-left: 4px solid #009246;
}

.result-unavailable {
    background: linear-gradient(135deg, rgba(206, 43, 55, 0.1) 0%, rgba(206, 43, 55, 0.05) 100%);
    border-left: 4px solid #ce2b37;
}

.flag-icon {
    display: inline-block;
    width: 24px;
    height: 16px;
    background: linear-gradient(to right, #009246 33%, #ffffff 33%, #ffffff 66%, #ce2b37 66%);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero-section::before {
        width: 100%;
        right: -50%;
    }
}
