
/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bullex-blue: #002366;
    --bullex-blue-light: #1e3a8a;
    --bullex-gold: #FFD700;
    --bullex-gold-light: #FFF59D;
    --bullex-gray: #64748b;
    --bullex-gray-light: #f1f5f9;
    --white: #ffffff;
    --black: #000000;
    --text-gray: #374151;
    --border-gray: #e5e7eb;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--bullex-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--bullex-blue-light);
}

.btn-gold {
    background-color: var(--bullex-gold);
    color: var(--bullex-blue);
    font-weight: bold;
}

.btn-gold:hover {
    background-color: var(--bullex-gold-light);
}

.btn-ghost {
    background-color: transparent;
    color: var(--bullex-blue);
}

.btn-ghost:hover {
    background-color: var(--bullex-gray-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-gray);
    border: 2px solid var(--border-gray);
}

.btn-outline:hover {
    background-color: var(--bullex-gray-light);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--bullex-blue);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--bullex-blue);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--bullex-blue);
}

.desktop-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-gray);
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--border-gray);
    padding: 1rem 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-nav a {
    padding: 0.75rem;
    color: var(--text-gray);
    text-decoration: none;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

/* Market Ticker */
.market-ticker {
    background-color: var(--bullex-blue);
    color: var(--white);
    padding: 0.5rem 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
}

.ticker-symbol {
    font-weight: 600;
}

.ticker-price.positive {
    color: #10b981;
}

.ticker-price.negative {
    color: #ef4444;
}

.ticker-change.positive {
    color: #10b981;
}

.ticker-change.negative {
    color: #ef4444;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bullex-blue), var(--bullex-blue-light));
    color: var(--white);
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--bullex-gold);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cards {
    display: grid;
    gap: 1.5rem;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-header svg {
    color: var(--bullex-gold);
}

.card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.hero-card p {
    opacity: 0.9;
}

/* News Section */
.news-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: var(--bullex-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--bullex-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    background-color: var(--bullex-gray-light);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    background-color: var(--bullex-gold);
    color: var(--bullex-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.news-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--bullex-blue);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--bullex-gray);
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--bullex-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bullex-blue), var(--bullex-blue-light));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--bullex-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--bullex-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav,
    .desktop-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.show {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .news-section {
        padding: 3rem 0;
    }

    .cta-section {
        padding: 3rem 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-cards {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--bullex-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bullex-blue-light);
}
