/* Custom Web Apps - Category Page Styles */

.category-hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    color: white;
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.2) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

.category-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

.category-hero .container {
    position: relative;
    z-index: 1;
}

.category-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px currentColor);
}

.category-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffdd00, #ff7a00, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.category-context {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(10, 14, 39, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.category-context p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    padding: 20px 0;
    background: rgba(26, 31, 58, 0.5);
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: #00d4ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #ff0080;
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb strong {
    color: #ffffff;
}

.apps-header {
    padding: 40px 0 20px;
    text-align: center;
    background: #0a0e27;
}

.apps-header h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.apps-header p {
    color: rgba(255, 255, 255, 0.7);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 40px 0;
    background: #0a0e27;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.app-card:hover::before {
    left: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(255, 0, 128, 0.3);
    border-color: var(--app-color);
}

.app-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--app-color);
    filter: drop-shadow(0 0 10px var(--app-color));
}

.app-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.app-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.app-link {
    color: var(--app-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.app-card:hover .app-link {
    gap: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    margin: 40px 0;
}

.back-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.cta-section {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #ff0080, #ff8c00, #00d4ff);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.9), 0 0 80px rgba(0, 212, 255, 0.6);
    color: #ffffff;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Who Its For Section */
.who-its-for-section {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.5) 0%, rgba(10, 14, 39, 0.7) 100%);
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 12px;
    text-align: center;
}

.who-its-for-section .container {
    max-width: 900px;
}

.who-its-for-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d4ff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.who-its-for-section p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    padding: 0 20px;
}

.who-its-for-section .comparison-text {
    margin-top: 30px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-left: 4px solid #00d4ff;
    border-radius: 8px;
}

.who-its-for-section .comparison-text p {
    font-size: 1.0625rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Other Categories Section */
.other-categories-section {
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.other-categories-section h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.other-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.other-category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.other-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.other-category-card:hover::before {
    opacity: 1;
}

.other-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 0, 128, 0.2);
}

.other-category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.other-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.other-category-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #60a5fa;
    font-weight: 500;
    margin-top: auto;
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease;
}

.other-category-card:hover .explore-link {
    gap: 12px;
}

.explore-link i {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .other-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .other-categories-section h2 {
        font-size: 2rem;
    }
}
