/* ====================
   ANIMATION SYSTEM
   ==================== */

/* Reveal Animations Base */
.reveal-fade-up,
.reveal-fade-down,
.reveal-fade-left,
.reveal-fade-right,
.reveal-slide-up,
.reveal-slide-down,
.reveal-slide-left,
.reveal-slide-right,
.reveal-scale,
.reveal-rotate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade Animations */
.reveal-fade-up {
    transform: translateY(50px);
}

.reveal-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-down {
    transform: translateY(-50px);
}

.reveal-fade-down.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-left {
    transform: translateX(-50px);
}

.reveal-fade-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-right {
    transform: translateX(50px);
}

.reveal-fade-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Animations */
.reveal-slide-up {
    transform: translateY(80px);
}

.reveal-slide-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide-down {
    transform: translateY(-80px);
}

.reveal-slide-down.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide-left {
    transform: translateX(-100px);
}

.reveal-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    transform: translateX(100px);
}

.reveal-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Animation */
.reveal-scale {
    transform: scale(0.8);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Rotate Animation */
.reveal-rotate {
    transform: rotate(-10deg) scale(0.8);
}

.reveal-rotate.revealed {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Stagger Animation System */
.stagger-container .reveal-fade-up,
.stagger-container .reveal-slide-up {
    transition-delay: calc(var(--stagger-delay, 0.1s) * var(--index, 0));
}

/* ====================
   PARALLAX EFFECTS
   ==================== */
.parallax {
    transition: transform 0.1s ease-out;
}

.parallax-slow {
    transform: translateY(var(--parallax-slow, 0px));
}

.parallax-medium {
    transform: translateY(var(--parallax-medium, 0px));
}

.parallax-fast {
    transform: translateY(var(--parallax-fast, 0px));
}

/* ====================
   SECTION SPECIFIC ANIMATIONS
   ==================== */

/* Risk Warning Section */
.risk-warning-section {
    padding: 3rem 0;
    background: rgba(239, 68, 68, 0.05);
    border-top: 1px solid rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.risk-warning-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.warning-text h3 {
    color: var(--error);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.warning-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FTMO Explanation Section */
.ftmo-explanation-section {
    position: relative;
    overflow: hidden;
}

.ftmo-cards {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.ftmo-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.ftmo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.ftmo-card.featured-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.feature-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.ftmo-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ftmo-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.ftmo-process {
    text-align: center;
}

.ftmo-process h4 {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-title {
    font-weight: 600;
    color: var(--text-primary);
}

.account-sizes {
    color: var(--text-muted);
    font-weight: 500;
}

.account-sizes span {
    color: var(--primary-purple);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.5) 0%, rgba(26, 26, 46, 0.5) 100%);
}

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

.feature-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: iconBounce 2s ease-in-out infinite;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Results Section */
.results-section {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.main-result {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.main-result::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.main-result .result-number {
    font-size: 6rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 1rem;
}

.main-result .result-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.main-result .result-description {
    color: var(--text-muted);
}

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

.result-item {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.result-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.result-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.results-disclaimer {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.3) 0%, rgba(15, 15, 35, 0.8) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--primary-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.card-price {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.period {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.savings-badge {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.feature:last-child {
    border-bottom: none;
}

.feature.included {
    color: var(--text-primary);
}

.feature.not-included {
    color: var(--text-muted);
}

.feature.trial {
    color: var(--warning);
    font-weight: 500;
}

.guarantee-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: 3rem;
    color: var(--success);
}

.guarantee-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.guarantee-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
}

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

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-purple);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(26, 26, 46, 0.5) 100%);
}

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

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-purple);
    font-weight: 600;
    transition: transform var(--transition-fast);
    user-select: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.final-cta-section {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 100%);
    text-align: center;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-subtitle {
    margin-bottom: 3rem;
}

.subtitle-line {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.subtitle-emphasis {
    font-size: 1.1rem;
    color: var(--primary-purple);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-icon {
    font-size: 1.2rem;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

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

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.footer-logo-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-logo-text span {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item:hover {
    color: var(--primary-purple);
}

.contact-icon {
    font-size: 1.2rem;
}

.support-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ====================
   COUNTER ANIMATION
   ==================== */
.counter {
    display: inline-block;
}

/* ====================
   UTILITY ANIMATIONS
   ==================== */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Utility classes for animations */
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }
.animate-shake { animation: shake 0.5s ease-in-out; }
.animate-rotate { animation: rotate 2s linear infinite; }

/* Custom delay classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }