/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #1B4D3E;
    --secondary-color: #2ECC71;
    --accent-color: #F39C12;
    --success-color: #27AE60;
    --danger-color: #E74C3C;
    --dark-bg: #0F1419;
    --light-bg: #F8F9FA;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1B4D3E 0%, #27AE60 100%);
    --gradient-secondary: linear-gradient(135deg, #2ECC71 0%, #F39C12 100%);
    --gradient-dark: linear-gradient(135deg, #0F1419 0%, #1B2631 100%);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --border-radius-large: 20px;
    
    /* Shadows */
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 12px 60px rgba(0, 0, 0, 0.25);
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stock-chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cpath d='M0,400 L100,350 L200,380 L300,320 L400,280 L500,300 L600,260 L700,240 L800,200 L900,180 L1000,160 L1100,140 L1200,120' stroke='%2327AE60' stroke-width='3' fill='none' opacity='0.3'/%3E%3C/svg%3E") no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.text-accent {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.feature-icon {
    font-size: 18px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-dashboard {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    padding: 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-dark);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.status-indicator.active {
    animation: pulse 2s infinite;
}

.stock-ticker {
    space-y: 12px;
}

.ticker-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.ticker-item:last-child {
    border-bottom: none;
}

.symbol {
    font-weight: 700;
    font-size: 14px;
}

.price {
    font-weight: 600;
    font-size: 14px;
}

.change {
    font-weight: 600;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.ticker-item.positive .change {
    background: rgba(39, 174, 96, 0.2);
    color: var(--secondary-color);
}

.ticker-item.negative .change {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger-color);
}

/* CTA Buttons */
.hero-cta {
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cta-button.large {
    padding: 24px 48px;
    font-size: 18px;
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-icon {
    font-size: 20px;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
    color: var(--white);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits {
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(27, 77, 62, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Sections */
.feature-section {
    padding: 80px 0;
}

.feature-section.alternate {
    background: var(--light-bg);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-content.right-image {
    grid-template-columns: 1fr 1fr;
}

.feature-content.right-image .feature-text {
    order: 1;
}

.feature-content.right-image .feature-image {
    order: 2;
}

.feature-text h3 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.checkmark {
    color: var(--success-color);
    font-size: 16px;
}

.image-placeholder {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Chart Visualization */
.chart-visualization {
    position: relative;
    width: 200px;
    height: 120px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 100%;
}

.bar {
    width: 24px;
    background: var(--accent-color);
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease-out forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

@keyframes growUp {
    to { transform: scaleY(1); }
}

.trend-line {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white);
    transform: rotate(-15deg);
    opacity: 0.8;
}

/* Book Stack */
.book-stack {
    position: relative;
    width: 180px;
    height: 200px;
}

.book {
    position: absolute;
    width: 120px;
    height: 160px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 20px 10px;
}

.book-1 {
    transform: rotate(-5deg);
    z-index: 3;
    background: linear-gradient(135deg, #3498DB, #2980B9);
}

.book-2 {
    transform: rotate(2deg) translate(20px, 10px);
    z-index: 2;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.book-3 {
    transform: rotate(-2deg) translate(40px, 20px);
    z-index: 1;
    background: linear-gradient(135deg, #F39C12, #E67E22);
}

.book-title {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Community Visual */
.community-visual {
    position: relative;
    width: 300px;
    height: 200px;
}

.chat-bubbles {
    position: relative;
    height: 160px;
}

.chat-bubble {
    position: absolute;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: var(--shadow-light);
    font-size: 14px;
    font-weight: 500;
    max-width: 180px;
    animation: fadeInUp 1s ease-out;
}

.chat-bubble.user1 {
    top: 0;
    left: 0;
    background: var(--secondary-color);
    color: var(--white);
    animation-delay: 0.2s;
}

.chat-bubble.user2 {
    top: 50px;
    right: 0;
    animation-delay: 0.5s;
}

.chat-bubble.user3 {
    top: 100px;
    left: 20px;
    background: var(--accent-color);
    color: var(--white);
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.online-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.online-dot {
    width: 6px;
    height: 6px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Stats */
.stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Testimonial */
.testimonial {
    background: rgba(27, 77, 62, 0.05);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Rules Section */
.rules {
    background: var(--dark-bg);
    color: var(--white);
}

.rules .section-header h2,
.rules .section-header p {
    color: var(--white);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius-large);
    transition: all 0.3s ease;
}

.rule-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.rule-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.rule-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.rule-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.cta-disclaimer {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 16px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
        gap: 20px;
    }
    
    .feature-content,
    .feature-content.right-image {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-content.right-image .feature-text,
    .feature-content.right-image .feature-image {
        order: unset;
    }
    
    .stats {
        justify-content: center;
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-text h3 {
        font-size: 2rem;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .floating-button {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .floating-button-text {
        display: block;
    }
    
    .floating-button-icon {
        display: none;
    }
}

/* Fixed Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 1000;
    animation: floatIn 0.5s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(50%) translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }
}

.floating-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: var(--shadow-dark);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 70px rgba(46, 204, 113, 0.4);
}

.floating-button:active {
    transform: translateY(-1px);
}

.floating-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.floating-button:hover::before {
    left: 100%;
}

.floating-button-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.floating-button-icon {
    font-size: 20px;
    animation: rocket 2s ease-in-out infinite;
}

@keyframes rocket {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Pulse animation for extra attention */
.floating-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 50px;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: buttonPulse 3s ease-out infinite;
    z-index: -1;
}

@keyframes buttonPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}
