/* ============================================
   ULTRA PROFESSIONAL SEO ANALYZER UI
   Modern, Glassmorphism & Gradient Design
   ============================================ */

:root {
    /* Modern Color Palette - Yeni Renk Teması */
    --primary: #1a52cc;
    --primary-dark: #143f9e;
    --primary-light: #4A84E0;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #06b6d4;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

#seo-analyzer-container {
    max-width: 1600px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e9f0 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    padding: 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================
   HEADER - Ultra Modern
   ============================================ */

.seo-analyzer-header {
    background: linear-gradient(180deg, #1a52cc 25%, #4A84E0 100%);
    color: white;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seo-analyzer-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.seo-analyzer-header h2 {
    margin: 0 0 1rem 0;
    font-size: 3rem !important;
    font-weight: 800 !important;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.seo-analyzer-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 1.15rem !important;
    position: relative;
    z-index: 2;
    font-weight: 500 !important;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ============================================
   FORM - Ultra Modern Input
   ============================================ */

.seo-analyzer-form {
    padding: 3rem;
    background: white;
    border-bottom: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

#seo-url-input,
#captcha-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.9375rem !important;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500 !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

#seo-url-input:focus,
#captcha-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 82, 204, 0.1);
}

.captcha-code-display {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    box-shadow: 0 2px 4px rgba(26, 82, 204, 0.2);
    user-select: none;
    transition: all 0.3s ease;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 4px 12px rgba(26, 82, 204, 0.4); }
    100% { transform: scale(1); }
}

.captcha-error {
    display: none;
    color: #dc2626;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    margin-bottom: 14px;
    text-align: left;
    grid-column: 1 / -1;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.analyze-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
    box-shadow: 0 4px 6px -1px rgba(255, 71, 87, 0.3);
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.analyze-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(255, 71, 87, 0.4);
}

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

.analyze-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   RESULTS CONTAINER - Modern Grid
   ============================================ */

.seo-results-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e9f0 100%);
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}

/* Disable ALL animations and transitions on load */
.seo-results-container *,
.check-item,
.info-card,
.seo-score-header,
.score-circle,
.stat-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ============================================
   SEO SCORE HEADER - Glassmorphism Design
   ============================================ */

.seo-score-header {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, #1a52cc 25%, #4A84E0 100%);
    border-radius: var(--radius-2xl);
    padding: 3.5rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 25px 60px -15px rgba(26, 82, 204, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: none;
}

.seo-score-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.seo-score-header::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(90deg); }
    50% { transform: translate(0, -20px) rotate(180deg); }
    75% { transform: translate(-10px, -10px) rotate(270deg); }
}

.score-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.overall-score {
    flex-shrink: 0;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(30px);
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: none;
}

@keyframes scoreAppear {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.score-number {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.score-label {
    font-size: 1.25rem;
    font-weight: 700;
    opacity: 0.95;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1rem;
}

.score-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    flex: 1;
    max-width: 600px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.3) 0%, 
        transparent 50%, 
        rgba(255,255,255,0.3) 100%);
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* ============================================
   PDF DOWNLOAD - Modern Button
   ============================================ */

.pdf-download-section {
    grid-column: 1 / -1;
    text-align: center;
    margin: 2rem 0;
}

.pdf-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px -5px rgba(255, 107, 107, 0.4);
    letter-spacing: 0.025em;
}

.pdf-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -5px rgba(255, 107, 107, 0.5);
}

.pdf-btn:active {
    transform: translateY(-2px);
}

/* ============================================
   ANALYSIS RESULTS - Modern Cards
   ============================================ */

.analysis-results {
    grid-column: 1;
}

.analysis-results h2 {
    color: var(--gray-900);
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.02em;
}

.results-grid {
    display: grid;
    gap: 1.5rem;
}

/* ============================================
   CHECK ITEMS - Ultra Modern Cards
   ============================================ */

.check-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--gray-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.check-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: width var(--transition-base);
}

.check-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.check-item:hover::before {
    width: 8px;
}

/* Status Colors */
.check-item.status-success {
    border-left-color: var(--success);
}

.check-item.status-success::before {
    background: var(--success);
}

.check-item.status-warning {
    border-left-color: var(--warning);
}

.check-item.status-warning::before {
    background: var(--warning);
}

.check-item.status-error {
    border-left-color: var(--error);
}

.check-item.status-error::before {
    background: var(--error);
}

.check-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.check-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.check-title h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.status-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.check-status {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.check-status.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.check-status.status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.check-status.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.check-content {
    color: var(--gray-700);
    line-height: 1.7;
}

.check-message {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-value {
    background: var(--gray-50);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--gray-800);
    font-weight: 600;
    border: 1px solid var(--gray-200);
    word-break: break-word;
}

.check-details {
    margin-top: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.details-list {
    display: grid;
    gap: 0.75rem;
}

.detail-item {
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.og-tag {
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.og-tag:last-child {
    margin-bottom: 0;
}

.og-tag strong {
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   HEADING STRUCTURE - Modern Tags
   ============================================ */

.heading-structure {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.heading-tag {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(26, 82, 204, 0.3);
    letter-spacing: 0.025em;
}

.heading-details-list {
    display: grid;
    gap: 0.75rem;
}

.heading-detail-item {
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ============================================
   KEYWORD TAGS - Modern Pills
   ============================================ */

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.keyword-tag {
    background: linear-gradient(135deg, var(--secondary) 0%, #be185d 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(236, 72, 153, 0.3);
    transition: all var(--transition-base);
}

.keyword-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(236, 72, 153, 0.4);
}

/* ============================================
   LINK TABS - Modern Tab System
   ============================================ */

.link-tabs {
    margin-top: 1.5rem;
}

.tab-buttons {
    display: flex;
    gap: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.link-tab-btn {
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
}

.link-tab-btn:hover {
    color: var(--primary);
    background: rgba(26, 82, 204, 0.05);
}

.link-tab-btn.active {
    border-bottom-color: var(--primary) !important;
    color: var(--primary) !important;
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

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

/* ============================================
   SHOW MORE BUTTON - Modern Style
   ============================================ */

.show-more-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 1rem;
    letter-spacing: 0.025em;
}

.show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 82, 204, 0.3);
}

.hidden-details {
    margin-top: 1rem;
}

/* ============================================
   SIDEBAR INFO - Glassmorphism Cards
   ============================================ */

.sidebar-info {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
    opacity: 1;
    transform: translateY(0);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    gap: 1rem;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

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

.info-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: right;
}

.info-value.success {
    color: var(--success);
}

.info-value.warning {
    color: var(--warning);
}

.info-value.error {
    color: var(--error);
}

.info-value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.info-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   ERROR STATE - Modern Design
   ============================================ */

.error {
    text-align: center;
    background: white;
    border-radius: var(--radius-2xl);
    
}

.error h3 {
    color: var(--error);
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.error p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin: 0 0 2rem 0;
    font-weight: 500;
}

.retry-btn {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
    .seo-results-container {
        grid-template-columns: 1fr 340px;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .score-stats {
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .seo-results-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .sidebar-info {
        position: static;
        grid-column: 1;
        display: contents;
    }
    
    .seo-score-card {
        order: -1;
    }
    
    .pdf-download-section {
        order: 0;
    }
    
    .analysis-results {
        order: 1;
    }
    
    .info-card:not(.seo-score-card) {
        order: 2;
    }
    
    .score-container {
        flex-direction: column;
        text-align: center;
    }
    
    .score-stats {
        width: 100%;
        max-width: 100%;
    }
    
    .seo-analyzer-header {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .seo-score-card {
        padding: 1.5rem;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2.75rem;
    }
    
    .score-max {
        font-size: 1.25rem;
    }
    
    .score-header h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-header {
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .stat-bar {
        height: 6px;
    }
}

@media (max-width: 480px) {
    .seo-score-card {
        padding: 1.25rem;
    }
    
    .score-circle {
        width: 130px;
        height: 130px;
    }
    
    .score-number {
        font-size: 2.25rem;
    }
    
    .score-max {
        font-size: 1.1rem;
    }
    
    .stat-item {
        padding: 0.9rem;
    }
    
    .stat-icon {
        width: 30px;
        height: 30px;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #seo-analyzer-container {
        margin: 0;
        border-radius: 0;
    }
    
    .seo-analyzer-header {
        padding: 2rem 1.5rem;
    }
    
    .seo-analyzer-header h2 {
        font-size: 2rem;
    }
    
    .seo-analyzer-header p {
        font-size: 1rem;
    }
    
    .seo-analyzer-form {
        padding: 2rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    #seo-analyze-btn {
        width: 100%;
    }
    
    .seo-results-container {
        padding: 1rem;
    }
    
    .seo-score-header {
        padding: 2rem 1.5rem;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 3.5rem;
    }
    
    .score-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .check-item {
        padding: 1.5rem;
    }
    
    .check-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .check-status {
        align-self: flex-start;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        var(--gray-100) 0%,
        var(--gray-200) 50%,
        var(--gray-100) 100%
    );
    background-size: 1000px 100%;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1a52cc 25%, #4A84E0 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   SEO SCORE CARD - Sağ Panelde
   ============================================ */

/* ============================================
   SEO SCORE CARD - TAMAMEN YENİ TASARIM
   ============================================ */

.seo-score-card {
    background: linear-gradient(180deg, #1A52CC 25%, #4A84E0 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 20px 60px rgba(26, 82, 204, 0.5);
    margin-bottom: 2rem;
    border: none;
}

.score-header h3 {
    margin: 0;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

/* Site Preview Card */
.site-preview-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.site-preview-card .preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.site-preview-card .preview-header .preview-icon {
    font-size: 24px;
}

.site-preview-card .preview-header h3 {
    font-family: 'Sora', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: white;
    margin: 0;
}

.preview-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-container:hover .site-preview-image {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-container:hover .preview-overlay {
    opacity: 1;
}

.preview-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #667eea;
    font-family: 'Sora', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.preview-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.preview-link svg {
    width: 16px;
    height: 16px;
}

.score-main {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 10;
}

.score-ring-progress {
    fill: none;
    stroke: #fff;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 339;
    transition: stroke-dashoffset 1.5s ease-in-out, stroke 0.6s ease;
}

/* Puana göre ring renkleri */
.seo-score-card[data-score-level="high"] .score-ring-progress {
    stroke: #10B981;
}

.seo-score-card[data-score-level="medium"] .score-ring-progress {
    stroke: #F59E0B;
}

.seo-score-card[data-score-level="low"] .score-ring-progress {
    stroke: #EF4444;
}

.score-value {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.score-number {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    line-height: 1;
    color: white;
    letter-spacing: -0.02em;
}

.score-max {
    font-size: 1.5rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    font-weight: 600 !important;
}

.score-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    flex-shrink: 0;
    border: none;
}

.stat-item.success .stat-icon {
    background: #10B981;
    color: #fff;
}

.stat-item.warning .stat-icon {
    background: #F59E0B;
    color: #fff;
}

.stat-item.error .stat-icon {
    background: #EF4444;
    color: #fff;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-label {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: white;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.stat-value {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: white;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.success .stat-bar-fill {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.stat-item.warning .stat-bar-fill {
    background: #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.stat-item.error .stat-bar-fill {
    background: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.score-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500 !important;
}

/* ============================================
   SOCIAL MEDIA LINKS STYLING
   ============================================ */

.social-media-item:hover {
    background: white !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 82, 204, 0.15);
}

.social-media-item:active {
    transform: translateY(0);
}

/* ============================================
   CAPTCHA STYLING - REMOVED OLD STYLES
   ============================================ */

/* ============================================
   PROGRESS BAR
   ============================================ */

/* Progress bar - Form ile aynı container'da */
#top-progress-bar {
    margin-top: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-top: 4px solid var(--primary) !important;
    padding: 1.5rem 3rem !important;
}

