/* UseCaseTemplate.css */

.usecase-page {
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    font-family: inherit;
    overflow-x: hidden;
    padding-top: 80px;
    /* Space for fixed navbar */
}

/* Hero Section */
.usecase-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5%;
    background: radial-gradient(ellipse at center top, rgba(20, 20, 35, 0.4) 0%, transparent 70%);
}

.usecase-hero-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 2;
}

.usecase-hero-text {
    flex: 1;
    max-width: 550px;
}

.usecase-hero-text h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.usecase-hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.usecase-cta-btn {
    background: linear-gradient(135deg, #1A1A24 0%, #0F0F16 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.usecase-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.usecase-cta-btn:hover::before {
    left: 150%;
}

.usecase-cta-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.usecase-hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.usecase-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(120, 80, 255, 0.15) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.usecase-hero-flow-preview {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 20px;
    /* Optional: transform style for a subtle 3D look */
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.usecase-hero-visual:hover .usecase-hero-flow-preview {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Details Section */
.usecase-details-section {
    padding: 80px 5%;
    background: #050508;
    position: relative;
}

.usecase-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.usecase-details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.usecase-problems h2,
.usecase-solutions h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.usecase-problems h2 {
    color: #ff6b6b;
}

.usecase-solutions h2 {
    color: #4cd137;
}

.usecase-problems ul,
.usecase-solutions ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.usecase-problems li,
.usecase-solutions li {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.usecase-problems li:hover,
.usecase-solutions li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.04);
}

.bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 16px;
    margin-top: 6px;
    flex-shrink: 0;
}

.problem-bullet {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.solution-bullet {
    background: #4cd137;
    box-shadow: 0 0 10px rgba(76, 209, 55, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .usecase-hero {
        padding: 80px 4% 60px;
        min-height: auto;
    }

    .usecase-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .usecase-hero-text {
        max-width: 100%;
    }

    .usecase-hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .usecase-hero-text p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .usecase-cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 16px 32px;
        font-size: 1rem;
        margin: 0 auto;
        display: block;
    }

    .usecase-hero-visual {
        width: 100%;
        perspective: none;
    }

    .usecase-hero-flow-preview {
        transform: none;
        max-width: 100%;
    }

    .usecase-hero-visual:hover .usecase-hero-flow-preview {
        transform: none;
    }

    .usecase-details-section {
        padding: 48px 4%;
    }

    .usecase-details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .usecase-problems h2,
    .usecase-solutions h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .usecase-problems li,
    .usecase-solutions li {
        font-size: 0.95rem;
        padding: 16px;
    }
}