@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 300;
    src: local('Gilroy Light'), local('Gilroy-Light'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Light.woff') format('woff');
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    src: local('Gilroy Regular'), local('Gilroy-Regular'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    src: local('Gilroy Medium'), local('Gilroy-Medium'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    src: local('Gilroy Bold'), local('Gilroy-Bold'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Bold.woff') format('woff');
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 700;
    src: local('Gilroy Bold'), local('Gilroy-Bold'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Bold.woff') format('woff');
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 800;
    src: local('Gilroy Heavy'), local('Gilroy-Heavy'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Heavy.woff') format('woff');
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 900;
    src: local('Gilroy Heavy'), local('Gilroy-Heavy'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Heavy.woff') format('woff');
}

body {
    font-family: 'Gilroy', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #F6F8FB; /* Official Light Background */
    color: #000000; /* Official Dark Text */
}

.font-heading {
    font-family: 'Gilroy', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom Scrollbar for dropdowns */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    border-radius: 10px;
}

/* Premium Glow Effects */
.glow-blue {
    box-shadow: 0 0 40px -5px rgba(0, 86, 235, 0.25);
}

.glow-green {
    box-shadow: 0 10px 25px -5px rgba(13, 180, 110, 0.4);
}

/* Active highlight animations */
.pill-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer animation for interactive elements */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}
.pulse-hover:hover {
    animation: pulse-soft 2s infinite ease-in-out;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-none {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* How to Start Earning - Step Switcher Styles (CoinDepo Style) */
.step-switcher-btn {
    display: flex;
    align-items: flex-start;
    text-align: left;
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-switcher-btn:focus {
    outline: none;
}

.step-switcher-btn .number-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.25rem;
    margin-top: 0.125rem;
    background-color: #A19EAD; /* Coindepo inactive grey */
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    color: #fff;
    width: 1.875rem;
    height: 1.875rem;
    min-height: 1.875rem;
    min-width: 1.875rem;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Outer ring like coindepo.com */
.step-switcher-btn .number-indicator::before {
    position: absolute;
    content: "";
    left: -0.438rem;
    top: -0.438rem;
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

/* Hover effect */
.step-switcher-btn:hover .number-indicator {
    background-color: #7A768F;
    transform: scale(1.05);
}

/* Active styles matching coindepo.com */
.step-switcher-btn.active .number-indicator {
    background-color: #298DF2; /* Coindepo active blue */
}

.step-switcher-btn.active .number-indicator::before {
    border: 1px solid #298DF2;
}

.step-switcher-btn .step-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600; /* Gilroy-SemiBold */
    font-size: 20px;
    line-height: 1.2; /* 120% */
    color: #1E293B; /* brand black */
    transition: color 0.3s ease;
}

.step-switcher-btn.active .step-title {
    color: #298DF2; /* active blue */
}

/* Image crisp rendering helper */
.img-crisp {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.step-description-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    padding-left: 3.125rem; /* Aligns with the title text (1.875rem circle + 1.25rem margin) */
}

.step-description-container.active {
    max-height: 100px; /* Large enough for description */
    opacity: 1;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.step-description-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5rem;
    color: #64748B; /* slate-500 */
}

@media (max-width: 640px) {
    .step-switcher-btn .number-indicator {
        width: 1.625rem;
        height: 1.625rem;
        min-height: 1.625rem;
        min-width: 1.625rem;
        margin-right: 0.875rem;
    }
    .step-switcher-btn .number-indicator::before {
        left: -0.25rem;
        top: -0.25rem;
        width: 2.125rem;
        height: 2.125rem;
        min-height: 2.125rem;
        min-width: 2.125rem;
    }
    .step-switcher-btn .step-title {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    .step-description-container {
        padding-left: 2.5rem;
    }
    .step-description-text {
        font-size: 0.875rem;
        line-height: 1.375rem;
    }
}
