/* Custom Stylesheet for GROFINIT Landing Page */

:root {
    --gro-gold: #E5A93C;
    --gro-gold-light: #F5C042;
    --gro-cyan: #00A3E0;
    --gro-cyan-light: #38BDF8;
    --gro-dark: #080B10;
    --gro-dark-secondary: #0F1420;
    --gro-card: #141B2A;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #080B10;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gro-gold);
}

/* Gold Glow Utility */
.glow-gold {
    box-shadow: 0 0 25px rgba(229, 169, 60, 0.25);
}

/* Cyan Glow Utility */
.glow-cyan {
    box-shadow: 0 0 25px rgba(0, 163, 224, 0.25);
}

/* Card Hover Animation */
.gro-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Rank Badge Styling */
.rank-badge {
    min-width: 90px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--gro-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.rank-badge:hover {
    border-color: var(--gro-gold-light);
    transform: translateY(-2px);
}

.rank-badge.active-rank {
    background: linear-gradient(135deg, rgba(229, 169, 60, 0.2), rgba(0, 163, 224, 0.2));
    border-color: var(--gro-gold);
    box-shadow: 0 0 15px rgba(229, 169, 60, 0.3);
}

/* FAQ Icon Rotate */
.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* Metallic Text Gradient */
.gold-gradient-text {
    background: linear-gradient(135deg, #FFE29D 0%, #E5A93C 50%, #C88B27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
    background: linear-gradient(135deg, #7DD3FC 0%, #00A3E0 50%, #0284C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Smooth Focus */
a:focus, button:focus {
    outline: none;
}

/* Ecosystem Tree Styles */
.ecosystem-root-glow {
    position: relative;
}
.ecosystem-root-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(245, 192, 66, 0.4), rgba(56, 189, 248, 0.5), rgba(245, 192, 66, 0.2));
    filter: blur(14px);
    z-index: 0;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
.ecosystem-root-glow:hover::before {
    opacity: 0.9;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.3), 0 0 30px rgba(245, 192, 66, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(56, 189, 248, 0.6), 0 0 45px rgba(245, 192, 66, 0.4);
    }
}

.glow-tree-node {
    animation: pulseGlow 4s ease-in-out infinite;
}

.tree-flow-line {
    background: linear-gradient(90deg, #E5A93C, #00A3E0);
    box-shadow: 0 0 10px rgba(0, 163, 224, 0.4);
}
