/* QuantAim - Professional Investment Research Platform */
/* Light Blue + Dark + Green Theme */

:root {
    --primary-dark: #0f172a;
    --dark-blue: #1e293b;
    --dark-gray: #334155;
    --light-blue: #3b82f6;
    --light-blue-hover: #2563eb;
    --accent-green: #10b981;
    --accent-green-dark: #059669;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --red: #ef4444;
    --green: #10b981;
    --blue: #3b82f6;
}
/* Universal box sizing */
*, *::before, *::after { box-sizing: border-box; }

/* Prevent weird horizontal scroll borders on mobile */
html, body { width: 100%; overflow-x: hidden; }

/* Make media responsive */
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* Consistent container behavior */
.container,
.container-wide {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* If you use container-wide, keep it consistent */
.container { max-width: 1200px; }
.container-wide { max-width: 1200px; } /* IMPORTANT: same max-width if you want “even” */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--gray-200);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover {
    background-color: var(--gray-100);
    color: var(--light-blue);
}

.nav-links a.active {
    background-color: var(--light-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.chart-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--light-blue) 100%);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.chart-line-2 {
    bottom: 80px;
    opacity: 0.6;
    animation-delay: 0.5s;
}

.chart-line-3 {
    bottom: 140px;
    opacity: 0.4;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--light-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--light-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--light-blue);
}

.btn-secondary:hover {
    background-color: var(--light-blue);
    color: var(--white);
    border-color: var(--light-blue);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.feature-card.clickable {
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--black-500);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-gray) 100%);
    color: var(--white);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1),
                0 0 80px rgba(255, 255, 255, 0.05);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: whiteGlow 4s ease-in-out infinite;
}

@keyframes whiteGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.step:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2),
                0 0 60px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-green) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                0 0 40px rgba(59, 130, 246, 0.3);
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                    0 0 40px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                    0 0 60px rgba(59, 130, 246, 0.5);
    }
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Glowing Section Titles */
.how-it-works .section-title {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 40px rgba(255, 255, 255, 0.5),
                 0 0 60px rgba(255, 255, 255, 0.3);
    animation: titleWhiteGlow 3s ease-in-out infinite;
}

@keyframes titleWhiteGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 40px rgba(255, 255, 255, 0.5),
                     0 0 60px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 1),
                     0 0 60px rgba(255, 255, 255, 0.7),
                     0 0 90px rgba(255, 255, 255, 0.5);
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--light-blue);
}

.disclaimer {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    color: var(--gray-500);
}

/* Analyzer Page */
.analyzer-section,
.company-finder-section {
    padding: 60px 0;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.analyzer-input {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.ticker-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.ticker-input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.strategy-select {
    padding: 14px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
}

/* Loading Animation */
.loading-animation {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--light-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* Results Container */
.results-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stock Info Card */
.stock-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-ticker {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stock-name {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.stock-price {
    text-align: right;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.price-change {
    font-size: 1.1rem;
    font-weight: 600;
}

.price-change.positive {
    color: var(--green);
}

.price-change.negative {
    color: var(--red);
}

/* Chart Card */
.chart-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.chart-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.stock-chart {
    height: 300px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chartCanvas {
    max-width: 100%;
    max-height: 100%;
}

/* Data Card */
.data-card,
.ai-analysis-card,
.strategy-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.data-card h3,
.ai-analysis-card h3,
.strategy-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.data-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* AI Analysis Card */
.ai-header {
    margin-bottom: 1.5rem;
}

.recommendation-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.badge-label {
    font-weight: 600;
    color: var(--gray-500);
}

.badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.badge-buy {
    background-color: var(--green);
    color: var(--white);
}

.badge-hold {
    background-color: var(--blue);
    color: var(--white);
}

.badge-sell {
    background-color: var(--red);
    color: var(--white);
}

.analysis-section {
    margin-bottom: 2rem;
}

.analysis-section h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.analysis-text {
    color: var(--gray-500);
    line-height: 1.8;
}

.buy-zone {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-green);
}

.notes {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.analysis-metrics {
    margin-bottom: 2rem;
}

.metric {
    margin-bottom: 1rem;
}

.metric-label {
    display: block;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.confidence-bar {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--light-blue) 0%, var(--accent-green) 100%);
    transition: width 0.5s ease;
}

.metric-value {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Strategy Card */
.strategy-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.strategy-section h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.strategy-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.strategy-metric {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.strategy-text {
    color: var(--gray-500);
    line-height: 1.8;
}

/* Company Finder */
.strategy-selector {
    text-align: center;
    margin-bottom: 2rem;
}

.strategy-selector h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.strategy-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.strategy-btn {
    padding: 16px 32px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.strategy-btn:hover {
    border-color: var(--light-blue);
    transform: translateY(-1px);
}

.strategy-btn.active {
    background: var(--light-blue);
    border-color: var(--light-blue);
    color: var(--white);
}

.filters-bar {
    display: flex;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: var(--white);
    cursor: pointer;
}

/* Company Cards */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: transform 0.2s;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.company-header {
    margin-bottom: 1.5rem;
}

.company-ticker-section {
    margin-bottom: 0.5rem;
}

.company-ticker {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.company-name {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.company-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.company-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.company-badge.undervalued {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green-dark);
}

.company-badge.dividend {
    background: rgba(30, 144, 255, 0.2);
    color: var(--blue);
}

.company-badge.quality {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.company-badge.trending {
    background: rgba(255, 71, 87, 0.2);
    color: var(--red);
}

.company-badge.youtube,
.company-badge.emerging {
    background: rgba(100, 116, 139, 0.15);
    color: var(--gray-700);
}

.ai-score-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.score-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
}

.score-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--light-blue) 0%, var(--accent-green) 100%);
}

.company-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sparkline-container {
    margin-bottom: 1rem;
    height: 80px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 10px;
}

.sparkline-chart {
    width: 100% !important;
    height: 100% !important;
}

.company-reason {
    margin-bottom: 1rem;
}

.company-reason h4 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company-reason p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

.value-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.value-metric {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.ai-verdict {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--light-blue);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.positive {
    color: var(--green) !important;
}

.negative {
    color: var(--red) !important;
}

/* About Page */
.about-section {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.content-block h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-block p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item-about {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.feature-item-about h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item-about p {
    color: var(--gray-500);
}

.numbered-list,
.tech-list {
    padding-left: 1.5rem;
    color: var(--gray-500);
    line-height: 2;
}

.numbered-list li,
.tech-list li {
    margin-bottom: 0.75rem;
}

.disclaimer-block {
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid var(--red);
    padding: 2rem;
    border-radius: 12px;
}

.disclaimer-block h2 {
    color: var(--red);
    margin-bottom: 1rem;
}

.disclaimer-block p,
.disclaimer-block ul {
    color: var(--gray-700);
    line-height: 1.8;
}

.disclaimer-block ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-message {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.info-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Explore Page */
.explore-page {
    padding: 60px 0;
    background: var(--gray-100);
    min-height: 100vh;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.explore-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-700);
}

.tab-btn:hover {
    border-color: var(--light-blue);
    color: var(--light-blue);
}

.tab-btn.active {
    background: var(--light-blue);
    border-color: var(--light-blue);
    color: var(--white);
}

.market-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.overview-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.overview-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.overview-value.positive {
    color: var(--green);
}

.overview-value.status-open {
    color: var(--accent-green);
}

.overview-change,
.overview-time {
    font-size: 0.9rem;
}

.overview-change.positive {
    color: var(--green);
}

.overview-time {
    color: var(--gray-500);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.explore-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.explore-card:hover {
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.explore-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.explore-ticker {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.explore-name {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.explore-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.explore-badge.trending {
    background: rgba(255, 71, 87, 0.15);
    color: var(--red);
}

.explore-badge.momentum {
    background: rgba(30, 144, 255, 0.15);
    color: var(--blue);
}

.explore-badge.value {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green-dark);
}

.explore-badge.dividend {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.explore-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.explore-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.explore-change {
    font-size: 1.1rem;
    font-weight: 600;
}

.explore-chart-container {
    height: 80px;
    margin-bottom: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 10px;
}

.mini-chart {
    width: 100% !important;
    height: 100% !important;
}

.explore-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.explore-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.explore-metric span:first-child {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.explore-metric span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.btn-explore {
    width: 100%;
    padding: 10px;
    background: var(--light-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-explore:hover {
    background: var(--light-blue-hover);
    transform: translateY(-1px);
}

/* Insights Page */
.insights-page {
    padding: 60px 0;
    background: var(--gray-100);
    min-height: 100vh;
}

.insights-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.insight-card.large {
    grid-column: span 2;
}

.insight-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.sentiment-indicator {
    margin-bottom: 1.5rem;
}

.sentiment-meter {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.sentiment-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s;
}

.sentiment-fill.bullish {
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--light-blue) 100%);
}

.sentiment-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sentiment-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-green);
}

.sentiment-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.insight-text {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.insight-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.sector-list,
.trends-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sector-item {
    padding: 0.75rem 0;
}

.sector-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.sector-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.sector-change {
    font-weight: 600;
}

.sector-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.sector-progress {
    height: 100%;
    border-radius: 3px;
}

.sector-progress.positive {
    background: var(--green);
}

.sector-progress.negative {
    background: var(--red);
}

.trend-item {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.trend-item.hot {
    background: rgba(255, 71, 87, 0.05);
    border-left-color: var(--red);
}

.trend-item.emerging {
    background: rgba(30, 144, 255, 0.05);
    border-left-color: var(--blue);
}

.trend-item.watch {
    background: rgba(16, 185, 129, 0.05);
    border-left-color: var(--accent-green);
}

.trend-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.trend-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.trend-time {
    font-size: 0.75rem;
    color: var(--gray);
}

.trend-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.trend-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.trend-stocks {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.chart-container-insight {
    height: 250px;
    margin-bottom: 1rem;
}

.risk-indicators {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.risk-item {
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.risk-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.risk-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.risk-value.low {
    color: var(--green);
}

.risk-value.moderate {
    color: var(--blue);
}

.risk-value.high {
    color: var(--red);
}

.risk-status {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Insights List Styles */
.insights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.insight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insight-item:hover {
    background: var(--gray-200);
    transform: translateX(5px);
}

.insight-stock {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.insight-ticker {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.insight-name {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.insight-data {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.insight-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.insight-change {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Market Index Cards */
.market-index-card {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 8px;
    text-align: center;
}

.index-name {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.index-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.index-change {
    font-size: 1rem;
    font-weight: 600;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-item {
    padding: 1rem;
    border-radius: 8px;
    background: var(--gray-100);
}

.rec-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rec-type.value {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green-dark);
}

.rec-type.momentum {
    background: rgba(30, 144, 255, 0.15);
    color: var(--blue);
}

.rec-type.balanced {
    background: rgba(100, 116, 139, 0.15);
    color: var(--gray-700);
}

.rec-text {
    color: var(--gray-500);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .analyzer-input {
        flex-direction: column;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .strategy-buttons {
        flex-direction: column;
    }

    .explore-grid {
        grid-template-columns: 1fr;
    }

    .insights-dashboard {
        grid-template-columns: 1fr;
    }

    .insight-card.large {
        grid-column: span 1;
    }

    .insight-stats {
        grid-template-columns: 1fr;
    }
}

/* Hidden Gems Sections */
.hidden-gems-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-blue) 100%);
    position: relative;
}

.hidden-gems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.hidden-gems-section .section-title {
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.8),
                 0 0 40px rgba(16, 185, 129, 0.5),
                 0 0 60px rgba(16, 185, 129, 0.3);
    animation: gemTitleGlow 3s ease-in-out infinite;
    color: var(--white);
}

@keyframes gemTitleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.8),
                     0 0 40px rgba(16, 185, 129, 0.5),
                     0 0 60px rgba(16, 185, 129, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(16, 185, 129, 1),
                     0 0 60px rgba(16, 185, 129, 0.7),
                     0 0 90px rgba(16, 185, 129, 0.5);
    }
}

.section-subtitle {
    color: var(--gray-300);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.last-updated {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 8px;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.hidden-gems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.hidden-gem-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
                0 0 20px rgba(16, 185, 129, 0.3),
                0 0 40px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(16, 185, 129, 0.3);
    animation: gemGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hidden-gem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: gemPulse 4s ease-in-out infinite;
}

.hidden-gem-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(16, 185, 129, 0.5),
                0 0 60px rgba(16, 185, 129, 0.3);
    border-color: var(--accent-green);
}

@keyframes gemGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
                    0 0 20px rgba(16, 185, 129, 0.3),
                    0 0 40px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
                    0 0 30px rgba(16, 185, 129, 0.5),
                    0 0 60px rgba(16, 185, 129, 0.3);
    }
}

@keyframes gemPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.gem-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gem-badge {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discovery-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.gem-ticker-section {
    margin-bottom: 0.75rem;
}

.gem-ticker {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.gem-name {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.gem-price-section {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gem-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.gem-change {
    font-size: 1rem;
    font-weight: 600;
}

.gem-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.gem-metric {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.gem-metric span:first-child {
    color: var(--gray-500);
}

.gem-metric span:last-child {
    font-weight: 600;
    color: var(--primary-dark);
}

.gem-reason {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--light-blue);
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.gems-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Hidden Gems Page Styles */
.hidden-gems-page {
    padding: 3rem 0 4rem;
    background: var(--gray-100);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auto-update-banner {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--accent-green);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.pulse-indicator {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.last-scan {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Algorithm Explainer */
.algorithm-explainer {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.algorithm-explainer h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.algorithm-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.algo-step {
    text-align: center;
}

.algo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-green) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.algo-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.algo-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Gems Filter Bar */
.gems-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

/* Hidden Gems Detailed Grid */
.hidden-gems-detailed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hidden-gem-detailed-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                0 0 25px rgba(16, 185, 129, 0.3),
                0 0 50px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(16, 185, 129, 0.3);
    animation: gemGlow 3s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.hidden-gem-detailed-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hidden-gem-detailed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2),
                0 0 40px rgba(16, 185, 129, 0.5),
                0 0 80px rgba(16, 185, 129, 0.3);
    border-color: var(--accent-green);
}

.gem-card-header {
    margin-bottom: 1.5rem;
}

.gem-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.gem-ticker-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.gem-company-name {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-top: 0.25rem;
}

.gem-sector {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.gem-score-badge {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    min-width: 100px;
}

.gem-score-badge.elite {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    color: var(--white);
}

.gem-score-badge.strong {
    background: linear-gradient(135deg, var(--light-blue) 0%, #2563eb 100%);
    color: var(--white);
}

.score-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.score-number {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.gem-badges-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.catalyst-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.catalyst-badge.social {
    background: rgba(59, 130, 246, 0.1);
    color: var(--light-blue);
    border: 1px solid var(--light-blue);
}

.catalyst-badge.institutional {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.catalyst-badge.earnings {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid #8b5cf6;
}

.catalyst-badge.technical {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.gem-price-data {
    margin-bottom: 1.5rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-change-large {
    font-size: 1.2rem;
    font-weight: 600;
}

.price-details {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.gem-chart-mini {
    height: 120px;
    margin-bottom: 1.5rem;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 1rem;
}

.gem-ai-analysis {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 12px;
}

.gem-ai-analysis h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.gem-ai-analysis p {
    line-height: 1.7;
    color: var(--gray-700);
}

.gem-key-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.key-metric {
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    text-align: center;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.metric-value.positive {
    color: var(--accent-green);
}

.metric-value.warning {
    color: #f59e0b;
}

.gem-catalysts {
    margin-bottom: 1.5rem;
}

.gem-catalysts h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.gem-catalysts ul {
    list-style: none;
    padding: 0;
}

.gem-catalysts li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.gem-catalysts li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.gem-ai-verdict {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid var(--light-blue);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--gray-700);
}

/* Explore badge for hidden gems */
.explore-badge.hidden-gem {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Design for Hidden Gems */
@media (max-width: 768px) {
    .hidden-gems-grid {
        grid-template-columns: 1fr;
    }

    .algorithm-steps {
        grid-template-columns: 1fr;
    }

    .gems-filter-bar {
        flex-direction: column;
    }

    .gem-key-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .auto-update-banner {
        flex-direction: column;
        text-align: center;
    }
}


/* Analyzer Chart Enhancements */

/* Analyzer Chart Enhancements */
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.time-period-selector {
    display: flex;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.5rem;
    border-radius: 8px;
}

.period-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.period-btn:hover {
    background: var(--white);
    color: var(--light-blue);
}

.period-btn.active {
    background: var(--light-blue);
    color: var(--white);
}

.chart-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.stat-item-chart {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label-chart {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value-chart {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-value-chart.positive {
    color: var(--accent-green);
}

.stat-value-chart.negative {
    color: var(--red);
}

/* Stock Comparison Section */
.comparison-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.comparison-input-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.compare-ticker-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.compare-ticker-input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comparison-chart-section {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
}

.comparison-chart-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.comparison-chart-section canvas {
    max-height: 300px;
}

.comparison-table {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
}

.comparison-table h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
}

.metrics-table thead {
    background: var(--primary-dark);
    color: var(--white);
}

.metrics-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.metrics-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-300);
}

.metrics-table tbody tr:hover {
    background: var(--white);
}

.metrics-table tbody tr:last-child td {
    border-bottom: none;
}

.metrics-table td:first-child {
    font-weight: 600;
    color: var(--gray-700);
}

.comparison-verdict {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid var(--light-blue);
    border-radius: 8px;
}

.comparison-verdict h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.comparison-verdict p {
    line-height: 1.7;
    color: var(--gray-700);
}

/* Fix for clickable buttons over glowing effects */
.hidden-gem-card .btn,
.hidden-gem-detailed-card .btn {
    position: relative;
    z-index: 10;
}

.gem-reason,
.gem-metrics,
.gem-price-section,
.gem-ticker-section {
    position: relative;
    z-index: 5;
}
/* =========================
   MOBILE NAVBAR (LEFT DRAWER)
   ========================= */

/* Hamburger button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
  color: var(--gray-700);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

/* Desktop nav */
.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  align-items: center;
}

/* --- Mobile behavior --- */
@media (max-width: 900px) {
  /* Keep navbar layout stable */
  .navbar .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  /* Put hamburger on LEFT */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    order: 0;
  }

  /* Keep logo/brand next */
  .nav-brand {
    order: 1;
  }

  /* LEFT drawer menu */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;

    width: 280px;
    max-width: 85vw;
    height: 100vh;

    padding: 90px 16px 16px; /* space under sticky navbar */
    background: #ffffff;

    border-right: 1px solid var(--gray-200);
    border-radius: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    /* hidden off-canvas to the left */
    transform: translateX(-110%);
    transition: transform 0.25s ease;

    z-index: 9999;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
  }

  /* When open: slide in */
  .nav-links.is-open {
    transform: translateX(0);
  }

  /* Make links full-width, easier to tap */
  .nav-links a {
    width: 100%;
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
  }

  /* Optional: prevent body scrolling when menu is open
     Add/remove the class "nav-open" on <body> in your JS
  */
  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    z-index: 9999;
  }

  .nav-links.is-open {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }
}
/* ================================
   FIXES: Button text not showing
   + Missing --gray variable
   ================================ */

/* Missing variable used in footer/disclaimer */
:root {
  --gray: #94a3b8; /* fallback gray used across footer text */
}

/* Make sure buttons always show text */
.btn {
  color: inherit;
}

/* PRIMARY buttons always readable */
.btn-primary {
  color: var(--white) !important;
}

/* SECONDARY buttons should be readable on light backgrounds */
.btn-secondary {
  background: var(--white);
  color: var(--light-blue) !important;
  border: 2px solid var(--light-blue);
}

/* Secondary hover */
.btn-secondary:hover {
  background: var(--light-blue);
  color: var(--white) !important;
  border-color: var(--light-blue);
}

/* If secondary button is inside dark section (hero/footer), invert back */
.hero .btn-secondary,
.footer .btn-secondary,
.how-it-works .btn-secondary,
.hidden-gems-section .btn-secondary {
  background: transparent;
  color: var(--white) !important;
}

/* Better focus visibility */
.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
/* Account icon in navbar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}

.account-btn:hover {
  border-color: var(--light-blue);
  color: var(--light-blue);
  transform: translateY(-1px);
}

.account-menu {
  position: absolute;
  top: 70px;
  right: 16px;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 10px;
  z-index: 99999;
  display: none;
}

.account-menu.is-open {
  display: block;
}

.account-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
}

.account-menu a:hover {
  background: var(--gray-100);
  color: var(--light-blue);
}

.account-sep {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}

/* ===== Analyzing Overlay ===== */
.analyzing-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 70%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.analyzing-overlay.hidden {
  display: none;
}

.analyzing-center {
  text-align: center;
  position: relative;
}

/* Pulse ring */
.pulse-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(59,130,246,.4);
  animation: pulse 2s infinite;
  margin: 0 auto 20px;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

/* Chart animation */
.chart-anim {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.chart-anim span {
  width: 8px;
  height: 30px;
  background: linear-gradient(180deg,#3b82f6,#10b981);
  border-radius: 4px;
  animation: bars 1.2s infinite ease-in-out;
}

.chart-anim span:nth-child(2){animation-delay:.15s}
.chart-anim span:nth-child(3){animation-delay:.3s}
.chart-anim span:nth-child(4){animation-delay:.45s}

@keyframes bars {
  0%,100% { height: 16px; opacity:.5 }
  50% { height: 40px; opacity:1 }
}

#analyzingText {
  font-size: 15px;
  letter-spacing: .3px;
  opacity: .9;
}
/* ============================
   QUANTAIM ACADEMY ANIMATIONS
   Paste at END of style.css
   ============================ */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Page wrapper background glow */
.academy-page {
  position: relative;
  overflow: hidden;
}

/* Soft animated radial glow behind header/hero */
.academy-page::before {
  content: "";
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(circle at 20% 10%, rgba(59,130,246,0.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(16,185,129,0.14), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(59,130,246,0.10), transparent 45%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  animation: academyGlowShift 10s ease-in-out infinite;
}

@keyframes academyGlowShift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
  50% { transform: translate3d(0,-20px,0) scale(1.03); opacity: 1; }
}

/* Hero / Header block */
.academy-hero {
  position: relative;
  z-index: 1;
  padding: 70px 0 30px;
}

.academy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  color: var(--light-blue);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.academy-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-top: 14px;
  color: var(--primary-dark);
  letter-spacing: -0.6px;
}

/* Animated gradient underline */
.academy-title .u {
  background: linear-gradient(90deg, var(--light-blue), var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.academy-subtitle {
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 65ch;
}

/* subtle “shine” line */
.academy-divider {
  margin-top: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.35), rgba(16,185,129,0.35), transparent);
  position: relative;
  overflow: hidden;
}
.academy-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: academySweep 2.8s ease-in-out infinite;
}
@keyframes academySweep {
  0% { left: -35%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

/* Grid of lesson cards */
.academy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding: 26px 0 60px;
}

/* Lesson card base */
.lesson-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}

/* Gradient top border glow */
.lesson-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--light-blue), var(--accent-green));
  opacity: 0.7;
}

/* Shimmer effect on hover */
.lesson-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(59,130,246,0.10) 40%, rgba(16,185,129,0.08) 60%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  pointer-events: none;
}

.lesson-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.45);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}
.lesson-card:hover::after {
  transform: translateX(120%);
}

/* Card text */
.lesson-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.lesson-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* A small “chip” label */
.lesson-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* CTA button microinteraction (works with your .btn) */
.lesson-card .btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lesson-card .btn .arrow {
  transition: transform .18s ease;
}
.lesson-card .btn:hover .arrow {
  transform: translateX(3px);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper (optional) */
.reveal[data-delay] {
  transition-delay: var(--delay, 0ms);
}

/* Mobile spacing */
@media (max-width: 768px) {
  .academy-hero { padding: 50px 0 18px; }
  .academy-grid { padding: 18px 0 50px; }
}
.analyzing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analyzing-overlay.hidden {
  display: none;
}

.analyzing-center {
  text-align: center;
  color: #e5e7eb;
}

.pulse-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #60a5fa;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.chart-anim span {
  display: inline-block;
  width: 6px;
  height: 20px;
  background: #60a5fa;
  margin: 0 3px;
  animation: bars 1.2s infinite ease-in-out;
}

.chart-anim span:nth-child(2) { animation-delay: 0.1s; }
.chart-anim span:nth-child(3) { animation-delay: 0.2s; }
.chart-anim span:nth-child(4) { animation-delay: 0.3s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bars {
  0%, 100% { height: 8px; }
  50% { height: 28px; }
}
.company-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.company-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.company-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5f5;
  margin-bottom: 8px;
}

.company-card strong {
  color: #93c5fd;
}

.company-meta {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}
.company-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.company-card:hover {
  border-color: #334155;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.company-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
}

.signal-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.signal-high { background: #16a34a; color: #ecfdf5; }
.signal-medium { background: #f59e0b; color: #fffbeb; }
.signal-low { background: #64748b; color: #f8fafc; }

.company-body {
  margin-top: 14px;
  display: none;
}

.company-card.open .company-body {
  display: block;
}

.company-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5f5;
  margin-bottom: 10px;
}

.company-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 10px;
}
/* =========================
   FILTER CHIPS (PRO VERSION)
========================= */

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.05s ease;
}

.chip:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

/* ACTIVE / SELECTED STATE */
.chip.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* ACCESSIBILITY */
.chip:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}
.ticker-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  margin-top: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ticker-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.btn-primary {
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.45);
}
/* =========================
   Sector / Industry Chips – PRO UPGRADE
========================= */

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* Base chip */
.chip {
  appearance: none;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  color: #0f172a;

  padding: 12px 20px;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1px;

  cursor: pointer;
  user-select: none;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.08s ease;
}

/* Hover */
.chip:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

/* Active / Selected */
.chip.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: #1d4ed8;

  box-shadow:
    0 8px 28px rgba(37, 99, 235, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Keyboard focus (accessibility) */
.chip:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.35),
    0 8px 28px rgba(37, 99, 235, 0.35);
}
/* =========================
   FORCE OVERRIDE – Sector Chips
========================= */

#sectorChips .chip {
  appearance: none;
  background: #ffffff;
  border: 2px solid #d1d5db;
  color: #0f172a;

  padding: 14px 22px;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .08s ease;
}

#sectorChips .chip:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37,99,235,.2);
  transform: translateY(-1px);
}

#sectorChips .chip.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: #1d4ed8;

  box-shadow:
    0 10px 30px rgba(37,99,235,.45),
    inset 0 0 0 1px rgba(255,255,255,.15);
}
.hidden-gems-section {
  position: relative;
  padding: 100px 20px;
  background: radial-gradient(circle at 50% 30%, #0d1f2f, #0b1420);
  color: #fff;
  overflow: hidden;
}

.gems-hero {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: #a0b3c5;
}

.highlight {
  color: #10b981;
  font-weight: 600;
  transition: opacity .3s ease;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  font-size: 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Floating background animation */
.hidden-gems-section::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16,185,129,0.12), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: floatBg 8s ease-in-out infinite;
}

@keyframes floatBg {
  0% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(20px); }
  100% { transform: translateX(-50%) translateY(0px); }
}

.loading-state {
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  margin: 0 auto 20px;
  width: 45px;
  height: 45px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: #10b981;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,.3);
}
/* =====================================================
   QUANTAIM GLOBAL VISUAL UPGRADE (SAFE OVERRIDE LAYER)
   ===================================================== */

/* Smooth rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   GLOBAL CARD UPGRADE
================================ */
.feature-card,
.overview-card,
.explore-card,
.company-card,
.data-card,
.ai-analysis-card,
.strategy-card,
.chart-card,
.insight-card,
.hidden-gem-card {
  border-radius: 18px !important;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06) !important;
  transition: all 0.3s ease !important;
}

.feature-card:hover,
.explore-card:hover,
.company-card:hover,
.insight-card:hover,
.hidden-gem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12) !important;
}

/* ===============================
   SECTION SPACING CONSISTENCY
================================ */
section {
  position: relative;
  z-index: 1;
}

.features,
.how-it-works,
.cta-section,
.explore-page,
.hidden-gems-section {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

/* Remove unwanted white spacing */
.features + .how-it-works {
  margin-top: 0 !important;
}

/* ===============================
   BUTTON PREMIUM UPGRADE
================================ */
.btn-primary,
.btn-explore {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.25s ease !important;
}

.btn-primary:hover,
.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.45) !important;
}

/* ===============================
   EXPLORE PAGE PRO UPGRADE
================================ */

.explore-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(59,130,246,0.06), transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.explore-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  opacity: 0.7;
}

/* Upgrade tabs */
.tab-btn {
  border-radius: 999px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: all 0.25s ease !important;
}

.tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
  color: #000000 !important;
  box-shadow: 0 8px 25px rgba(37,99,235,0.35) !important;
}

/* ===============================
   HERO CINEMATIC POLISH
================================ */

.hero {
  background:
    radial-gradient(circle at 50% 20%, rgba(16,185,129,0.15), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-title {
  letter-spacing: -1px;
}

.hero-subtitle {
  opacity: 0.9;
}

/* ===============================
   HOW IT WORKS SOFTEN GLOW
================================ */

.how-it-works {
  box-shadow: none !important;
}

.step {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===============================
   HIDDEN GEMS PREMIUM GLOW
================================ */

.hidden-gem-card,
.hidden-gem-detailed-card {
  border-radius: 20px !important;
  border: 1px solid rgba(16,185,129,0.25) !important;
}

/* ===============================
   TYPOGRAPHY REFINEMENT
================================ */

h1, h2, h3 {
  letter-spacing: -0.4px;
}

.section-title {
  font-weight: 800 !important;
}

/* ===============================
   MOBILE SMOOTHNESS
================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .features,
  .how-it-works,
  .cta-section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
}
.explore-name,
.company-name {
  color: #111827 !important; /* deeper black */
  font-weight: 500;
}
/* =========================================
   EXPLORE PAGE – PRO TILE UPGRADE
========================================= */

.explore-card {
  position: relative;
  background: #ffffff;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

/* Soft gradient glow border */
.explore-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* Hover effect */
.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  border-color: transparent;
}

.explore-card:hover::before {
  opacity: 0.15;
}

/* Header layout */
.explore-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.explore-ticker {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.explore-name {
  font-size: 0.9rem;
  color: #0f172a;
  opacity: 0.7;
  margin-top: 3px;
}

/* Badge */
.explore-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Price Section */
.explore-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.explore-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
}

.explore-change {
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

/* Pulse animation on positive */
.explore-change.positive {
  color: #10b981;
  animation: pulseUp 1.5s infinite;
}

.explore-change.negative {
  color: #ef4444;
}

@keyframes pulseUp {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Chart container */
.explore-chart-container {
  height: 90px;
  margin-bottom: 16px;
  background: linear-gradient(180deg,#f8fafc,#f1f5f9);
  border-radius: 10px;
  padding: 8px;
}

/* Metrics */
.explore-metrics {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.explore-metric span:first-child {
  font-size: 0.75rem;
  color: #64748b;
}

.explore-metric span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

/* Analyze Button */
.btn-explore {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,99,235,.35);
}
/* =====================================================
   EXPLORE PAGE – FINTECH PRO UPGRADE
   ===================================================== */

/* ===== Animated Gradient Background ===== */
.explore-page {
  background: linear-gradient(120deg, #f8fafc, #eef2f7, #f1f5f9);
  background-size: 200% 200%;
  animation: exploreBgMove 18s ease infinite;
}

@keyframes exploreBgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ===== Live Market Ticker Ribbon ===== */
.market-ticker {
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  color: #cbd5e1;
  padding: 10px 0;
  font-size: 13px;
  white-space: nowrap;
}

.market-ticker-inner {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll 25s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}


/* ===== Glass Market Overview ===== */
.market-overview {
  backdrop-filter: blur(12px);
}

.overview-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.05);
  transition: all .25s ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}


/* ===== Premium Explore Cards ===== */
.explore-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 35px rgba(15,23,42,0.06);
  transition: all .3s ease;
  overflow: hidden;
}

/* animated border glow */
.explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(59,130,246,0.4), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
}

.explore-card:hover::before {
  opacity: 1;
}

.explore-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(15,23,42,0.12);
}


/* ===== Darker Company Name ===== */
.explore-name {
  color: #0f172a !important;
  font-weight: 500;
  opacity: .85;
}


/* ===== AI Score Glow Badge ===== */
.ai-score-glow {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(135deg,#2563eb,#10b981);
  color: white;
  box-shadow: 0 0 15px rgba(59,130,246,.4);
  animation: aiGlow 2.5s ease-in-out infinite;
}

@keyframes aiGlow {
  0%,100% { box-shadow: 0 0 12px rgba(59,130,246,.4); }
  50% { box-shadow: 0 0 25px rgba(16,185,129,.6); }
}


/* ===== Animated Stat Counters ===== */
.stat-value {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(90deg,#2563eb,#10b981);
  -webkit-background-clip: text;
  color: transparent;
}


/* ===== Subtle Card Fade In ===== */
.explore-card {
  opacity: 0;
  transform: translateY(20px);
  animation: exploreFadeIn .6s ease forwards;
}

@keyframes exploreFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Micro-interactions ===== */
.btn-explore {
  border-radius: 12px;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,.35);
}


/* ===== Premium Tabs ===== */
.tab-btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: all .2s ease;
}

.tab-btn.active {
  box-shadow: 0 10px 30px rgba(37,99,235,.25);
}
/* =====================================================
   EXPLORE PAGE – FINTECH PRO UPGRADE
   ===================================================== */

/* ===== Animated Gradient Background ===== */
.explore-page {
  background: linear-gradient(120deg, #f8fafc, #eef2f7, #f1f5f9);
  background-size: 200% 200%;
  animation: exploreBgMove 18s ease infinite;
}

@keyframes exploreBgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ===== Live Market Ticker Ribbon ===== */
.market-ticker {
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  color: #cbd5e1;
  padding: 10px 0;
  font-size: 13px;
  white-space: nowrap;
}

.market-ticker-inner {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll 25s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}


/* ===== Glass Market Overview ===== */
.market-overview {
  backdrop-filter: blur(12px);
}

.overview-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.05);
  transition: all .25s ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}


/* ===== Premium Explore Cards ===== */
.explore-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 35px rgba(15,23,42,0.06);
  transition: all .3s ease;
  overflow: hidden;
}

/* animated border glow */
.explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(59,130,246,0.4), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
}

.explore-card:hover::before {
  opacity: 1;
}

.explore-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(15,23,42,0.12);
}


/* ===== Darker Company Name ===== */
.explore-name {
  color: #0f172a !important;
  font-weight: 500;
  opacity: .85;
}


/* ===== AI Score Glow Badge ===== */
.ai-score-glow {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(135deg,#2563eb,#10b981);
  color: white;
  box-shadow: 0 0 15px rgba(59,130,246,.4);
  animation: aiGlow 2.5s ease-in-out infinite;
}

@keyframes aiGlow {
  0%,100% { box-shadow: 0 0 12px rgba(59,130,246,.4); }
  50% { box-shadow: 0 0 25px rgba(16,185,129,.6); }
}


/* ===== Animated Stat Counters ===== */
.stat-value {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(90deg,#2563eb,#10b981);
  -webkit-background-clip: text;
  color: transparent;
}


/* ===== Subtle Card Fade In ===== */
.explore-card {
  opacity: 0;
  transform: translateY(20px);
  animation: exploreFadeIn .6s ease forwards;
}

@keyframes exploreFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Micro-interactions ===== */
.btn-explore {
  border-radius: 12px;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,.35);
}


/* ===== Premium Tabs ===== */
.tab-btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: all .2s ease;
}

.tab-btn.active {
  box-shadow: 0 10px 30px rgba(37,99,235,.25);
}
/* ===============================
   PROFESSIONAL HERO
================================ */

.hero-pro{
  position:relative;
  overflow:hidden;
  background: linear-gradient(135deg,#0b1623,#0f2a3d);
  padding:120px 20px;
  color:#fff;
}

#heroCanvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}

.hero-container{
  position:relative;
  z-index:2;
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  flex-wrap:wrap;
}

.hero-left{
  flex:1;
  min-width:300px;
}

.hero-title{
  font-size:clamp(36px,5vw,60px);
  font-weight:800;
  line-height:1.1;
  margin-bottom:20px;
}

.hero-subtitle{
  font-size:18px;
  color:rgba(220,235,255,.75);
  max-width:520px;
  margin-bottom:35px;
  line-height:1.6;
}

/* ===== Buttons ===== */

.hero-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.hero-btn{
  padding:16px 26px;
  border-radius:14px;
  font-weight:600;
  text-decoration:none;
  transition:all .25s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.hero-btn.primary{
  background:linear-gradient(135deg,#2563eb,#1e40af);
  box-shadow:0 12px 40px rgba(37,99,235,.35);
  color:#fff;
}

.hero-btn.primary:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 60px rgba(37,99,235,.5);
}

.hero-btn.ghost{
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.04);
  color:#fff;
}

.hero-btn.ghost:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-3px);
}

/* ===== Right Card ===== */

.hero-right{
  flex:1;
  display:flex;
  justify-content:center;
}

.hero-card{
  width:380px;
  height:220px;
  border-radius:24px;
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.12);
  padding:40px;
}

.hero-card .line{
  height:3px;
  background:linear-gradient(90deg,#10b981,#2563eb);
  margin-bottom:30px;
  opacity:.7;
}

.hero-card .line.strong{
  height:6px;
  opacity:1;
}

/* Mobile */
@media(max-width:900px){
  .hero-container{
    flex-direction:column;
    text-align:center;
  }
  .hero-buttons{
    justify-content:center;
  }
}
