/* Use Cases Page - Complete Override Styles */

/* Important overrides to ensure our styles take precedence */
.use-cases-page {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    color: #1d0c46 !important;
    background: #ffffff !important;
}

/* Override any conflicting container styles */
.use-cases-page .container {
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* Override any conflicting main content styles */
.use-cases-page .main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.use-cases-page * {
    box-sizing: border-box;
}

/* Hero Section */
.use-cases-page .use-cases-hero {
    background: linear-gradient(135deg, #ffffff 0%, #DDE2EE 50%, #ffffff 100%) !important;
    padding: 120px 0 80px !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.use-cases-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.use-cases-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.use-cases-hero .hero-text {
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.use-cases-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1d0c46;
    text-align: center;
}

.use-cases-hero .hero-text .hero-subheadline {
    font-size: 1.25rem;
    color: #6b5b7a;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Visual - Use Cases Animation */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    overflow: hidden;
}

.use-cases-visual {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 500px;
    overflow: hidden;
}

/* Use Case Icons */
.use-case-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(29, 12, 70, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    z-index: 10;
    animation: pulse 3s infinite;
}

.use-case-icon i {
    font-size: 32px;
    color: #1d0c46;
}

.icon-product {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.icon-marketing {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.icon-investors {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.icon-exchanges {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Connection Lines */
.connection-line {
    position: absolute;
    background: rgba(29, 12, 70, 0.1);
    height: 2px;
    z-index: 5;
}

.connection-line-1 {
    width: 300px;
    top: 30%;
    left: 30%;
    transform: rotate(0deg);
}

.connection-line-2 {
    width: 300px;
    top: 70%;
    left: 30%;
    transform: rotate(0deg);
}

.connection-line-3 {
    width: 300px;
    top: 30%;
    left: 30%;
    transform: rotate(90deg);
}

.connection-line-4 {
    width: 300px;
    top: 30%;
    right: 30%;
    transform: rotate(90deg);
}

.connection-line-5 {
    width: 424px;
    top: 30%;
    left: 30%;
    transform: rotate(45deg);
}

.connection-line-6 {
    width: 424px;
    top: 30%;
    right: 30%;
    transform: rotate(135deg);
}

/* Central Node */
.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(29, 12, 70, 0.05);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 0 30px rgba(29, 12, 70, 0.1);
}

.central-node-icon {
    font-size: 40px;
    color: #1d0c46;
}

/* Processing Rings */
.processing-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 1px solid rgba(29, 12, 70, 0.08);
    border-radius: 50%;
    animation: expand 4s infinite ease-in-out;
}

.ring-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    animation-delay: 0s;
}

.ring-2 {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
    animation-delay: 1s;
}

.ring-3 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-delay: 2s;
}

@keyframes expand {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Use Cases Section */
.use-cases-section {
    padding: 100px 0 !important;
    background: #ffffff !important;
    margin: 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    overflow: hidden;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
    line-height: 1.3;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    hyphens: auto;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b5b7a;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(29, 12, 70, 0.15);
}

.use-case-image {
    height: 220px;
    background: rgba(29, 12, 70, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.use-case-image i {
    font-size: 5rem;
    color: #1d0c46;
    opacity: 0.5;
}

.use-case-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.use-case-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d0c46;
}

.use-case-content p {
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1rem;
    flex-grow: 1;
}

.use-case-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #1d0c46;
    color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 12, 70, 0.2);
    margin-top: auto;
    width: fit-content;
}

.use-case-cta:hover {
    background: #2d1c56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 12, 70, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .use-cases-hero .hero-content {
        gap: 40px;
    }
    
    .use-cases-hero .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .use-cases-grid {
        gap: 30px;
    }
    
    .icon-product {
        top: 15%;
        left: 15%;
    }
    
    .icon-marketing {
        top: 15%;
        right: 15%;
    }
    
    .icon-investors {
        bottom: 15%;
        left: 15%;
    }
    
    .icon-exchanges {
        bottom: 15%;
        right: 15%;
    }
}

@media (max-width: 768px) {
    .use-cases-hero {
        padding: 60px 0 40px !important;
        min-height: auto !important;
    }
    
    .use-cases-hero .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .use-cases-hero .hero-text .hero-subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 20px;
    }
    
    .use-case-icon {
        width: 60px;
        height: 60px;
    }
    
    .use-case-icon i {
        font-size: 24px;
    }
    
    .central-node {
        width: 70px;
        height: 70px;
    }
    
    .central-node-icon {
        font-size: 28px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .use-cases-section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .use-cases-hero .container,
    .section-header,
    .use-cases-grid {
        padding: 0 16px;
    }
    
    .use-cases-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .use-cases-hero .hero-text .hero-subheadline {
        font-size: 0.95rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .use-case-icon {
        width: 50px;
        height: 50px;
    }
    
    .use-case-icon i {
        font-size: 20px;
    }
    
    .central-node {
        width: 60px;
        height: 60px;
    }
    
    .central-node-icon {
        font-size: 24px;
    }
    
    .use-case-content {
        padding: 20px;
    }
    
    .use-case-content h3 {
        font-size: 1.25rem;
    }
    
    .use-case-content p {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}
