/* ============================================
   LASER PAGE CUSTOM STYLES - Async Loaded
   ============================================ */

/* CAPABILITY GRID (Refactored to 3 columns) */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 1100px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

.capability-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.capability-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
    background: var(--bg-card);
}

video.card-image {
    min-height: 220px;
    background: var(--bg-card);
}

.capability-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CINEMATIC HERO LAYOUT */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #000 0%, #000 40%, transparent 100%);
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 80vh !important;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
    .hero {
        background: #000;
        flex-direction: column;
        justify-content: center;
        min-height: auto !important;
        padding: 80px 0 40px !important;
    }

    .hero-bg-animation {
        position: relative;
        width: 100%;
        height: 280px;
        max-height: 40vh;
        -webkit-mask-image: none;
        mask-image: none;
        order: 2;
        margin-top: 1.5rem;
    }

    .hero-bg-animation iframe {
        max-height: 280px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 1;
        padding: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(201, 162, 39, 0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.capability-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.capability-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.featured-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* VS COMPARISON */
.vs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .vs-grid {
        grid-template-columns: 1fr;
    }
}

.vs-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vs-bad {
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.vs-bad h4 {
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.vs-good {
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.1);
}

.vs-good h4 {
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.vs-bad p,
.vs-good p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* HOW IT WORKS TIMELINE */
.how-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .how-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .how-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-step {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.how-step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gold);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.how-step h4 {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.how-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WHAT IS SECTION */
.what-is-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .what-is-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.benefit-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gold);
}

.visual-demo {
    position: relative;
    background: linear-gradient(135deg, #111, #1a1a1a);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.visual-demo-icon {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.visual-demo p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* COMPARISON TABLE */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
}

.comparison-table th.highlight {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* APP GRID */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

.app-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

/* BEFORE/AFTER SLIDER */
.ba-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold);
}

.ba-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-slider .ba-after {
    clip-path: inset(0 50% 0 0);
}

.ba-slider input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.ba-slider .ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.8);
    z-index: 5;
    pointer-events: none;
}

.ba-slider .ba-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ba-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ba-labels span:first-child {
    color: var(--error);
}

.ba-labels span:last-child {
    color: var(--success);
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    font-weight: 600;
}

/* SERVICE TAGS */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

.service-tag {
    padding: 0.5rem 1rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gold);
}

/* SHOWCASE SECTION */
.showcase-header {
    text-align: center;
    margin-bottom: 4rem;
}

.eyebrow-pills {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.eyebrow-text {
    color: var(--gold);
    font-size: 0.8rem;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px !important;
        min-height: auto !important;
    }

    .hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .capabilities-grid,
    .how-works-grid {
        grid-template-columns: 1fr !important;
    }
}