* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #2f3640;
    line-height: 1.6;
}

/* Topbar */
.topbar {
    background: #1a1f36;
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.topbar-item:hover {
    color: #fff;
}

.topbar-item i {
    font-size: 0.9rem;
    color: #4a90e2;
}

.topbar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.topbar-social {
    display: flex;
    gap: 0.8rem;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.topbar-social a:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    padding: 0.6rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.logo-text .tagline {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-search {
    position: relative;
}

.header-search input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 25px;
    width: 280px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.header-search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4a90e2;
    width: 320px;
}

.header-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Başlayın butonu */
.btn-start {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-start i {
    font-size: 1rem;
}

.support-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
}

.support-btn::before {
    content: 'Destek';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    z-index: 1000;
}

.support-btn::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.support-btn:hover::before,
.support-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.support-btn i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Plan Progress Widget */
.plan-progress-widget {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.plan-progress-widget:hover {
    transform: scale(1.1);
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

.progress-ring-circle {
    fill: none;
    stroke: #10b981;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.days-count {
    font-size: 14px;
    font-weight: bold;
    color: white;
    line-height: 1;
}

.days-label {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation Menu - Horizontal */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 998;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item a i {
    font-size: 1rem;
    color: #4a90e2;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    transition: width 0.3s ease;
}

.nav-item a:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.05);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a.active {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.08);
}

.nav-item a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Tarih-Saat Widget */
.datetime-widget {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-display,
.time-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.date-display i,
.time-display i {
    color: #4a90e2;
    font-size: 1rem;
}

.time-display {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.logout-btn {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif;
}

.logout-btn:hover,
.logout-btn:focus,
.logout-btn:active {
    background: #e74c3c;
    color: white;
    text-decoration: none !important;
    outline: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 996;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e0e6ed;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    color: #2f3640;
    margin-bottom: 0.5rem;
    font-weight: 700;
    animation: fadeInDown 0.6s ease;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    animation: fadeInUp 0.6s ease;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e90ff, #1565c0);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.2);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card:nth-child(2) .stat-card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) .stat-card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:nth-child(4) .stat-card-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2f3640;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-change.positive {
    color: #4caf50;
}

.stat-change.negative {
    color: #f44336;
}

/* Table Section */
.table-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeIn 1s ease;
}

.table-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h2 {
    font-size: 1.5rem;
    color: #2f3640;
    font-weight: 600;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    gap: 0.5rem;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    width: 250px;
}

.search-box i {
    color: #999;
}

.table-container {
    overflow-x: visible;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f5f7fa;
}

th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #2f3640;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.keyword-cell {
    font-weight: 500;
    color: #1e90ff;
}

.position-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.position-badge.top {
    background: #e8f5e9;
    color: #4caf50;
}

.position-badge.mid {
    background: #fff3e0;
    color: #ff9800;
}

.position-badge.low {
    background: #ffebee;
    color: #f44336;
}

.trend-icon {
    margin-left: 0.5rem;
}

.trend-icon.up {
    color: #4caf50;
}

.trend-icon.down {
    color: #f44336;
}

/* Footer */
footer {
    background: #2f3640;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   SITE DETAIL PAGE STYLES
======================================== */

/* Site Detail Header */
.site-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-detail-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.site-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.site-info-content {
    flex: 1;
}

.site-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.site-description {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0.5rem 0 1rem 0;
    line-height: 1.5;
    opacity: 0.9;
}

.site-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.site-url {
    color: #4a90e2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.site-url:hover {
    color: #357abd;
}

.site-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.site-status.active {
    background: #e8f5e9;
    color: #4caf50;
}

.site-status i {
    font-size: 0.6rem;
}

.site-date {
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-actions {
    display: flex;
    gap: 1rem;
}

.btn-action {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-refresh {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-edit {
    background: #fff3e0;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.btn-edit:hover {
    background: #ff9800;
    color: white;
}

.btn-delete {
    background: #ffebee;
    color: #f44336;
    border: 1px solid #f44336;
}

.btn-delete:hover {
    background: #f44336;
    color: white;
}

/* Widgets Row */
.widgets-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.widget-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.widget-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.widget-icon.blue {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.widget-icon.green {
    background: linear-gradient(135deg, #4caf50, #45a049);
}

.widget-icon.orange {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.widget-icon.purple {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.widget-content h3 {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.widget-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.widget-label {
    font-size: 0.8rem;
    color: #999;
}

.widget-label.trend-up {
    color: #4caf50;
}

/* Chart Section */
.chart-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.05),
        0 20px 48px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.chart-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.chart-header h2 i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}

.chart-filters {
    display: flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.6rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filter-btn {
    padding: 0.8rem 1.4rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.chart-container {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.chart-container canvas {
    border-radius: 12px;
}

#chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#chart-loading i {
    color: #667eea !important;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Keywords Section */
.keywords-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.section-header .btn-primary {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Keywords Filter */
.keywords-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.filter-input {
    padding-left: 2.5rem;
}

.filter-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filter-input:focus,
.filter-select:focus {
    border-color: #4a90e2;
}

/* Keywords Grid */
.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.keyword-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.keyword-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.keyword-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.keyword-title {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.keyword-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f7fa;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.icon-btn:hover {
    background: #4a90e2;
    color: white;
}

.keyword-card-body {
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.keyword-info-left {
    flex: 1;
}

.keyword-mini-chart {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

.mini-chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

.keyword-position {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.position-number {
    font-size: 2.5rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.position-number.top {
    background: #e8f5e9;
    color: #4caf50;
}

.position-number.mid {
    background: #fff3e0;
    color: #ff9800;
}

.position-change {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.position-change.up {
    color: #4caf50;
}

.position-change.down {
    color: #f44336;
}

.position-change.stable {
    color: #999;
}

.keyword-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.difficulty-low {
    color: #4caf50;
}

.difficulty-medium {
    color: #ff9800;
}

.difficulty-high {
    color: #f44336;
}

.keyword-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.keyword-card-footer i {
    color: #999;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    width: 35px;
    height: 35px;
    border: none;
    background: #f5f7fa;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e74c3c;
    color: white;
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    padding: 0.7rem 1.5rem;
    border: 1px solid #e0e6ed;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f5f7fa;
}

/* Responsive - Site Detail Page */
@media screen and (max-width: 992px) {
    .site-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .widgets-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .keywords-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .site-detail-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-actions {
        flex-wrap: wrap;
    }

    .btn-action {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .widgets-row {
        grid-template-columns: 1fr;
    }

    .widget-card {
        flex-direction: row;
    }

    .keywords-filter {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .chart-container {
        height: 250px;
    }

    .keyword-card-body {
        flex-direction: column;
    }

    .keyword-mini-chart {
        width: 100%;
        height: 60px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .topbar-container {
        padding: 0 1rem;
    }

    .topbar-left,
    .topbar-social {
        display: none;
    }

    .header-container {
        padding: 1rem;
    }

    .header-search {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .user-info {
        display: none;
    }

    /* Mobilde topbar'ı gizle */
    .topbar {
        display: none;
    }

    /* Navbar'ı en üste al */
    .navbar {
        top: 0;
    }

    /* Overlay pozisyonunu mobilde ayarla */
    .menu-overlay {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: white;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        overflow-y: auto;
        z-index: 997;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        width: 100%;
        padding: 1rem 1.5rem;
        justify-content: flex-start;
    }

    .nav-item a::after {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .btn-primary,
    .logout-btn {
        width: 100%;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .search-box input {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .navbar-container {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .container {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Mobile Table - Card Style */
    .table-container {
        overflow-x: visible;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid #e0e6ed;
        border-radius: 8px;
        padding: 1rem;
    }

    tbody tr:hover {
        transform: scale(1);
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td:before {
        position: absolute;
        top: 50%;
        left: 1rem;
        transform: translateY(-50%);
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        text-align: left;
        content: attr(data-label);
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Keywords Grid */
.keywords-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Modern Keyword Card */
.keyword-card-modern {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.keyword-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.keyword-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Keyword Header */
.keyword-header {
    margin-bottom: 1.5rem;
}

.keyword-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.keyword-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.keyword-actions-modern {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keyword-card-modern:hover .keyword-actions-modern {
    opacity: 1;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.action-btn.edit {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.action-btn.edit:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.action-btn.delete:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* Keyword Positions */
.keyword-positions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.position-item {
    text-align: center;
}

.position-item.main {
    text-align: left;
}

.position-item.secondary {
    text-align: right;
}

.position-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.position-value {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    justify-content: inherit;
}

.position-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.position-suffix {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
}

/* Position Colors */
.position-value.excellent .position-number {
    color: #22c55e;
}

.position-value.good .position-number {
    color: #3b82f6;
}

.position-value.medium .position-number {
    color: #f59e0b;
}

.position-value.poor .position-number {
    color: #ef4444;
}

.position-item.secondary .position-value .position-number {
    font-size: 1.1rem;
    color: #64748b;
}

/* Trend Indicator */
.trend-item {
    display: flex;
    justify-content: center;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.trend-indicator.up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.trend-indicator.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.trend-indicator.stable {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.trend-indicator i {
    font-size: 0.7rem;
}

/* Keyword Meta */
.keyword-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #64748b;
    flex: 1;
    min-width: fit-content;
}

.meta-item:nth-child(2) {
    text-align: center;
    justify-content: center;
}

.meta-item:nth-child(3) {
    justify-content: flex-end;
}

.meta-item i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.meta-item.status i.excellent {
    color: #22c55e;
}

.meta-item.status i.good {
    color: #3b82f6;
}

.meta-item.status i.medium {
    color: #f59e0b;
}

.meta-item.status i.poor {
    color: #ef4444;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.empty-icon i {
    font-size: 2rem;
    color: white;
}

.empty-state-modern h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.8rem;
}

.empty-state-modern p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-add-keyword {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-add-keyword:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .keywords-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .keyword-positions {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .position-item.main,
    .position-item.secondary {
        text-align: center;
    }
    
    .keyword-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .meta-item:nth-child(2),
    .meta-item:nth-child(3) {
        justify-content: flex-start;
        text-align: left;
    }
}

/* Mobile Header Fixes - 430px ve altı */
@media screen and (max-width: 430px) {
    /* Plan progress widget'ı gizle (giriş yapmış kullanıcılar için) */
    .plan-progress-widget {
        display: none !important;
    }
    
    /* Başlayın butonunu yuvarlak ikon yap (giriş yapmamış kullanıcılar için) */
    .btn-start {
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        justify-content: center;
        min-width: 40px;
    }
    
    .btn-start span {
        display: none;
    }
    
    .btn-start i {
        margin: 0;
        font-size: 1.1rem;
    }
    
    /* Header container padding küçült */
    .header-container {
        padding: 1rem 1rem;
    }
    
    /* Logo yazısını küçült */
    .logo-text .brand {
        font-size: 1.1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.65rem;
    }
    
    /* User info yazılarını gizle, sadece avatar göster */
    .user-info {
        display: none;
    }
    
    .user-avatar {
        margin-right: 0;
    }
}
