/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-direction: column;
}

.logo i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: rocketFloat 2s ease-in-out infinite;
}

.logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fff;
    margin: 0;
}

.tagline {
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 5px;
}

.jetbilgi-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.jetbilgi-badge i {
    color: #ffd700;
    font-size: 16px;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Ana içerik */
.main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* Arama konteyneri */
.search-container {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.domain-input {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.domain-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.check-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
}

.check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Örnekler */
.examples {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.example-label {
    color: #666;
    font-weight: 500;
}

.example-btn {
    padding: 8px 16px;
    background: #f1f3f4;
    border: 1px solid #dadce0;
    border-radius: 20px;
    color: #5f6368;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.example-btn:hover {
    background: #e8eaed;
    border-color: #667eea;
    color: #667eea;
}

/* Loading */
.loading-section {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-section p {
    color: #666;
    font-size: 18px;
    font-weight: 500;
}

/* Sonuç bölümü */
.result-section {
    animation: fadeInUp 0.6s ease;
}

.result-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.domain-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.domain-info h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.pa-score {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.score-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.data-source {
    margin-top: 10px;
    padding: 5px 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    display: inline-block;
}

.data-source small {
    color: #667eea;
    font-size: 12px;
    font-weight: 500;
}

/* Metrikler */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.metric-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Analiz bölümü */
.analysis-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.analysis-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.analysis-content {
    color: #666;
    line-height: 1.7;
}

.analysis-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.analysis-content li {
    margin-bottom: 8px;
}

/* Hata bölümü */
.error-section {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.error-card {
    background: #fff5f5;
    border: 2px solid #fed7d7;
    border-radius: 16px;
    padding: 40px;
    color: #c53030;
}

.error-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e53e3e;
}

.error-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #c53030;
}

.error-card p {
    margin-bottom: 25px;
    font-size: 16px;
}

.retry-btn {
    padding: 12px 24px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #c53030;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.jetbilgi-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.jetbilgi-links a {
    color: #ffd700;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jetbilgi-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.footer-info p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-features h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-features ul {
    list-style: none;
}

.footer-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.footer-features i {
    color: #4ade80;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Utility sınıfları */
.hidden {
    display: none !important;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .domain-input {
        min-width: auto;
    }
    
    .check-btn {
        width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .examples {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .score-value {
        font-size: 2.5rem;
    }
}
