/* ============================================
   ISG AI Platform - Main Styles
   Premium Design with Glassmorphism
   ============================================ */

/* === Base Variables === */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-light: #22d3ee;

    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --dark-card: #1e293b;

    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-strong: rgba(255, 255, 255, 0.1);

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === Animated Background === */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -2;
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(3deg);
    }
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    color: var(--text);
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--glass-strong);
    color: var(--text);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: var(--primary-light);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    color: var(--text);
}

.title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* === Hero Visual === */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.card-main {
    width: 100%;
    max-width: 400px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--danger);
}

.card-dots span:nth-child(2) {
    background: var(--warning);
}

.card-dots span:nth-child(3) {
    background: var(--success);
}

.card-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.risk-icon {
    font-size: 1.25rem;
}

.risk-badge {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.risk-high .risk-badge {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.risk-medium .risk-badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.risk-low .risk-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.card-float {
    position: absolute;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

.card-mevzuat {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-score {
    bottom: 15%;
    left: -10%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-icon {
    font-size: 1.25rem;
}

/* === Sections === */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* === Features Section === */
.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--primary);
}

.feature-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.icon-dof {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

.icon-risk {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.icon-chat {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.feature-icon svg {
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* === Apps Section === */
.apps-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.apps-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.app-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

.app-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.app-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.app-tab.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.app-content {
    display: none;
    padding: 2rem;
}

.app-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#chat-content.active {
    display: block;
}

/* === Demo Form === */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* === Demo Result === */
.demo-result {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder {
    text-align: center;
    color: var(--text-dim);
}

.result-placeholder svg {
    opacity: 0.3;
    margin-bottom: 1rem;
}

.result-content {
    width: 100%;
    text-align: left;
}

.result-content h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.result-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-content li {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* === Inline Chat === */
.inline-chat {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.message-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.chat-message.user .message-content {
    background: var(--primary);
    border-color: var(--primary);
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-questions button {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    transition: var(--transition);
}

.quick-questions button:hover {
    background: var(--primary);
    color: white;
}

.chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
}

.chat-input-area input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 1rem;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-send {
    background: var(--primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* === Stats Section === */
.stats-section {
    padding: 4rem 2rem;
    background: var(--glass);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === CTA Section === */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Footer === */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* === License Modal === */
.license-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.license-modal.active {
    opacity: 1;
    visibility: visible;
}

.license-content {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.license-modal.active .license-content {
    transform: scale(1);
}

.license-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.license-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.license-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.license-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: var(--text);
    font-size: 1.125rem;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.license-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.license-input.error {
    border-color: var(--danger);
    animation: shake 0.5s ease-in-out;
}

.license-input.success {
    border-color: var(--success);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

.license-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.license-error.show {
    display: block;
}

.license-submit {
    width: 100%;
    margin-bottom: 1rem;
}

.license-demo {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.license-demo a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* === Loading Spinner === */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .card-float {
        display: none;
    }

    .app-content.active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* === Tools Section === */
.tools-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.tool-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === İSG Suite Product Cards === */
.suite-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.suite-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 280px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.suite-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.suite-card-risk:hover {
    border-color: #1a73e8;
    box-shadow: 0 0 40px rgba(26, 115, 232, 0.3);
}

.suite-card-dof:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.suite-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.suite-card-risk .suite-card-glow {
    background: radial-gradient(circle, rgba(26, 115, 232, 0.15) 0%, transparent 50%);
}

.suite-card-dof .suite-card-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.suite-card:hover .suite-card-glow {
    opacity: 1;
}

.suite-card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.suite-card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.ai-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.suite-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.suite-card-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0;
}

.suite-card-features li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.suite-card-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.suite-btn {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.suite-btn-template {
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border: 1px solid rgba(26, 115, 232, 0.3);
}

.suite-btn-marketplace {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.suite-btn:hover {
    transform: scale(1.05);
}

/* Responsive for Suite Cards */
@media (max-width: 768px) {
    .suite-cards {
        flex-direction: column;
        align-items: center;
    }

    .suite-card {
        width: 100%;
        max-width: 320px;
    }
}

/* === Navbar Dropdown === */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-section {
    padding: 0.5rem;
}

.dropdown-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text);
}

.dropdown-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

/* === Suite Card Buttons (Clickable) === */
.suite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.suite-btn-template {
    background: rgba(26, 115, 232, 0.15);
    color: #4da6ff;
    border: 1px solid rgba(26, 115, 232, 0.4);
}

.suite-btn-template:hover {
    background: rgba(26, 115, 232, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.suite-btn-marketplace {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.suite-btn-marketplace:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.suite-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.suite-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Mobile dropdown fix */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
    }
}

/* ============================================
   EPIC DEMO ANIMATIONS
   ============================================ */

/* Demo subtitle */
.demo-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: -0.5rem;
}

/* Epic button style */
.btn-epic {
    position: relative;
    overflow: hidden;
}

.btn-epic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Epic Loader Container */
.epic-loader {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.epic-loader.completed {
    animation: completed 0.5s ease;
}

@keyframes completed {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Epic Header */
.epic-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.epic-icon {
    font-size: 2rem;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.epic-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neural Network Container */
.neural-container {
    position: relative;
    height: 150px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.2);
}

.neural-network-svg,
.data-flow-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Neural Network Nodes */
.neural-node {
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.6;
        r: 6;
    }

    50% {
        opacity: 1;
        r: 8;
    }
}

/* Neural Connections */
.neural-connection {
    animation: connectionFlow 1.5s ease-in-out infinite;
}

@keyframes connectionFlow {

    0%,
    100% {
        stroke-opacity: 0.1;
    }

    50% {
        stroke-opacity: 0.5;
    }
}

/* Data Particles */
.data-particle {
    animation: flowRight 3s linear infinite;
}

@keyframes flowRight {
    0% {
        cx: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        cx: 400;
        opacity: 0;
    }
}

/* Progress Bar */
.epic-progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.epic-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.epic-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.epic-progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    min-width: 40px;
}

/* Phase Display */
.epic-phase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.phase-icon {
    font-size: 1.25rem;
}

.phase-text {
    animation: textFade 0.3s ease;
}

@keyframes textFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Display */
.epic-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* RiskAI specific colors */
.epic-loader[data-type="risk"] .epic-title {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.epic-loader[data-type="risk"] .epic-progress-fill {
    background: linear-gradient(90deg, #f5576c, #f093fb) !important;
}

.epic-loader[data-type="risk"] .stat-item .stat-value {
    color: #f5576c;
}

/* ============================================
   GOOGLE SHEETS STYLE RESULT DISPLAY
   ============================================ */

/* Main container for spreadsheet-like result */
.sheets-result {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: sheetsSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sheetsSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header bar - looks like Google Sheets tab */
.sheets-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.sheets-header.risk-header {
    background: linear-gradient(90deg, rgba(26, 115, 232, 0.15) 0%, rgba(67, 56, 202, 0.15) 100%);
    border-bottom-color: rgba(26, 115, 232, 0.3);
}

.sheets-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.sheets-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.sheets-badge {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sheets-badge.dof-badge {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.sheets-badge.risk-badge {
    background: rgba(26, 115, 232, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(26, 115, 232, 0.4);
}

/* Spreadsheet grid container */
.sheets-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
}

/* Each row in the spreadsheet */
.sheets-row {
    display: contents;
}

.sheets-row:hover .sheets-cell {
    background: rgba(99, 102, 241, 0.05);
}

/* Cell styling */
.sheets-cell {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.sheets-cell:last-child {
    border-bottom: none;
}

/* Column A - Labels */
.sheets-label {
    background: rgba(99, 102, 241, 0.08);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-right: 2px solid rgba(99, 102, 241, 0.2);
}

.sheets-label.risk-label {
    background: rgba(26, 115, 232, 0.08);
    border-right-color: rgba(26, 115, 232, 0.2);
}

.sheets-label-icon {
    font-size: 1rem;
}

/* Column B - Values */
.sheets-value {
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* Priority/Score badges */
.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
}

.priority-critical {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.priority-high {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.priority-medium {
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(202, 138, 4, 0.4);
}

.priority-low {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
}

/* Risk score display - Fine-Kinney style */
.risk-score-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.risk-score-number {
    font-size: 2rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.risk-score-number.critical {
    background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.risk-score-number.high {
    background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
}

.risk-score-number.medium {
    background: linear-gradient(135deg, #ca8a04 0%, #854d0e 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(202, 138, 4, 0.4);
}

.risk-score-number.low {
    background: linear-gradient(135deg, #16a34a 0%, #166534 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4);
}

.risk-score-label {
    display: flex;
    flex-direction: column;
}

.risk-score-label .score-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.risk-score-label .score-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Action list styling */
.sheets-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sheets-actions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.sheets-actions li:last-child {
    border-bottom: none;
}

.sheets-actions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Mevzuat reference styling */
.mevzuat-ref {
    padding: 0.5rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid #6366f1;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Footer with metadata */
.sheets-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sheets-footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sheets-footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sheets-ai-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Fine-Kinney formula display */
.fine-kinney-formula {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.fk-param {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.fk-param .param-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.fk-param .param-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #60a5fa;
}

.fk-operator {
    font-size: 1rem;
    color: var(--text-muted);
}

.fk-result {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fk-result .result-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.fk-result .result-value {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sheets-grid {
        grid-template-columns: 100px 1fr;
    }

    .sheets-label {
        font-size: 0.7rem;
        padding: 0.75rem 0.5rem;
    }

    .sheets-value {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    .risk-score-number {
        font-size: 1.5rem;
        min-width: 60px;
    }
}

/* ============================================
   Cookie Consent Banner & Legal Links
   ============================================ */

/* Footer Legal Links */
.footer-legal-links {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.footer-legal-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary-light);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 2rem;
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.cookie-btn-settings:hover {
    background: var(--glass);
    border-color: var(--primary-light);
    color: var(--text);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cookie-option-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-border);
    border-radius: 26px;
    transition: var(--transition);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-settings-buttons .cookie-btn {
    flex: 1;
}

/* Mobile responsive for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        min-width: 100%;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}