/* Krowten Marketing Site - Custom Styles */
/* Tailwind CSS via CDN, bu dosya custom overrides için */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-lg: 20px;

    /* Theme-aware colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #1e293b;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --light: #334155;
    --dark: #f1f5f9;
    --gray: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.theme-toggle i {
    font-size: 1.1rem;
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .theme-icon-dark {
    color: var(--gray);
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .theme-icon-light {
    color: var(--accent);
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
}

/* Hide mobile menu header/footer on desktop */
.mobile-menu-header,
.mobile-menu-footer {
    display: none !important;
}

@media (max-width: 1024px) {
    html.mobile-menu-open,
    body.mobile-menu-open {
        overflow: hidden !important;
        height: 100% !important;
        position: fixed !important;
        width: 100% !important;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        height: calc(100dvh - 72px);
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        display: flex;
        width: 100%;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    /* Mobile Menu Header - Theme Toggle */
    .mobile-menu-header {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        padding: 0.5rem 0 1rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-menu-header .theme-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bg-secondary);
    }

    /* Mobile Menu Footer - Buttons */
    .mobile-menu-footer {
        display: flex !important;
        gap: 0.75rem;
        padding: 1.25rem 0 0.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        border-bottom: none !important;
    }

    .mobile-menu-footer .btn {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    [data-theme="dark"] .nav-menu {
        background: #1e293b;
    }

    [data-theme="dark"] .nav-menu > li {
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .mobile-menu-header {
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .mobile-menu-header .theme-toggle {
        background: rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .mobile-menu-footer {
        border-top-color: rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .nav-menu .nav-link {
        color: #e2e8f0;
    }

    [data-theme="dark"] .nav-menu .nav-link:hover,
    [data-theme="dark"] .nav-menu .nav-link.active {
        color: var(--primary-light);
    }
}

/* Body offset for fixed header */
body {
    padding-top: 72px;
}

/* Transparent Header for pages with transparent hero */
body.has-transparent-header {
    padding-top: 0;
}

.header-transparent {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.header-transparent .nav-link {
    color: var(--dark);
}

.header-transparent .nav-link:hover,
.header-transparent .nav-link.active {
    color: var(--primary);
}

.header-transparent .mobile-menu-btn {
    color: var(--dark);
}

.header-transparent .header-btn-login {
    border-color: #6366f1;
    color: #6366f1;
    background: transparent;
}

.header-transparent .header-btn-login:hover {
    background: #6366f1;
    color: #ffffff;
}

/* Header scrolled state (both normal and transparent) */
.header-transparent.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.header-transparent.scrolled .nav-link {
    color: var(--gray);
}

.header-transparent.scrolled .nav-link:hover,
.header-transparent.scrolled .nav-link.active {
    color: var(--primary);
}

.header-transparent.scrolled .mobile-menu-btn {
    color: var(--dark);
}

.header-transparent.scrolled .header-btn-login {
    border-color: #6366f1;
    color: #6366f1;
    background: transparent;
}

.header-transparent.scrolled .header-btn-login:hover {
    background: #6366f1;
    color: #ffffff;
}

/* Dark Mode Header */
[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .header .mobile-menu-btn {
    color: var(--text-primary);
}

[data-theme="dark"] .header .header-btn-login {
    border-color: #818cf8;
    color: #818cf8;
    background: transparent;
}

[data-theme="dark"] .header .header-btn-login:hover {
    background: #818cf8;
    color: #0f172a;
}

[data-theme="dark"] .header-transparent {
    background: transparent;
}

[data-theme="dark"] .header-transparent .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .header-transparent .nav-link:hover,
[data-theme="dark"] .header-transparent .nav-link.active {
    color: var(--primary-light);
}

[data-theme="dark"] .header-transparent.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .header-transparent.scrolled .nav-link {
    color: var(--text-muted);
}

[data-theme="dark"] .header-transparent.scrolled .nav-link:hover,
[data-theme="dark"] .header-transparent.scrolled .nav-link.active {
    color: var(--primary-light);
}

/* ====================
   IMPROVED NAV READABILITY
   ==================== */
.nav-link {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

[data-theme="dark"] .header .nav-link {
    color: #e2e8f0;
}

[data-theme="dark"] .header .nav-link:hover,
[data-theme="dark"] .header .nav-link.active {
    color: #a5b4fc;
}

/* ====================
   MEGA MENU
   ==================== */
.nav-item {
    position: relative;
}

.nav-item.has-mega-menu > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-item.has-mega-menu:hover .nav-chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: fixed;
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 980px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1000;
    padding-top: 16px;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 220px;
    gap: 0;
}

.mega-menu-section {
    padding: 1.5rem 1.75rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-menu-section:last-child {
    border-right: none;
}

.mega-menu-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding: 0 0.85rem;
}

.mega-menu-title i {
    font-size: 0.8rem;
    width: 1rem;
    text-align: center;
    opacity: 0.7;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    margin-bottom: 0.1rem;
}

.mega-menu-item-icon {
    font-size: 0.8rem;
    width: 1rem;
    text-align: center;
    color: #24a0ed;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: all 0.15s ease;
}

.mega-menu-item:hover .mega-menu-item-icon {
    color: #1a8fd1;
}

.mega-menu-item:hover {
    background: #f8fafc;
}

.mega-menu-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mega-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
}

.mega-menu-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.mega-menu-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0 20px 20px 0;
    border-right: none;
}

.mega-menu-promo {
    text-align: center;
    padding: 1rem 0.5rem;
}

.mega-menu-promo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
}

.mega-menu-promo-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.mega-menu-promo-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Mega Menu Dark Mode */
[data-theme="dark"] .mega-menu {
    background: #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mega-menu-section {
    border-right-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mega-menu-title {
    color: var(--text-primary);
}

[data-theme="dark"] .mega-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mega-menu-item-icon {
    color: #24a0ed;
}

[data-theme="dark"] .mega-menu-item:hover .mega-menu-item-icon {
    color: #24a0ed;
}

[data-theme="dark"] .mega-menu-label {
    color: #f1f5f9;
}

[data-theme="dark"] .mega-menu-desc {
    color: #94a3b8;
}

[data-theme="dark"] .mega-menu-highlight {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .mega-menu-promo-title {
    color: #f1f5f9;
}

[data-theme="dark"] .mega-menu-promo-desc {
    color: #94a3b8;
}

/* Mega Menu Mobile */
@media (max-width: 1024px) {
    .nav-item.has-mega-menu {
        width: 100%;
    }

    .nav-item.has-mega-menu > .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
    }

    .nav-chevron {
        display: block;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .nav-item.has-mega-menu.mobile-open .nav-chevron {
        transform: rotate(180deg);
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.has-mega-menu.mobile-open .mega-menu {
        max-height: 2000px;
    }

    .nav-item.has-mega-menu:hover .mega-menu {
        transform: none;
    }

    .mega-menu::before {
        display: none;
    }

    .mega-menu-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    .mega-menu-section {
        padding: 0.5rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-menu-section:last-child {
        border-bottom: none;
    }

    .mega-menu-highlight {
        display: none;
    }

    .mega-menu-title {
        color: var(--text-primary);
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }

    .mega-menu-item {
        padding: 0.6rem 0;
        border-radius: 0;
    }

    .mega-menu-item:hover {
        background: transparent;
    }

    .mega-menu-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .mega-menu-label {
        font-size: 0.85rem;
        color: var(--text-primary);
    }

    .mega-menu-desc {
        font-size: 0.75rem;
        display: none;
    }

    .mega-menu-section {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }

    [data-theme="dark"] .mega-menu-section {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .mega-menu-label {
        color: #1e293b;
    }

    [data-theme="dark"] .mega-menu-label {
        color: #f1f5f9;
    }
}

/* ====================
   BUTTONS
   ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #6366f1;
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #4f46e5;
}

[data-theme="dark"] .btn-primary {
    background: #818cf8;
    color: #0f172a;
}

[data-theme="dark"] .btn-primary:hover {
    background: #a5b4fc;
}

.btn-secondary {
    background: transparent;
    color: #6366f1;
    border: 1px solid #6366f1;
}

.btn-secondary:hover {
    background: #6366f1;
    color: #ffffff;
}

[data-theme="dark"] .btn-secondary {
    color: #818cf8;
    border-color: #818cf8;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #818cf8;
    color: #0f172a;
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--light);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ====================
   SECTIONS
   ==================== */
.section {
    padding: 5rem 1.5rem;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-light {
    background: var(--light);
}

[data-theme="dark"] .section-light {
    background: var(--bg-secondary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ====================
   PAGE HEADER
   ==================== */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #0f172a 100%);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* ====================
   CTA SECTION
   ==================== */
.cta-section {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.5rem;
    }

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

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    color: var(--white);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

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

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }
}

/* ====================
   CARDS
   ==================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, #818cf8 0%, #0ea5e9 100%);
}

/* Module/Integration Cards */
.module-card,
.integration-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-card .card-header,
.integration-card .card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-card .card-icon,
.integration-card .card-icon {
    flex-shrink: 0;
}

.module-card .card-meta,
.integration-card .card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.badge-secondary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}

.badge-info {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

/* ====================
   GRID LAYOUTS
   ==================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

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

.pricing-toggle-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    background: transparent;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-toggle-btn.active {
    background: var(--primary);
    color: var(--white);
}

.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Popüler';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--success);
}

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

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

.pricing-card {
    position: relative;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.pricing-popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 1;
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

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

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
}

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

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ====================
   FOOTER
   ==================== */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: var(--gray-light);
    padding: 0 1.5rem 2rem;
}

/* Footer CTA Section */
.footer-cta {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
    transform: translateY(-50px);
}

.footer-cta-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.footer-cta .btn {
    flex-shrink: 0;
    background: white;
    color: #4f46e5;
    border: none;
}

.footer-cta .btn:hover {
    background: #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand p {
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-contact {
    margin: 1.5rem 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: #6366f1;
    font-size: 1rem;
}

.footer-contact-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: #6366f1;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: #6366f1;
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-left p {
    color: #64748b;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-badge i {
    color: #10b981;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        transform: translateY(-30px);
        margin-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

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

    .footer-contact-item {
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4 {
        margin-top: 1rem;
    }
}

/* ====================
   CATEGORY FILTERS
   ==================== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--light);
    background: transparent;
    color: var(--gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ====================
   SIDEBAR LAYOUT (Modules & Integrations)
   ==================== */
.sidebar-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.sidebar-filters {
    position: sticky;
    top: 92px;
    width: 260px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--light);
    align-self: flex-start;
    margin-bottom: 2rem;
}

.sidebar-content {
    flex: 1;
    min-height: 400px;
}

.sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--gray);
    transition: color 0.2s;
}

.sidebar-link:hover {
    background: var(--light);
    color: var(--primary);
}

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

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary);
    border-color: var(--primary);
}

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

.sidebar-link-count {
    margin-left: auto;
    background: var(--light);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
}

.sidebar-link.active .sidebar-link-count {
    background: var(--primary);
    color: var(--white);
}

/* Mobile Sidebar */
@media (max-width: 992px) {
    .sidebar-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .sidebar-filters {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 1rem;
    }

    .sidebar-content {
        width: 100%;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-link {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .sidebar-link i {
        font-size: 1rem;
    }

    .sidebar-link-count {
        display: none;
    }
}

/* ====================
   BLOG CARDS
   ==================== */
.blog-card {
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dark);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Featured Blog */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-featured .blog-card-image {
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius);
}

.blog-featured .blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.blog-featured .blog-card-title {
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }
}

/* ====================
   MODALS
   ==================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray);
    transition: all 0.2s;
}

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

.modal-body {
    padding: 1.5rem;
}

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

/* ====================
   LOADING STATES
   ==================== */
.skeleton {
    background: linear-gradient(90deg, var(--light) 25%, #e2e8f0 50%, var(--light) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    height: 300px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

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

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

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ====================
   DARK MODE OVERRIDES
   ==================== */

/* Sections */
[data-theme="dark"] .section {
    background: var(--bg-primary);
}

[data-theme="dark"] .section-alt {
    background: var(--bg-secondary);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

/* Cards */
[data-theme="dark"] .card {
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .card-title {
    color: var(--text-primary);
}

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

/* Footer */
[data-theme="dark"] .footer {
    background: linear-gradient(180deg, #020617 0%, #000000 100%);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

[data-theme="dark"] .footer-title {
    color: var(--text-primary);
}

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

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

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

/* Pricing */
[data-theme="dark"] .pricing-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .pricing-card.featured {
    border-color: var(--primary);
}

[data-theme="dark"] .pricing-price {
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-feature {
    color: var(--text-secondary);
}

/* Filters */
[data-theme="dark"] .filter-tab {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border-color: var(--border-color);
}

[data-theme="dark"] .filter-tab:hover,
[data-theme="dark"] .filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Sidebar */
[data-theme="dark"] .sidebar,
[data-theme="dark"] .sidebar-filters {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
}

[data-theme="dark"] .sidebar-section-title,
[data-theme="dark"] .sidebar-title {
    color: var(--text-muted);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .sidebar-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .sidebar-link i {
    color: var(--text-muted);
}

[data-theme="dark"] .sidebar-link:hover {
    background: var(--bg-tertiary);
    color: var(--primary-light);
}

[data-theme="dark"] .sidebar-link:hover i {
    color: var(--primary-light);
}

[data-theme="dark"] .sidebar-link.active {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .sidebar-link.active i {
    color: var(--primary-light);
}

[data-theme="dark"] .sidebar-link-count {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

[data-theme="dark"] .sidebar-link.active .sidebar-link-count {
    background: var(--primary-light);
    color: var(--bg-primary);
}

/* Modals */
[data-theme="dark"] .modal {
    background: var(--card-bg);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .modal-title {
    color: var(--text-primary);
}

[data-theme="dark"] .modal-body {
    color: var(--text-secondary);
}

/* Blog */
[data-theme="dark"] .blog-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .blog-card-title {
    color: var(--text-primary);
}

[data-theme="dark"] .blog-card-excerpt {
    color: var(--text-secondary);
}

/* Forms */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Code blocks */
[data-theme="dark"] code {
    background: var(--bg-tertiary);
    color: var(--primary-light);
}

[data-theme="dark"] pre {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

/* ====================
   COOKIE CONSENT (GDPR/KVKK Compliant)
   ==================== */
/* Cookie Consent - Minimal Apple Style (Right) */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideUpCookie 0.4s ease;
}

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

.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.5rem 0.625rem 0.5rem 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cookie-consent-text i {
    color: var(--primary);
    font-size: 1rem;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.cookie-btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.cookie-btn-outline:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cookie-btn-primary {
    background: var(--primary);
    color: white;
}

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

@media (max-width: 576px) {
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .cookie-consent-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 1rem;
        gap: 0.75rem;
    }

    .cookie-consent-text {
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .cookie-btn {
        flex: 1;
    }
}

/* Dark Mode - Cookie Consent */
[data-theme="dark"] .cookie-consent-inner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

