/* CSS Variables */
:root {
    --color-primary: #334E68;
    --color-primary-dark: #102A43;
    --color-primary-light: #486581;
    --color-text: #102A43;
    --color-text-secondary: #627D98;
    --color-text-muted: #9FB3C8;
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F0F4F8;
    --color-bg-tertiary: #F7FAFC;
    --color-border: #E2E8F0;
    --color-border-light: #CBD5E0;
    --color-success: #6B8F71;
    --color-warning: #FBBF24;
    --color-error: #F87171;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0px 2px 4px rgba(16, 42, 67, 0.1);
    --shadow-md: 0px 4px 14px rgba(51, 78, 104, 0.25);
    --shadow-lg: 0px 20px 60px rgba(16, 42, 67, 0.15);
    --shadow-up: 0px -4px 20px rgba(16, 42, 67, 0.08);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    /* Dark mode specific (used for overrides) */
    --color-header-bg: rgba(255, 255, 255, 0.95);
    --color-modal-bg: #FFFFFF;
    --color-card-bg: rgba(255, 255, 255, 0.7);
    --color-overlay-bg: rgba(16, 42, 67, 0.6);
    --color-input-bg: #FFFFFF;
    --color-toast-bg: rgba(255, 255, 255, 0.95);
    --color-toast-text: #102A43;
    --color-footer-bg: #102A43;
    --color-footer-text: #9FB3C8;
    --color-footer-link: #CBD5E0;
    --color-footer-heading: #627D98;
    --color-footer-divider: rgba(255, 255, 255, 0.1);
}

/* Dark Mode - Midnight Ocean */
[data-theme="dark"] {
    --color-primary: #5B8DB8;
    --color-primary-dark: #7AADD4;
    --color-primary-light: #8BBBD6;
    --color-text: #E2E8F0;
    --color-text-secondary: #9FB3C8;
    --color-text-muted: #627D98;
    --color-bg: #0F1B2D;
    --color-bg-secondary: #162236;
    --color-bg-tertiary: #1C2B3F;
    --color-border: #243548;
    --color-border-light: #2D4158;
    --color-success: #7BC47F;
    --color-warning: #FCD34D;
    --color-error: #FB8A8A;
    --shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0px 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0px 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-up: 0px -4px 20px rgba(0, 0, 0, 0.3);
    --color-header-bg: rgba(15, 27, 45, 0.95);
    --color-modal-bg: #162236;
    --color-card-bg: rgba(22, 34, 54, 0.7);
    --color-overlay-bg: rgba(0, 0, 0, 0.7);
    --color-input-bg: #1C2B3F;
    --color-toast-bg: rgba(28, 43, 63, 0.95);
    --color-toast-text: #E2E8F0;
    --color-footer-bg: #0A1420;
    --color-footer-text: #627D98;
    --color-footer-link: #9FB3C8;
    --color-footer-heading: #4A6580;
    --color-footer-divider: rgba(255, 255, 255, 0.06);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

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

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

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

.btn-ghost:hover {
    background-color: var(--color-bg-secondary);
}

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

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

.btn-cta {
    background-color: var(--color-primary);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--color-bg-secondary);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-light);
}

.nav-links a:hover {
    color: var(--color-primary);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 697px;
    padding-top: 64px;
    background: linear-gradient(to bottom, var(--color-bg-secondary), var(--color-bg));
    overflow: hidden;
}

.hero-bg-icon {
    position: absolute;
    top: 174px;
    right: 0;
    width: 600px;
    height: 600px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-bg-icon svg {
    width: 100%;
    height: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-content {
    flex: 0 0 55%;
}

.hero-content .badge {
    background-color: rgba(51, 78, 104, 0.1);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.96px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* Hero Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-proof-item span {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Hero Mockup */
.hero-mockup {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-window {
    width: 398px;
    background: var(--color-modal-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotate(2deg);
}

.mockup-titlebar {
    display: flex;
    gap: 8px;
    padding: 16px;
    background-color: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: var(--color-error); }
.dot.yellow { background-color: var(--color-warning); }
.dot.green { background-color: var(--color-success); }

.mockup-content {
    display: flex;
    min-height: 350px;
}

.mockup-sidebar {
    width: 76px;
    background-color: var(--color-bg-tertiary);
    border-right: 1px solid var(--color-border);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    width: 33px;
    height: 33px;
    border-radius: var(--radius-md);
    background-color: var(--color-border);
}

.sidebar-item.active {
    background-color: var(--color-primary);
}

.mockup-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-title {
    width: 120px;
    height: 24px;
    background-color: var(--color-border);
    border-radius: 4px;
}

.header-subtitle {
    width: 200px;
    height: 19px;
    background-color: var(--color-bg-secondary);
    border-radius: 4px;
}

.mockup-tasks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-card {
    padding: 12px;
    background: var(--color-modal-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.task-card.completed {
    border-color: var(--color-success);
    box-shadow: 0 0 0 1px var(--color-success);
}

.task-card.warning {
    border-color: var(--color-error);
    box-shadow: 0 0 0 1px var(--color-error);
}

.task-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-warning-icon {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.task-warning-icon.show {
    opacity: 1;
    transform: scale(1);
    animation: warningPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.task-warning-icon.hide {
    opacity: 0;
    transform: scale(0);
}

@keyframes warningPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.task-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.checkbox.completed {
    background-color: var(--color-success);
    border-color: var(--color-success);
    animation: checkboxPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkbox.completed::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmarkDraw 0.3s ease 0.1s both;
}

@keyframes checkboxPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes checkmarkDraw {
    0% { opacity: 0; transform: rotate(45deg) scale(0); }
    100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

.task-text {
    width: 100px;
    height: 13px;
    background-color: var(--color-text-secondary);
    border-radius: 4px;
}

.task-text.medium { width: 80px; }
.task-text.short { width: 60px; }

.task-tag {
    width: 60px;
    height: 20px;
    border-radius: 12px;
    margin-left: 28px;
}

.task-tag.green { background-color: rgba(107, 143, 113, 0.2); }
.task-tag.gray { background-color: rgba(51, 78, 104, 0.1); }

.mockup-progress {
    margin-top: auto;
    height: 14px;
    background-color: var(--color-bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    border-radius: 4px;
}

/* Features Section */
.features {
    padding: 100px 32px;
    background-color: var(--color-bg);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-header h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.72px;
    color: var(--color-text);
    margin: 16px 0;
}

.features-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    color: #829ab1;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 8px;
}

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

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    padding: 64px 168px 32px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    /* Grid column 1.5fr */
}

.footer-brand h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-footer-text);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 20px;
    height: 20px;
    color: var(--color-footer-text);
}

.social-link:hover {
    color: white;
}

.social-link.disabled,
.social-link.coming-soon-link {
    opacity: 0.5;
}

.social-link.coming-soon-link {
    pointer-events: auto;
    cursor: pointer;
}

.social-link.coming-soon-link:hover {
    opacity: 0.7;
}

.footer-links {
    display: contents;
}

.footer-column h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-footer-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
}

.footer-column li {
    height: 36px;
    display: flex;
    align-items: center;
}

.footer-column li.disabled {
    opacity: 0.5;
}

.footer-column li.disabled span {
    font-size: 14px;
    color: var(--color-footer-link);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column li.disabled span svg {
    width: 16px;
    height: 16px;
}

.footer-column a {
    font-size: 14px;
    color: var(--color-footer-link);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-column a svg {
    width: 16px;
    height: 16px;
}

.footer-divider {
    height: 1px;
    background-color: var(--color-footer-divider);
    margin-bottom: 48px;
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--color-footer-heading);
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    background: transparent;
    border: 1px solid var(--color-footer-divider);
    border-radius: var(--radius-sm);
    color: var(--color-footer-link);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-btn:hover {
    border-color: var(--color-footer-text);
    background-color: rgba(255, 255, 255, 0.05);
}

.language-dropdown {
    position: relative;
}

.language-dropdown .language-chevron {
    transition: transform 0.2s ease;
}

.language-dropdown.open .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: var(--color-toast-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    min-width: 120px;
    z-index: 10;
}

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

.language-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.language-option:hover {
    background: var(--color-bg-secondary);
}

.language-option.active {
    color: var(--color-text);
    font-weight: 600;
}

/* Coming Soon Toast */
.coming-soon-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--color-toast-bg);
    color: var(--color-toast-text);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: none;
}

.coming-soon-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Coming Soon Link */
.coming-soon-link {
    opacity: 0.5;
    cursor: pointer;
}

.coming-soon-link:hover {
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-modal-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-up);
    padding: 21px 168px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content {
    flex: 1;
    max-width: 705px;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cookie-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.cookie-content > p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.cookie-links {
    display: flex;
    gap: 16px;
}

.cookie-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-links a:hover {
    color: var(--color-primary-dark);
}

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

.cookie-buttons .btn {
    height: 43px;
    padding: 0 21px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 48px;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-social-proof {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-mockup {
        flex: none;
        width: 100%;
    }

    .mockup-window {
        transform: none;
    }

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

    .footer {
        padding: 64px 32px 32px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 16px;
    }

    .footer-links {
        display: contents;
    }

    .cookie-banner {
        padding: 21px 32px;
    }

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

    .cookie-content {
        flex: none;
        max-width: none;
    }

    .cookie-buttons {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    .header-left .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding: 60px 16px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 12px;
    }

    .mockup-window {
        width: 100%;
        max-width: 350px;
    }

    .features {
        padding: 60px 16px;
    }

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

    .features-header h2 {
        font-size: 28px;
    }

    .footer {
        padding: 48px 16px 32px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        display: contents;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cookie-banner {
        padding: 16px;
    }

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

    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-mockup,
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-mockup {
    animation-delay: 0.2s;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ==================== */
/* MODAL STYLES */
/* ==================== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: var(--color-overlay-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* KVKK Modal */
.kvkk-modal {
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    background: var(--color-modal-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .kvkk-modal {
    transform: scale(1);
}

.kvkk-header {
    position: relative;
    background: var(--color-bg-tertiary);
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

.kvkk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.kvkk-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.kvkk-header > p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.kvkk-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    padding: 4px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color 0.15s ease;
}

.kvkk-close-btn:hover {
    color: var(--color-text);
}

.kvkk-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    max-height: 400px;
}

.kvkk-section {
    margin-bottom: 20px;
}

.kvkk-section:last-child {
    margin-bottom: 0;
}

.kvkk-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.kvkk-section p {
    font-size: 14px;
    color: var(--color-primary);
    line-height: 1.6;
}

.kvkk-section ul {
    padding-left: 16px;
    margin-top: 8px;
}

.kvkk-section li {
    font-size: 14px;
    color: var(--color-primary-light);
    line-height: 1.6;
    margin-bottom: 4px;
}

.kvkk-section a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
}

.kvkk-footer {
    background: var(--color-bg-tertiary);
    padding: 24px;
    border-top: 1px solid var(--color-border);
}

.kvkk-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.kvkk-checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 2px solid var(--color-border-light);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background: var(--color-input-bg);
    transition: all 0.15s ease;
}

.kvkk-checkbox-wrapper input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.kvkk-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kvkk-checkbox-wrapper label {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
    cursor: pointer;
}

.kvkk-checkbox-wrapper .required {
    color: #B83131;
    margin-left: 4px;
}

.kvkk-error {
    display: none;
    font-size: 13px;
    color: #B83131;
    padding: 8px 12px;
    background: rgba(184, 49, 49, 0.1);
    border-radius: 6px;
    margin-bottom: 16px;
}

.kvkk-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.kvkk-accept-btn {
    transition: opacity 0.15s ease;
}

.kvkk-accept-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.kvkk-checkbox-wrapper input[type="checkbox"].shake {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Auth Modal (Login/Signup) */
.auth-modal {
    width: 100%;
    max-width: 440px;
    background: var(--color-modal-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .auth-modal {
    transform: scale(1);
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.auth-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.auth-close-btn {
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 6px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-close-btn:hover {
    color: var(--color-text);
    background: var(--color-bg-secondary);
}

.auth-modal-content {
    padding: 32px 24px;
    text-align: center;
}

.auth-icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg-secondary);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
}

.auth-modal-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.auth-modal-content > p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.auth-email-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--color-input-bg);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-text);
    outline: none;
    transition: all 0.15s ease;
}

.auth-email-input::placeholder {
    color: var(--color-text-muted);
}

.auth-email-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(91, 141, 184, 0.15);
}

.auth-email-error {
    font-size: 13px;
    color: #B83131;
    text-align: left;
    margin-top: 8px;
    min-height: 20px;
}

.auth-submit-btn {
    width: 100%;
    height: 50px;
    margin-top: 16px;
    background: var(--color-primary);
    color: white;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-submit-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-privacy-note {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 16px;
}

/* Auth Modal Success State */
.auth-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.auth-success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: successPop 0.4s ease;
}

.auth-success-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.auth-success-content p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 320px;
}

.auth-success-btn {
    padding: 14px 32px;
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-success-btn:hover {
    background: var(--color-border);
    color: var(--color-primary-dark);
}

.auth-add-another-btn {
    margin-top: 12px;
    padding: 10px 24px;
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-add-another-btn:hover {
    color: var(--color-primary);
    background: var(--color-bg-secondary);
}

/* Survey Modal */
.survey-modal {
    width: 100%;
    max-width: 600px;
    height: 90vh;
    max-height: 800px;
    background: var(--color-modal-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .survey-modal {
    transform: scale(1);
}

.survey-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* Survey Header */
.survey-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.survey-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}

.survey-progress-bar {
    height: 100%;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.survey-step-indicator {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.survey-close-btn {
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.survey-close-btn:hover {
    color: var(--color-text);
    background: var(--color-bg-secondary);
}

/* Survey Content */
.survey-content {
    flex: 1;
    overflow-y: auto;
    padding: 48px 40px 32px;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.survey-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto 0;
}

.survey-emoji {
    font-size: 64px;
    line-height: 1.5;
    margin-bottom: 24px;
    animation: bounce 0.5s ease-out;
}

.survey-emoji-small {
    font-size: 48px;
    line-height: 1.5;
    margin-bottom: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.survey-screen h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.56px;
    margin-bottom: 16px;
}

.survey-screen h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    letter-spacing: -0.22px;
    max-width: 420px;
    margin-bottom: 24px;
}

.survey-screen > p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 32px;
}

.survey-subtext {
    font-size: 15px;
    color: var(--color-text-muted);
    max-width: 440px;
    margin-bottom: 24px;
}

.survey-intro-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 16px;
}

/* Survey Start Button */
.survey-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    height: 52px;
    padding: 0 32px;
    background: var(--color-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.survey-start-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Survey Options */
.survey-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 505px;
}

.survey-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 78px;
    padding: 0 18px;
    background: var(--color-input-bg);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.survey-option:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-tertiary);
}

.survey-option.selected {
    border-color: var(--color-primary);
    background: var(--color-bg-secondary);
}

.option-emoji {
    font-size: 24px;
    line-height: 1.5;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

.option-description {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.option-check {
    flex-shrink: 0;
    color: var(--color-primary);
}

.option-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-border-light);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.option-checkbox.checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.option-rank {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.option-rank-empty {
    width: 24px;
    height: 24px;
    border: 2px dashed var(--color-border);
    border-radius: 50%;
    flex-shrink: 0;
}

.survey-selection-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-align: left;
    width: 100%;
    max-width: 520px;
    margin-top: 16px;
}

/* Max limit warning */
.survey-max-warning {
    font-size: 12px;
    font-weight: 500;
    color: #e53e3e;
    text-align: left;
    margin-top: 4px;
    padding-left: 36px;
    animation: fadeInShake 0.4s ease;
}

@keyframes fadeInShake {
    0% { opacity: 0; transform: translateX(0); }
    20% { opacity: 1; transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Survey Other Input & Wrapper */
.survey-option-wrapper {
    width: 100%;
}

.survey-other-input {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: var(--color-text-secondary);
    outline: none;
}

.survey-other-input::placeholder {
    color: var(--color-text-secondary);
    font-weight: 500;
    opacity: 0.6;
}

/* Survey Textarea */
.survey-textarea {
    width: 100%;
    max-width: 520px;
    min-height: 120px;
    padding: 16px;
    background: var(--color-input-bg);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: all 0.15s ease;
}

.survey-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(51, 78, 104, 0.1);
}

.survey-textarea::placeholder {
    color: var(--color-text-muted);
}

/* Email Screen */
.email-screen p {
    margin-bottom: 24px;
}

.survey-email-input {
    width: 100%;
    max-width: 440px;
    height: 52px;
    padding: 0 16px;
    background: var(--color-input-bg);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-text);
    outline: none;
    transition: all 0.15s ease;
}

.survey-email-input::placeholder {
    color: var(--color-text-muted);
}

.survey-email-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(91, 141, 184, 0.15);
}

.survey-email-error {
    font-size: 13px;
    color: #B83131;
    text-align: left;
    width: 100%;
    max-width: 440px;
    margin-top: 8px;
    min-height: 20px;
}

.survey-email-submit {
    width: 100%;
    max-width: 440px;
    padding: 14px 24px;
    margin-top: 16px;
    background: var(--color-primary);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(51, 78, 104, 0.2);
    cursor: pointer;
    transition: all 0.15s ease;
}

.survey-email-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 78, 104, 0.3);
}

.survey-email-skip {
    background: transparent;
    border: none;
    padding: 8px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s ease;
}

.survey-email-skip:hover {
    color: var(--color-primary);
}

.survey-email-note {
    font-size: 12px !important;
    color: var(--color-text-muted) !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    max-width: 400px;
}

/* Success Screen */
.success-screen {
    min-height: 0;
    flex: 1;
    justify-content: center;
    padding: 60px 40px;
}

.survey-success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: checkScale 0.5s ease-out;
}

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

.survey-close-success {
    padding: 14px 32px;
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.survey-close-success:hover {
    background: var(--color-border);
    color: var(--color-primary-dark);
}

/* Survey Navigation */
.survey-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    height: 89px;
    border-top: 1px solid var(--color-border);
    gap: 12px;
    flex-shrink: 0;
    background: var(--color-modal-bg);
}

.survey-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 48px;
}

.survey-nav-back {
    background: transparent;
    color: var(--color-text-secondary);
}

.survey-nav-back:hover:not(.disabled) {
    background: var(--color-bg-tertiary);
    color: var(--color-primary);
}

.survey-nav-back.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.survey-nav-next {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    padding: 0 20px;
    box-shadow: var(--shadow-sm);
}

.survey-nav-next:hover:not(.disabled) {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.survey-nav-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Modals */
@media (max-width: 768px) {
    .modal-overlay {
        height: 100vh;
        height: -webkit-fill-available;
        height: 100dvh;
    }

    .kvkk-modal {
        height: 85vh;
        height: -webkit-fill-available;
        height: 85dvh;
        max-height: calc(100% - 32px);
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    #surveyModal {
        padding: 0;
    }

    .survey-modal {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        margin-top: 0;
    }

    .auth-modal {
        max-width: 100%;
        margin: auto 16px;
        border-radius: 16px;
    }

    .auth-modal-content {
        padding: 24px 20px;
    }

    .auth-modal-content h4 {
        font-size: 18px;
    }

    .kvkk-header,
    .kvkk-footer {
        padding: 16px;
    }

    .kvkk-content {
        padding: 16px;
        max-height: 300px;
    }

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

    .kvkk-buttons .btn {
        width: 100%;
    }

    .survey-content {
        padding: 32px 20px 24px;
        min-height: 0;
    }

    .survey-emoji {
        font-size: 48px;
    }

    .survey-emoji-small {
        font-size: 40px;
    }

    .survey-screen h1 {
        font-size: 24px;
    }

    .survey-screen h2 {
        font-size: 18px;
    }

    .survey-option {
        height: auto;
        min-height: 70px;
        padding: 14px 16px;
    }

    .survey-nav {
        padding: 16px 20px;
        height: auto;
        flex-shrink: 0;
    }

    .survey-progress {
        width: 100px;
    }
}

/* ==================== */
/* LEGAL PAGES STYLES */
/* ==================== */

/* Card-based Layout */
.legal-page {
    background: #f7fafc;
    min-height: calc(100vh - 64px);
    padding: 24px 32px 80px;
    margin-top: 64px;
}

.legal-page-container {
    max-width: 836px;
    margin: 0 auto;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #334e68;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.15s ease;
}

.back-link:hover {
    color: #102a43;
}

.back-link svg {
    flex-shrink: 0;
}

/* Header Card */
.legal-header-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(51, 78, 104, 0.1);
    padding: 32px;
    margin-bottom: 24px;
}

.legal-header-icon {
    width: 60px;
    height: 60px;
    background: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #829ab1;
}

.legal-header-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: #627d98;
    letter-spacing: -0.64px;
    margin-bottom: 8px;
}

.legal-last-updated {
    font-size: 14px;
    color: #627d98;
}

/* Content Card */
.legal-content-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(51, 78, 104, 0.1);
    padding: 41px;
}

/* Legacy styles for backward compatibility */
.legal-header {
    background: var(--color-bg-tertiary);
    padding: 80px 32px 60px;
    margin-top: 64px;
}

.legal-header-content {
    max-width: 836px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.breadcrumb a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.15s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

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

.breadcrumb-current {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

/* Legal Content */
.legal-content {
    padding: 60px 32px 100px;
    background: var(--color-bg);
}

.legal-content-inner {
    max-width: 836px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    color: var(--color-primary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    font-size: 16px;
    color: var(--color-primary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content ol li {
    margin-bottom: 12px;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-text);
}

.legal-content strong {
    font-weight: 600;
    color: var(--color-text);
}

/* Content Card Styles */
.legal-content-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #627d98;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-content-card h2:first-child {
    margin-top: 0;
}

.legal-content-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #829ab1;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content-card p {
    font-size: 15px;
    color: #486581;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content-card ul,
.legal-content-card ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content-card ul {
    list-style: disc;
}

.legal-content-card ol {
    list-style: decimal;
}

.legal-content-card li {
    font-size: 15px;
    color: #486581;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content-card li strong {
    font-weight: 600;
    color: #334e68;
}

.legal-content-card a {
    color: #334e68;
    font-weight: 500;
    text-decoration: none;
}

.legal-content-card a:hover {
    text-decoration: underline;
}

.legal-content-card .legal-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 32px 0;
}

/* Important Note Box - Yellow Theme */
.legal-note {
    background: #fff9e6;
    border: 1px solid #ffe4a3;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
}

.legal-note p {
    font-size: 14px;
    color: #6b5310;
    margin-bottom: 0;
    line-height: 1.6;
}

.legal-note p strong {
    font-weight: 700;
    color: #6b5310;
}

/* Styled Table with Dark Header */
.legal-table-styled {
    border: 1px solid #e2e8f0;
    border-radius: 0;
    overflow: hidden;
}

.legal-table-styled thead tr {
    background: #334e68;
}

.legal-table-styled th {
    background: #334e68;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #334e68;
}

.legal-table-styled tbody tr:nth-child(odd) {
    background: white;
}

.legal-table-styled tbody tr:nth-child(even) {
    background: #f7fafc;
}

.legal-table-styled td {
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
}

.legal-table-styled td:first-child {
    font-weight: 600;
    color: #334e68;
}

.legal-table-styled td:last-child {
    color: #486581;
}

/* Legacy Note Box */
.legal-note-legacy {
    background: var(--color-bg-secondary);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 24px 0;
}

.legal-note-legacy p {
    font-size: 15px;
    margin-bottom: 0;
}

/* Contact Box */
.legal-contact {
    background: var(--color-bg-tertiary);
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

/* Responsive Legal Pages - Card Layout */
@media (max-width: 1024px) {
    .legal-page {
        padding: 24px 24px 60px;
    }

    .legal-header-card,
    .legal-content-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding: 16px 16px 48px;
    }

    .legal-header-card {
        padding: 24px 20px;
    }

    .legal-header-card h1 {
        font-size: 24px;
    }

    .legal-header-icon {
        width: 48px;
        height: 48px;
    }

    .legal-header-icon svg {
        width: 24px;
        height: 24px;
    }

    .legal-content-card {
        padding: 24px 20px;
    }

    .legal-content-card h2 {
        font-size: 16px;
    }

    .legal-content-card h3 {
        font-size: 14px;
    }

    .legal-content-card p,
    .legal-content-card li {
        font-size: 14px;
    }

    .legal-table-styled th,
    .legal-table-styled td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Legacy Responsive Legal Pages */
@media (max-width: 1024px) {
    .legal-header {
        padding: 60px 24px 48px;
    }

    .legal-content {
        padding: 40px 24px 80px;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 48px 16px 32px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-content {
        padding: 32px 16px 60px;
    }

    .legal-content h2 {
        font-size: 20px;
        margin-top: 36px;
    }

    .legal-content h3 {
        font-size: 16px;
        margin-top: 24px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }
}

/* ==================== */
/* KVKK PAGE SPECIFIC STYLES */
/* ==================== */

/* Legal Badge */
.legal-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* Section with Number Badge */
.legal-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-content .legal-section-title {
    border-bottom: none;
}

.section-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.section-number-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

/* Definition Box */
.definition-box {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
}

.definition-term {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.definition-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Data Table */
.legal-table-wrapper {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin: 20px 0;
}

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

.legal-table th {
    background: var(--color-bg-tertiary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.legal-table td {
    font-size: 14px;
    color: var(--color-primary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

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

/* Alert Box */
.legal-alert {
    background: #FFF8E6;
    border-left: 4px solid #F59E0B;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.legal-alert-icon {
    flex-shrink: 0;
    color: #F59E0B;
}

.legal-alert p {
    font-size: 15px;
    color: #92400E;
    margin: 0;
    line-height: 1.6;
}

/* Contact Card for KVKK */
.legal-contact-card {
    background: var(--color-bg-secondary);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.legal-contact-card p {
    margin-bottom: 8px;
    font-size: 15px;
}

.legal-contact-card p:last-child {
    margin-bottom: 0;
}

/* Horizontal Rule / Section Divider */
.legal-content hr,
.legal-divider {
    border: none;
    height: 1px;
    background-color: var(--color-border);
    margin: 40px 0;
}

/* Responsive KVKK */
@media (max-width: 768px) {
    .legal-section-title {
        margin-top: 32px;
    }

    .section-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .section-number-title {
        font-size: 18px;
    }

    .definition-box {
        padding: 16px;
    }

    .legal-table {
        display: block;
        overflow-x: auto;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .legal-alert {
        padding: 14px 16px;
    }

    .legal-alert p {
        font-size: 14px;
    }
}

/* ==================== */
/* COOKIE POLICY SPECIFIC STYLES */
/* ==================== */

/* Cookie Icon Badge */
.cookie-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 12px;
    margin-bottom: 16px;
}

.cookie-icon-badge svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Cookie Type Card */
.cookie-type-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.cookie-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-type-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.cookie-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.cookie-status-badge.required {
    background: var(--color-primary);
    color: white;
}

.cookie-status-badge.optional {
    background: var(--color-border);
    color: var(--color-primary);
}

.cookie-type-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.cookie-type-description p {
    margin-bottom: 8px;
}

.cookie-type-description ul {
    margin-top: 8px;
    padding-left: 20px;
}

.cookie-type-description li {
    margin-bottom: 4px;
}

/* Cookie Table inside card */
.cookie-type-card .legal-table {
    margin-top: 16px;
    margin-bottom: 0;
}

/* Browser Settings List */
.browser-settings-list {
    margin: 16px 0;
}

.browser-setting-item {
    margin-bottom: 16px;
}

.browser-setting-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.browser-setting-item span {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Third Party Links */
.third-party-item {
    background: var(--color-bg-tertiary);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.third-party-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.third-party-item p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.third-party-item a {
    font-size: 13px;
}

/* Responsive Cookie Policy */
@media (max-width: 768px) {
    .cookie-icon-badge {
        width: 40px;
        height: 40px;
    }

    .cookie-icon-badge svg {
        width: 20px;
        height: 20px;
    }

    .cookie-type-card {
        padding: 16px;
    }

    .cookie-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cookie-type-title {
        font-size: 15px;
    }

    .browser-setting-item {
        margin-bottom: 12px;
    }
}

/* ==================== */
/* TERMS OF SERVICE SPECIFIC STYLES */
/* ==================== */

/* Effective Date */
.legal-effective-date {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* Acceptance Box */
.legal-acceptance-box {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
}

.legal-acceptance-box p {
    font-size: 15px;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.6;
}

/* Alert Icon */
.legal-alert .alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Warning Alert */
.legal-alert.warning {
    background: #FFF8E6;
    border-left-color: #F59E0B;
}

.legal-alert.warning .alert-icon {
    color: #F59E0B;
}

.legal-alert.warning p {
    color: #92400E;
}

/* Danger Alert */
.legal-alert.danger {
    background: #FEE2E2;
    border-left-color: #DC2626;
}

.legal-alert.danger .alert-icon {
    color: #DC2626;
}

.legal-alert.danger p {
    color: #991B1B;
}

/* Responsive Terms */
@media (max-width: 768px) {
    .legal-acceptance-box {
        padding: 20px;
        margin-bottom: 32px;
    }

    .legal-acceptance-box p {
        font-size: 14px;
    }
}

/* ==================== */
/* COOKIE PREFERENCES MODAL */
/* ==================== */

.cookie-prefs-modal {
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(16, 42, 67, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .cookie-prefs-modal {
    transform: scale(1);
}

.cookie-prefs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.cookie-prefs-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-prefs-title h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

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

.cookie-prefs-close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.cookie-prefs-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cookie-prefs-intro {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Cookie Category */
.cookie-category {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.cookie-category:last-of-type {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cookie-category-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.cookie-category-icon.required {
    background: var(--color-primary);
    color: white;
}

.cookie-category-icon.analytics {
    background: #3B82F6;
    color: white;
}

.cookie-category-icon.functional {
    background: #10B981;
    color: white;
}

.cookie-category-icon.marketing {
    background: #F59E0B;
    color: white;
}

.cookie-category-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 4px;
}

.cookie-category-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.cookie-category-badge.required {
    background: var(--color-primary);
    color: white;
}

.cookie-category-badge.optional {
    background: var(--color-border);
    color: var(--color-text-secondary);
}

.cookie-category-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 12px 0 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    flex-shrink: 0;
}

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

.cookie-toggle label {
    display: block;
    width: 44px;
    height: 24px;
    background: var(--color-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.cookie-toggle label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + label {
    background: var(--color-primary);
}

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

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

.cookie-toggle.disabled input:checked + label {
    background: var(--color-primary);
}

/* Cookie Prefs Footer */
.cookie-prefs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--color-bg-tertiary);
    border-top: 1px solid var(--color-border);
    gap: 16px;
}

.cookie-prefs-footer-links {
    display: flex;
    gap: 16px;
}

.cookie-prefs-footer-links a {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-decoration: underline;
}

.cookie-prefs-footer-links a:hover {
    color: var(--color-primary);
}

.cookie-prefs-footer-buttons {
    display: flex;
    gap: 8px;
}

.cookie-prefs-footer-buttons .btn {
    padding: 10px 16px;
    font-size: 13px;
}

/* Responsive Cookie Prefs Modal */
@media (max-width: 576px) {
    .cookie-prefs-modal {
        max-height: 90vh;
    }

    .cookie-prefs-header {
        padding: 16px;
    }

    .cookie-prefs-title h2 {
        font-size: 16px;
    }

    .cookie-prefs-content {
        padding: 16px;
    }

    .cookie-category {
        padding: 14px;
    }

    .cookie-category-icon {
        width: 32px;
        height: 32px;
    }

    .cookie-category-icon svg {
        width: 16px;
        height: 16px;
    }

    .cookie-category-info h4 {
        font-size: 14px;
    }

    .cookie-prefs-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cookie-prefs-footer-links {
        justify-content: center;
        order: 2;
    }

    .cookie-prefs-footer-buttons {
        order: 1;
        flex-direction: column;
    }

    .cookie-prefs-footer-buttons .btn {
        width: 100%;
    }
}

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

/* Smooth theme transition */
body,
.header,
.hero,
.features,
.footer,
.cookie-banner,
.modal-overlay,
.feature-card,
.mockup-window,
.task-card,
.btn {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

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

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
}

/* Light mode: show moon (to switch to dark) */
:root .theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

/* Dark mode: show sun (to switch to light) */
[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}
[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* Dark mode SVG icon overrides */
[data-theme="dark"] .hero-bg-icon svg [fill="#334E68"] {
    fill: var(--color-primary);
}

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

/* Dark mode hero badge */
[data-theme="dark"] .hero-content .badge {
    background-color: rgba(91, 141, 184, 0.15);
    color: var(--color-primary-light);
}

/* Dark mode badge general */
[data-theme="dark"] .badge {
    background-color: var(--color-bg-tertiary);
}

/* Dark mode hero gradient */
[data-theme="dark"] .hero {
    background: linear-gradient(to bottom, var(--color-bg-tertiary), var(--color-bg));
}

/* Dark mode hero bg icon */
[data-theme="dark"] .hero-bg-icon {
    opacity: 0.15;
}

/* Dark mode mockup task tag */
[data-theme="dark"] .task-tag.green {
    background-color: rgba(123, 196, 127, 0.15);
}

[data-theme="dark"] .task-tag.gray {
    background-color: rgba(91, 141, 184, 0.1);
}

/* Dark mode progress bar */
[data-theme="dark"] .progress-bar {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
}

/* Dark mode cookie prefs modal */
[data-theme="dark"] .cookie-prefs-modal {
    background: var(--color-modal-bg);
}

/* Dark mode button refinements */
[data-theme="dark"] .btn-primary {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-primary:hover {
    background-color: var(--color-primary-dark);
}

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

[data-theme="dark"] .btn-secondary:hover {
    background-color: var(--color-border);
}

[data-theme="dark"] .btn-ghost {
    color: var(--color-primary-light);
}

[data-theme="dark"] .btn-ghost:hover {
    background-color: var(--color-bg-tertiary);
}

[data-theme="dark"] .btn-outline {
    color: var(--color-primary-light);
    border-color: var(--color-border);
}

[data-theme="dark"] .btn-outline:hover {
    background-color: var(--color-bg-tertiary);
}

/* Dark mode header scroll shadow */
[data-theme="dark"] .header {
    border-bottom-color: var(--color-border);
}

/* Dark mode legal pages */
[data-theme="dark"] .legal-page {
    background: var(--color-bg);
}

[data-theme="dark"] .legal-header-card,
[data-theme="dark"] .legal-content-card {
    background: var(--color-modal-bg);
    border-color: var(--color-border);
}

[data-theme="dark"] .legal-header-icon {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .legal-note {
    background: rgba(252, 211, 77, 0.08);
    border-color: rgba(252, 211, 77, 0.2);
}

[data-theme="dark"] .legal-note p,
[data-theme="dark"] .legal-note p strong {
    color: var(--color-warning);
}

[data-theme="dark"] .legal-table-styled thead tr,
[data-theme="dark"] .legal-table-styled th {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border);
    color: var(--color-text);
}

[data-theme="dark"] .legal-table-styled tbody tr:nth-child(odd) {
    background: var(--color-modal-bg);
}

[data-theme="dark"] .legal-table-styled tbody tr:nth-child(even) {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .legal-table-styled td {
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

[data-theme="dark"] .legal-table-styled td:first-child {
    color: var(--color-primary-light);
}

/* Dark mode auth email error */
[data-theme="dark"] .auth-email-error {
    color: var(--color-error);
}

/* Dark mode cookie banner link colors */
[data-theme="dark"] .cookie-links a {
    color: var(--color-primary-light);
}

/* Dark mode scrollbar */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--color-bg);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-light);
}
