/* LASER SECTION - "THE PHOTON BEAM" */
/* Concept: Precision heat, golden sparks, and the transformation of matter. */

.laser-section {
    position: relative;
    padding: 200px 0 150px;
    background-color: #080808;
    /* Pure Void */
    color: #fff;
    z-index: 8;
    overflow: hidden;
    margin-top: -100px;
    /* Overlap Labels */
    /* Extraordinary Separation: "The Beam Cut" */
    /* A precise, sharp cut that simulates a laser incision */
    clip-path: polygon(0 100px, 35% 0, 100% 120px, 100% 100%, 0 100%);
}

/* Background Atmosphere: Sparks & Smoke */
.laser-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 69, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* The Burn Line (Visual Border) */
.laser-section::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    transform: rotate(-5deg);
    opacity: 0.5;
    pointer-events: none;
    display: none;
    /* Replaced by clip path logic, visually distracting if misalignment */
}

.laser-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- MAIN LASER INTRO --- */
.laser-intro {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 150px;
}

.laser-visuals {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Laser Machine Visualization */
.laser-machine-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
}

.laser-machine-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.8);
    transition: transform 1s ease;
}

.laser-machine-frame:hover .laser-machine-img {
    transform: scale(1.05);
}

/* The Beam Effect */
.laser-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #FFD700;
    box-shadow: 0 0 20px #FFD700, 0 0 40px #FF4500;
    opacity: 0.8;
    animation: scanBeam 4s ease-in-out infinite;
    z-index: 5;
}

.laser-spark {
    position: absolute;
    top: 50%;
    /* Moves with JS or CSS animation matching beam */
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px #fff, 0 0 40px #FFD700;
    animation: sparkFollow 4s ease-in-out infinite;
    z-index: 6;
}

@keyframes scanBeam {
    0% {
        left: 10%;
    }

    50% {
        left: 90%;
    }

    100% {
        left: 10%;
    }
}

@keyframes sparkFollow {
    0% {
        left: 10%;
        top: 20%;
    }

    25% {
        top: 80%;
    }

    50% {
        left: 90%;
        top: 20%;
    }

    75% {
        top: 80%;
    }

    100% {
        left: 10%;
        top: 20%;
    }
}

.laser-info {
    flex: 1;
}

.laser-label {
    color: #FFD700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.laser-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #FFD700;
}

.laser-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 40px;
}

.laser-title span {
    color: #FFD700;
    font-style: italic;
}

.laser-p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 600px;
}

.highlight-gold {
    color: #FFD700;
    font-weight: 700;
}

/* MATERIALS GRID - Periodic Table Style */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.mat-card {
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    background: rgba(255, 215, 0, 0.02);
}

.mat-card:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: translateY(-5px);
}

.mat-icon {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.mat-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
}

/* --- MINI SECTIONS (APPLICATIONS) --- */
.minis-container {
    margin-top: 150px;
}

.minis-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.minis-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #FFD700;
    margin: 10px auto 0;
    box-shadow: 0 0 10px #FFD700;
}

/* Timeline/Module Layout */
.mini-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 150px;
    position: relative;
}

.mini-section.alt {
    flex-direction: row-reverse;
}

.mini-visual {
    flex: 1;
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mini-visual:hover .mini-img {
    transform: scale(1.1);
}

/* Overlay gradient for text readability if needed, but we have side text */
.mini-content {
    flex: 1;
    padding: 20px;
}

.mini-header {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-icon {
    color: #FFD700;
    font-size: 1.8rem;
}

.mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    border-left: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
}

.mini-list li:hover {
    border-left-color: #FFD700;
    padding-left: 30px;
    color: #fff;
}

/* Exclusive Distributor Badge */
.trodat-badge {
    margin-top: 30px;
    display: inline-block;
    background: #fff;
    color: #c00;
    padding: 10px 20px;
    font-weight: 800;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {

    .laser-intro,
    .mini-section,
    .mini-section.alt {
        flex-direction: column;
    }

    .laser-visuals,
    .mini-visual {
        width: 100%;
        height: 400px;
        margin-bottom: 40px;
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}