/* ============================================================
   INDUSTRIES PAGE
   Hero + 6 alternating sections, one per industry case.
   Visual side: stylized "result card" with industry icon,
   KPI value, and a thematic SVG (chart / network / blocks /
   rings / map) plus a soft pattern background.
   Brand palette:
     #2f1f4f deep purple · #4949e7 blue · #d35b74 rose · #dedede
   ============================================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--theme-bg-primary, #ffffff);
    color: var(--theme-text-secondary, #1d1d1f);
    overflow-x: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.ind-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    background: linear-gradient(
        180deg,
        var(--theme-bg-primary, #ffffff) 0%,
        var(--theme-bg-secondary, #f5f5f7) 100%
    );
    position: relative;
    overflow: hidden;
}

.ind-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 28%, rgba(73, 73, 231, 0.07) 0%, transparent 58%),
        radial-gradient(circle at 78% 72%, rgba(211, 91, 116, 0.05) 0%, transparent 52%);
    pointer-events: none;
}

.ind-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.ind-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--theme-text-primary, #2f1f4f);
    margin-bottom: 1.5rem;
    animation: indHeroFadeUp 0.9s ease 0.1s both;
}

.ind-hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--theme-text-light, #6e6e73);
    line-height: 1.65;
    max-width: 700px;
    margin: 0 auto;
    animation: indHeroFadeUp 0.9s ease 0.28s both;
}

@keyframes indHeroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.ind-section {
    min-height: 100vh;
    background: var(--theme-bg-primary, #ffffff);
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.ind-section--alt {
    background: var(--theme-bg-secondary, #f5f5f7);
}

.ind-section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Reverse layout — visual on the left, content on the right */
.ind-section-inner--reverse {
    grid-template-columns: 1fr 1fr;
}

/* ── Content side ──────────────────────────────────────────── */
.ind-content {
    max-width: 540px;
}

.ind-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-accent-secondary, #4949e7);
    margin-bottom: 1rem;
}

.ind-tag i {
    font-size: 1rem;
}

.ind-title {
    font-size: clamp(1.7rem, 2.7vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: var(--theme-text-primary, #2f1f4f);
    margin-bottom: 1.75rem;
}

.ind-block {
    margin-bottom: 1.1rem;
    padding-left: 0.9rem;
    border-left: 2px solid rgba(73, 73, 231, 0.25);
}

.ind-block-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--theme-accent-primary, #d35b74);
    margin-bottom: 0.25rem;
}

.ind-block-text {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--theme-text-secondary, #1d1d1f);
    margin: 0;
}

.ind-block-text strong {
    color: var(--theme-text-primary, #2f1f4f);
    font-weight: 600;
}

body.theme-dark .ind-block-text {
    color: #dedede;
}

body.theme-dark .ind-block-text strong {
    color: var(--theme-accent-primary, #d35b74);
}

/* ── Service link badge ────────────────────────────────────── */
.ind-service {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.6rem;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: rgba(73, 73, 231, 0.08);
    border: 1px solid rgba(73, 73, 231, 0.25);
    text-decoration: none;
    color: var(--theme-text-primary, #2f1f4f);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ind-service:hover {
    background: rgba(73, 73, 231, 0.14);
    border-color: var(--theme-accent-secondary, #4949e7);
    transform: translateY(-1px);
}

.ind-service-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--theme-accent-primary, #d35b74);
}

.ind-service-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-text-primary, #2f1f4f);
}

.ind-service i {
    color: var(--theme-accent-secondary, #4949e7);
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.ind-service:hover i {
    transform: translateX(3px);
}

body.theme-dark .ind-service {
    background: rgba(73, 73, 231, 0.18);
    border-color: rgba(73, 73, 231, 0.45);
}

body.theme-dark .ind-service-name {
    color: #dedede;
}

/* ============================================================
   VISUAL — result card
   ============================================================ */
.ind-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ind-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    background: linear-gradient(
        145deg,
        rgba(73, 73, 231, 0.08) 0%,
        rgba(211, 91, 116, 0.06) 100%
    );
    border: 1px solid rgba(73, 73, 231, 0.18);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ind-card:hover {
    transform: translateY(-4px);
}

body.theme-dark .ind-card {
    background: linear-gradient(
        145deg,
        rgba(73, 73, 231, 0.18) 0%,
        rgba(211, 91, 116, 0.10) 100%
    );
    border-color: rgba(73, 73, 231, 0.35);
}

/* Soft dot-grid pattern in background */
.ind-card-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(47, 31, 79, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

body.theme-dark .ind-card-pattern {
    background-image: radial-gradient(rgba(222, 222, 222, 0.10) 1px, transparent 1px);
}

/* Industry icon — top-left */
.ind-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--theme-accent-secondary, #4949e7);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 22px rgba(73, 73, 231, 0.28);
}

/* KPI block */
.ind-card-kpi {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ind-card-value {
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--theme-text-primary, #2f1f4f);
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
}

.ind-card-unit {
    font-size: 0.55em;
    font-weight: 600;
    color: var(--theme-accent-primary, #d35b74);
    margin-left: 0.05em;
}

.ind-card-num {
    background: linear-gradient(135deg, var(--theme-accent-secondary, #4949e7), var(--theme-accent-primary, #d35b74));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ind-card-value-text {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--theme-text-primary, #2f1f4f);
}

.ind-card-value-text-accent {
    color: var(--theme-accent-primary, #d35b74);
}

.ind-card-caption {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--theme-text-light, #6e6e73);
    letter-spacing: 0.02em;
}

body.theme-dark .ind-card-value {
    color: #ffffff;
}

body.theme-dark .ind-card-value-text {
    color: #ffffff;
}

body.theme-dark .ind-card-caption {
    color: #b8b8c2;
}

/* ============================================================
   CTA
   ============================================================ */
.ind-cta {
    padding: 110px 24px;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--theme-bg-secondary, #f5f5f7) 0%,
        var(--theme-bg-primary, #ffffff) 100%
    );
}

.ind-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ind-cta-title {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--theme-text-primary, #2f1f4f);
    margin-bottom: 1rem;
}

.ind-cta-desc {
    font-size: 1.05rem;
    color: var(--theme-text-light, #6e6e73);
    margin-bottom: 2rem;
}

.ind-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    background: var(--theme-accent-secondary, #4949e7);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 28px rgba(73, 73, 231, 0.28);
}

.ind-cta-btn:hover {
    background: var(--theme-accent-primary, #d35b74);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(211, 91, 116, 0.32);
}

.ind-cta-btn i {
    transition: transform 0.25s ease;
}

.ind-cta-btn:hover i {
    transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ind-section {
        min-height: auto;
        padding: 40px 0;
    }

    .ind-section-inner,
    .ind-section-inner--reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 60px 6%;
    }

    /* Mobile order: content first, visual second on every section */
    .ind-section-inner .ind-content,
    .ind-section-inner--reverse .ind-content {
        order: 1;
    }
    .ind-section-inner .ind-visual,
    .ind-section-inner--reverse .ind-visual {
        order: 2;
    }

    .ind-card {
        max-width: 380px;
        padding: 2rem 1.6rem;
    }
}

@media (max-width: 600px) {
    .ind-hero {
        padding: 120px 20px 80px;
    }

    .ind-card {
        max-width: 100%;
        padding: 1.75rem 1.5rem;
        gap: 1.25rem;
    }

    .ind-card-icon {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
        border-radius: 12px;
    }

    .ind-service {
        flex-wrap: wrap;
        gap: 0.45rem;
        padding: 0.7rem 0.95rem;
    }
}

/* ============================================================
   FOOTER  (canonical, matches index.html)
   ============================================================ */
.footer-minimal {
    background: var(--theme-bg-secondary, #f5f5f7);
    padding: 3rem 10%;
    text-align: center;
    border-top: 1px solid var(--theme-border, rgba(0, 0, 0, 0.05));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--theme-text-light, #6e6e73);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--theme-accent-secondary, #4949e7);
}

.footer-copy {
    color: var(--theme-text-light, #86868b);
    font-size: 0.8125rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-minimal {
        padding: 2rem 5%;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
