/* Premium Dashboard Theme - Obsidian */
:root {
    /* Colors */
    --bg-app: #050505;
    --bg-panel: #111111;
    /* Extremely dark grey, almost black */
    --bg-panel-hover: #161616;

    --border-subtle: #222222;
    --border-highlight: #333333;

    --text-primary: #EDEDED;
    --text-secondary: #888888;
    --text-muted: #555555;

    /* Accents - Neon */
    --accent-primary: #00E396;
    /* Neon Green */
    --accent-secondary: #008FFB;
    /* Blue */
    --accent-danger: #FF4560;
    /* Red */
    --accent-warn: #FEB019;
    /* Yellow */
    --accent-purple: #775DD0;
    /* Purple */

    /* Gradients */
    --grad-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Dimensions */
    --nav-height: 60px;
    --gap: 16px;
    --radius: 12px;
}

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

body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    /* Mobile viewport fix */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* App-like feel */
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    z-index: 1000;
    /* Increased z-index */
    position: relative;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-middle {
    display: flex;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    font-family: 'JetBrains Mono', monospace;
    text-decoration: none;
    /* Ensure no underline on logo link */
    color: inherit;
}

.logo-img {
    height: 40px;
    /* Restrict logo height */
    width: auto;
    /* Maintain aspect ratio */
    border-radius: 50%;
    /* Optional: round logo if desired */
}

.logo .highlight {
    color: var(--accent-primary);
}

.market-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    background: #1a1a1a;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #555;
}

.market-status.open .status-dot {
    background-color: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.market-status.closed .status-dot {
    background-color: var(--accent-danger);
}

/* Controls */
.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

select,
input[type="date"] {
    background: #1a1a1a;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

/* Fix for dark mode date picker icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

select:hover,
input:hover {
    border-color: var(--border-highlight);
    background: #222;
}

select:focus,
input:focus {
    border-color: var(--accent-secondary);
}

/* Buttons */
.btn {
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    color: var(--text-secondary);
}

.btn-icon:hover {
    background: #1a1a1a;
    color: var(--text-primary);
}

.btn-primary {
    background: var(--accent-secondary);
    color: white;
    padding: 0 16px;
    height: 32px;
    font-size: 13px;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

/* Grid Layout */
.dashboard-grid {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: row dense;
    /* Pack tightly */
    gap: 20px;
    padding-bottom: 80px;
    /* Safe area for mobile bottom nav */
}

@media (max-width: 768px) {
    .dashboard-grid {
        padding-bottom: 120px;
        /* Extra padding for mobile browsers */
    }
}

/* Widget Card */
.widget {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /* transition: transform 0.2s, box-shadow 0.2s; */
    /* Can be noisy */
}

.widget:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Header */
.widget-header {
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.01);
}

.widget-header h3 {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header h3 i {
    width: 16px;
    height: 16px;
}

.live-indicator {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(0, 227, 150, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.live-indicator.archive {
    color: #f97316;
    /* Orange */
    background: rgba(249, 115, 22, 0.1);
    animation: none;
}

/* Body */
.widget-body {
    flex: 1;
    position: relative;
    padding: 16px;
    min-height: 200px;
}

.widget-body.scrollable-x {
    overflow-x: auto;
    padding: 0;
    /* Let content flush */
}

.chart-container {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Grid Spans */
.widget-full {
    grid-column: span 12;
    height: 500px;
}

.widget-auto {
    grid-column: span 12;
    height: auto;
    min-height: 200px;
}

.widget-gex-combined {
    grid-column: span 12;
    height: 350px;
}

.widget-fixed-250 {
    grid-column: span 12;
    height: 250px;
}

/* New class for auto-height */
.widget-half {
    grid-column: span 6;
    height: 400px;
}

.widget-third {
    grid-column: span 4;
    height: 300px;
}

.widget-quarter {
    grid-column: span 3;
    height: 180px;
}

/* Responsive */
@media (max-width: 1400px) {
    .widget-half {
        grid-column: span 12;
    }

    .widget-third {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .widget-third {
        grid-column: span 12;
    }

    .widget-quarter {
        grid-column: span 6;
    }
}

/* Widget Overlay (Loading) */
.widget-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.widget.loading .widget-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Heatmap Table Styling */
.heatmap-table-wrap {
    min-width: 100%;
    display: flex;
    width: fit-content;
}

.heatmap-table {
    border-collapse: collapse;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    margin: 0 auto;
}

.heatmap-table th,
.heatmap-table td {
    padding: 8px 12px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.heatmap-table th {
    background: #161616;
    color: var(--text-secondary);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 2;
}

.heatmap-table td {
    color: var(--text-primary);
    cursor: default;
    transition: transform 0.1s;
}

.heatmap-table td:hover {
    transform: scale(1.1);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-color: white;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    width: 400px;
    max-width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.modal-header h2 {
    font-size: 18px;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.close-modal:hover {
    color: white;
}

.modal-body {
    padding: 16px;
}

.switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
}

.switch-row:last-child {
    border-bottom: none;
}

/* --- Mobile Optimization (Native Feel) --- */
@media (max-width: 600px) {

    /* 1. Stack Navbar Controls */
    .navbar {
        height: auto;
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        background: rgba(5, 5, 5, 0.98);
        /* Less transparent for readability */
    }

    .nav-left {
        width: 100%;
        justify-content: space-between;
    }

    /* Move buttons to top row for easy access, or keep logic simple:
       Current: Left=Logo, Middle=Inputs, Right=Buttons
       Mobile: Row1=[Logo, Buttons], Row2=[Inputs (Full Width)]
    */
    .nav-right {
        /* On mobile, we might want buttons next to logo in first row? */
        /* Let's use order to rearrange flex items if parent is column?
           Navbar structure: Left, Middle, Right.
           If Flex-Col: Left(1), Middle(2), Right(3).
        */
        width: 100%;
        justify-content: flex-end;
        position: absolute;
        top: 12px;
        right: 16px;
        width: auto;
    }

    .nav-middle {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        margin-top: 4px;
    }

    .control-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .control-group label {
        font-size: 11px;
    }

    select,
    input[type="date"] {
        width: 100%;
        /* Full width inputs */
        font-size: 16px;
        /* Prevent iOS Zoom */
        padding: 10px 12px;
        /* Larger touch area */
        height: 44px;
        /* Min touch target */
    }

    /* 2. Optimize Widget Heights */
    .widget-full,
    .widget-half,
    .widget-gex-combined {
        height: 320px;
        /* Compact height for mobile */
        min-height: 300px;
    }

    .widget-body {
        min-height: 200px;
    }

    /* 3. Button Targets */
    .btn-icon,
    .btn-primary {
        min-height: 44px;
        min-width: 44px;
        /* Easier to tap */
    }
}

/* --- OptionsTopo Website Styles --- */

/* Glassmorphism Utilities */
.glass-morphism {
    background: radial-gradient(circle at top left, #1a1a1a, #050505);
    background-attachment: fixed;
    /* Fix for website scrolling */
    overflow-y: auto !important;
    height: auto !important;
    display: block !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Typography Overrides */
h1.page-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

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

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.col-800 {
    max-width: 800px;
}

/* Website Navbar */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links .btn-login {
    padding: 8px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
}

.nav-links .btn-login:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.neon-text-pulse {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 227, 150, 0.3);
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
}

.glow-effect {
    box-shadow: 0 0 15px rgba(0, 143, 251, 0.4);
    transition: box-shadow 0.3s;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(0, 143, 251, 0.7);
}

/* Mascot Showcase */
.mascot-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.floating-mascot {
    width: 100%;
    max-width: 300px;
    /* Reduced to 300px for safety */
    height: auto;
    border-radius: 50%;
    /* Circle crop */
    animation: float 6s ease-in-out infinite;

    /* styling to make the white bg look like a badge/logo */
    background-color: white;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 40px rgba(0, 227, 150, 0.3);

    /* Ensure it doesn't overflow */
    display: block;
    margin: 0 auto;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-stat-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    animation: slideUp 1s ease-out;
}

.neon-green {
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Features */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Pricing */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

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

.featured-tier {
    border-color: var(--accent-secondary);
    transform: scale(1.05);
    z-index: 10;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 20px;
}

.tier-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.full-width {
    width: 100%;
}

/* Login */
.login-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 80px;
    margin-bottom: 1rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: white;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--accent-secondary);
    text-decoration: none;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 1.5rem;
}

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

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

/* Responsive Overrides */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }

    .nav-links {
        margin-top: 16px;
        gap: 16px;
        font-size: 0.9rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtext {
        margin: 0 auto 2rem;
    }

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

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

    .featured-tier {
        transform: none;
    }

    .neon-text-pulse {
        font-size: 2.5rem;
    }
}

/* --- Deep Overhaul Styles --- */

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 227, 150, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 227, 150, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-indicators {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.02), transparent);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.tracking-widest {
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

.logo-grid {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Floating Elements */
.top-right-float {
    top: 10%;
    right: -20px;
    animation: float 5s ease-in-out infinite 1s;
    /* 1s delay */
}

.bottom-left-float {
    bottom: 10%;
    left: -20px;
    right: auto;
    /* Override default right */
    animation: float 7s ease-in-out infinite;
}

/* Feature Icons */
.bg-dark-glass {
    background: rgba(0, 0, 0, 0.4);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
}

.mw-600 {
    max-width: 600px;
}

/* CTA Glow Border */
.cta-section .glow-border {
    position: relative;
    border: 1px solid rgba(0, 227, 150, 0.3);
    overflow: hidden;
}

.cta-section .glow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 227, 150, 0.1), transparent 70%);
    pointer-events: none;
}

/* --- Chat Widget Styles --- */
.chat-trigger-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.chat-trigger-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px var(--accent-primary);
    border-color: var(--accent-primary);
}

.chat-trigger-btn svg {
    color: var(--text-primary);
    transition: transform 0.3s;
}

.chat-trigger-btn:hover svg {
    transform: rotate(10deg);
    color: var(--accent-primary);
}

/* Ensure n8n widget is above everything */
.n8n-chat-widget {
    z-index: 9999 !important;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 1200px;
    margin: 0 auto;
    /* Center if screen allows */
    background: rgba(10, 10, 10, 0.85);
    /* Darker Glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    /* Vertical center */
    justify-content: space-between;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.cookie-text h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 700px;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-primary);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0 16px;
    height: 36px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

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

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        padding: 24px;
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* --- New Pricing Page Styles --- */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.billing-label {
    font-size: 16px;
    font-weight: 500;
}

.discount-badge {
    background: var(--accent-primary);
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 5px;
    text-transform: uppercase;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Card Updates */
.price-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    min-height: 20px;
    margin-bottom: 12px;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.tier-features li i {
    color: var(--accent-primary);
    width: 16px;
    height: 16px;
}/* Utility: Center block elements */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
