/* ========================================================
   industry.css — shared styles for industry solution pages
   (Ecommerce, Gaming, Finance, etc.)
   ======================================================== */

/* ---------- Hero Banner ---------- */
.industry-hero {
    position: relative;
    padding: 100px 20px 80px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.industry-hero .industry-hero-label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 18px;
    border-radius: 20px;
}

.industry-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.industry-hero p {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.industry-hero .industry-btn-primary {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #1a73e8;
    background: #ffffff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.industry-hero .industry-btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- Common Section ---------- */
.industry-section {
    padding: 70px 0;
}

.industry-section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 16px;
}

.industry-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #34abe2);
    border-radius: 2px;
}

/* ---------- Card Base ---------- */
.industry-card {
    padding: 28px 24px;
    border-radius: 10px;
    margin-bottom: 24px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.industry-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------- Pain-point Card (red variant) ---------- */
.industry-painpoint {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.industry-painpoint h4 {
    color: #b91c1c;
}

/* ---------- Solution Card (green variant) ---------- */
.industry-solution {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.industry-solution h4 {
    color: #15803d;
}

.industry-solution .industry-card-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

/* ---------- Use-case Card ---------- */
.industry-usecase {
    background: #f9fafb;
    border-left: 4px solid #1a73e8;
    padding: 32px 28px;
    border-radius: 10px;
    margin-bottom: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.industry-usecase:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.industry-usecase h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 14px;
}

.industry-usecase p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ---------- Architecture Diagram ---------- */
.industry-arch {
    padding: 70px 0;
    background: #f9fafb;
}

.industry-arch-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
    table-layout: fixed;
}

.industry-arch-table th {
    padding: 14px 10px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.industry-arch-table td {
    padding: 10px 10px;
    text-align: center;
    font-size: 13px;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.6;
}

.industry-arch-table td:last-child {
    border-radius: 0 0 8px 0;
}

.industry-arch-table td:first-child {
    border-radius: 0 0 0 8px;
}

.industry-arch-label {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    padding: 10px 0;
    background: linear-gradient(90deg, rgba(26, 115, 232, 0.08), rgba(52, 171, 226, 0.08));
    border-radius: 8px;
}

/* Arch column header colours */
.industry-arch-blue    { background: #4285f4; }
.industry-arch-green   { background: #34a853; }
.industry-arch-red     { background: #ea4335; }
.industry-arch-yellow  { background: #fbbc04; color: #1a202c !important; }
.industry-arch-purple  { background: #9334e6; }

/* ---------- CTA Section ---------- */
.industry-cta {
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.industry-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
}

.industry-cta p {
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.industry-cta .industry-btn-white {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #1a73e8;
    background: #ffffff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 16px;
    margin-bottom: 12px;
}

.industry-cta .industry-btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.industry-cta .industry-btn-outline {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.industry-cta .industry-btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .industry-hero {
        padding: 70px 16px 60px;
    }

    .industry-hero h1 {
        font-size: 32px;
    }

    .industry-hero p {
        font-size: 16px;
    }

    .industry-section {
        padding: 50px 0;
    }

    .industry-section-title {
        font-size: 26px;
        margin-bottom: 36px;
    }

    .industry-arch-table {
        border-spacing: 4px;
    }

    .industry-arch-table th,
    .industry-arch-table td {
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media (max-width: 767px) {
    .industry-hero {
        padding: 60px 16px 50px;
    }

    .industry-hero h1 {
        font-size: 26px;
    }

    .industry-hero p {
        font-size: 15px;
    }

    .industry-section-title {
        font-size: 22px;
    }

    .industry-cta h2 {
        font-size: 24px;
    }

    .industry-cta p {
        font-size: 15px;
    }

    .industry-cta .industry-btn-white,
    .industry-cta .industry-btn-outline {
        display: block;
        margin: 0 auto 12px;
        max-width: 260px;
    }

    /* Stack arch table on mobile */
    .industry-arch-table,
    .industry-arch-table thead,
    .industry-arch-table tbody,
    .industry-arch-table tr,
    .industry-arch-table th,
    .industry-arch-table td {
        display: block;
        width: 100%;
    }

    .industry-arch-table tr {
        margin-bottom: 12px;
    }

    .industry-arch-table th {
        border-radius: 8px 8px 0 0;
    }

    .industry-arch-table td {
        border-radius: 0;
    }

    .industry-arch-table td:last-child {
        border-radius: 0 0 8px 8px;
    }
}


/* ---------- Hero Banner V2 (Glassmorphism + Split Panel) ---------- */
.industry-hero-v2 {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #0b0f19;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    width: 100%;
}

.hero-content-wrapper .row {
    justify-content: center;
}

.hero-content-wrapper .col-lg-7 {
    width: 100%;
    max-width: 850px;
    flex: 0 0 100%;
}

.hero-text-box {
    background: rgba(17, 24, 39, 0.70);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 56px 48px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text-box .industry-hero-label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text-box h1 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-text-box p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 36px;
}

@media (max-width: 991px) {
    .industry-hero-v2 {
        min-height: 480px;
    }
    .industry-hero-v2 .hero-bg-wrapper {
        width: 100%;
    }
    .industry-hero-v2 .hero-bg-wrapper::before {
        background: linear-gradient(0deg, #0b0f19 0%, rgba(11,15,25,0.85) 60%, rgba(11,15,25,0.3) 100%);
    }
    .hero-content-wrapper {
        padding: 50px 0;
    }
    .hero-text-box {
        padding: 32px 24px;
        margin-top: 40px;
    }
    .hero-text-box h1 {
        font-size: 32px;
    }
}

/* ---------- Missing Hero Button Styles ---------- */
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.industry-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #38bdf8;
    color: #0f172a !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.industry-btn-primary:hover {
    background: #7dd3fc;
    color: #0f172a !important;
    box-shadow: 0 8px 20px rgba(56,189,248,0.4);
    transform: translateY(-2px);
}

/* ================================================================
   Enterprise Page — Refined UI (ent-* namespace)
   ================================================================ */

/* ---------- Pain Points Section ---------- */
.ent-painpoints {
    background: #ffffff;
}

.ent-pain-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 36px 28px 32px;
    height: 100%;
    text-align: center;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}

.ent-pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ea4335, #fbbc04);
    border-radius: 14px 14px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ent-pain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: #e5e7eb;
}

.ent-pain-card:hover::before {
    opacity: 1;
}

.ent-pain-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fef2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ent-pain-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.ent-pain-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------- Solutions Section ---------- */
.ent-solutions {
    background: #f8fafc;
}

.ent-sol-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 36px 24px 32px;
    height: 100%;
    text-align: center;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.ent-sol-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26,115,232,0.1);
    border-color: #bfdbfe;
}

.ent-sol-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ent-sol-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
}

.ent-sol-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------- Architecture Stack ---------- */
.ent-arch {
    background: #f8fafc;
}

.ent-arch-stack {
    max-width: 900px;
    margin: 0 auto;
}

.ent-arch-layer {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ent-arch-header {
    text-align: center;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.ent-arch-dark   { background: #1e293b; }
.ent-arch-green  { background: #16a34a; }
.ent-arch-blue   { background: #2563eb; }
.ent-arch-yellow { background: #eab308; color: #1c1917 !important; }

.ent-arch-body {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    padding: 18px 16px;
}

.ent-arch-chip {
    display: inline-block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ent-arch-chip:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Green chips */
.ent-arch-body-green { border-color: #dcfce7; }
.ent-arch-chip-green {
    display: inline-block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #166534;
    text-align: center;
    line-height: 1.6;
    transition: all 0.2s ease;
}
.ent-arch-chip-green small { color: #6b7280; font-weight: 400; }
.ent-arch-chip-green:hover { background: #dcfce7; border-color: #86efac; }

/* Blue chips */
.ent-arch-body-blue { border-color: #dbeafe; }
.ent-arch-chip-blue {
    display: inline-block;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #1e40af;
    text-align: center;
    line-height: 1.6;
    transition: all 0.2s ease;
}
.ent-arch-chip-blue small { color: #6b7280; font-weight: 400; }
.ent-arch-chip-blue:hover { background: #dbeafe; border-color: #93c5fd; }

/* Yellow chips */
.ent-arch-body-yellow { border-color: #fef9c3; }
.ent-arch-chip-yellow {
    display: inline-block;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #854d0e;
    text-align: center;
    line-height: 1.6;
    transition: all 0.2s ease;
}
.ent-arch-chip-yellow small { color: #6b7280; font-weight: 400; }
.ent-arch-chip-yellow:hover { background: #fef9c3; border-color: #fcd34d; }

/* Arrows */
.ent-arch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}

/* Security bar */
.ent-arch-security {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ent-arch-sec-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ent-arch-sec-chip:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* ---------- Use Cases ---------- */
.ent-usecases {
    background: #ffffff;
}

.ent-case-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 32px 28px;
    height: 100%;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}

.ent-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1a73e8, #38bdf8);
    border-radius: 14px 0 0 14px;
}

.ent-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #e5e7eb;
}

.ent-case-metrics {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ent-metric {
    display: inline-block;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    color: #1e40af;
}

.ent-metric strong {
    font-weight: 800;
    font-size: 16px;
    color: #1a73e8;
}

.ent-case-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.ent-case-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ---------- CTA ---------- */
.ent-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a73e8 100%) !important;
    position: relative;
    overflow: hidden;
}

.ent-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(56,189,248,0.08);
    pointer-events: none;
}

.ent-cta::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(124,58,237,0.06);
    pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .ent-pain-card,
    .ent-sol-card,
    .ent-case-card {
        padding: 28px 20px 24px;
    }

    .ent-arch-chip,
    .ent-arch-chip-green,
    .ent-arch-chip-blue,
    .ent-arch-chip-yellow {
        padding: 8px 12px;
        font-size: 12px;
    }

    .ent-arch-sec-chip {
        padding: 8px 14px;
        font-size: 12px;
    }

    .ent-case-metrics {
        gap: 8px;
    }

    .ent-metric {
        padding: 4px 10px;
        font-size: 12px;
    }

    .ent-metric strong {
        font-size: 14px;
    }
}
