/* Modern Hero Animation Styles - Version 3 (GSAP AI Security) */
#hero-animated {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #1A192A;
    /* Sambucus */
    /* fallback */
    background: -webkit-linear-gradient(to right, #1A192A, #312C46, #513D88);
    background: linear-gradient(to right, #1A192A, #312C46, #513D88);
    /* Sambucus -> Black Blueberry -> Harvest Night */
    display: flex;
    align-items: center;
    padding: 0;
    z-index: 1;
}

/* Content Styles */
.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 0;
}

/* Headline Typography */
.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #fff 0%, #8163C2 100%);
    /* White to Lavish Spending */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(129, 99, 194, 0.5));
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 550px;
    border-left: 3px solid #8163C2;
    /* Lavish Spending */
    padding-left: 20px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-hero-primary {
    padding: 14px 35px;
    background: linear-gradient(90deg, #8163C2 0%, #513D88 100%);
    /* Lavish Spending to Harvest Night */
    color: #fff;
    /* White text */
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgba(129, 99, 194, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(129, 99, 194, 0.6);
    color: #fff;
}

.btn-hero-secondary {
    padding: 14px 35px;
    background: transparent;
    color: #fff;
    /* White Text */
    border: 2px solid #8163C2;
    /* Lavish Spending border */
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: rgba(129, 99, 194, 0.2);
    border-color: #513D88;
    /* Harvest Night */
    color: #fff;
    box-shadow: 0 0 15px rgba(129, 99, 194, 0.4);
    transform: translateY(-2px);
}

/* Responsive */
@media screen and (max-width: 991px) {
    #ai-scene {
        opacity: 0.3 !important;
        /* Dim animation on mobile so text is legible */
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 767px) {
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
    }

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

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }
}

/* Isometric Card Styles */
.isometric-card {
    margin: 0 auto;
    transform: rotateX(51deg) rotateZ(43deg);
    transform-style: preserve-3d;
    background: linear-gradient(135deg, #8163C2 0%, #513D88 100%);
    will-change: transform;
    width: 280px;
    height: 360px;
    border-radius: 1.5rem;
    box-shadow: 1px 1px 0 1px rgba(129, 99, 194, 0.3),
        -1px 0 28px 0 rgba(34, 33, 81, 0.01),
        28px 28px 28px 0 rgba(34, 33, 81, 0.25);
    transition: 0.4s ease-in-out transform, 0.3s ease-in-out box-shadow;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.isometric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.isometric-card:hover {
    transform: translate3d(0px, -16px, 0px) rotateX(51deg) rotateZ(43deg);
    box-shadow: 1px 1px 0 1px rgba(129, 99, 194, 0.4),
        -1px 0 28px 0 rgba(34, 33, 81, 0.01),
        54px 54px 28px -10px rgba(34, 33, 81, 0.35);
}

.card-content {
    padding: 2rem 1.5rem;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-logo {
    text-align: center;
    margin-bottom: 0.5rem;
}

.card-logo img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.company-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
}

.tagline {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0.8rem 0;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-item i {
    color: #D19502;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.card-footer {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.cert-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1200px) {
    .isometric-card {
        width: 240px;
        height: 320px;
    }

    .card-content {
        padding: 1.5rem 1rem;
    }

    .card-logo img {
        width: 50px;
        height: 50px;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .contact-item {
        font-size: 0.7rem;
    }
}