/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0a1a;
    color: #e0e0f0;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 87, 108, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.08) 0%, transparent 60%);
    animation: bgShift 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 240px;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(15, 15, 35, 0.9), transparent);
    pointer-events: none;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.logo-icon {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.nav-links::-webkit-scrollbar {
    width: 4px;
}

.nav-links::-webkit-scrollbar-track {
    background: transparent;
}

.nav-links::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
}

.nav-links li {
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #8888aa;
    position: relative;
    overflow: hidden;
}

.nav-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links li:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #c0c0e0;
}

.nav-links li.active {
    background: rgba(102, 126, 234, 0.15);
    color: #ffffff;
}

.nav-links li.active::before {
    opacity: 1;
}

.nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(102, 126, 234, 0.15);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #a0a0c0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 240px;
    flex: 1;
    padding: 0;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 50;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, #a0a0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 14px;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.08);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.1);
}

.search-icon {
    font-size: 14px;
    opacity: 0.5;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #e0e0f0;
    font-size: 13px;
    width: 160px;
    font-family: inherit;
}

.search-box input::placeholder {
    color: #6666aa;
}

/* ===== TICKER BAR ===== */
.ticker-bar {
    display: flex;
    gap: 24px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ticker-bar::-webkit-scrollbar {
    display: none;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    padding: 4px 0;
}

.ticker-label {
    font-size: 12px;
    color: #6666aa;
    font-weight: 500;
}

.ticker-value {
    font-size: 14px;
    font-weight: 600;
    color: #c0c0e0;
    font-variant-numeric: tabular-nums;
}

.ticker-change {
    font-size: 12px;
    font-weight: 600;
}

.ticker-change.positive {
    color: #43e97b;
}

.ticker-change.negative {
    color: #f5576c;
}

.datetime {
    font-size: 13px;
    color: #6666aa;
    font-variant-numeric: tabular-nums;
}

.notification-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
}

.notification-btn::after {
    content: '3';
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #f5576c, #ff6b6b);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

/* ===== PAGES ===== */
.page {
    display: none;
    padding: 32px;
    animation: fadeIn 0.4s ease;
}

.page.active {
    display: block;
}

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

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f5576c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

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

.stat-card h3 {
    font-size: 13px;
    color: #6666aa;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #c0c0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-change {
    font-size: 13px;
    font-weight: 600;
}

.stat-change.positive {
    color: #43e97b;
}

.stat-change.negative {
    color: #f5576c;
}

/* ===== CHART CARDS ===== */
.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.chart-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
}

.chart-card.wide {
    grid-column: 1 / -1;
}

.chart-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #c0c0e0;
}

.chart-card canvas {
    width: 100% !important;
    height: 250px !important;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    margin-top: 28px;
}

.quick-actions h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #c0c0e0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 22px;
    color: #c0c0e0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.action-btn:hover {
    background: rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.action-icon {
    font-size: 18px;
}

/* ===== ACTIVITY CARD ===== */
.activity-card {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
}

.activity-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #c0c0e0;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding-left: 8px;
}

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.activity-content p {
    font-size: 14px;
    color: #c0c0e0;
    margin-bottom: 4px;
}

.activity-content p strong {
    color: #ffffff;
}

.activity-time {
    font-size: 12px;
    color: #5555aa;
}

/* ===== DATA TABLE ===== */
.table-card {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #c0c0e0;
}

.table-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.table-controls select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #e0e0f0;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.table-controls select:focus {
    border-color: rgba(102, 126, 234, 0.5);
}

.table-export-btn {
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 8px 14px;
    color: #a0a0e0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-export-btn:hover {
    background: rgba(102, 126, 234, 0.25);
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    padding: 14px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6666aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.data-table tbody tr {
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.data-table tbody td {
    padding: 16px 24px;
    font-size: 14px;
    color: #c0c0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}

.url-cell {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #667eea;
    font-size: 13px;
}

.bounce-good {
    color: #43e97b;
    font-weight: 600;
}

.bounce-warn {
    color: #feca57;
    font-weight: 600;
}

.bounce-bad {
    color: #f5576c;
    font-weight: 600;
}

.trend {
    font-weight: 600;
    font-size: 13px;
}

.trend.positive {
    color: #43e97b;
}

.trend.negative {
    color: #f5576c;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.table-footer span {
    font-size: 13px;
    color: #6666aa;
}

.pagination {
    display: flex;
    gap: 6px;
}

.page-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #a0a0c0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.page-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: #ffffff;
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.project-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 24px;
    right: 24px;
}

.project-status.active {
    background: #43e97b;
    box-shadow: 0 0 12px rgba(67, 233, 123, 0.5);
}

.project-status.pending {
    background: #feca57;
    box-shadow: 0 0 12px rgba(254, 202, 87, 0.5);
}

.project-status.completed {
    background: #667eea;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.5);
}

.project-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 8px;
}

.project-card p {
    font-size: 13px;
    color: #7777aa;
    margin-bottom: 16px;
    line-height: 1.5;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

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

.progress-text {
    font-size: 12px;
    color: #6666aa;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.team-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card p {
    font-size: 13px;
    color: #6666aa;
    margin-bottom: 12px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.online {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
}

.status-badge.away {
    background: rgba(254, 202, 87, 0.15);
    color: #feca57;
}

.status-badge.offline {
    background: rgba(255, 255, 255, 0.05);
    color: #6666aa;
}

/* ===== SETTINGS ===== */
.settings-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    max-width: 600px;
}

.settings-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #c0c0e0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label:first-of-type {
    font-size: 14px;
    color: #a0a0c0;
}

.setting-item select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 16px;
    color: #e0e0f0;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.setting-item select:focus {
    border-color: rgba(102, 126, 234, 0.5);
}

.color-options {
    display: flex;
    gap: 8px;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-dot:hover {
    transform: scale(1.15);
}

/* ===== TOGGLE SWITCH ===== */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

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

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    transition: all 0.3s ease;
}

.slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(22px);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 200;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 150;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .header {
        padding: 16px 20px;
    }

    .header h1 {
        font-size: 18px;
    }

    .search-box {
        display: none;
    }

    .datetime {
        display: none;
    }

    .page {
        padding: 20px 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-value {
        font-size: 24px;
    }

    .charts-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .chart-card canvas {
        height: 200px !important;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .team-card {
        padding: 20px 16px;
    }

    .team-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .settings-card {
        padding: 18px;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .setting-item select {
        width: 100%;
    }

    .ticker-bar {
        padding: 10px 16px;
        gap: 16px;
        margin-bottom: 16px;
    }

    .ticker-item {
        gap: 8px;
    }

    .ticker-label {
        font-size: 11px;
    }

    .ticker-value {
        font-size: 13px;
    }

    .action-buttons {
        gap: 8px;
    }

    .action-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .activity-card {
        padding: 18px;
    }

    .activity-content p {
        font-size: 13px;
    }

    .table-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .table-controls {
        width: 100%;
    }

    .table-controls select {
        flex: 1;
    }

    .table-footer {
        flex-direction: column;
        gap: 12px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .notification-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ===== TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .main-content {
        margin-left: 200px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-row {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== LANDING PAGE ===== */
.hero-section {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 24px;
    animation: pulse 3s ease-in-out infinite;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea, #f5576c, #43e97b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

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

.hero-subtitle {
    font-size: 18px;
    color: #8888aa;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #c0c0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
    border-radius: 14px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #43e97b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 13px;
    color: #6666aa;
    margin-top: 4px;
}

/* Trusted By */
.trusted-section {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trusted-label {
    font-size: 13px;
    color: #5555aa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: 20px;
    font-weight: 700;
    color: #444466;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.trusted-logo:hover {
    opacity: 1;
}

/* Section Title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #6666aa;
    text-align: center;
    max-width: 500px;
    margin: 0 auto 48px;
}

/* Features Grid */
.features-section {
    padding: 60px 20px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.1);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #6666aa;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 60px 20px;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(102, 126, 234, 0.15);
}

.testimonial-stars {
    color: #feca57;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #c0c0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
}

.testimonial-author span {
    font-size: 12px;
    color: #6666aa;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: rgba(102, 126, 234, 0.05);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    margin: 40px 0 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    color: #8888aa;
    margin-bottom: 32px;
}

.cta-note {
    font-size: 13px;
    color: #5555aa;
    margin-top: 16px;
}

/* ===== PRICING PAGE ===== */
.pricing-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 0 48px;
}

.toggle-label {
    font-size: 14px;
    color: #8888aa;
}

.toggle-label.active {
    color: #ffffff;
}

.save-badge {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.pricing-switch {
    position: relative;
    width: 52px;
    height: 28px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.pricing-switch input:checked + .pricing-slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.pricing-switch input:checked + .pricing-slider::before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.2);
}

.pricing-card.featured {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge.free {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0c0;
}

.pricing-badge.popular {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.pricing-badge.enterprise {
    background: rgba(254, 202, 87, 0.2);
    color: #feca57;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 12px;
}

.currency {
    font-size: 24px;
    color: #8888aa;
    vertical-align: top;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #c0c0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.period {
    font-size: 14px;
    color: #6666aa;
}

.plan-desc {
    font-size: 14px;
    color: #6666aa;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.features-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #a0a0c0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.features-list li ✗ {
    color: #5555aa;
}

.btn-full {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #c0c0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: #6666aa;
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question {
    color: #667eea;
}

/* ===== FEATURES PAGE ===== */
.feature-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.feature-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Feature Showcase */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-showcase.reversed {
    direction: rtl;
}

.feature-showcase.reversed > * {
    direction: ltr;
}

.feature-showcase-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-showcase-content p {
    font-size: 16px;
    color: #6666aa;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-checklist {
    list-style: none;
    margin-bottom: 28px;
}

.feature-checklist li {
    padding: 6px 0;
    font-size: 15px;
    color: #a0a0c0;
}

/* Visual Placeholders */
.visual-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mini Chart Animation */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 160px;
}

.mini-chart .bar {
    width: 32px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 6px 6px 0 0;
    animation: barGrow 2s ease-in-out infinite alternate;
}

.mini-chart .bar:nth-child(1) { animation-delay: 0s; }
.mini-chart .bar:nth-child(2) { animation-delay: 0.2s; }
.mini-chart .bar:nth-child(3) { animation-delay: 0.4s; }
.mini-chart .bar:nth-child(4) { animation-delay: 0.6s; }
.mini-chart .bar:nth-child(5) { animation-delay: 0.8s; }
.mini-chart .bar:nth-child(6) { animation-delay: 1s; }
.mini-chart .bar:nth-child(7) { animation-delay: 1.2s; }

@keyframes barGrow {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1); }
}

/* Circle Grid */
.circle-grid {
    display: flex;
    gap: 24px;
    align-items: center;
}

.circle-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid;
    animation: ringPulse 3s ease-in-out infinite;
}

.circle-ring:nth-child(1) { animation-delay: 0s; }
.circle-ring:nth-child(2) { animation-delay: 0.5s; }
.circle-ring:nth-child(3) { animation-delay: 1s; }

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flow-node {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

.flow-arrow {
    color: #667eea;
    font-size: 18px;
}

/* Comparison Table */
.comparison-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead th {
    padding: 18px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 16px 24px;
    font-size: 14px;
    color: #a0a0c0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #c0c0e0;
}

.comparison-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== BLOG PAGE ===== */
.blog-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.blog-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 32px 0 48px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 13px;
    color: #8888aa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.category-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: #c0c0e0;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    padding: 0 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.1);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-image {
    height: 200px;
    position: relative;
}

.blog-card.featured .blog-image {
    height: 100%;
    min-height: 300px;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-tag.product { background: rgba(102, 126, 234, 0.15); color: #667eea; }
.blog-tag.engineering { background: rgba(79, 172, 254, 0.15); color: #4facfe; }
.blog-tag.design { background: rgba(67, 233, 123, 0.15); color: #43e97b; }
.blog-tag.company { background: rgba(250, 112, 154, 0.15); color: #fa709a; }

.blog-date {
    font-size: 12px;
    color: #5555aa;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 14px;
    color: #6666aa;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.blog-author strong {
    display: block;
    font-size: 13px;
    color: #c0c0e0;
}

.blog-author span {
    font-size: 11px;
    color: #5555aa;
}

.blog-read-time {
    font-size: 12px;
    color: #5555aa;
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.contact-info > p {
    font-size: 15px;
    color: #6666aa;
    line-height: 1.6;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 15px;
    font-weight: 600;
    color: #c0c0e0;
    margin-bottom: 4px;
}

.contact-method p {
    font-size: 13px;
    color: #6666aa;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px;
}

.contact-form-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #e0e0f0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(102, 126, 234, 0.5);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #5555aa;
}

.contact-form select {
    cursor: pointer;
}

.contact-form select option {
    background: #1a1a2e;
    color: #e0e0f0;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 8px;
}

/* ===== DEMO PAGE ===== */
.demo-hero {
    text-align: center;
    padding: 40px 20px 20px;
}

.demo-scene {
    perspective: 1000px;
    width: 100%;
    height: 400px;
    margin: 30px auto;
    max-width: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-container {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 12s linear infinite;
}

@keyframes cubeRotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.cube-face.front  { background: rgba(102, 126, 234, 0.2); transform: translateZ(75px); }
.cube-face.back   { background: rgba(245, 87, 108, 0.2); transform: rotateY(180deg) translateZ(75px); }
.cube-face.right  { background: rgba(67, 233, 123, 0.2); transform: rotateY(90deg) translateZ(75px); }
.cube-face.left   { background: rgba(79, 172, 254, 0.2); transform: rotateY(-90deg) translateZ(75px); }
.cube-face.top    { background: rgba(254, 202, 87, 0.2); transform: rotateX(90deg) translateZ(75px); }
.cube-face.bottom { background: rgba(161, 140, 209, 0.2); transform: rotateX(-90deg) translateZ(75px); }

.demo-orbit {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 50%;
    animation: orbitSpin 20s linear infinite;
}

.demo-orbit:nth-child(2) {
    width: 450px;
    height: 450px;
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-dot.dot1 { background: #667eea; box-shadow: 0 0 15px #667eea; }
.orbit-dot.dot2 { background: #f5576c; box-shadow: 0 0 15px #f5576c; }
.orbit-dot.dot3 { background: #43e97b; box-shadow: 0 0 15px #43e97b; }
.orbit-dot.dot4 { background: #feca57; box-shadow: 0 0 15px #feca57; }

.demo-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.demo-ctrl-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 20px;
    color: #a0a0c0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.demo-ctrl-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.demo-ctrl-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border-color: transparent;
}

.demo-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.demo-description p {
    font-size: 15px;
    color: #6666aa;
    line-height: 1.6;
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.2);
}

.demo-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.demo-card p {
    font-size: 13px;
    color: #6666aa;
    line-height: 1.5;
}

/* ===== MOBILE BLOG/CONTACT/DEMO ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .trusted-logos {
        gap: 20px;
    }

    .trusted-logo {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 16px;
    }

    .feature-showcase.reversed {
        direction: ltr;
    }

    .feature-showcase-content h2 {
        font-size: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .comparison-table-wrapper {
        margin: 0 -16px;
        border-radius: 0;
    }

    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .demo-scene {
        height: 300px;
    }

    .cube-container {
        width: 100px;
        height: 100px;
    }

    .cube-face {
        width: 100px;
        height: 100px;
        font-size: 24px;
    }

    .cube-face.front  { transform: translateZ(50px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(50px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(50px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(50px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(50px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

    .demo-orbit {
        width: 250px;
        height: 250px;
    }

    .demo-orbit:nth-child(2) {
        width: 320px;
        height: 320px;
    }
}


body.light-theme {
    background: #f0f2f5;
    color: #1a1a2e;
}

body.light-theme::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 87, 108, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.05) 0%, transparent 60%);
}

body.light-theme .sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-right-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .logo-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .nav-links li {
    color: #666688;
}

body.light-theme .nav-links li:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #333355;
}

body.light-theme .nav-links li.active {
    background: rgba(102, 126, 234, 0.12);
    color: #1a1a2e;
}

body.light-theme .header {
    background: rgba(240, 242, 245, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .header h1 {
    background: linear-gradient(135deg, #1a1a2e, #444466);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .datetime {
    color: #8888aa;
}

body.light-theme .stat-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .stat-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.15);
}

body.light-theme .stat-card h3 {
    color: #8888aa;
}

body.light-theme .stat-value {
    background: linear-gradient(135deg, #1a1a2e, #444466);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .chart-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .chart-card h3 {
    color: #333355;
}

body.light-theme .project-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .project-card:hover {
    border-color: rgba(102, 126, 234, 0.15);
}

body.light-theme .project-card p {
    color: #777799;
}

body.light-theme .progress-bar {
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .progress-text {
    color: #8888aa;
}

body.light-theme .team-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .team-card:hover {
    border-color: rgba(102, 126, 234, 0.15);
}

body.light-theme .team-card p {
    color: #8888aa;
}

body.light-theme .settings-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .settings-card h3 {
    color: #333355;
}

body.light-theme .setting-item label:first-of-type {
    color: #555577;
}

body.light-theme .setting-item {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .setting-item select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

body.light-theme .activity-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .activity-card h3 {
    color: #333355;
}

body.light-theme .activity-item {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .activity-content p {
    color: #333355;
}

body.light-theme .activity-content p strong {
    color: #1a1a2e;
}

body.light-theme .activity-time {
    color: #9999bb;
}

body.light-theme .quick-actions h3 {
    color: #333355;
}

body.light-theme .action-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    color: #333355;
}

body.light-theme .action-btn:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

body.light-theme .ticker-bar {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .ticker-label {
    color: #8888aa;
}

body.light-theme .ticker-value {
    color: #1a1a2e;
}

body.light-theme .search-box {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .search-box:focus-within {
    border-color: rgba(102, 126, 234, 0.4);
    background: rgba(102, 126, 234, 0.05);
}

body.light-theme .search-box input {
    color: #1a1a2e;
}

body.light-theme .search-box input::placeholder {
    color: #9999bb;
}

body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.2);
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: rgba(20, 20, 45, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #8888aa;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(245, 87, 108, 0.15);
    color: #f5576c;
}

.modal-body {
    padding: 24px;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label:first-of-type {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #8888aa;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #e0e0f0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    border-color: rgba(102, 126, 234, 0.5);
}

.date-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range input[type="date"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: #e0e0f0;
    font-size: 13px;
    outline: none;
}

.date-range input[type="date"]:focus {
    border-color: rgba(102, 126, 234, 0.5);
}

.date-range span {
    color: #6666aa;
    font-size: 13px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.modal-btn.cancel {
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0c0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.modal-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(20, 20, 45, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    backdrop-filter: blur(20px);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast.removing {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
    to { opacity: 0; transform: translateX(100px); }
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: #8888aa;
}

.toast.success { border-left: 3px solid #43e97b; }
.toast.error { border-left: 3px solid #f5576c; }
.toast.info { border-left: 3px solid #4facfe; }
.toast.warning { border-left: 3px solid #feca57; }

/* ===== MOBILE MODAL ===== */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        margin: 16px;
    }

    .toast-container {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}

/* ===== LIGHT THEME BLOG/CONTACT/DEMO ===== */
body.light-theme .blog-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .blog-card:hover {
    border-color: rgba(102, 126, 234, 0.15);
}

body.light-theme .blog-card h3 {
    color: #1a1a2e;
}

body.light-theme .blog-card p {
    color: #666688;
}

body.light-theme .blog-author strong {
    color: #333355;
}

body.light-theme .contact-form-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .contact-form-card h3 {
    color: #1a1a2e;
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea,
body.light-theme .contact-form select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

body.light-theme .contact-form input::placeholder,
body.light-theme .contact-form textarea::placeholder {
    color: #9999bb;
}

body.light-theme .demo-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .demo-card:hover {
    border-color: rgba(102, 126, 234, 0.15);
}

body.light-theme .demo-card h3 {
    color: #1a1a2e;
}

body.light-theme .demo-card p {
    color: #666688;
}

body.light-theme .demo-ctrl-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #555577;
}

body.light-theme .demo-ctrl-btn:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

body.light-theme .demo-description p {
    color: #666688;
}

/* ===== LIGHT THEME MODAL/TOAST ===== */
body.light-theme .modal {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .modal-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .modal-header h3 {
    color: #1a1a2e;
}

body.light-theme .modal-close {
    background: rgba(0, 0, 0, 0.05);
    color: #666688;
}

body.light-theme .modal-close:hover {
    background: rgba(245, 87, 108, 0.1);
    color: #f5576c;
}

body.light-theme .form-group label:first-of-type {
    color: #666688;
}

body.light-theme .form-group input[type="text"],
body.light-theme .form-group select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

body.light-theme .date-range input[type="date"] {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

body.light-theme .date-range span {
    color: #8888aa;
}

body.light-theme .modal-footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .modal-btn.cancel {
    background: rgba(0, 0, 0, 0.03);
    color: #555577;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .modal-btn.cancel:hover {
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .toast {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .toast-title {
    color: #1a1a2e;
}

body.light-theme .toast-message {
    color: #8888aa;
}

/* ===== MOBILE MARKETING ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .trusted-logos {
        gap: 20px;
    }

    .trusted-logo {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 16px;
    }

    .feature-showcase.reversed {
        direction: ltr;
    }

    .feature-showcase-content h2 {
        font-size: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .comparison-table-wrapper {
        margin: 0 -16px;
        border-radius: 0;
    }
}



