
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy-50: #f0f4f8;
    --navy-100: #d6e4ed;
    --navy-200: #b8d4e3;
    --navy-300: #94bfd6;
    --navy-400: #73a5c6;
    --navy-500: #5a8bb0;
    --navy-600: #4a7196;
    --navy-700: #3d5a7c;
    --navy-800: #324862;
    --navy-900: #1e2a38;
    
    --gold-50: #fefbf3;
    --gold-100: #fdf6e3;
    --gold-200: #faecc2;
    --gold-300: #f7e097;
    --gold-400: #f2d06b;
    --gold-500: #edbf47;
    --gold-600: #d4a135;
    --gold-700: #b8862c;
    --gold-800: #9a6e26;
    --gold-900: #7d5621;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --green-100: #dcfce7;
    --green-600: #16a34a;
    
    --red-600: #dc2626;
    
    /* Fonts */
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--navy-600);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: -0.25rem;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--navy-600);
}

.search-container {
    display: none;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--gray-400);
}

.search-input {
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    width: 12rem;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--gray-600);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-search {
    position: relative;
    margin-bottom: 1rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    color: var(--navy-600);
    background-color: var(--gray-50);
}

/* Hero Section */
.hero {
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: var(--gold-600);
    display: block;
}

.hero-highlight img {
    width: 400px;
}

@media (max-width: 800px) {
    .hero-highlight img {
    width: 250px;
}
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon.gold {
    background-color: var(--gold-100);
    color: var(--gold-600);
}

.feature-icon.navy {
    background-color: var(--navy-100);
    color: var(--navy-600);
}

.feature-icon.green {
    background-color: var(--green-100);
    color: var(--green-600);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Content Section */
.content-section {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.sidebar {
    order: 1;
}

.main-content {
    order: 2;
}

/* Price Widget */
.price-widget {
    background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
    border: 1px solid var(--gold-200);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
}

.widget-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold-600);
}

.widget-stats {
    text-align: right;
}

.success-rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
}

.success-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-600);
}

.success-label svg {
    width: 1rem;
    height: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    font-size: 0.875rem;
}

.stat-label {
    color: var(--gray-600);
}

.stat-value {
    font-weight: 600;
    color: var(--navy-800);
}

.featured-asset {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.asset-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.asset-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.asset-name {
    font-weight: 600;
    color: var(--navy-800);
}

.asset-return {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--green-600);
}

/* Newsletter Widget */
.newsletter-widget {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 1rem;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.newsletter-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.newsletter-btn {
    width: 100%;
    background-color: var(--gold-500);
    color: var(--navy-900);
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-btn:hover {
    background-color: var(--gold-600);
}

/* Section Headers */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--navy-900);
}

.view-all-btn {
    background: none;
    border: 1px solid var(--gold-300);
    color: var(--gold-700);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    align-self: flex-start;
}

.view-all-btn:hover {
    background-color: var(--gold-50);
}

/* Articles */
.articles-grid, .news-grid {
    display: grid;
    gap: 1.5rem;
}

.article-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-left: 4px solid transparent;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.article-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left-color: var(--navy-300);
}

.article-card.featured {
    border-left-color: var(--gold-500);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.article-category {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid;
    font-weight: 500;
}

.category-bullex {
    background-color: var(--gold-100);
    color: var(--gold-800);
    border-color: var(--gold-200);
}

.category-regulation {
    background-color: #f3e8ff;
    color: #7c3aed;
    border-color: #e9d5ff;
}

.category-analysis {
    background-color: #dbeafe;
    color: #2563eb;
    border-color: #bfdbfe;
}

.category-education {
    background-color: var(--green-100);
    color: var(--green-600);
    border-color: #bbf7d0;
}

.category-crypto {
    background-color: #fed7aa;
    color: #ea580c;
    border-color: #fdba74;
}

.trend-icon {
    width: 1rem;
    height: 1rem;
}

.trend-up {
    color: var(--green-600);
}

.trend-down {
    color: var(--red-600);
}

.article-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title:hover {
    color: var(--navy-600);
}

.article-excerpt {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.article-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.meta-item svg {
    width: 1rem;
    height: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--navy-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--navy-800);
}

/* Separator */
.separator {
    height: 1px;
    background-color: var(--gray-200);
    margin: 3rem 0;
}

/* Market News */
.market-news {
    padding: 2rem 0;
}

.news-grid {
    grid-template-columns: 1fr;
}

/* Footer */
.footer {
    background-color: var(--navy-900);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--gold-400);
}

.footer-logo-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-subtitle {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.footer-description {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    max-width: 28rem;
}

.footer-newsletter .newsletter-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-newsletter .newsletter-description {
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input {
    background-color: var(--navy-800);
    border: 1px solid var(--navy-700);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: var(--gray-400);
}

.newsletter-submit {
    background-color: var(--gold-500);
    color: var(--navy-900);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.newsletter-submit:hover {
    background-color: var(--gold-600);
}

.newsletter-submit svg {
    width: 1rem;
    height: 1rem;
}

.footer-links-title, .footer-info-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links-list, .footer-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-list a, .footer-info-list a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-list a:hover, .footer-info-list a:hover {
    color: var(--gold-400);
}

.footer-info-list svg {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--navy-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.warning {
    color: var(--gold-400);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-input {
        flex: 1;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid .feature:last-child {
        grid-column: span 1;
    }
    
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .view-all-btn {
        align-self: auto;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .search-container {
        display: block;
    }
    
    .content-grid {
        grid-template-columns: 1fr 3fr;
        gap: 2rem;
    }
    
    .sidebar {
        order: 1;
        position: sticky;
        top: 6rem;
        height: fit-content;
    }
    
    .main-content {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1280px) {
    .search-input {
        width: 16rem;
    }
}
