/* Shared Styles for Finance Gateway Section Pages */
/* This file contains common styles used across all section pages */

/* ============================================ */
/* UNIVERSAL RESET */
/* ============================================ */

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

/* ============================================ */
/* BODY AND LAYOUT */
/* ============================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0b0d;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================ */
/* NAVIGATION BAR */
/* ============================================ */

.navbar {
    background: #000;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.navbar-menu li {
    margin: 0;
}

.navbar-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 8px 0;
    white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: #00ffff;
    border-bottom: 2px solid #00ffff;
}

/* Dropdown Styles */
.navbar-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1d21;
    border: 1px solid #2d3138;
    border-radius: 8px;
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 12px 16px;
}

.navbar-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 600;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2d3138;
    margin-bottom: 8px;
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
}

.dropdown-item:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border: none;
}

.dropdown-item.published {
    color: white;
}

.dropdown-item.published::after {
    content: '✓';
    float: right;
    color: #00ffff;
    font-weight: bold;
}

.dropdown-item.coming-soon {
    color: #666;
    font-style: italic;
}

.dropdown-item.coming-soon::after {
    content: 'Soon';
    float: right;
    font-size: 11px;
    color: #666;
}

/* Beta dropdown items - orange glow */
.dropdown-item.beta {
    color: #a0a0a0;
}

.dropdown-item.beta:hover {
    background: rgba(255, 149, 0, 0.15) !important;
    color: #ff9500 !important;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
    border-bottom: 1px solid #ff9500;
}

.dropdown-item.beta::after {
    content: '';
    float: right;
    width: 14px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200"><g transform="translate(100, 100)"><rect x="-30" y="-75" width="60" height="12" rx="6" fill="%23ff9500"/><rect x="-22" y="-63" width="44" height="45" fill="%23ff9500"/><path d="M -22 -18 L -55 45 Q -58 55 -50 60 L 50 60 Q 58 55 55 45 L 22 -18 Z" fill="%23ff9500"/></g></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.navbar-cta {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.navbar-cta:hover {
    background: #0056b3;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* ============================================ */
/* HEADER SECTION */
/* ============================================ */

.header {
    background: linear-gradient(135deg, #1a1d21 0%, #0f1419 100%);
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: #00ffff;
    background: linear-gradient(135deg, #00ffff, #00cccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* ============================================ */
/* MAIN CONTENT */
/* ============================================ */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ============================================ */
/* COMING SOON SECTION */
/* ============================================ */

.coming-soon-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1d21 0%, #0f1419 100%);
    border-radius: 16px;
    margin: 40px 0;
}

.coming-soon-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #00ffff;
}

.coming-soon-text {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */

.simple-footer {
    background: #0a0b0d;
    border-top: 1px solid #2d3138;
    padding: 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-text {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-link {
    color: #00ffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ============================================ */
/* MOBILE RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-top: 1px solid #333;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #333;
    }

    .navbar-menu li:last-child {
        border-bottom: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-cta {
        margin-top: 20px;
        display: inline-block;
    }

    /* Hide dropdowns on mobile */
    .dropdown-menu {
        display: none;
    }

    .header {
        padding: 30px 20px 50px;
    }

    .main-content {
        padding: 40px 20px;
    }

    .simple-footer {
        padding: 15px;
        margin-top: 40px;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-link {
        margin: 0;
        display: block;
        padding: 5px 0;
    }

    .coming-soon-section {
        padding: 60px 20px;
    }

    .coming-soon-title {
        font-size: 1.5rem;
    }

    .coming-soon-text {
        font-size: 1rem;
    }
}