/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #7844E4;
    --hover-shadow: 0 10px 20px rgba(120, 68, 228, 0.1);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 70px 0 0px;
    overflow: hidden;
}

.floating-balls {
    position: absolute;
    width: 100%;
    max-width: 500px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ball {
    position: absolute;
    object-fit: contain;
}

.ball-1 {
    width: 70px;
    height: auto;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    animation: float1 6s ease-in-out infinite;
}

.ball-2 {
    width: 77px;
    height: auto;
    top: -30px;
    left: 49%;
    transform: translateX(-50%);
    animation: float2 8s ease-in-out infinite;
}

.ball-3 {
    width: 52px;
    height: auto;
    top: 50%;
    right: -5px;
    left: auto;
    transform: translateY(-50%);
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0% { transform: translate(0, -50%); }
    50% { transform: translate(-10px, -60%); }
    100% { transform: translate(0, -50%); }
}

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

@keyframes float3 {
    0% { transform: translate(0, -50%); }
    50% { transform: translate(10px, -60%); }
    100% { transform: translate(0, -50%); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 45px;
    letter-spacing: -0.05em;
    color: #111827;
    line-height: 1.2;
}

.icon-wrapper {
    display: inline-block;
    position: relative;
    top: -15px;
    margin-left: -5px;
}

.platform-icon {
    font-size: 28px;
}

.platform-icon-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.platform-icon-item button {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
}

.platform-icon-item:hover button {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
    background: #f8f5ff;
}

.platform-icon-item.active button {
    background-color: var(--primary-color) !important;
    color: white;
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.platform-icon-item.active button i {
    transform: scale(1.3);
}

.category-card {
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card i {
    transition: all 0.3s ease;
}

.arrow-icon {
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.category-card:hover i {
    transform: scale(1.15);
}

.category-card:hover .arrow-icon {
    opacity: 1 !important;
}

.hero-title span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 38px;
    letter-spacing: -0.05em;
    color: var(--primary-color);
    vertical-align: baseline;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #111827;
    opacity: 0.4;
    margin-top: 5px;
    letter-spacing: -0.05em;
}

/* Platform Box Styles */
.platform-box-wrapper {
    position: relative;
    width: 100%;
    max-width: 558px;
    min-width: 250px;
    margin: 30px auto 0;
    transition: all 0.3s ease;
}

.platform-box-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    background: #f2e8c8;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.platform-box-wrapper:hover::before {
    background: #f2e8c8;
    transform: scale(1.02);
}

.platform-inner-box {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 14px;
    gap: 99px;
    width: 100%;
    min-height: 76px;
    background: #e46514;
    box-shadow: inset 0px 6px 13.2px rgb(255 142 54);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.platform-box-wrapper:hover .platform-inner-box {
    transform: translateY(-2px);
    box-shadow: inset 0px 6px 13.2px rgba(255, 255, 255, 0.45),
                0px 8px 20px rgba(120, 68, 228, 0.15);
}

.platform-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.05em;
    color: white;
    margin: 0;
}

/* Platform Icon Styles in Box */
.platform-inner-box .platform-icon-item {
    padding: 0;
}

.platform-inner-box .platform-icon-item button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.platform-inner-box .platform-icon-item:hover button {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.platform-inner-box .platform-icon-item.active button {
    background: rgba(255, 255, 255, 0.3) !important;
    color: white;
}

.platform-inner-box .platform-icon {
    font-size: 32px;
}

@media (max-width: 576px) {
    .platform-inner-box {
        padding: 10px;
        gap: 20px;
        height: auto;
        min-height: 76px;
    }
    
    .platform-inner-box .row > div {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }

    .platform-inner-box .row > div:last-child {
        margin-bottom: 0;
    }

    .platform-inner-box .platform-icons {
        justify-content: center !important;
    }
    
    .platform-text {
        font-size: 12px;
    }
}

/* Category Box Styles */
.category-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
    width: 100%;
    max-width: 582px;
    min-width: 250px;
    background: #FFFFFF;
    border-radius: 16px;
    margin: 0 auto;
}

.platform-categories {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.platform-categories.active {
    display: flex !important;
}

.category-card {
    width: 100%;
    text-decoration: none;
    display: block;
}

.card-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 12px;
    gap: 99px;
    width: 100%;
    height: 70px;
    background: #F9F9FB;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #ea580c;
    background: linear-gradient(90deg, #ea580c 0%, #f57f41 100%);;
    border-radius: 12px;
}

.category-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    margin: 0;
}

.arrow-icon {
    color: #111827;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Hover State */
.category-card:hover .card-content {
    background: #e46514;
    border: 1.5px solid #e46514;
}

.category-card:hover .category-title {
    color: #fff;
}

.category-card:hover .arrow-icon {
    color: #fff !important;
}

.category-card:hover .arrow-icon path {
    stroke: #fff !important;
}

/* Active State */
.category-card.active .card-content {
    background: #e46514;
    border: 1.5px solid #e46514;
}

.category-card.active .category-title {
    color: #fff;
}

.category-card.active .arrow-icon {
    color: #e46514;
}

@media (max-width: 576px) {
    .card-content {
        padding: 10px;
        gap: 15px;
    }

    .category-icon {
        width: 35px;
        height: 35px;
    }

    .category-icon svg {
        width: 16px;
        height: 16px;
    }

    .category-title {
        font-size: 13px;
        line-height: 1.2;
    }

    .arrow-icon {
        margin-left: auto;
        padding-left: 5px;
    }

    .arrow-icon svg {
        width: 16px;
        height: 16px;
    }
    .hero-title {
    font-size: 23px!important;
    }
    .hero-title span {
    font-size: 23px!important;
    }
}
