/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h2 {
    color: #2563eb;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-buttons .btn-outline {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 500;
}

.nav-buttons .btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    padding: 4rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-cta input {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    max-width: 400px;
}

.hero-note {
    font-size: 0.875rem;
    color: #94a3b8;
}

.hero-image {
    flex: 1;
}

.terminal-placeholder {
    background-color: #1e293b;
    border-radius: 8px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-family: monospace;
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
    max-width: fit-content;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-google {
    background-color: #fff;
    border: 1px solid #cbd5e1;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #94a3b8;
}

.divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
    color: #94a3b8;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}

.divider span {
    background-color: white;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background-color: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.problem-desc {
    color: #64748b;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.solution-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.solution-image-placeholder {
    background-color: #dbeafe;
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.solution-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.solution-desc {
    color: #64748b;
}

.solution-desc ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.solution-desc li {
    margin-bottom: 0.5rem;
}

/* Social Proof */
.social-proof {
    padding: 5rem 0;
    background-color: white;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial {
    background-color: #f1f5f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #334155;
}

.testimonial-author {
    text-align: right;
    color: #64748b;
}

.tech-logos {
    text-align: center;
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.tech-logos p {
    margin: 1rem 0;
    color: #64748b;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.final-cta .section-title {
    color: white;
}

.final-cta-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.final-cta .hero-cta {
    align-items: center;
}

.final-cta input {
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #1e293b;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: white;
    margin: 0 5px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
}

.contact-email {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.contact-email a {
    color: #60a5fa;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close:hover {
    color: black;
}

.modal-content h2 {
    margin-top: 0;
    color: #1e293b;
}

.modal-content p {
    margin: 1rem 0;
    color: #64748b;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
}

/* Authentication Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
}

.tab-btn.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Weight Modal */
.weight-modal {
    max-width: 600px;
}

.weight-control {
    margin-bottom: 1.5rem;
}

.weight-control label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.weight-control input {
    width: 100%;
}

.weight-control span {
    float: right;
    font-weight: 500;
}

.total-weight {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.total-weight .error {
    color: #ef4444;
}

/* Tables */
.ranking-table-container,
.results-table-container {
    overflow-x: auto;
}

.ranking-table,
.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ranking-table th,
.results-table th {
    background-color: #f1f5f9;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
}

.ranking-table td,
.results-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.ranking-table tr:hover,
.results-table tr:hover {
    background-color: #f8fafc;
}

.ranking-table th:hover {
    cursor: pointer;
    background-color: #e2e8f0;
}

/* Screener */
.screener-container {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filters-panel {
    flex: 1;
    padding: 1.5rem;
    border-right: 1px solid #e2e8f0;
}

.results-panel {
    flex: 3;
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.filter-group select,
.filter-group input[type="range"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Stock Detail Page */
.stock-header {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.stock-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.stock-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
}

.summary-item .label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.summary-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
}

.reports-section h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.reports-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.report-date {
    color: #64748b;
    font-size: 0.9rem;
}

.report-rating {
    background-color: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.report-rating.HOLD {
    background-color: #f59e0b;
}

.report-rating.SELL {
    background-color: #ef4444;
}

.report-scores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.score-item {
    display: flex;
    justify-content: space-between;
}

.score-item .label {
    color: #64748b;
}

.score-item .value {
    font-weight: 600;
    color: #1e293b;
}

/* Full Report Page */
.full-report .report-header {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.report-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.report-section {
    margin-bottom: 2rem;
}

.report-section h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.report-section p {
    color: #334155;
    line-height: 1.7;
}

.report-section ul {
    padding-left: 1.5rem;
    color: #334155;
}

.report-section li {
    margin-bottom: 0.5rem;
}

.overall-score {
    background-color: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.overall-score h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.radar-chart-placeholder {
    background-color: #dbeafe;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #2563eb;
    font-weight: 500;
}

.report-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-button {
    margin-bottom: 1.5rem;
}

/* Pricing Page */
.pricing-section {
    padding: 5rem 0;
    background-color: white;
}

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

.pricing-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px solid #e2e8f0;
    position: relative;
}

.pricing-card.featured {
    border-color: #2563eb;
    transform: translateY(-10px);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2563eb;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #64748b;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.pricing-card li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-card .btn-primary {
    width: 100%;
}

.future-features {
    background-color: #f1f5f9;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.future-features h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card h4 {
    margin: 1rem 0 0.5rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Feedback and Refund Modals */
.rating-control {
    margin-bottom: 1.5rem;
}

.rating-control label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stars {
    font-size: 2rem;
    color: #cbd5e1;
    cursor: pointer;
}

.stars .star:hover,
.stars .star.active {
    color: #f59e0b;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-group input {
    margin-right: 0.5rem;
}

/* My Account Page */
.account-section {
    padding: 2rem 0;
}

.account-header {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.account-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.account-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
}

.account-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.account-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.account-card h3 {
    margin-bottom: 1rem;
    color: #1e293b;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.download-history {
    max-height: 400px;
    overflow-y: auto;
}

.download-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.download-item:last-child {
    border-bottom: none;
}

.download-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.download-date {
    color: #64748b;
    font-size: 0.9rem;
}

.download-title {
    font-weight: 600;
    color: #1e293b;
}

.download-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.download-actions button {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        order: 3;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .screener-container {
        flex-direction: column;
    }
    
    .filters-panel {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .report-scores {
        grid-template-columns: 1fr;
    }
    
    .report-actions {
        flex-direction: column;
    }
    
    .account-content {
        grid-template-columns: 1fr;
    }
    
    .account-details {
        grid-template-columns: 1fr;
    }
}