/* ===================================================================
   ASTERISK SERVICE PAGE - 2026 TREND DESIGN
   =================================================================== */

:root {
    --asterisk-orange: #FF6600;
    --asterisk-orange-glow: rgba(255, 102, 0, 0.4);
    --tech-slate: #1e293b;
}

/* 1. HERO V3 - AMBIENT MINIMAL */
.asterisk-hero {
    position: relative;
    padding: 160px 0 100px;
    background: #020617;
    overflow: hidden;
}

.asterisk-hero::before {
    content: "";
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--asterisk-orange-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    animation: auraPulse 8s infinite alternate;
}

@keyframes auraPulse {
    from {
        opacity: 0.4;
        transform: scale(1);
    }

    to {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.hero-logo-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-logo-box img {
    max-height: 120px;
    filter: drop-shadow(0 0 20px var(--asterisk-orange-glow));
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

/* 2. REVEAL ANIMATIONS */
.gravity-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    animation: gravityReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes gravityReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 2.5 SECTION HEADINGS */
.section-subtitle {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--asterisk-orange);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--asterisk-orange);
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.section-deck {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
}

/* 3. BENTO GRID - WHAT WE CONFIGURE */
.asterisk-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    margin-top: 40px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 25px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.bento-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 102, 0, 0.15) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.bento-big {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
    justify-content: center;
    gap: 20px;
}

.bento-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.bento-icon {
    font-size: 32px;
    color: var(--asterisk-orange);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px var(--asterisk-orange-glow));
    flex-shrink: 0;
}

.bento-big .bento-icon {
    font-size: 48px;
    margin-bottom: 25px;
}

.bento-item h4 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 1rem;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.bento-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 4. HUD TECH SECTION */
.hud-container {
    background: #020617;
    border-radius: 32px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: inset 0 0 100px rgba(255, 102, 0, 0.05);
}

.hud-module {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.hud-module::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--asterisk-orange), transparent);
}

.hud-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--asterisk-orange);
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.hud-module h5 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hud-module p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* 5. PREMIUM GALLERY - EQUAL GRID */
.premium-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item-v2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-device {
    background: #000;
    border: 8px solid #1e293b;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    aspect-ratio: 16/10;
}

.glass-device:hover {
    transform: translateY(-8px);
    border-color: var(--asterisk-orange);
}

.glass-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 0.6s;
}

.glass-device:hover img {
    opacity: 1;
}

.gallery-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
}

/* 6. HOW IT WORKS - PROCESS STEPS */
.process-steps-v2 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-card-v2 {
    padding-left: 60px;
    position: relative;
    padding-bottom: 40px;
}

.step-header {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num-v2 {
    width: 40px;
    height: 40px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--asterisk-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--asterisk-orange);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 15px var(--asterisk-orange-glow);
    z-index: 2;
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--asterisk-orange), transparent);
    margin-top: 10px;
    opacity: 0.3;
}

.step-card-v2 h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-card-v2 p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
}

/* 7. GLASS SIDEBAR - WIDGET BASED */
.sidebar-glass {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget-glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sidebar-widget-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 102, 0, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.sidebar-widget-glass:hover::before {
    opacity: 1;
}

.sidebar-widget-glass:hover {
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.sidebar-widget-glass h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.sidebar-nav-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-v2 li {
    margin-bottom: 12px;
}

.sidebar-nav-v2 a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.sidebar-nav-v2 a:hover,
.sidebar-nav-v2 a.active {
    color: var(--asterisk-orange);
    background: rgba(255, 102, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.2);
    transform: translateX(5px);
}

/* CTA Widget - Premium Palette */
.sidebar-cta-glass {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    border: 1px solid rgba(255, 102, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.1);
}

.sidebar-cta-glass::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-cta-glass h5 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sidebar-cta-glass .btn-light {
    background: #fff;
    color: var(--asterisk-orange) !important;
    border: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-cta-glass .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.3);
}

/* Info Widget */
.project-details-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details-v2 li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.project-details-v2 li:hover {
    background: rgba(255, 102, 0, 0.03);
    border-color: rgba(255, 102, 0, 0.1);
}

.project-details-v2 i {
    font-size: 1.3rem;
    color: var(--asterisk-orange);
    filter: drop-shadow(0 0 5px var(--asterisk-orange-glow));
}

.project-details-v2 strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.project-details-v2 span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 7. MOBILE RESPONSIVENESS */
@media (max-width: 991px) {
    .asterisk-hero {
        padding: 120px 0 60px;
    }

    .hero-logo-box {
        margin-top: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .asterisk-bento {
        grid-template-columns: 1fr;
    }

    .bento-big,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0;
    }

    .hud-container {
        padding: 30px;
    }
}

/* Footer Customization for this page */
.v2-footer.dark-background {
    background: #020617 !important;
}