/* Home Page Specific Styles - Dark Theme */
:root {
    /* Using the same color variables as in style.css */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #60a5fa;
    --secondary: #10b981;
    --dark: #111827;
    --dark-2: #1f2937;
    --light: #f3f4f6;
    --gray: #9ca3af;
    --light-gray: #374151;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --card-bg: #1f2937;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Section Styling */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Features Section */
.features {
    background-color: var(--dark-bg);
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

/* How It Works */
.how-it-works {
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
    color: var(--light);
    padding: 6rem 0;
}

.how-it-works .section-title {
    color: var(--light);
    margin-bottom: 4rem;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
}

.how-it-works .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #10b981);
    border-radius: 2px;
}

.steps {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps {
        padding: 1rem 0.5rem;
    }
    
    .step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    
    .step-number {
        margin: 0 0 1rem 0;
    }
    
    .step-content {
        width: 100%;
        padding: 1.5rem;
    }
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    gap: 1.5rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #10b981);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    margin-right: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: absolute;
    top: -10px;
    left: 40px;
    z-index: 2;
    border: 3px solid var(--dark-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.step-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    flex: 1;
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    margin-left: 20px;
}

.step-content h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.step-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Investment Plans */
.pricing {
    background-color: var(--dark-bg);
}

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

.plan-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.plan-card.popular {
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

.plan-price {
    margin: 1.5rem 0;
    line-height: 1.2;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light);
    display: block;
    margin-bottom: 0.25rem;
}

.plan-price .period {
    font-size: 1.1rem;
    color: var(--light);
    font-weight: 400;
    opacity: 0.9;
}

.plan-card.popular .amount {
    color: var(--primary);
}

.plan-features {
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.plan-features i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* Testimonials */
.testimonials {
    background: var(--dark-bg);
    color: var(--light);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials .section-title {
    color: var(--light);
    margin-bottom: 3rem;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 0 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary);
    padding: 3px;
    background: var(--dark-bg);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light);
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    font-weight: 600;
    margin: 2rem 0 0.25rem;
    color: var(--light);
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 400;
}

/* CTA Section */
.cta {
    background: var(--dark-bg);
    color: var(--light);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .how-it-works .section-title {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .step-number {
        position: static;
        margin-bottom: 1rem;
        margin-left: 0;
    }
    
    .step-content {
        margin-left: 0;
        width: 100%;
        padding: 1.5rem;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .plans {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

delay-3 {
    animation-delay: 0.6s;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    font-size: 1.25rem;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.theme-toggle i {
    position: absolute;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.theme-toggle i.active {
    opacity: 1;
    transform: scale(1);
}

/* Dark Mode */
[data-theme="dark"] {
    --dark: #f8fafc;
    --light: #0f172a;
    --gray: #94a3b8;
    --light-gray: #1e293b;
    --card-bg: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .step-content,
[data-theme="dark"] .plan-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .theme-toggle {
    color: var(--light);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}
