/* Design System & Styling - Lumar Studio Theme */

:root {
    --bg-dark: #0a0b10;
    --card-bg: rgba(20, 22, 34, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(147, 51, 234, 0.4);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    
    --primary: #9333ea;
    --primary-glow: rgba(147, 51, 234, 0.15);
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Cosmic Background Glow */
.glow-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(147, 51, 234, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    transition: var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--text-primary) !important;
    border-bottom-color: var(--primary);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
}

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

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Main Layout Grid */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

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

/* Left Form Area */
.form-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Step Animations & State */
.step {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.75rem;
}

h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.step-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* Inputs & Form Controls */
.input-group {
    margin-bottom: 2.5rem;
}

.input-group > label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.03);
    box-shadow: 0 0 14px rgba(147, 51, 234, 0.1);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}

/* Custom Interactive Option Cards */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

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

@media (max-width: 600px) {
    .options-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

.options-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.option-card {
    position: relative;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    user-select: none;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.option-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.option-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.05);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.12);
}

.option-card.forced-selected {
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.03);
    cursor: not-allowed;
    opacity: 0.85;
}

.card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.85rem;
}

.card-title {
    display: block;
    font-weight: 650;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.card-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.option-card.horizontal {
    flex-direction: row;
    align-items: center;
    padding: 1.1rem 1.4rem;
}

.option-card.horizontal .card-content {
    width: 100%;
}

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

.price-pill {
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #d8b4fe;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    white-space: nowrap;
}

.option-card:has(input:checked) .price-pill {
    background: var(--primary);
    color: white;
}

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

.m-t {
    margin-top: 0.85rem;
}

/* Conditional Sector Panel */
.sector-conditional-panel {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.conditional-sector-block {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    animation: fadeIn 0.4s ease forwards;
}

.conditional-sector-block.hidden {
    display: none;
}

.conditional-sector-block > label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 10px var(--primary);
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slider-value span {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
}

/* Progress bar */
.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width var(--transition-smooth);
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-primary, .btn-secondary {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.btn-secondary:hover:not(:disabled) {
    color: var(--text-primary);
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Loading button spinner styling */
.btn-primary.loading {
    color: transparent !important;
}

.btn-primary.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    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); }
}

/* Success Screen CSS styling */
.success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0.5rem;
    animation: fadeIn 0.6s ease forwards;
}

.success-screen.hidden {
    display: none;
}

.success-icon-wrap {
    margin-bottom: 1.75rem;
}

.success-checkmark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.check-icon {
    width: 14px;
    height: 24px;
    border: solid var(--success);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    margin-top: -3px;
}

.success-screen h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 40%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-screen p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 1.5rem;
}

/* Discount alert card styling */
.discount-alert-card {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: left;
    max-width: 480px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05);
    animation: fadeIn 0.8s ease forwards;
}

.discount-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.discount-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #fde68a;
}

.discount-text strong {
    color: var(--warning);
    font-size: 0.9rem;
}

.success-summary-box {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    text-align: left;
    max-width: 480px;
    margin-bottom: 2.5rem;
    width: 100%;
}

.success-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    display: block;
}

.success-summary-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.success-summary-box li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
}

.success-summary-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Right Sticky Sidebar Card */
.estimate-sidebar {
    position: sticky;
    top: 2rem;
}

.sticky-card {
    background: rgba(15, 17, 28, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.glow-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.estimate-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-accent {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Range price grid adjustment */
.price-container.range-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    column-gap: 0.3rem;
    margin-bottom: 2rem;
}

.price-separator {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.4rem;
    line-height: 1;
}

.price-container .currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.8rem; /* Adjusted for side-by-side range compatibility */
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    line-height: 1;
}

/* Custom Slider/Budget Range indicator */
.estimate-scale-container {
    margin-bottom: 2rem;
}

.scale-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

#budgetDifferenceLabel {
    font-weight: 600;
    transition: var(--transition-fast);
}

.scale-bar-outer {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.scale-bar-inner {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 100px;
    transition: width 0.4s ease, background 0.4s ease;
}

.budget-scale-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Live Breakdown List */
.breakdown-section h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.breakdown-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.breakdown-list::-webkit-scrollbar {
    width: 4px;
}

.breakdown-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: fadeIn 0.3s ease forwards;
}

.breakdown-item.main-item {
    font-weight: 600;
    color: var(--text-primary);
}

.breakdown-item span:last-child {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
}

.match-disclaimer {
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.match-disclaimer.compatible {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

.match-disclaimer.compatible-partner {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.match-disclaimer.incompatible {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Summary Box */
.summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.summary-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

/* Legal Checkbox in Submission Step */
.legal-checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer legal compliance elements */
.app-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.separator {
    color: rgba(255, 255, 255, 0.15);
}

.complaints-link {
    display: inline-flex;
    align-items: center;
}

.complaints-logo {
    height: 38px;
    opacity: 0.85;
    transition: var(--transition-fast);
}

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

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

/* Cookie Consent Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 600px;
    background: rgba(15, 17, 28, 0.85);
    border: 1px solid var(--primary);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 9999;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-banner.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.cookie-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

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

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-cookie-primary, .btn-cookie-secondary {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

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

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

.btn-cookie-primary:hover {
    background: #a855f7;
}

@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 2rem;
        width: 420px;
    }
}

/* Legal Modals Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background: rgba(20, 22, 34, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 750px;
    max-height: 80vh;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

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

.modal-body-content {
    overflow-y: auto;
    padding-right: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-body-content::-webkit-scrollbar {
    width: 6px;
}

.modal-body-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.modal-body-content h2, .modal-body-content h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body-content h2 {
    font-size: 1.75rem;
}

.modal-body-content h3 {
    font-size: 1.25rem;
}

.modal-body-content p {
    margin-bottom: 1rem;
}

.modal-body-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
