/* TEMEL STILLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* AI ANALIZI STILLERI */
.ai-analysis-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.ai-results {
    margin-top: 1rem;
}

.confidence-meter {
    background: rgba(255, 255, 255, 0.2);
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem 0;
    position: relative;
}

.meter-bar {
    height: 100%;
    background: linear-gradient(90deg, #4cd964, #5ac8fa);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease-in-out;
}

.meter-bar span {
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.predictions-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.predictions-table th,
.predictions-table td {
    padding: 12px 15px;
    text-align: left;
}

.predictions-table th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.predictions-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.prediction-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.bar-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}
/* HEADER */
header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
    border-radius: 0 0 15px 15px;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    margin-bottom: 1rem;
}

.logo i {
    font-size: 2.5rem;
    color: #2c3e50;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.tagline {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-left: auto;
}

nav {
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

nav a {
    text-decoration: none;
    color: #34495e;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a:hover, nav a.active {
    background: #3498db;
    color: white;
}

/* HERO SECTION */
.hero {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.hero-content p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* FORM STILLERI */
.analysis-form textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
    transition: border 0.3s;
}

.analysis-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-analyze {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-analyze:hover {
    transform: translateY(-2px);
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #7f8c8d;
}

/* STATS */
.stats {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stats h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ANALIZ NƏTİCƏSİ */
.result-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.status-phishing {
    border-top: 5px solid #e74c3c;
}

.status-suspicious {
    border-top: 5px solid #f39c12;
}

.status-safe {
    border-top: 5px solid #2ecc71;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f2f6;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-indicator i {
    font-size: 2.5rem;
}

.status-phishing .status-indicator i { color: #e74c3c; }
.status-suspicious .status-indicator i { color: #f39c12; }
.status-safe .status-indicator i { color: #2ecc71; }

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.status-phishing .score-circle {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.status-suspicious .score-circle {
    background: linear-gradient(135deg, #ffd93d 0%, #ff9f43 100%);
    color: white;
}

.status-safe .score-circle {
    background: linear-gradient(135deg, #6bcf7f 0%, #42b883 100%);
    color: white;
}

.score-circle span {
    font-size: 2.5rem;
    line-height: 1;
}

.score-circle small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* BÖLÜMLER */
.original-message,
.keywords-section,
.urls-section,
.warnings-section,
.suggestions-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.message-box {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-family: monospace;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.keyword-tag {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.severity-critical { border-left: 4px solid #e74c3c; }
.severity-high { border-left: 4px solid #e67e22; }
.severity-medium { border-left: 4px solid #f1c40f; }
.severity-low { border-left: 4px solid #2ecc71; }

.severity-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.severity-critical .severity-badge { background: #e74c3c; color: white; }
.severity-high .severity-badge { background: #e67e22; color: white; }
.severity-medium .severity-badge { background: #f1c40f; color: white; }
.severity-low .severity-badge { background: #2ecc71; color: white; }

/* URL ITEM */
.url-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

.safety-danger { border-left: 4px solid #e74c3c; }
.safety-warning { border-left: 4px solid #f39c12; }
.safety-safe { border-left: 4px solid #2ecc71; }

.url-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.url-text {
    font-family: monospace;
    color: #2c3e50;
    word-break: break-all;
}

.url-status i {
    margin-right: 5px;
}

.safety-danger .url-status { color: #e74c3c; }
.safety-warning .url-status { color: #f39c12; }
.safety-safe .url-status { color: #2ecc71; }

.url-warnings {
    background: #fff3cd;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #856404;
}

/* LİSTELER */
.warnings-section ul,
.suggestions-section ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.warnings-section li {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.suggestions-section li {
    color: #27ae60;
    margin-bottom: 0.5rem;
}

/* BUTTONLAR */
.share-section {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f2f6;
}

.btn-share, .btn-print, .btn-new {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-share {
    background: #3498db;
    color: white;
}

.btn-print {
    background: #95a5a6;
    color: white;
}

.btn-new {
    background: #2ecc71;
    color: white;
}

.btn-share:hover { background: #2980b9; }
.btn-print:hover { background: #7f8c8d; }
.btn-new:hover { background: #27ae60; }

/* FORM OPTIONS */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 1.5rem 0;
}

.option-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.option-checkbox:hover {
    border-color: #3498db;
    background: #e3f2fd;
}

.option-checkbox input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s;
}

.option-checkbox input:checked ~ .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.option-text {
    flex: 1;
}

.option-text i {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 5px;
}

.option-text strong {
    display: block;
    color: #2c3e50;
}

.option-text small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* EXAMPLE CARDS */
.examples-panel {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f2f6;
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.example-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s;
}

.example-card:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.example-header i {
    font-size: 1.5rem;
    color: #3498db;
}

.example-header h4 {
    color: #2c3e50;
}

.example-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* FORM ACTIONS */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-analyze-large {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-analyze-large:hover {
    transform: translateY(-2px);
}

.btn-example {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-example:hover {
    background: #7f8c8d;
}

/* FOOTER */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-radius: 15px 15px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 10px;
    color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .tagline {
        margin-left: 0;
    }
    
    nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .result-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .share-section {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-analyze-large,
    .btn-example {
        width: 100%;
        justify-content: center;
    }
}