/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #667eea;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #764ba2;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.nav-link[data-translate="nav-improvements"] {
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0;
}

.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.language-btn i {
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 200px 0 140px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #ffd700;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.trust-badges {
    display: flex;
    gap: 1rem;
}

.trust-badges i {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.seo-dashboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.score-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.score-badge.excellent {
    background: #10b981;
    color: white;
}

.dashboard-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.metric-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.metric-content {
    flex: 1;
}

.metric-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.metric-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd700;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Analyzer Section */
.analyzer {
    padding: 100px 0;
    background: white;
}

.analyzer-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-container {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.input-group i {
    padding: 0 1rem;
    color: #667eea;
    font-size: 1.2rem;
}

.input-group input {
    flex: 1;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

.input-group button {
    margin-left: 0.5rem;
}

.form-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Analysis Progress */
.analysis-progress {
    max-width: 600px;
    margin: 2rem auto 0;
}

.progress-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: #4a5568;
    font-weight: 500;
}

/* Optimizer Section */
.optimizer {
    padding: 100px 0;
    background: #f8fafc;
}

.optimizer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed #cbd5e0;
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #667eea;
    background: #f8fafc;
}

.upload-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.upload-area h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.upload-area p {
    color: #64748b;
    margin-bottom: 2rem;
}

.upload-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
}

.supported-formats {
    margin-top: 2rem;
}

.supported-formats span {
    color: #64748b;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.format-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.format-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Uploaded Files */
.uploaded-files {
    margin-top: 2rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.uploaded-files h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.9rem;
    color: #64748b;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-remove:hover {
    background: #dc2626;
}

/* Optimization Options */
.optimization-options {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.optimization-options h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

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

.option-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.option-item input[type="checkbox"] {
    display: none;
}

.option-item input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

/* Tools Section */
.tools {
    padding: 100px 0;
    background: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

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

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.tool-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.tool-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.discount {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.2rem;
    color: #64748b;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
}

.period {
    font-size: 1rem;
    color: #64748b;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
}

.plan-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-method h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: #1a1a1a;
}

.contact-method p {
    color: #64748b;
    margin: 0;
}

.contact-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.contact-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.large-modal {
    max-width: 1000px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modal-header h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
}

.close {
    color: #94a3b8;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1a1a1a;
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

/* Analysis Results */
.analysis-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.overall-score {
    text-align: center;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    position: relative;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.score-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

.score-label {
    font-size: 0.7rem;
    opacity: 0.9;
    text-align: center;
    line-height: 1.1;
    padding: 0 4px;
}

.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-category {
    min-width: 120px;
    font-weight: 600;
    color: #4a5568;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #667eea;
}

.analysis-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.issues-section,
.recommendations-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.issues-section h3,
.recommendations-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.issues-list,
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.issue-item,
.recommendation-item {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    font-size: 0.9rem;
    color: #4a5568;
}

.recommendation-item {
    border-left-color: #10b981;
}

.analysis-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Optimization Results */
.optimization-summary {
    margin-bottom: 2rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.stat-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.stat-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.optimized-files-list {
    margin-bottom: 2rem;
}

.optimized-file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.optimized-file-item .file-icon {
    background: #10b981;
}

.optimization-actions {
    text-align: center;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 0.5rem;
    }
    
    .nav.mobile-nav-open {
        display: flex;
    }
    
    .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid #e2e8f0;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .language-selector {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .analysis-summary .score-circle {
        width: 80px;
        height: 80px;
    }
    
    .analysis-summary .score-number {
        font-size: 1.2rem;
    }
    
    .analysis-summary .score-label {
        font-size: 0.6rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .analysis-summary {
        grid-template-columns: 1fr;
    }
    
    .analysis-details {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .input-group button {
        margin-left: 0;
        width: 100%;
    }
    
    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    /* Analysis results responsive */
    .analysis-results {
        padding: 1rem;
    }
    
    .score-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 1.5rem;
    }
    
    .score-label {
        font-size: 0.8rem;
    }
    
    /* Comparison results responsive */
    .comparison-results {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-card {
        padding: 1rem;
    }
    
    /* Tools section responsive */
    .tool-card {
        padding: 1.5rem;
    }
    
    .tool-card h3 {
        font-size: 1.2rem;
    }
    
    .tool-card p {
        font-size: 0.9rem;
    }
    
    /* Contact form responsive */
    .contact {
        padding: 40px 0;
    }
    
    
    /* Buttons responsive */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Header responsive */
    .header {
        padding: 0.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    /* Hero section responsive */
    .hero {
        padding: 120px 0 80px;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Sections responsive */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Cards responsive */
    .feature-card,
    .tool-card,
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3,
    .tool-card h3,
    .pricing-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p,
    .tool-card p,
    .pricing-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Tables responsive */
    .analysis-table {
        font-size: 0.8rem;
    }
    
    .analysis-table th,
    .analysis-table td {
        padding: 0.5rem;
    }
    
    /* Progress bars responsive */
    .progress-bar {
        height: 8px;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
    
    /* Notifications responsive */
    .notification {
        width: 90%;
        left: 5%;
        right: 5%;
    }
    
    /* Loading animations responsive */
    .loading-spinner {
        width: 30px;
        height: 30px;
    }
    
    .loading-dots span {
        width: 6px;
        height: 6px;
    }
    
    /* Mobile menu improvements */
    .header {
        position: relative;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-btn {
        order: 3;
    }
    
    .header-actions {
        order: 2;
        display: none;
    }
    
    .nav {
        order: 4;
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Touch improvements */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    /* Modal improvements */
    .modal-content {
        border-radius: 0;
        margin: 0;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
    }
    
    .modal-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
    }
    
    /* Analysis results mobile */
    .analysis-summary {
        padding: 1rem;
    }
    
    .score-grid {
        gap: 0.5rem;
    }
    
    .score-circle {
        margin: 0 auto;
    }
    
    /* Tables mobile */
    .analysis-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .analysis-table thead,
    .analysis-table tbody,
    .analysis-table th,
    .analysis-table td,
    .analysis-table tr {
        display: block;
    }
    
    .analysis-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .analysis-table tr {
        border: 1px solid #ccc;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    
    .analysis-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }
    
    .analysis-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 70px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 0.8rem;
    }
    
    .analysis-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Extra small screens */
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .score-circle {
        width: 80px;
        height: 80px;
    }
    
    .score-number {
        font-size: 1.2rem;
    }
    
    .score-label {
        font-size: 0.7rem;
    }
    
    .feature-card,
    .tool-card,
    .pricing-card {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card h3,
    .tool-card h3,
    .pricing-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p,
    .tool-card p,
    .pricing-card p {
        font-size: 0.85rem;
    }
    
    .analysis-table {
        font-size: 0.75rem;
    }
    
    .analysis-table th,
    .analysis-table td {
        padding: 0.4rem;
    }
    
    
    .notification {
        width: 95%;
        left: 2.5%;
        right: 2.5%;
        font-size: 0.9rem;
    }
    
    .loading-spinner {
        width: 25px;
        height: 25px;
    }
    
    .loading-dots span {
        width: 5px;
        height: 5px;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
}


/* Performance Analysis Styles */
.analysis-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.device-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.tab-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #4a5568;
}

.tab-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.device-analysis {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.performance-metrics {
    margin-top: 2rem;
}

.performance-metrics h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #e2e8f0;
}

.metric-label {
    font-weight: 600;
    color: #2d3748;
    flex: 1;
}

.metric-value {
    font-weight: 700;
    color: #4a5568;
    margin: 0 1rem;
}

.metric-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.metric-status.good {
    background: #d1fae5;
    color: #065f46;
}

.metric-status.poor {
    background: #fee2e2;
    color: #991b1b;
}

.comparison-analysis {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-analysis h3 {
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

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

.comparison-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
}

.comparison-item h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 80px;
    font-weight: 600;
    color: #4a5568;
}

.bar {
    flex: 1;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease;
}

.bar-value {
    min-width: 50px;
    text-align: right;
    font-weight: 700;
    color: #2d3748;
}

/* Improvement Suggestions Styles */
.improvement-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 100%;
}

.improvement-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.improvement-section h3 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.75rem;
    text-align: left;
}

.improvement-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
}

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

.improvement-item h4 {
    color: #2d3748;
    margin-bottom: 1.25rem;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.4;
}

.improvement-item p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

.improvement-item ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.improvement-item li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.improvement-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.improvement-links a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.improvement-links a:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.improvement-item p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.improvement-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.improvement-item li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.improvement-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.improvement-links a {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.improvement-links a:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .device-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .bar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bar-label {
        min-width: auto;
    }
    
    .bar-value {
        text-align: left;
    }
    
    .improvement-links {
        flex-direction: column;
    }
}

/* Comparison Mode Styles */
.comparison-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.comparison-input-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.comparison-input-group .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.comparison-input-group .input-group i {
    position: absolute;
    left: 15px;
    color: #6c757d;
    z-index: 2;
}

.comparison-input-group .input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.comparison-input-group .input-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comparison-actions {
    text-align: center;
    padding: 20px 0;
}

.comparison-actions .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.comparison-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Comparison Results Styles */
.comparison-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.comparison-site {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.comparison-site:hover {
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.comparison-site h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.comparison-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.comparison-metric {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comparison-metric .metric-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.comparison-metric .metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
}

.comparison-metric .metric-score {
    font-size: 14px;
    color: #28a745;
    font-weight: 600;
}

.comparison-metric .metric-score.warning {
    color: #ffc107;
}

.comparison-metric .metric-score.danger {
    color: #dc3545;
}

.comparison-summary {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #007bff;
}

.comparison-summary h4 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.comparison-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-summary li {
    padding: 8px 0;
    border-bottom: 1px solid #bbdefb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-summary li:last-child {
    border-bottom: none;
}

.comparison-summary .winner {
    color: #28a745;
    font-weight: 600;
}

.comparison-summary .loser {
    color: #dc3545;
    font-weight: 600;
}

/* Enhanced SEO Analysis Styles */
.seo-comparison-overview {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin: 24px 0;
    color: #2d3748;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.overview-metric {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.overview-metric .metric-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #4a5568;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.metric-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metric-bar {
    position: relative;
    background: #e2e8f0;
    height: 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e0;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 15px;
    transition: width 0.8s ease;
    position: relative;
}

.metric-value {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 15px;
    color: #2d3748;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.enhanced-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.metric-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #007bff;
}

.metric-category h4 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

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

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-name {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.metric-bar-small {
    position: relative;
    background: #e9ecef;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.metric-fill-small {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.metric-value-small {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.metric-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    border-radius: 10px;
    font-size: 12px;
}

.metric-status.good {
    background: #d4edda;
    color: #155724;
}

.metric-status.bad {
    background: #f8d7da;
    color: #721c24;
}

.detailed-comparison-summary {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #2196F3;
}

.detailed-comparison-summary h4 {
    color: #1976D2;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

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

.summary-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-comparison {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.summary-bar {
    position: relative;
    background: #f8f9fa;
    height: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.summary-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 12px;
    transition: width 0.8s ease;
}

.summary-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.summary-winner {
    text-align: center;
    font-weight: 600;
    color: #28a745;
    font-size: 14px;
}

.actionable-recommendations {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 24px 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
}

.actionable-recommendations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 0 16px;
}

.actionable-recommendations h4 {
    color: #2d3748;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.recommendation-category {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e8ecf7;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommendation-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.recommendation-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.recommendation-category h5 {
    color: #4a5568;
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.recommendation-list li:hover {
    color: #2d3748;
    padding-left: 4px;
}

.recommendation-list li:last-child {
    border-bottom: none;
}

.recommendation-list input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #667eea;
    cursor: pointer;
}

@media (max-width: 768px) {
    .comparison-results {
        grid-template-columns: 1fr;
    }
    
    .comparison-metrics {
        grid-template-columns: 1fr;
    }
    
    .comparison-inputs {
        grid-template-columns: 1fr;
    }
    
    .overview-metrics {
        grid-template-columns: 1fr;
    }
    
    .metric-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

/* İyileştirme Modal Stilleri */
.improvement-modal {
    max-width: 800px;
    width: 90%;
}

.improvement-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.improvement-intro p {
    margin: 10px 0;
    color: #555;
}

.file-upload-section {
    margin: 30px 0;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.upload-area.dragover {
    border-color: #007bff;
    background: #e3f2fd;
    transform: scale(1.02);
}

.upload-icon i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 15px;
}

.upload-text h3 {
    color: #333;
    margin: 15px 0 10px 0;
}

.upload-text p {
    color: #666;
    margin: 10px 0;
}

.upload-text small {
    color: #999;
    font-size: 12px;
}

.btn-link {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.btn-link:hover {
    color: #0056b3;
}

.uploaded-files {
    margin-top: 20px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    background: white;
}

.file-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.file-icon {
    margin-right: 15px;
    font-size: 24px;
}

.file-icon.html { color: #e44d26; }
.file-icon.css { color: #1572b6; }
.file-icon.js { color: #f0db4f; }

.file-details h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.file-details p {
    margin: 0;
    color: #666;
    font-size: 12px;
}

.file-actions button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 12px;
}

.improvement-actions {
    text-align: center;
    margin: 30px 0;
}

.improvement-progress {
    margin: 30px 0;
    text-align: center;
}

.progress-header h3 {
    color: #333;
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-status {
    color: #666;
    font-style: italic;
}

.improvement-results {
    margin-top: 30px;
}

.improvement-summary {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
}

.improvement-summary h3 {
    color: #155724;
    margin-bottom: 15px;
}

.improvement-preview {
    margin: 30px 0;
}

.improvement-preview h4 {
    margin-bottom: 15px;
    color: #333;
}

.preview-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.preview-before,
.preview-after {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.preview-header {
    padding: 10px 15px;
    font-weight: bold;
    color: white;
}

.preview-before .preview-header {
    background: #dc3545;
}

.preview-after .preview-header {
    background: #28a745;
}

.preview-content {
    padding: 15px;
    background: #f8f9fa;
    font-family: monospace;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.improvement-list {
    margin: 30px 0;
}

.improvement-list h4 {
    margin-bottom: 15px;
    color: #333;
}

.improvement-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    background: white;
}

.improvement-icon {
    margin-right: 15px;
    font-size: 20px;
    color: #28a745;
    margin-top: 2px;
}

.improvement-details h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.improvement-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.results-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.results-actions button {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .improvement-modal {
        width: 95%;
        margin: 10px;
    }
    
    .preview-comparison {
        grid-template-columns: 1fr;
    }
    
    .results-actions button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Summary Stats */
.summary-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .summary-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* AI Analysis Scores */
.ai-analysis-scores {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.ai-analysis-scores h4 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
}

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

.score-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.score-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-value {
    font-size: 12px;
    color: #666;
    text-align: right;
    font-weight: bold;
}

/* Responsive Design for AI Scores */
@media (max-width: 768px) {
    .score-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-analysis-scores {
        padding: 15px;
    }
}

/* Performans İyileştirme Modal */
.performance-issues-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.performance-issues-intro h3 {
    color: #333;
    margin-bottom: 15px;
}

.performance-issues-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.performance-issue-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.issue-info {
    flex: 1;
}

.issue-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.issue-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.issue-impact {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.impact-high {
    background: #f8d7da;
    color: #721c24;
}

.impact-medium {
    background: #fff3cd;
    color: #856404;
}

.impact-low {
    background: #d1ecf1;
    color: #0c5460;
}

.issue-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.issue-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
    font-style: italic;
}

.issue-info i {
    color: #17a2b8;
}

.improve-individual-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.improve-individual-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.improve-individual-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.improvement-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.improvement-completed {
    display: none;
    color: #28a745;
    font-size: 18px;
}

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

/* İyileştirme İstatistikleri */
.improvement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.improvement-stats .stat-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.improvement-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 5px;
}

.improvement-stats .stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tab Sistemi */
.improvement-tabs {
    margin: 20px 0;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-btn:hover {
    color: #007bff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.improved-files-list {
    max-height: 300px;
    overflow-y: auto;
}

.improved-file-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.file-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #007bff;
}

.file-info {
    flex: 1;
}

.file-info h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.file-info p {
    margin: 0;
    color: #666;
    font-size: 12px;
}

.improvement-badge {
    display: flex;
    align-items: center;
    color: #28a745;
    font-weight: 500;
}

.improvement-badge i {
    margin-right: 5px;
}

.improvement-details-list {
    max-height: 400px;
    overflow-y: auto;
}

.improvement-detail-item {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.improvement-detail-item h5 {
    margin: 0 0 10px 0;
    color: #333;
}

.improvement-detail-item p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.improvement-actions {
    margin: 10px 0;
}

.improvement-actions ul {
    margin: 5px 0;
    padding-left: 20px;
}

.improvement-actions li {
    margin: 5px 0;
    color: #666;
    font-size: 13px;
}

.performance-improvements {
    text-align: center;
}

.performance-chart {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.chart-bar {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.chart-label {
    width: 120px;
    text-align: right;
    margin-right: 15px;
    font-weight: 500;
}

.chart-bar-fill {
    height: 20px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 10px;
    position: relative;
    min-width: 20px;
}

.chart-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 500;
    font-size: 12px;
}

/* Kayıtlı İyileştirmeler Stilleri */
.saved-improvements-list {
    max-height: 500px;
    overflow-y: auto;
}

.saved-improvement-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.saved-improvement-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.improvement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.improvement-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.improvement-date {
    color: #666;
    font-size: 0.9rem;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 6px;
}

.improvement-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.improvement-stats .stat {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.improvement-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.improvement-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.improvement-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
}

.btn-info:hover {
    background: #138496;
}

/* Responsive Design for Saved Improvements */
@media (max-width: 768px) {
    .improvement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .improvement-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .improvement-actions {
        flex-direction: column;
    }
    
    .improvement-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* API Ayarları Stilleri */
.api-settings-form {
    padding: 20px 0;
}

.api-settings-form .form-group {
    margin-bottom: 20px;
}

.api-settings-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.api-settings-form input,
.api-settings-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.api-settings-form input:focus,
.api-settings-form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.api-settings-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.api-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.api-actions .btn {
    flex: 1;
    min-width: 120px;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
    border: none;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

/* Responsive Design for API Settings */
@media (max-width: 768px) {
    .api-actions {
        flex-direction: column;
    }
    
    .api-actions .btn {
        width: 100%;
    }
}

/* Mobil Uyumluluk Testi Stilleri */
.mobile-test-container {
    max-width: 100%;
    margin: 0 auto;
}

.test-input-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group label {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.input-group input {
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.test-results-section {
    margin-top: 24px;
}

.results-header {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.score-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.mobile-test-container .score-circle,
.speed-test-container .score-circle {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#3B82F6 0deg, #e2e8f0 0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mobile-test-container .score-circle::before,
.speed-test-container .score-circle::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    z-index: 1;
}

.mobile-test-container .score-circle span,
.speed-test-container .score-circle span {
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: 700;
}

.mobile-test-container .score-circle small,
.speed-test-container .score-circle small {
    position: relative;
    z-index: 2;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.score-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.status-badge.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-badge.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.issues-section, .recommendations-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.issues-section h3, .recommendations-section h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.issues-list, .recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.issue-item, .recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #e8ecf7;
    transition: all 0.3s ease;
}

.issue-item:hover, .recommendation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.issue-icon, .recommendation-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.issue-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.issue-icon.warning {
    background: #fef3c7;
    color: #d97706;
}

.recommendation-icon {
    background: #dbeafe;
    color: #2563eb;
}

.issue-content, .recommendation-content {
    flex: 1;
}

.issue-title, .recommendation-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.issue-description, .recommendation-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.recommendation-impact {
    font-size: 12px;
    color: #f97316;
    font-weight: 600;
    margin-top: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.download-section {
    text-align: center;
    padding: 24px;
    background: #f8f9ff;
    border-radius: 16px;
    border: 1px solid #e8ecf7;
}

.download-section .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Responsive Design for Mobile Test */
@media (max-width: 768px) {
    .score-card {
        flex-direction: column;
        text-align: center;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group button {
        width: 100%;
    }
    
    .mobile-test-container .score-circle,
    .speed-test-container .score-circle {
        width: 80px;
        height: 80px;
    }
    
    .mobile-test-container .score-circle::before,
    .speed-test-container .score-circle::before {
        width: 60px;
        height: 60px;
    }
    
    .mobile-test-container .score-circle span,
    .speed-test-container .score-circle span {
        font-size: 16px;
    }
    
    .mobile-test-container .score-circle small,
    .speed-test-container .score-circle small {
        font-size: 10px;
    }
    
    .score-number {
        font-size: 1.2rem;
    }
    
    .score-label {
        font-size: 0.6rem;
    }
}

/* Hız Testi Stilleri */
.speed-test-container {
    max-width: 100%;
    margin: 0 auto;
}

.test-options {
    display: flex;
    gap: 20px;
    margin: 16px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    background: #f8f9ff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
}

.radio-option:hover {
    background: #e8f2ff;
    border-color: #3B82F6;
}

.radio-option input[type="radio"] {
    margin: 0;
    accent-color: #3B82F6;
}

.radio-option input[type="radio"]:checked + span {
    color: #3B82F6;
    font-weight: 600;
}

.speed-test-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.speed-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.loading-section {
    text-align: center;
    padding: 60px 20px;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-animation h3 {
    color: #2d3748;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.loading-animation p {
    color: #6b7280;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.web-vitals-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.web-vitals-section h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.vital-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #e8ecf7;
    transition: all 0.3s ease;
}

.vital-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.vital-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vital-icon.lcp {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.vital-icon.fid {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.vital-icon.cls {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.vital-content {
    flex: 1;
}

.vital-title {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vital-value {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vital-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vital-status.good {
    background: #d1fae5;
    color: #065f46;
}

.vital-status.needs-improvement {
    background: #fef3c7;
    color: #92400e;
}

.vital-status.poor {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive Design for Speed Test */
@media (max-width: 768px) {
    .test-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-option {
        justify-content: center;
    }
    
    .vitals-grid {
        grid-template-columns: 1fr;
    }
    
    .vital-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Analiz Süresi Bilgisi Stilleri */
.analysis-time-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    animation: slideInDown 0.5s ease-out;
}

.time-info-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.time-info-content i {
    font-size: 20px;
    animation: pulse 2s infinite;
}

.time-text {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.time-text strong {
    font-weight: 700;
    color: #ffd700;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: loadingDots 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0s;
}

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

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

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
