/* ============================================
   LANDING PAGE — SPECIFIC STYLES
   ============================================ */

/* ---- Business Lines Grid ---- */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.business-card {
    background: var(--gradient-white-to-corpwhite);
    border-radius: var(--round-radius);
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(56, 65, 73, 0.1);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-8px);
}

.business-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    padding: 10px;
}

.business-icon img {
    width: auto;
}

.business-card h3 {
    margin-bottom: 1rem;
    background: var(--base-darker);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.business-card p {
    color: var(--base-darker);
    line-height: 1.8;
}

/* ---- Product Categories — Horizontal Carousel ---- */
.categories-carousel-section {
    padding: 4rem 0;
    width: 75%;
    position: relative;
    margin: 3rem auto;
    background: var(--gradient-dark);
    overflow: hidden;
    border-radius: var(--round-radius);
}

.categories-carousel-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.categories-carousel-info {
    padding-top: 1rem;
}

.categories-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    background: rgba(94, 229, 153, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
}

.categories-carousel-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.categories-carousel-info p {
    font-size: 1.05rem;
    color: rgba(240, 240, 240, 0.7);
    line-height: 1.7;
    max-width: 300px;
}

/* Carousel wrapper */
.categories-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.categories-carousel-track {
    display: flex;
    gap: 1.2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;;
}

/* Individual category card */
.cat-card {
    flex: 0 0 calc((100% - 2.4rem) / 3);
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.cat-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card:hover .cat-card-img img {
    transform: scale(1.06);
}

.cat-card-body {
    padding: 1rem 1.2rem 1.4rem;
}

.cat-card-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(240, 240, 240, 0.5);
    margin-bottom: 0.35rem;
}

.cat-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Progress bar */
.categories-carousel-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1.8rem;
    overflow: hidden;
}

.categories-carousel-progress-bar {
    height: 100%;
    background: var(--accent-green);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 33%;
}

/* Navigation buttons */
.categories-carousel-nav {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.cat-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cat-nav-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--base-darker);
    transform: scale(1.08);
}

.cat-nav-btn:active {
    transform: scale(0.95);
}

.cat-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Video Showcase Section ---- */
.video-showcase {
    padding: 2rem 1.5rem;
    background: var(--white);
}

.video-showcase-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.video-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    background: rgba(94, 229, 153, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
}

.video-showcase-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--base-darker);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.video-frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-frame-border {
    position: relative;
    border-radius: 20px;
    padding: 6px;
    background: var(--gradient-primary);
    box-shadow: 0 20px 60px rgba(94, 229, 153, 0.2),
        0 4px 20px rgba(33, 53, 75, 0.08);
}

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--gradient-dark);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(94, 229, 153, 0.08) 0%, transparent 60%);
}

.video-placeholder:hover {
    box-shadow: inset 0 0 80px rgba(94, 229, 153, 0.05);
}

.video-play-btn {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
    background: rgba(94, 229, 153, 0.2);
    border-color: var(--accent-green);
}

.video-play-text {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Video element inside placeholder */
.video-placeholder video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    z-index: 0;
}

/* Overlay (play button + text) */
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(33, 53, 75, 0.5);
    border-radius: 16px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Embedded iframe state (fallback) */
.video-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* ---- ADN Section ---- */
.adn-grid {
    display: grid;
    height: 85%;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.adn-card {
    background: var(--white);
    border-radius: var(--round-radius);
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(33, 53, 75, 0.08);
    border: 1px solid rgba(56, 65, 73, 0.08);
}

.adn-card h3 {
    margin-bottom: 1rem;
    color: var(--base-darker);
}

.adn-card p {
    color: var(--base-dark);
    line-height: 1.7;
}

.adn-card a {
    color: var(--base-darker);
    font-weight: 700;
    text-decoration: none;
}

.adn-card a:hover {
    color: var(--accent-green);
}

.adn-card.alt {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.adn-card.alt h3,
.adn-card.alt p {
    color: var(--base-darker);
}

.adn-card.alt a {
    color: var(--accent-yellow);
}

/* ---- Stats Banner ---- */
.stats-banner {
    background: var(--gradient-dark);
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-green);
    border-radius: 50%;
    opacity: 0.1;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h2 {
    color: var(--accent-green);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ---- Features Grid (Why Choose Us / FAQ) ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    padding: 10px;
}

/* Animated WebP icon (removes black background via blend mode) */
.feature-icon--animated {
    background: transparent;
    border-radius: 0;
    width: 150px;
    height: 150px;
    padding: 0;
    overflow: visible;
}

.feature-icon--animated img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--base-darker);
}

.feature-item p {
    color: var(--base-dark);
    line-height: 1.8;
}

/* ---- Testimonials ---- */
.testimonials {
    padding: 4rem 1rem;
    background: var(--gradient-corpwhite-to-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.testimonial-card {
    background: rgb(255, 255, 255);
    padding: 3rem 2rem;
    border-radius: var(--round-radius);
    box-shadow: 0 10px 40px rgba(33, 53, 75, 0.08);
    position: relative;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(33, 53, 75, 0.12);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--accent-green);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    color: var(--base-dark);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--base-darker);
    font-family: 'Sen', sans-serif;
}

.author-info h4 {
    color: var(--base-darker);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--base-dark);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ---- Success Cases ---- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    position: relative;
    height: 450px;
    border-radius: var(--round-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(33, 53, 75, 0.3) 0%, rgba(33, 53, 75, 0.95) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.case-card:hover::before {
    background: linear-gradient(180deg, rgba(94, 229, 153, 0.3) 0%, rgba(33, 53, 75, 0.95) 100%);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(33, 53, 75, 0.2);
}

.case-image {
    width: 100%;
    height: 100%;
    background: var(--base-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 4rem;
}

.case-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    color: var(--white);
}

.case-tag {
    display: inline-block;
    background: var(--accent-green);
    color: var(--base-darker);
    padding: 0.5rem 1rem;
    border-radius: var(--round-radius);
    font-size: 0.85rem;
    font-family: 'Sen', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-content h3 {
    margin-bottom: 1rem;
}

.case-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .categories-carousel-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }

    .categories-carousel-info {
        text-align: center;
        padding-top: 0;
    }

    .categories-carousel-info p {
        max-width: 500px;
        margin: 0 auto;
    }

    .categories-carousel-info h2 {
        font-size: 2.2rem;
    }

    .cat-card {
        flex: 0 0 calc((100% - 1.2rem) / 2);
    }
}

@media (max-width: 768px) {

    .business-grid,
    .features-grid,
    .testimonials-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        padding: 4rem 1rem;
    }

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

    /* Categories carousel mobile */
    .categories-carousel-section {
        padding: 3rem 0;
    }

    .categories-carousel-inner {
        padding: 0 1.5rem;
    }

    .categories-carousel-info h2 {
        font-size: 2rem;
    }

    .cat-card {
        flex: 0 0 calc(100% - 0rem);
    }

    .cat-nav-btn {
        width: 44px;
        height: 44px;
    }

    /* Video section mobile */
    .video-showcase {
        padding: 4rem 1rem;
    }

    .video-showcase-text h2 {
        font-size: 1.5rem;
    }

    .video-play-btn {
        width: 64px;
        height: 64px;
    }

    .video-play-btn svg {
        width: 36px;
        height: 36px;
    }
}

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

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .categories-carousel-inner {
        padding: 0 1rem;
    }

    .categories-carousel-info h2 {
        font-size: 1.8rem;
    }
}