/* ---------------------------------- THEMES VARIABLES ---------------------------------- */

/* Default (Dark) Theme */
:root, .dark-theme {
    --bg-main: #121212;
    --bg-secondary: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-border: #333;
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-input-border: rgba(255, 255, 255, 0.2);
    --bg-live-badge: rgba(255, 255, 255, 0.1);
    
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #c8c8c8;
    --text-link: #a0a0a0;
    --text-link-hover: #f0f0f0;
    --text-dashboard-btn: #f0f0f0;
    --text-button: #000;
    --text-button-hover: #fff;
    --text-placeholder: #a0a0a0;

    --brand-primary: #FAA533;
    --brand-primary-hover: #FAA533;

    --grid-color-dark: rgba(255, 255, 255, 0.08);
    --grid-color-light: rgba(0, 0, 0, 0.05);
}

/* Light Theme */
.light-theme {
    --bg-main: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-border: #e0e0e0;
    --bg-input: rgba(0, 0, 0, 0.03);
    --bg-input-border: rgba(0, 0, 0, 0.1);
    --bg-live-badge: rgba(0, 0, 0, 0.1);

    --text-primary: #212529;
    --text-secondary: #666666;
    --text-muted: #19191a;
    --text-link: #666666;
    --text-link-hover: #000000;
    --text-dashboard-btn: #f0f0f0;
    --text-button: #fff;
    --text-button-hover: #333;
    --text-placeholder: #6c757d;

    --brand-primary: #FAA533;
    --brand-primary-hover: #FAA533;
}

/* ---------------------------------- BASE STYLES ---------------------------------- */

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, var(--grid-color-dark) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color-dark) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.light-theme::before {
    background-image:
        linear-gradient(to right, var(--grid-color-light) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color-light) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ---------------------------------- COMPONENTS ---------------------------------- */

.navbar {
    background-color: transparent !important;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.navbar-toggler {
    background-color: transparent;
    border: none;
    color: var(--text-primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-link) !important;
    font-weight: 500;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-link-hover) !important;
}

.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
}

.dropdown-item {
    color: var(--text-link);
}

.dropdown-item:hover {
    background-color: var(--bg-card-border);
    color: var(--text-link-hover);
}

.dashboard-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    color: var(--text-primary);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.main-content {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-badge {
    background-color: var(--bg-live-badge) !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border: 1px solid var(--bg-live-badge);
    display: inline-flex;
    align-items: center;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 102, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
    }
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.main-heading {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.main-heading .text-warning {
    color: var(--brand-primary) !important;
}

.lead {
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.get-started-btn {
    background-color: var(--text-primary) !important;
    color: var(--text-button) !important;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.get-started-btn:hover {
    background-color: var(--text-button-hover) !important;
    transform: translateY(-2px);
}

.get-started-btn i {
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.get-started-btn:hover i {
    margin-left: 15px;
}

@media (min-width: 992px) {
    .dashboard-btn {
        margin-left: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-card);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

/* ---------------------------------- SECTIONS ---------------------------------- */

/* Workflow Section Styling (Timeline) */
.timeline-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
}

.timeline-section h2 {
    color: var(--text-primary);
}

.timeline-container {
    position: relative;
    padding-left: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background-color: var(--bg-card-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    left: -60px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    background-color: var(--bg-main);
    z-index: 1;
    box-shadow: 0 0 0 5px var(--bg-main);
}

.timeline-content {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--bg-card-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Features Section Styling */
.features-section {
    background-color: var(--bg-main);
    padding: 100px 0;
}

.features-section h2 {
    color: var(--text-primary);
}

.features-section .lead {
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-section .badge.bg-warning {
    background-color: var(--brand-primary) !important;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    text-align: left;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
}

.feature-icon-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    color: var(--brand-primary);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p.text-muted {
    color: var(--text-muted) !important;
    font-size: 0.95rem;
}

/* Waiting List Section Styling */
.waiting-list-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
}

.waiting-list-heading {
    color: var(--text-primary);
    margin-bottom: 60px;
    font-size: 3.5rem;
}

.waiting-list-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.waiting-list-card h3 {
    color: var(--text-primary);
}

.waiting-list-card p.text-muted {
    color: var(--text-secondary) !important;
}

.waiting-list-input {
    background-color: var(--bg-input);
    border: 1px solid var(--bg-input-border);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
}

.waiting-list-input::placeholder {
    color: var(--text-placeholder);
}

.waiting-list-input:focus {
    background-color: var(--bg-input);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
    color: var(--text-primary);
}

.waiting-list-btn {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.waiting-list-btn:hover {
    background-color: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
}

.avatar-group {
    display: flex;
    margin-right: 10px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    margin-left: -8px;
    transition: border-color 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
}

.waiting-list-card .small {
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .waiting-list-btn {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .waiting-list-heading {
        font-size: 2.5rem;
    }
}


/* Dark theme styles for the lead and small text */
.dark-theme .lead.text-muted {
    color: var(--text-secondary) !important;
}

/* Light theme styles for the lead and small text */
.light-theme .lead.text-muted {
    color: var(--text-secondary) !important;
}

/* Dark theme styles for the small text */
.dark-theme .waiting-list-card .small {
    color: #ffffff !important;
}

/* Light theme styles for the small text */
.light-theme .waiting-list-card .small {
    color: #262525 !important;
}

.dark-theme .modal-title {
    color: #353232 !important;
}

/* Light theme styles for the small text */
.light-theme .modal-title {
    color: #353232 !important;
}


/* Footer Section Styling */
.footer-section {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

.light-theme .footer-section {
    background-color: var(--bg-secondary);
}

.footer-divider {
    width: 60px;
    height: 3px;
    background-color: var(--brand-primary);
    border-radius: 2px;
}

.footer-brand {
    display: flex;
    align-items: center;
    color: var(--text-primary) !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-text {
    font-size: 0.9rem;
    max-width: 250px;
}

.social-icons-group .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-card-border);
    color: var(--text-primary) !important;
    border-radius: 8px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.light-theme .social-icons-group .social-icon {
    background-color: var(--bg-card-border);
    color: var(--text-primary) !important;
}

.social-icons-group .social-icon:hover {
    background-color: var(--brand-primary);
    color: #fff !important;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-link-hover);
}

.footer-copyright {
    border-top: 1px solid var(--bg-card-border);
}

.footer-copyright p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}