:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray: #6b7280;
    --light: #f8fafc;
    --dark: #1f2937;
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    flex: 1 0 auto;
    padding: 20px;
    width: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.3);
    padding: 40px;
    margin: 0 0 30px 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

@media (min-width: 720px) {
    .card {
        padding: 50px 60px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 30px 25px;
        width: 100%;
        max-width: 100%;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
}

.nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-link i {
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}


.header-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
}

.badge i {
    font-size: 1.1rem;
}

.badge-schema {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.badge-geo {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.badge-mcp {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.badge-shopify {
    background: linear-gradient(135deg, #96bf48, #7ba428);
    color: white;
    box-shadow: 0 4px 15px rgba(150, 191, 72, 0.3);
}

.badge-openai {
    background: linear-gradient(135deg, #412991, #2d1b69);
    color: white;
    box-shadow: 0 4px 15px rgba(65, 41, 145, 0.3);
}

.badge-anthropic {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.badge-meta {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Header external links section under navbar */
.header-links {
    padding: 16px 24px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eef2f7;
}

.header-links .badge {
    text-decoration: none;
    cursor: pointer;
}

.header-links .badge:link,
.header-links .badge:visited {
    color: white;
}

.header-links .badge:hover {
    filter: brightness(1.03);
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1200px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.header-left i {
    font-size: 1.4rem;
    color: #fbbf24;
}

.header-right {
    display: flex;
    align-items: center;
}

.brand-link {
    color: inherit !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    font-weight: 600;
}

.brand-link:hover,
.brand-link:focus,
.brand-link:active,
.brand-link:visited {
    color: inherit !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

.header-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Site Footer */
.site-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    margin: 20px auto 10px;
    max-width: 1200px;
    border: 1px solid #e2e8f0;
}

.footer-content {
    padding: 10px 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.footer-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.footer-links a i {
    font-size: 0.7rem;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .site-footer {
        margin: 15px auto 5px;
    }
    
    .footer-content {
        padding: 6px 10px;
    }
    
    .footer-links {
        gap: 4px;
        justify-content: center;
    }
    
    .footer-links a {
        padding: 3px 6px;
        font-size: 0.65rem;
        gap: 3px;
        min-width: auto;
    }
    
    .footer-links a i {
        font-size: 0.65rem;
    }
}

/* Hide text on very small screens, show only icons */
@media (max-width: 380px) {
    .footer-links a {
        padding: 4px;
        width: 24px;
        height: 24px;
        justify-content: center;
        font-size: 0;
        text-indent: -9999px;
    }
    
    .footer-links a i {
        font-size: 0.8rem;
        text-indent: 0;
    }
}

/* Performance Panel */
.performance-panel {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    width: 100%;
}

/* Performance Reference Values */
.perf-reference {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.perf-reference::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.perf-reference h4 {
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    position: relative;
    z-index: 2;
}

.reference-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reference-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.ref-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ref-header i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.reference-item.speed .ref-header i { color: #10b981; }
.reference-item.size .ref-header i { color: #3b82f6; }
.reference-item.assets .ref-header i { color: #f59e0b; }
.reference-item.js .ref-header i { color: #f7df1e; }
.reference-item.css .ref-header i { color: #1572b6; }
.reference-item.video .ref-header i { color: #ef4444; }

.ref-header strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}

.ref-value {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
    padding-left: 28px;
}

.performance-panel h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.perf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.perf-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    padding: 12px 16px;
    border-radius: 10px;
}

.perf-metric .metric-label {
    text-align: left;
    flex: 1;
}

.perf-metric .metric-value {
    text-align: right;
    flex-shrink: 0;
    min-width: 200px;
}

.metric-label {
    color: var(--gray);
    font-weight: 600;
}

.metric-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
}

.metric-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

/* Hide mobile labels on desktop */
.mobile-label {
    display: none;
}

.metric-badge.ok { background: var(--success); }
.metric-badge.warn { background: var(--danger); }

.perf-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
}

.detail-column h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.detail-column ul {
    list-style: none;
    padding-left: 0;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 220px;
    overflow: auto;
}

.detail-column li {
    padding: 8px 10px;
    font-size: 0.9rem;
    color: #334155;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-column li:last-child { border-bottom: none; }

.perf-tests { margin-top: 12px; }
.perf-tests h4 { color: var(--primary); margin-bottom: 10px; }

@media (max-width: 768px) {
    .perf-details { grid-template-columns: 1fr; }
    
    /* Mobile reference values */
    .perf-reference {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .perf-reference h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .reference-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .reference-item {
        font-size: 0.75rem;
        padding: 10px 12px;
        gap: 6px;
    }
    
    .ref-header {
        gap: 6px;
        margin-bottom: 2px;
    }
    
    .ref-header i {
        font-size: 1rem;
        width: 18px;
    }
    
    .ref-header strong {
        font-size: 0.8rem;
    }
    
    .ref-value {
        font-size: 0.7rem;
        padding-left: 24px;
    }
    
    /* Hide performance metric labels on mobile */
    .perf-metric {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 8px 12px;
    }
    
    .metric-label {
        display: none;
    }
    
    .mobile-label {
        display: inline !important;
        font-size: 0.75rem !important;
        color: var(--gray) !important;
        font-weight: 600 !important;
        margin-right: 4px !important;
        text-align: left !important;
        flex: 1 !important;
    }
    
    .metric-value {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
        text-align: right;
        flex-shrink: 0;
        min-width: 120px;
    }
    
    .metric-value span {
        font-size: 0.9rem;
    }
    
    .metric-badge {
        font-size: 0;
        padding: 8px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        text-indent: -9999px;
        overflow: hidden;
    }
}

/* Old header styles for backward compatibility */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-weight: 700;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    to { text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6); }
}

.header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.test-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 400;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 0;
    width: 100%;
    align-items: stretch;
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.form-row:focus-within {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 50px -10px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.url-input {
    flex: 1;
    padding: 20px 25px;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    background: transparent;
    color: #374151;
    outline: none;
    transition: all 0.3s ease;
}

.url-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.test-button {
    padding: 20px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.test-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.test-button:hover::before {
    left: 100%;
}

.test-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.test-button:active {
    transform: translateY(0);
}

.test-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.test-button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .test-button {
        min-width: auto;
        width: 100%;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
}

/* Form progress bar */
.form-progress {
    margin-top: 10px;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Progress bar stilleri */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--primary));
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
    width: var(--progress-width, 0%);
}

/* Product and Score Layout - UPDATED */
.product-score-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
    width: 100%;
}

/* Score Card Styles - UPDATED */
.score-card {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: white;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px; /* Daha yüksek */
    padding: 40px 30px;
}

.score-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.score-circle {
    width: 160px; /* Daha büyük */
    height: 160px; /* Daha büyük */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3rem; /* Daha büyük font */
    font-weight: bold;
    border: 4px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.score-card h2 {
    font-size: 2rem; /* Daha büyük başlık */
    margin-bottom: 20px;
    font-weight: 700;
}

.score-card h3 {
    font-size: 1.4rem; /* Daha büyük alt başlık */
    margin-bottom: 25px;
    font-weight: 600;
}

/* Progress Bar in Score Card */
.score-progress {
    width: 80%;
    margin: 25px auto 0;
}

.score-progress .progress-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 10px; /* Daha kalın */
}

.score-progress .progress-fill {
    background: linear-gradient(90deg, var(--success), #34d399);
}

/* Score Message */
.score-message {
    margin-top: 20px;
    font-size: 1.3rem; /* Daha büyük */
    font-weight: 700;
    opacity: 0.9;
}

/* Product Card Styles - UPDATED */
.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
    min-height: 500px; /* Skor kartıyla aynı yükseklik */
    display: flex;
    flex-direction: column;
}

.product-image-container {
    text-align: center;
    margin-bottom: 25px;
}

.product-image {
    width: 300px; /* Sabit genişlik */
    height: 300px; /* Sabit yükseklik - KARE */
    border-radius: 12px;
    object-fit: cover; /* Görseli kareye sığdır */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-title {
    font-size: 1.4rem; /* Biraz daha küçük */
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    text-align: center;
    margin-bottom: 15px;
}

.product-description {
    color: var(--gray);
    line-height: 1.6;
    text-align: center;
    flex: 1;
    font-size: 0.95rem; /* Product Score Container */
}

.product-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: auto;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.detail-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    text-align: right;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.test-category {
    position: relative;
}

.test-category h3 {
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.test-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: var(--light);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.test-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.test-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
}

.test-status::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.status-pass { 
    background: var(--success);
    border-left-color: var(--success);
}

.status-pass::after {
    border: 2px solid var(--success);
}

.status-fail { 
    background: var(--danger);
    border-left-color: var(--danger);
}

.status-fail::after {
    border: 2px solid var(--danger);
}

/* Recommendations Styles */
.recommendations {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid var(--warning);
}

.recommendations h3 {
    color: var(--warning);
}

.recommendation-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--warning);
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.recommendation-item:hover {
    transform: translateX(5px);
    background: rgba(245, 158, 11, 0.2);
}

/* Loading Styles */
.loading {
    text-align: center;
    padding: 60px 40px;
    color: var(--gray);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Error Styles - Enhanced */
.error-container {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left: 6px solid var(--danger);
    border-radius: 12px;
    padding: 0;
    animation: shake 0.5s ease-in-out;
    overflow: hidden;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-header {
    background: var(--danger);
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-header i {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.error-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.error-details {
    padding: 25px;
    color: #991b1b;
}

.error-type {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.error-type i {
    color: var(--danger);
    font-size: 1.2rem;
}

.error-message {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--danger);
}

.error-message i {
    color: var(--danger);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.error-message strong {
    display: block;
    margin-bottom: 8px;
    color: #991b1b;
}

.error-message p {
    margin: 0;
    line-height: 1.6;
    color: #7f1d1d;
}

.error-suggestions {
    background: rgba(239, 68, 68, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 2px dashed rgba(239, 68, 68, 0.3);
}

.error-suggestions strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #991b1b;
    font-size: 1.05rem;
}

.error-suggestions i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.error-suggestions ul {
    margin: 0;
    padding-left: 25px;
}

.error-suggestions li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #7f1d1d;
}

.error-suggestions li:last-child {
    margin-bottom: 0;
}

/* Old error style for backward compatibility */
.error {
    background: var(--danger);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    animation: shake 0.5s ease-in-out;
}

/* Bot Protection Warning Styles */
.warning-card {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 6px solid var(--warning);
    margin-bottom: 25px;
    animation: slideDown 0.5s ease-out;
}

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

.warning-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
}

.warning-header i {
    font-size: 2rem;
    color: var(--warning);
    animation: pulse 2s infinite;
}

.warning-header h3 {
    color: var(--warning);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.warning-content {
    color: #856404;
    line-height: 1.8;
}

.warning-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.detected-system {
    background: rgba(245, 158, 11, 0.15);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--warning);
}

.detected-system strong {
    color: #856404;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.protection-badge {
    display: inline-block;
    background: var(--warning);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Debug Info Enhanced Styles */
.debug-info {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin-bottom: 30px;
    width: 100%;
}

.debug-info h4 {
    color: var(--primary);
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.debug-info h4:first-child {
    margin-top: 0;
}

/* Meta Bilgileri Grid */
.meta-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--light);
    border-radius: 6px;
    border-left: 3px solid var(--primary);
}

.meta-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
}

.meta-value {
    font-size: 0.9rem;
    color: var(--dark);
    word-break: break-all;
    line-height: 1.4;
}

/* Schema.org Bölümü */
.schema-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.schema-section ul {
    list-style: none;
    padding-left: 0;
}

.schema-section li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.schema-section li:last-child {
    border-bottom: none;
}

.jsonld-item, .microdata-item {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.json-content {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

/* Özet Bölümü */
.summary-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.summary-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
}

.summary-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.summary-value.score-0 { color: var(--danger); }
.summary-value.score-1 { color: var(--warning); }
.summary-value.score-2 { color: var(--warning); }
.summary-value.score-3 { color: var(--success); }
.summary-value.score-4 { color: var(--success); }

/* Ekstra Bölümler */
.extra-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.extra-section pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive Debug */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .json-content {
        font-size: 0.7rem;
    }
    
    .meta-item, .summary-item {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .debug-info {
        padding: 15px;
    }
    
    .meta-section, .schema-section, .summary-section, .extra-section {
        padding: 15px;
    }
    
    .jsonld-item, .microdata-item {
        padding: 10px;
    }
}

/* New Test Button Styles */
.new-test-container {
    text-align: center;
}

.new-test-button {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    text-decoration: none;
}

.new-test-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    .product-score-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .score-card {
        min-height: 400px;
    }
    
    .product-card {
        min-height: auto;
    }
    
    .product-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-brand i {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 10px;
        gap: 5px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    
    .header-icon i {
        font-size: 3rem;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-badges {
        gap: 10px;
    }
    
    .badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .test-form {
        gap: 12px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .test-button {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }
    
    .url-input {
        min-height: 55px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-score-container {
        gap: 15px;
    }
    
    .product-image {
        width: 200px;
        height: 200px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .detail-item {
        padding: 10px 12px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .score-card h2 {
        font-size: 1.8rem;
    }
    
    .score-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .product-score-container {
        gap: 12px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-image {
        width: 150px;
        height: 150px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 12px;
    }
    
    .detail-value {
        text-align: left;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .test-item {
        padding: 12px 15px;
    }
    
    .recommendation-item {
        padding: 12px 15px;
    }
    
    .test-category h3 {
        font-size: 1.2rem;
    }
    
    .score-card {
        padding: 30px 20px;
        min-height: 350px;
    }
}

/* Print Styles */
@media print {
    .test-form,
    .new-test-container {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: white;
        padding: 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #0000ff;
        --success: #008000;
        --warning: #ffa500;
        --danger: #ff0000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    .test-item:hover {
        transform: none;
    }
    
    .test-button:hover:not(:disabled) {
        transform: none;
    }
    
    .product-image:hover {
        transform: none;
    }
    
    .recommendation-item:hover {
        transform: none;
    }
}

/* Sitedeki Mevcut Özellikler Stilleri */
.site-features-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.site-features-section .section-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item.available {
    border-left: 4px solid #28a745;
}

.feature-item.not-available {
    border-left: 4px solid #dc3545;
    opacity: 0.7;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    width: 24px;
    text-align: center;
}

.feature-text {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
}

.feature-status {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.feature-item.available .feature-status {
    background: #d4edda;
    color: #155724;
}

.feature-item.not-available .feature-status {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .site-features-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .feature-item {
        padding: 0.6rem 0.8rem;
    }
    
    .warning-header h3 {
        font-size: 1.2rem;
    }
    
    .warning-content p {
        font-size: 0.95rem;
    }
    
    .detected-system {
        padding: 12px 15px;
    }
    
    .error-header {
        padding: 15px 20px;
    }
    
    .error-header h3 {
        font-size: 1.1rem;
    }
    
    .error-details {
        padding: 20px;
    }
    
    .error-suggestions {
        padding: 15px;
    }
}

/* Mobile Header Responsive Styles */
@media (max-width: 768px) {
    .main-header {
        margin: 15px auto;
    }
    
    .header-content {
        padding: 12px 20px;
    }
    
    .header-left {
        font-size: 1rem;
        gap: 8px;
    }
    
    .header-left i {
        font-size: 1.2rem;
    }
    
    .brand-link {
        font-size: 0.95rem;
    }
    
    .header-link {
        padding: 6px 12px;
        font-size: 0.9rem;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 15px;
    }
    
    .header-left {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .header-left i {
        font-size: 1rem;
    }
    
    .brand-link {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .header-link {
        padding: 5px 8px;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .header-link i {
        font-size: 0.9rem;
    }
    
    .error-header {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .error-header i {
        font-size: 1.5rem;
    }
    
    .error-header h3 {
        font-size: 1rem;
    }
    
    .error-details {
        padding: 15px;
    }
    
    .error-message {
        flex-direction: column;
        gap: 10px;
    }
    
    .error-suggestions ul {
        padding-left: 20px;
    }
}

/* Koyu tema desteği */
@media (prefers-color-scheme: dark) {
    .site-features-section {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    
    .feature-item {
        background: rgba(45, 55, 72, 0.95);
    }
    
    .feature-text {
        color: #e2e8f0;
    }
}