/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Styles - Simply Wall St Inspired */
.top-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1f2937;
}

.nav-brand a {
    cursor: pointer;
}

.brand-logo {
    font-size: 1.5rem;
}

.brand-text {
    color: #0066cc;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    position: relative;
    padding: 12px 20px;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
    min-height: 40px;
}

.nav-item:hover {
    color: #0066cc;
    background-color: #f3f4f6;
}

.dropdown-arrow {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f3f4f6;
    color: #0066cc;
}

.dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.hamburger-btn:hover {
    background-color: #f3f4f6;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #4b5563;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Side Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1002;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-brand {
    font-weight: 600;
    font-size: 1.25rem;
    color: #0066cc;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background-color: #f3f4f6;
}

.mobile-menu-content {
    padding: 20px 0;
}

.mobile-section {
    margin-bottom: 24px;
}

.mobile-section-title {
    padding: 0 20px 8px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-section a {
    display: block;
    padding: 12px 20px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-section a:hover {
    background-color: #f3f4f6;
    color: #0066cc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .nav-container {
        padding: 0 16px;
    }
}

/* Landing Page Styles */
.hero-section {
    background: #f8f9fa;
    color: #000000;
    padding: 60px 0;
    text-align: center;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cta-primary {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Problem/Solution Section */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.problem-card, .solution-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.problem-card {
    border-left: 4px solid #ff6b6b;
}

.solution-card {
    border-left: 4px solid #4ecdc4;
}

.problem-card h3, .solution-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.problem-card ul, .solution-card ul {
    list-style: none;
    padding: 0;
}

.problem-card li, .solution-card li {
    padding: 8px 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Technology Showcase */
.tech-showcase {
    background: white;
    padding: 60px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 60px 0;
    text-align: center;
}

.tech-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tech-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.tech-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-section {
    margin: 60px 0;
    text-align: center;
}

.comparison-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #2c3e50;
    color: white;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
}

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

.feature-col, .competitor-col, .stockiq-col {
    padding: 20px;
    text-align: left;
}

.competitor-col {
    background: #fff5f5;
    color: #e53e3e;
}

.stockiq-col {
    background: #f0fff4;
    color: #38a169;
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-primary.large, .cta-secondary.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.guarantee {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* Signup Page Styles */
.signup-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.signup-header {
    text-align: center;
    margin-bottom: 50px;
}

.signup-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 16px;
}

.signup-header p {
    font-size: 1.25rem;
    color: #6c757d;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #0066cc;
    transform: scale(1.05);
}

.plan-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 20px;
}

.period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

.popular {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.features li {
    padding: 8px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.plan-button {
    width: 100%;
    padding: 16px;
    border: 2px solid #e9ecef;
    background: white;
    color: #2c3e50;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: #f8f9fa;
}

.plan-button.primary {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.plan-button.primary:hover {
    background: #0052a3;
}

.signup-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.back-to-landing {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.back-to-landing:hover {
    background: #5a6268;
}

/* Mobile Responsive for Landing Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-header, .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .competitor-col, .stockiq-col {
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Market Overview Section - Top of Page */
.market-overview-top {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.indexes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.index-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s ease;
    min-height: 60px;
}

.index-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.index-info h3 {
    margin: 0 0 4px 0;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.index-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2px;
}

.index-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.index-change.positive {
    color: #22c55e;
}

.index-change.negative {
    color: #ef4444;
}

.index-chart {
    opacity: 0.8;
}

/* Search Section */
.search-section-main {
    background: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.search-section-main h1 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 600;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: #0066cc;
}

.search-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background: #0052a3;
}

@media (max-width: 768px) {
    .indexes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .index-card {
        padding: 8px;
        min-height: 50px;
    }
    
    .index-value {
        font-size: 1rem;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-section-main h1 {
        font-size: 2rem;
    }
}

/* Page Visibility Control */
.page-hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.header h1 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 10px;
    text-shadow: none;
}

.subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 0;
}

/* Main Content */
.main-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

/* Menu Section Card */
.menu-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

/* Option Sections Card */
.option-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease-in;
}

/* Menu Section */
.menu-section h2 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
}

.menu-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Menu Buttons */
.menu-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 20px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.menu-btn:hover {
    background: #f9fafb;
    border-color: #0066cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.option-number {
    font-weight: 600;
    color: #0066cc;
    min-width: 28px;
    font-size: 1.1rem;
}

.option-text {
    flex: 1;
    font-weight: 500;
    color: #1f2937;
}

/* Special Button Styles */
.report-btn {
    border-color: #dc3545;
}

.report-btn:hover {
    border-color: #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.batch-btn {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.batch-btn:hover {
    border-color: #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

/* Option Sections */
.option-section {
    animation: fadeIn 0.5s ease-in;
}

.option-section h2 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
}

/* Sub Options */
.sub-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sub-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #0066cc;
    color: #333333;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.sub-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Input Sections */
.input-section, .preset-section {
    background: rgba(248, 249, 250, 0.8);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-top: 20px;
}

.input-section h3, .preset-section h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.symbol-input {
    width: 100%;
    padding: 15px;
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    color: #333333;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 20px;
}

.symbol-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.3);
}

/* Preset Options */
.preset-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preset-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dc3545;
    color: #333333;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
}

.preset-btn:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Screener Options */
.screener-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.screener-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #0066cc;
    color: #333333;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1.1rem;
    text-align: center;
}

.screener-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Run Buttons */
.run-btn {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    border: none;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 15px;
}

.run-btn:hover {
    background: linear-gradient(135deg, #004499 0%, #003366 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.turbo-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.crypto-btn {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333333;
}

/* Results Section */
.results-section {
    margin-top: 30px;
    padding: 0;
    background: transparent;
    border: none;
}

.results-section h2 {
    color: #0066cc;
    margin-bottom: 20px;
    text-align: center;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #dee2e6;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Content */
.results-content {
    background: transparent;
    padding: 0 40px;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    white-space: pre-wrap;
    overflow-x: hidden;
    overflow-y: visible;
}

.results-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
    display: block;
}

.chart-container {
    text-align: center;
    margin: 20px 0;
    background: rgba(248, 249, 250, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.chart-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #0066cc;
    font-size: 1.1rem;
}

/* Back Button */
.back-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: 2px solid #6c757d;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 20px;
}

.back-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
    color: #666666;
}

/* Usage Counter */
.usage-counter {
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #0066cc;
    border-radius: 8px;
    color: #0066cc;
    font-weight: bold;
    display: inline-block;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        max-width: none;
        padding: 8px;
        margin: 0 auto;
        overflow-x: hidden;
        text-align: center;
    }
    
    .header {
        padding: 15px 0;
        margin-bottom: 15px;
    }
    
    .header h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 12px;
        border-radius: 8px;
        overflow-x: hidden;
    }
    
    .menu-btn {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .results-content {
        padding: 0;
        font-size: 0.85rem;
        overflow-x: hidden;
    }
    
    .results-content img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        max-width: none;
        padding: 10px;
        margin: 0 auto;
        overflow-x: hidden;
        text-align: center;
    }
    
    .header {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 15px;
        border-radius: 10px;
        overflow-x: hidden;
    }
    
    .sub-options {
        flex-direction: column;
    }
    
    .screener-options {
        grid-template-columns: 1fr;
    }
    
    .menu-btn {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .results-content {
        padding: 0;
        font-size: 0.9rem;
        overflow-x: hidden;
    }
    
    .results-content img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (min-width: 769px) {
    .menu-section {
        margin: 0 5%;
    }
    .option-section {
        margin: 0 5%;
    }
    .back-btn {
        margin-left: 5%;
        margin-right: 5%;
    }
    .results-section {
        margin: 0 5%;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 15px;
    }
}