/* Landing Page Specific Styles */
.landing-page {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    min-height: 100vh;
}

/* Fix for anchor links with fixed header */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px; /* Account for fixed header height */
}

/* Navigation */
.landing-nav {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-actions .btn-secondary {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
}

.nav-actions .btn-primary {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #2a2f3e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #007aff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #a0a8b8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-badge {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #007aff;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.preview-header {
    height: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.preview-charts {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    height: 60px;
    align-items: end;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #007aff 0%, #005bb5 100%);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.chart-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.chart-bar:nth-child(2) { height: 80%; animation-delay: 0.5s; }
.chart-bar:nth-child(3) { height: 60%; animation-delay: 1s; }
.chart-bar:nth-child(4) { height: 100%; animation-delay: 1.5s; }

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #a0a8b8;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: rgba(26, 31, 46, 0.5);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #a0a8b8;
}

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

.feature-card {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.1);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #a0a8b8;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.pricing-card {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.1);
}

.pricing-card.featured {
    border-color: #007aff;
    box-shadow: 0 0 30px rgba(0, 122, 255, 0.2);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007aff 0%, #00d4ff 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: #a0a8b8;
}

.plan-header p {
    color: #a0a8b8;
    margin-bottom: 2rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.feature.disabled {
    color: #6c7b7f;
}

.trial-note {
    font-size: 0.9rem;
    color: #a0a8b8;
    margin-top: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #007aff;
    color: #007aff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #007aff;
    color: #ffffff;
}

/* Social Proof Section */
.social-proof {
    padding: 6rem 2rem;
    background: rgba(26, 31, 46, 0.3);
}

.social-proof-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.quote {
    font-style: italic;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote::before,
.quote::after {
    content: '"';
    color: #007aff;
    font-size: 1.5rem;
}

.author {
    color: #a0a8b8;
    font-weight: 600;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.indicator {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #007aff;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #007aff 0%, #00d4ff 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: #ffffff;
    color: #007aff;
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta .btn-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: rgba(10, 14, 26, 0.95);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #a0a8b8;
    margin-top: 1rem;
}

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

.link-group h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #a0a8b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #007aff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6c7b7f;
}

/* Waitlist Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(26, 31, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(20px);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ffffff;
    margin: 0;
}

.modal-close {
    color: #a0a8b8;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: #a0a8b8;
    margin-bottom: 1.5rem;
}

#waitlistForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#waitlistEmail {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
}

#waitlistEmail::placeholder {
    color: #a0a8b8;
}

/* Help Modal Styles */
.help-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Policy Modal Styles */
.policy-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.policy-content {
    color: #a0a8b8;
    line-height: 1.6;
}

.policy-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content strong {
    color: #ffffff;
    font-weight: 600;
}

.risk-disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.risk-disclaimer h4 {
    color: #ffc107;
    margin-top: 0;
}

.risk-disclaimer p, .risk-disclaimer li {
    color: #ffc107;
}

/* Trading Journal Modal Styles */
.journal-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.journal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.journal-intro h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.journal-features {
    color: #a0a8b8;
    line-height: 1.6;
}

.journal-features h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.journal-features ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.journal-features li {
    margin-bottom: 0.8rem;
}

.journal-features strong {
    color: #ffffff;
    font-weight: 600;
}

.journal-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.journal-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.journal-link:hover {
    color: #0051d5;
    text-decoration: underline;
}

.help-search {
    margin-bottom: 2rem;
}

.help-search input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
}

.help-search input::placeholder {
    color: #a0a8b8;
}

.help-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.help-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.help-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.help-content {
    color: #a0a8b8;
    line-height: 1.6;
}

.help-content p {
    margin-bottom: 1rem;
}

.help-content strong {
    color: #ffffff;
    font-weight: 600;
}

.help-content ul, .help-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.help-content li {
    margin-bottom: 0.5rem;
}

.help-content ul li::marker {
    color: #007aff;
}

/* Contact Modal Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #a0a8b8;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1f2e;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 10rem; /* Increase top padding for mobile */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .features, .pricing, .social-proof, .cta {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 12rem; /* Even more padding for smaller mobiles */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .help-modal-content,
    .policy-modal-content {
        max-height: 95vh;
        margin: 0.5rem;
    }
    
    .help-section {
        padding: 1rem;
    }
    
    .journal-intro {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1% auto;
        max-height: 95vh;
    }
}

/* ==================== SIGNUP PAGE IMPROVEMENTS ==================== */

/* Signup page plan selection */
.signup-plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.signup-plan-option {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.signup-plan-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.signup-plan-option.featured {
    border-color: var(--primary-color);
    position: relative;
    box-shadow: 0 4px 20px rgba(49, 130, 206, 0.2);
}

.signup-plan-option.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.1), rgba(66, 153, 225, 0.05));
    border-radius: 10px;
    pointer-events: none;
}

.signup-plan-option .plan-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signup-plan-option .plan-badge.popular {
    background: var(--primary-color);
}

.signup-plan-option h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 12px 0 8px 0;
    color: var(--text-primary);
}

.signup-plan-option .plan-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.signup-plan-option .plan-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.signup-plan-option .plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.signup-plan-option .plan-features li {
    padding: 6px 0;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.4;
}

.signup-plan-option .trial-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-style: italic;
}

/* Fix auth page spacing to prevent header overlap */
.auth-main {
    padding-top: 100px \!important;
    min-height: calc(100vh - 80px);
}

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

/* Change plan button styling */
.change-plan-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.change-plan-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .signup-plan-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .signup-plan-option {
        padding: 20px;
    }
    
    .auth-main {
        padding-top: 80px \!important;
    }
    
    .auth-container {
        max-width: 100%;
        padding: 16px;
    }
}
