/* =========================================
   LICENSE PAGE SPECIFIC STYLES
   ========================================= */

/* --- Variables for License Banner --- */
:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    --white: #ffffff;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --emerald-400: #34d399;
}

/* --- Font Override --- */
.lic-heading {
    font-family: 'Inter', sans-serif;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

/* --- LICENSE BANNER (Modern Layout with Unique Classes) --- */
.license-banner {
    position: relative;
    background-color: var(--slate-950);
    /* 
       Padding top includes space for header to ensure content is centered 
       visibly but background goes behind header.
       Assuming header ~80px-100px.
    */
    padding: 10rem 0 5rem 0; 
    overflow: hidden;
    border-bottom: 1px solid var(--slate-800);
    text-align: center;
    /* Negative margin to pull banner up behind the header/remove gap */
    margin-top: -100px; 
}

.license-banner-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}
.glow-1 { top: 10%; right: -5%; width: 400px; height: 400px; background: var(--cyan-500); }
.glow-2 { bottom: 0; left: 0; width: 300px; height: 300px; background: var(--emerald-400); }

.license-banner-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.license-banner-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background-color: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 99px;
    color: var(--cyan-400);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.license-banner-dot { width: 6px; height: 6px; background-color: var(--cyan-500); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.license-banner-title {
    font-size: 3rem; line-height: 1.1;
    font-weight: 800; color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .license-banner-title { font-size: 5rem; } }

.license-banner-gradient {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.license-banner-description {
    font-size: 1.125rem; color: var(--slate-400);
    font-weight: 500;
    max-width: 48rem; margin: 0 auto;
    line-height: 1.7;
}
@media (min-width: 768px) { .license-banner-description { font-size: 1.25rem; } }

/* --- ORIGINAL STYLES FOR WORKFLOW --- */

/* Process Section - Step-by-Step Line Design */
.license-workflow-section { 
    background-color: var(--slate-50); 
    padding: 8rem 0; 
}

/* Timeline Container */
.license-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 5rem;
}

/* Desktop: Horizontal Layout */
@media (min-width: 992px) {
    .license-timeline {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

/* Desktop Connecting Line */
.timeline-line-desktop {
    display: none;
}

@media (min-width: 992px) {
    .timeline-line-desktop {
        display: block;
        position: absolute;
        top: 2.5rem; /* Aligns with center of 5rem marker */
        left: 0;
        right: 0;
        height: 2px;
        background: var(--slate-200);
        z-index: 0;
        margin: 0 4rem; /* Pull in slightly so it doesn't stick out past first/last centers */
    }
}

/* Individual Step */
.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row; /* Mobile: Side-by-side */
    gap: 1.5rem;
    flex: 1;
}

@media (min-width: 992px) {
    .timeline-step {
        flex-direction: column; /* Desktop: Stacked */
        align-items: center;
        text-align: center;
        padding: 0 1.5rem;
    }
}

/* The Marker (Circle) */
.timeline-marker {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--slate-900);
    color: var(--cyan-400);
    border: 2px solid var(--cyan-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 0 0 8px var(--slate-50); /* Creates gap around marker over the line */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px var(--slate-50), 0 0 20px rgba(6, 182, 212, 0.4);
    background-color: var(--cyan-600);
    color: white;
    border-color: var(--cyan-400);
}

@media (min-width: 992px) {
    .timeline-marker {
        width: 5rem;
        height: 5rem;
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

/* Mobile Vertical Line */
@media (max-width: 991px) {
    .license-timeline {
        position: relative;
    }
    /* Create a vertical line on the left */
    .license-timeline::before {
        content: '';
        position: absolute;
        top: 1rem;
        bottom: 1rem;
        left: 1.75rem; /* Center of the 3.5rem marker */
        width: 2px;
        background: var(--slate-200);
        z-index: 0;
    }
}

/* Text Content */
.timeline-content {
    padding-top: 0.5rem; /* Align text with marker top on mobile */
}

@media (min-width: 992px) {
    .timeline-content {
        padding-top: 0;
    }
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* =========================================
   NEW INDUSTRY LICENSE GRID STYLES
   ========================================= */

.industry-licenses-section {
    padding: 8rem 0;
    background-color: #fff;
}

/* Headers */
.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.badge-pill-outline {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--slate-300);
    border-radius: 99px;
    color: var(--slate-600);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title-dark {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle-dark {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* Grid Layout */
.industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.industry-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    border-color: var(--cyan-400);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.ind-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}

.ind-icon-box {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-50);
    border-radius: 8px;
}

.ind-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0;
}

/* List Items inside Cards */
.ind-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ind-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ind-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ind-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-800);
}

.ind-auth-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background-color: var(--slate-100);
    color: var(--slate-600);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.industry-card:hover .ind-auth-badge {
    background-color: #e0f2fe; /* light blue on hover */
    color: #0284c7;
}

.ind-desc {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.4;
    margin: 0;
}

/* Animation Utilities */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Helpers from original */
.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-slate-400 { color: #94a3b8; }
.foreigner-section { padding: 6rem 0; background: #fff; }
.badge-pill-cta { display: inline-block; padding: 0.25rem 0.75rem; background: #e0f2fe; color: #0284c7; border-radius: 99px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.gradient-text-emerald { background: linear-gradient(to right, #10b981, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
