/* KOLAYBORDRO - COMPLETE SITE CSS */
/* Nunito Font - Layout dosyalarında Google Fonts linki ile yükleniyor */

:root {
    --primary: #1f41b0;
    --primary-dark: #163691;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --card-bg: #ffffff;
}

[data-theme="dark"] {
    --primary: #ffffff;
    --primary-dark: #e5e5e5;
    --dark: #e4e4e7;
    --light: #09090b;
    --border: #27272a;
    --text: #e4e4e7;
    --text-light: #a1a1aa;
    --bg: #000000;
    --bg-secondary: #0a0a0a;
    --card-bg: #0a0a0a;
}

/* Theme Switching - Disable all transitions for instant switch */
html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
    transition: none !important;
    animation: none !important;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

/* ==================== HEADER ==================== */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-right: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s;
}

.nav-link i {
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-secondary);
}

.nav-link:hover i {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active i {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

[data-theme="dark"] .nav-link.active::after {
    background: var(--text);
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-theme="dark"] .nav-link:focus-visible {
    outline-color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==================== ICON BUTTONS ==================== */
.btn-icon {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    border-color: var(--border);
    color: var(--primary);
    background: var(--bg-secondary);
}

[data-theme="dark"] .btn-icon {
    border-color: #3f3f46;
    color: #e4e4e7;
}

[data-theme="dark"] .btn-icon:hover {
    border-color: #52525b;
    background: #18181b;
    color: #ffffff;
}

/* btn-icon-danger - Kırmızı sil butonları (gölge yok, ek-kesinti sayfasındaki gibi) */
.btn-icon-danger,
.btn-icon.btn-danger {
    background: #ef4444;
    border: 2px solid #ef4444;
    border-color: #ef4444;
    color: white;
    box-shadow: none !important;
}

.btn-icon-danger:hover,
.btn-icon.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    box-shadow: none !important;
}

[data-theme="dark"] .btn-icon-danger,
[data-theme="dark"] .btn-icon.btn-danger {
    background: #ef4444;
    border: 2px solid #ef4444;
    border-color: #ef4444;
    color: white;
    box-shadow: none !important;
}

[data-theme="dark"] .btn-icon-danger:hover,
[data-theme="dark"] .btn-icon.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    box-shadow: none !important;
}

/* ==================== DROPDOWN SYSTEM ==================== */
.dropdown {
    position: relative;
    z-index: 99999 !important;
}

.dropdown-toggle {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.dropdown-toggle:hover {
    border-color: var(--border);
    background: var(--bg-secondary);
}

.dropdown-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-theme="dark"] .dropdown-toggle:focus-visible {
    outline-color: #ffffff;
}

[data-theme="dark"] .dropdown-toggle {
    border-color: #3f3f46;
    color: #e4e4e7;
}

[data-theme="dark"] .dropdown-toggle:hover {
    border-color: #52525b;
    background: #18181b;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 99999 !important;
    overflow: hidden;
    pointer-events: auto !important;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-theme="dark"] .dropdown-menu {
    background: #0c0c0e;
    border-color: #27272a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    pointer-events: auto !important;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-item.active {
    background: var(--bg-secondary);
    font-weight: 600;
}

.dropdown-item.danger {
    color: var(--danger);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
}

.dropdown-item .check-icon {
    margin-left: auto;
    color: var(--success);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* ==================== AVATAR ==================== */
.avatar {
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
}

.avatar-lg {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
}

[data-theme="dark"] .avatar {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ==================== UTILITIES EXTRA ==================== */
.d-flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.font-semibold {
    font-weight: 600;
}

.text-muted {
    color: var(--text-light);
}

/* ==================== USER DROPDOWN ==================== */
.user-dropdown {
    position: relative;
}

.avatar-btn {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.875rem;
}

[data-theme="dark"] .avatar-btn {
    background: rgba(255, 255, 255, 0.1);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    display: none;
    z-index: 1000;
}

.user-dropdown-menu.show {
    display: block;
}

[data-theme="dark"] .user-dropdown-menu {
    background: #0c0c0e;
    border-color: #27272a;
}

.dropdown-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.dropdown-header-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.dropdown-header-email {
    color: var(--text-light);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.dropdown-item-logout {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 600;
    text-align: left;
    padding: 0.875rem 1.25rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
}

.dropdown-item-logout:hover {
    background: var(--bg-secondary);
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s;
    line-height: 1.2;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    /* Keeping user preference */
}

.btn:focus-visible,
a.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-theme="dark"] .btn:focus-visible,
[data-theme="dark"] a.btn:focus-visible {
    outline-color: #ffffff;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-info {
    background: #8b5cf6;
    color: white;
}

.btn-info:hover {
    background: #7c3aed;
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

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

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-light {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-light:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Dark Mode btn-outline */
[data-theme="dark"] .btn-outline {
    background: transparent;
    border-color: var(--border);
    color: #e4e4e7;
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff !important;
}

/* --- Dark Mode Button Overrides --- */
/* --- Dark Mode Button Overrides --- */
/* Unified approach: Transparent background, white text initially.
   On hover: Border becomes color, text becomes color, slight background tint. */

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-success,
[data-theme="dark"] .btn-info,
[data-theme="dark"] .btn-warning,
[data-theme="dark"] .btn-danger,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-light {
    background: transparent;
    border-color: var(--border);
    color: #e4e4e7;
    /* Standard light text */
    transition: all 0.2s;
}

/* Hover States - Using specific colors but same logic */
/* Hover States - UNIFIED (All behave like Primary in dark mode) */
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-success:hover,
[data-theme="dark"] .btn-info:hover,
[data-theme="dark"] .btn-warning:hover,
[data-theme="dark"] .btn-danger:hover,
[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-light:hover {
    border-color: var(--primary);
    /* defined as white in dark mode */
    background: rgba(255, 255, 255, 0.2);
    /* more visible white tint for better contrast */
    color: #ffffff !important;
    /* explicitly white for maximum visibility */
}



/* ==================== HERO ==================== */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ==================== FEATURES ==================== */
.features {
    padding: 4rem 0;
    background: var(--light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .feature-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f4f4f5;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== PRICING ==================== */
.pricing {
    padding: 4rem 0;
    background: var(--bg);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3rem;
}

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

.pricing-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    text-align: center;
}

.pricing-card-popular {
    border-color: var(--border);
    box-shadow: 0 8px 24px rgba(31, 65, 176, 0.2);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1f41b0;
    color: white;
    padding: 2rem 0 1.5rem;
    margin-top: 0;
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

[data-theme="dark"] .footer-section a {
    color: var(--text-light);
}

[data-theme="dark"] .footer-section a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border);
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-social a {
    background: var(--bg-secondary);
    color: var(--text-light);
}

[data-theme="dark"] .footer-social a:hover {
    background: var(--border);
    color: var(--text);
}

/* ==================== COOKIE CONSENT ==================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1rem 1.5rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-consent-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-consent-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

[data-theme="dark"] .cookie-consent-icon {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.cookie-consent-description {
    color: var(--text-light);
}

.cookie-consent-link {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-consent-actions .btn {
    height: 36px;
    padding: 0 1rem;
}

[data-theme="dark"] .cookie-consent-banner {
    background: var(--card-bg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

/* ==================== COOKIE MODAL ==================== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cookie-modal.open {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-modal-dialog {
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.cookie-modal.open .cookie-modal-dialog {
    transform: scale(1);
}

[data-theme="dark"] .cookie-modal-dialog {
    background: #0a0a0a;
    border: 1px solid #27272a;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cookie-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cookie-modal-close:hover {
    background: var(--danger);
    color: white;
}

.cookie-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-modal-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cookie-option {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .cookie-option {
    background: #18181b;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-option-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.cookie-option-title {
    font-weight: 700;
    color: var(--text);
}

.cookie-option-badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

[data-theme="dark"] .cookie-option-badge {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-option-description {
    color: var(--text-light);
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

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

.cookie-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    border-radius: 24px;
    transition: all 0.3s;
}

.cookie-toggle-slider:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background: var(--success);
}

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

.cookie-toggle.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
}

.cookie-modal-footer .btn {
    height: 40px;
    padding: 0 1.25rem;
}

/* ==================== CONTENT PAGES ==================== */
.content-page {
    padding: 1.5rem 0;
}

.content-page-with-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.content-sidebar {
    position: sticky;
    top: 80px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
}

.content-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.content-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-sidebar ul li {
    margin-bottom: 0.25rem;
}

.content-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.content-sidebar ul li a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.content-sidebar ul li a i {
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    color: var(--text-light);
}

.content-sidebar ul li a:hover i {
    color: var(--primary);
}

[data-theme="dark"] .content-sidebar {
    background: var(--bg-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .content-page-with-sidebar {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: relative;
        top: 0;
        order: -1;
    }
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
}

.content-page h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.content-page p {
    color: var(--text);
    margin-bottom: 1rem;
}

.content-page ul,
.content-page ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text);
}

.content-page ul li,
.content-page ol li {
    margin-bottom: 0.5rem;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.content-table th {
    padding: 1rem;
    text-align: left;
    background: var(--bg-secondary);
    color: var(--dark);
    font-weight: 700;
    border: 1px solid var(--border);
}

.content-table td {
    padding: 1rem;
    border: 1px solid var(--border);
    color: var(--text);
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.page-header h1 i {
    color: #1f41b0;
}

[data-theme="dark"] .page-header h1 i {
    color: var(--text);
}

.page-header p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ==================== CONTACT PAGE ==================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

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

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

[data-theme="dark"] .contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f41b0;
    font-size: 1.25rem;
}

[data-theme="dark"] .contact-card-icon {
    background: var(--bg-secondary);
    color: var(--text);
}

.contact-card-content h3 {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.contact-card-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
}

.contact-card-link:hover {
    gap: 0.75rem;
    color: var(--text-light);
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.contact-status.open {
    color: var(--success);
}

.contact-status.open i {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-header h2 i {
    color: var(--text-light);
}

.contact-form-header p {
    color: var(--text-light);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-form label i {
    color: var(--text-light);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-theme="dark"] .contact-form input:focus-visible,
[data-theme="dark"] .contact-form select:focus-visible,
[data-theme="dark"] .contact-form textarea:focus-visible {
    outline-color: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form select:focus,
[data-theme="dark"] .contact-form textarea:focus {
    border-color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

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

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

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

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

/* ==================== AUTH PAGES ==================== */
.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: #1f41b0;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

[data-theme="dark"] .auth-left {
    background: #0a0a0a;
    border-right: 1px solid var(--border);
}

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

.auth-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-left .btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.auth-left .btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .auth-left .btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
    color: var(--text);
}

.auth-left .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.auth-left .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .auth-left .dropdown-toggle {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
    color: var(--text);
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-back-link:hover {
    color: white;
}

[data-theme="dark"] .auth-back-link {
    color: var(--text-light);
}

[data-theme="dark"] .auth-back-link:hover {
    color: var(--text);
}

.auth-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.auth-left-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-left-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

[data-theme="dark"] .auth-left-content p {
    color: var(--text-light);
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-benefit i {
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .auth-benefit {
    color: var(--text);
}

[data-theme="dark"] .auth-benefit i {
    color: var(--text-light);
}

.auth-right {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-form {
    width: 100%;
    max-width: 400px;
}

.auth-form h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-form h2 i {
    color: var(--text-light);
}

.auth-form>p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.input-icon-wrapper {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.input-icon-wrapper:focus-within {
    border-color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .input-icon-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.input-icon-wrapper .input-icon {
    width: 52px;
    min-width: 52px;
    background: var(--bg-secondary);
    color: var(--text-light);
    font-size: 1.5rem;
    border-right: 1px solid var(--border);
    display: grid;
    place-items: center;
}

.auth-form .form-control {
    flex: 1;
    height: 52px;
    padding: 0 1rem;
    border: none;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.auth-form .form-control:focus {
    outline: none;
}

.auth-form .form-control:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-theme="dark"] .auth-form .form-control:focus-visible {
    outline-color: #ffffff;
}

.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text);
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #1f41b0;
}

.form-checkbox span {
    line-height: 1;
    transform: translateY(1px);
}

.form-checkbox-inline span {
    white-space: nowrap;
}

.form-checkbox span a {
    color: #1f41b0;
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox span a:hover {
    text-decoration: underline;
}

[data-theme="dark"] .form-checkbox span a {
    color: var(--text);
}

.form-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.form-link:hover {
    color: var(--text-light);
}

.auth-form .btn-block {
    width: 100%;
}

.auth-form .btn-lg {
    height: 52px;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

.auth-footer a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-danger i {
    margin-top: 0.25rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.w-full {
    width: 100%;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features h2,
    .pricing h2 {
        font-size: 2rem;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-actions .btn {
        flex: 1;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        transition: transform 0.3s;
        z-index: 999;
    }

    .nav.mobile-open {
        transform: translateY(0);
    }

    .header-content {
        position: relative;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .mobile-toggle:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    [data-theme="dark"] .mobile-toggle:focus-visible {
        outline-color: #ffffff;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.animate-in {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== FORM VALIDATION ==================== */
input.error,
textarea.error,
select.error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ==================== MOBILE MENU TOGGLE ==================== */
.mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        color: var(--text);
    }

    .mobile-toggle.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
}

/* ==================== PREMIUM BUTTON (GLOBAL) ==================== */
.btn-premium-gold {
    background: #451a03;
    color: #fbbf24 !important;
    border-color: #5a2305;
}

.btn-premium-gold:hover {
    background: #5a2305;
    border-color: #6a2a06;
    color: #fcd34d !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(69, 26, 3, 0.3);
}

.btn-premium-gold i {
    color: #fbbf24;
    filter: none;
}

.btn-premium-gold:hover i {
    color: #fcd34d;
}

/* Dark Mode Premium Button Override */
[data-theme="dark"] .btn-premium-gold {
    background: transparent;
    border-color: #fbbf24;
    color: #fbbf24 !important;
}

[data-theme="dark"] .btn-premium-gold:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #fde68a !important;
    border-color: #fde68a;
}

[data-theme="dark"] .btn-premium-gold i {
    color: inherit;
}