/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    color: var(--white);
    overflow: hidden;
    padding: 80px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.stock-ticker {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
    position: absolute;
    top: 20px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .ticker-item {
        font-size: 12px;
        padding: 6px 12px;
        gap: 8px;
    }
}

.ticker-symbol {
    color: var(--white);
}

.ticker-price.positive {
    color: var(--secondary);
}

.ticker-price.negative {
    color: #ef4444;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--secondary);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    min-width: 100px;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    white-space: nowrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
    position: relative;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stock-chart {
    width: 100%;
    height: auto;
}

.chart-line {
    animation: drawLine 2s ease-in-out;
}

@keyframes drawLine {
    0% { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
    100% { stroke-dasharray: 1000; stroke-dashoffset: 0; }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 60px;
}

/* Benefits Section */
.benefits {
    background: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Feature Sections */
.feature {
    padding: 80px 0;
}

.feature .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-right .container {
    direction: rtl;
}

.feature-right .feature-content {
    direction: ltr;
}

.feature-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.feature-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--dark-light);
}

.feature-list svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.image-placeholder {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials */
.testimonials {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-light);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Partners */
.partners {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.partners h3 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 40px;
    opacity: 0.8;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Final CTA */
.final-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-note {
    font-size: 1rem;
    margin-top: 24px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.fixed-cta .cta-button {
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature .container {
        gap: 50px;
    }
    
    /* Hero stats optimization for tablet */
    .hero-stats {
        gap: 24px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 110px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.88rem;
    }
    
    /* Tablet: 2 columns for benefits and testimonials */
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* General mobile optimizations */
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 0 1 calc(33.333% - 14px);
        min-width: 90px;
    }
    
    .stat-number {
        font-size: 1.85rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 16px 32px;
    }
    
    /* Mobile: 2 columns for benefits and testimonials */
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefit-card,
    .testimonial-card {
        padding: 24px;
    }
    
    .benefit-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .benefit-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .benefit-card h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-title {
        font-size: 0.8rem;
    }
    
    .feature .container,
    .feature-right .container {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .feature-content h2 {
        font-size: 2rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }
    
    .final-cta {
        padding: 60px 0;
    }
    
    .final-cta h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .final-cta p {
        font-size: 1.05rem;
    }
    
    .partners {
        padding: 40px 0;
    }
    
    .partners-logos {
        gap: 30px;
    }
    
    .partner-logo {
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fixed-cta {
        padding: 12px 16px;
    }
    
    .fixed-cta .cta-button {
        font-size: 0.95rem;
        padding: 14px 28px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .stat-item {
        flex: 0 1 calc(50% - 8px);
        min-width: 140px;
        text-align: center;
        padding: 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-number {
        font-size: 1.75rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
        white-space: normal;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 14px 24px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.65rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Very small mobile: 1 column */
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .chart-container {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual,
.benefit-card,
.testimonial-card {
    animation: fadeInUp 0.8s ease;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.3s;
}

