/* Platforms Page Specific Styles */

/* Hero Section */
.platforms-hero-section {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.platforms-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.platforms-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.platforms-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(105, 184, 70, 0.15) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* Platform Image Wrapper */
.platform-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.platform-image-wrapper img {
    transition: transform 0.5s ease;
}

.platform-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Feature Items */
.feature-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: #ffffff;
    border-color: var(--go-green);
    box-shadow: 0 10px 30px -10px rgba(105, 184, 70, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(105, 184, 70, 0.1) 0%, rgba(105, 184, 70, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(105, 184, 70, 0.2) 0%, rgba(105, 184, 70, 0.1) 100%);
    transform: scale(1.05);
}

.feature-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Section Backgrounds */
section:nth-child(odd) .platform-image-wrapper {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
}

section:nth-child(even) .platform-image-wrapper {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 1.5rem;
}

/* Button Styles */
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--go-green);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(105, 184, 70, 0.3);
}

.btn-learn-more:hover {
    background: #559e38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(105, 184, 70, 0.4);
}

.btn-learn-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-learn-more:hover::after {
    transform: translateX(4px);
}

/* Animated Background Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Decorative Elements */
.platform-section-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 184, 70, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-soft 4s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .platforms-hero-section {
        min-height: 350px;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .platform-image-wrapper {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .platforms-hero-section {
        min-height: 300px;
    }
    
    .platforms-hero-section .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon img {
        width: 24px;
        height: 24px;
    }
    
    section:nth-child(odd) .platform-image-wrapper,
    section:nth-child(even) .platform-image-wrapper {
        padding: 1rem;
    }
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--go-green), #8cd867);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* Platform Badge */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(105, 184, 70, 0.15) 0%, rgba(105, 184, 70, 0.05) 100%);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--go-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

/* Section transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Grid layout improvements */
.grid {
    align-items: center;
}

/* Text styling */
.platform-title {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shadow effects for images */
.shadow-platform {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

/* Hover states for links */
a.inline-block {
    position: relative;
    overflow: hidden;
}

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

a.inline-block:hover::before {
    left: 100%;
}

