/* MetaTrader 4 Page Specific Styles */

/* Hero Section Enhancements */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Breadcrumb styles */
.hero-section .text-gray-600 a {
    transition: color 0.2s;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    filter: brightness(1);
    transition: filter 0.3s;
}

.feature-card:hover img {
    filter: brightness(1.1);
}

/* Why GO Markets Section - Green CTA Box */
.bg-go-green {
    background: linear-gradient(135deg, #69B846 0%, #4a9e2f 100%);
}

/* Steps Section */
.text-6xl.font-bold.text-go-green {
    background: linear-gradient(135deg, #69B846 0%, #4a9e2f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Download CTA Section */
.bg-gray-900 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Platform Cards */
.ring-go-green {
    --tw-ring-color: var(--go-green);
}

/* FAQ Accordion */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    margin-bottom: 0.5rem;
}

details summary i {
    transition: transform 0.3s ease;
}

details[open] summary i {
    transform: rotate(180deg);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Image Hover Effects */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.5s ease;
}

.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Platform Card Highlight Animation */
@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(105, 184, 70, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(105, 184, 70, 0);
    }
}

.ring-go-green {
    animation: pulse-border 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .text-6xl.font-bold.text-go-green {
        font-size: 3rem;
    }
}

/* Link hover underline animation */
.text-go-green.hover\:underline {
    position: relative;
    text-decoration: none;
}

.text-go-green.hover\:underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--go-green);
    transition: width 0.3s ease;
}

.text-go-green.hover\:underline:hover::after {
    width: 100%;
}

/* Section fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--go-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #559e38;
}

