/* css/industries.css */

.section-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   Hero Section
   ========================================= */
.industries-hero {
    position: relative;
    padding: 16rem 5vw 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.ind-mesh {
    position: absolute;
    top: 30%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1) 0%, rgba(121, 40, 202, 0.1) 50%, transparent 70%);
    filter: blur(90px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.industries-hero .hero-main {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-support {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 650px;
}

/* =========================================
   Journey / Floating Tag Section
   ========================================= */
.industry-journey {
    position: relative;
    padding: 8rem 5vw 10rem;
    min-height: 100vh;
    overflow: hidden;
}

/* The Animated String Background */
.string-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.journey-line {
    width: 100%;
    height: 100%;
}

.journey-line path {
    stroke: var(--text-primary);
}

.journey-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* The Floating Tags */
.industry-tag {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3rem 3rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.industry-tag:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Staggering the Tags Left and Right */
.tag-left {
    align-self: flex-start;
    margin-left: 5%;
}

.tag-right {
    align-self: flex-end;
    margin-right: 5%;
}

.tag-center {
    align-self: center;
}

/* The "Hole Punch" Pin Design */
.pin-hole {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Tag Content */
.tag-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: #8061E8;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.industry-tag h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.industry-tag p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.industry-tag ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.industry-tag ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.industry-tag ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Action Section */
.services-action {
    text-align: center;
    padding: 8rem 5vw;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.01);
}

.services-action h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.block-btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 1.2rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    text-decoration: none;
    margin-top: 1rem;
}

.block-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .industries-hero .hero-main {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .journey-content {
        gap: 4rem;
    }

    .tag-left,
    .tag-right,
    .tag-center {
        align-self: center;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .industries-hero .hero-main {
        font-size: 3rem;
    }
}

/* =========================================
   Vertical Edge Design Elements
   ========================================= */
.vertical-edge-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.edge-shape {
    position: absolute;
    opacity: 1;
    /* Fully opaque, distinct graphics */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

/* LEFT SIDE CORNERS */
.shape-hex-left {
    left: 3vw;
    top: 15%;
    width: 120px;
    height: 120px;
    animation: edgeSpin 45s infinite linear;
    color: #8061E8;
    /* Brand Purple */
}

.shape-x-left {
    left: 4.5vw;
    top: 45%;
    width: 80px;
    height: 80px;
    animation: edgeFloat 18s infinite ease-in-out;
    color: var(--text-primary);
    /* Solid Dark */
}

.shape-orbit-left {
    left: 3.5vw;
    top: 75%;
    width: 110px;
    height: 110px;
    animation: edgeSpinReverse 35s infinite linear;
    color: #FF0080;
    /* Brand Pink */
}

/* RIGHT SIDE CORNERS */
.shape-geo-right {
    right: 2.5vw;
    top: 18%;
    width: 130px;
    height: 130px;
    animation: edgeSpinReverse 40s infinite linear;
    color: #FF0080;
    /* Brand Pink */
}

.shape-cursor-right {
    right: 3vw;
    top: 48%;
    width: 100px;
    height: 100px;
    animation: edgeFloatReverse 22s infinite ease-in-out;
    color: #8061E8;
    /* Brand Purple */
}

.shape-bars-right {
    right: 4vw;
    top: 78%;
    width: 85px;
    height: 85px;
    animation: edgeFloat 20s infinite ease-in-out;
    color: var(--text-primary);
    /* Solid Dark */
}

/* Edge Animations */
@keyframes edgeSpin {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes edgeSpinReverse {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(40px) rotate(-180deg);
    }

    100% {
        transform: translateY(0) rotate(-360deg);
    }
}

@keyframes edgeFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes edgeFloatReverse {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Hide on mobile to keep the small screen clean */
@media (max-width: 1100px) {
    .vertical-edge-elements {
        display: none;
    }
}