/*
Theme Name: Robotevent
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.1.31
*/

/* --- 1. VARIABLES & DESIGN TOKENS --- */
:root {
    --rr-bg-dark:        #121212;
    --rr-bg-darker:      #0d0d0d;
    --rr-text-light:     #e0e0e0;
    --rr-text-white:     #fff;
    --rr-text-muted:     #9e9e9e;
    --rr-neon:           #00f0ff;
    --rr-neon-glow:      rgba(0, 240, 255, 0.4);
    --rr-glass-bg:       rgba(18, 18, 18, 0.65);
    --rr-glass-border:   rgba(255, 255, 255, 0.08);
    --rr-radius:         16px;
    --rr-transition:     0.3s;
}

/* --- FLATSOME FULL-WIDTH PAGE RESET --- */
.page-template-full-width .entry-content,
.page-template-flatsome_page .entry-content,
.page-template-full-width #main,
.page-template-flatsome_page #main {
    padding: 0 !important;
    margin: 0 !important;
}

/* --- 2. GLOBAL DARK BACKGROUND & TYPOGRAPHY --- */
.rr-page body,
body.rr-page,
body.page-id-placeholder-id .rr-section,
.rr-section {
    background-color: var(--rr-bg-dark) !important;
    color: var(--rr-text-light) !important;
}

.rr-section-darker {
    background-color: var(--rr-bg-darker) !important;
}

.bullet-item {
    text-align: left;
}

.primary, input[type=submit], input[type=submit].button {
    color: #000;
}

.section-title-bold span {
    padding: 20px 0;
    border: none;
}

.section-title-bold-center span {
    border: unset;
}

.section-title b {
    display: none;
}

h1.section-title.section-title-bold-center {
    justify-content: center;
}

/* --- 3. HEADER GLASSMORPHISM --- */
.header-main,
#site-header .header-inner,
#site-header .header-bg {
    background: var(--rr-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--rr-glass-border) !important;
}

#site-header.rr-scrolled .header-bg {
    background: rgba(18, 18, 18, 0.9) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5) !important;
}

.rr-logo-text {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--rr-text-white) !important;
    letter-spacing: 1px;
}

.rr-logo-text::after {
    content: '.';
    color: var(--rr-neon);
}

.nav-pills > li.active > a {
    color: #000 !important;
    box-shadow: 0 0 15px var(--rr-neon-glow) !important;
    border-radius: 8px !important;
}

#site-header .nav-link,
#site-header nav a {
    color: var(--rr-text-light) !important;
    font-weight: 500;
    transition: color var(--rr-transition);
}

#site-header .nav-link:hover,
#site-header nav a:hover {
    color: var(--rr-neon) !important;
}

/* --- 4. BUTTONS --- */
.ux-button.rr-btn-primary, a.rr-btn-primary,
.ux-button.rr-btn-outline, a.rr-btn-outline,
.header-button .button {
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all var(--rr-transition);
}

/* Primary Neon Button */
.ux-button.rr-btn-primary,
a.rr-btn-primary, .header-button .button {
    background-color: var(--rr-neon) !important;
    color: #000 !important;
    border: 2px solid var(--rr-neon) !important;
    box-shadow: 0 0 15px var(--rr-neon-glow) !important;
}

.ux-button.rr-btn-primary:hover,
a.rr-btn-primary:hover, .header-button .button:hover {
    background-color: transparent !important;
    color: var(--rr-neon) !important;
    box-shadow: 0 0 25px var(--rr-neon-glow) !important;
}

/* Outline Button */
.ux-button.rr-btn-outline,
a.rr-btn-outline {
    background-color: transparent !important;
    color: var(--rr-text-white) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
}

.ux-button.rr-btn-outline:hover,
a.rr-btn-outline:hover {
    border-color: var(--rr-neon) !important;
    color: var(--rr-neon) !important;
    box-shadow: 0 0 15px var(--rr-neon-glow) !important;
}

/* --- 5. SECTION TITLE --- */
.rr-section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--rr-text-white) !important;
    text-align: center;
}

.rr-section-title .section-title, .header-nav.nav-left {
    justify-content: center;
}

/* --- 6. HERO SECTION --- */
.rr-hero-title h1,
.rr-hero-title .title-text,
.section .rr-hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem) !important;
    line-height: 1.25 !important;
    background: linear-gradient(to right, #fff, var(--rr-neon)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
}

.rr-hero-subtitle p,
.rr-hero-subtitle {
    font-size: 1.2rem !important;
    color: var(--rr-text-muted) !important;
    max-width: 500px;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.rr-hero-img img,
img.rr-hero-img {
    border-radius: 20px !important;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2) !important;
    object-fit: cover;
    animation: rrFloat 6s ease-in-out infinite !important;
}

.rr-thongso-img img {
    border-radius: 20px;
}

@keyframes rrFloat {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-20px); }
}

/* --- 7. FEATURES & PROCESS SECTION --- */
.col.rr-card .col-inner {
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    transition: transform var(--rr-transition) ease,
                box-shadow var(--rr-transition) ease,
                border-color var(--rr-transition) ease,
                background var(--rr-transition) ease;
}

.col.rr-card .col-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--rr-neon-glow) !important;
    border-color: rgba(0,240,255,0.3) !important;
    background: rgba(255,255,255,0.04) !important;
}

.rr-icon-wrap .icon {
    width: 60px;
    height: 60px;
    padding: 10px 15px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rr-neon);
}

.rr-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.rr-icon-wrap.icon-box-left p {
    margin-left: 20px;
}

.rr-icon-wrap.rr-ungdung .icon {
    border-radius: 99px;
    border: 1px solid;
}

.rr-icon-wrap.rr-ungdung.icon-box-center .icon-box-img {
    display: inline;
}

.rr-icon-wrap.rr-ungdung.icon-box-center .icon-box-text p {
    margin-top: 1em;
    font-size: .9em;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    position: relative;
    width: 100%;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(0,240,255,0.1);
    border: 2px solid var(--rr-neon);
    border-radius: 50%;
    color: var(--rr-neon);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 18px var(--rr-neon-glow);
}

.step-line {
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    right: calc(-50% + 30px);
    height: 3px;
    background: linear-gradient(to right, var(--rr-neon), rgba(0,240,255,0.05));
    box-shadow: 0 0 8px var(--rr-neon-glow);
    z-index: 1;
}

.last-step,
.process-step:last-child .step-line {
    display: none !important;
}

.process-step h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--rr-text-white);
    font-weight: 700;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--rr-text-muted);
    line-height: 1.6;
}

/* --- 8. SPECS & ROBOT DETAILS SECTION --- */
.rr-specs-img img,
img.rr-specs-img {
    border-radius: var(--rr-radius) !important;
    box-shadow: 0 0 30px rgba(0,0,0,0.5) !important;
    width: 100%;
}

.rr-specs-title .title-text,
.rr-specs-title {
    text-align: left !important;
}

.rr-spec-item {
    margin-bottom: 30px;
}

.rr-spec-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--rr-text-light);
}

.rr-spec-header .rr-spec-value {
    color: var(--rr-neon);
}

.rr-progress-bg {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.rr-progress-fill {
    height: 100%;
    background: var(--rr-neon);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--rr-neon-glow);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.robot-detail-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--rr-glass-border);
    border-radius: 14px;
    padding: 30px;
}

.robot-detail-card h4 {
    color: var(--rr-neon);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.spec-card {
    border-color: rgba(0, 240, 255, 0.15) !important;
}

.spec-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.spec-row span:first-child {
    color: var(--rr-text-muted); /* FIXED BUG */
}

.spec-row span:last-child {
    color: var(--rr-text-white); /* FIXED BUG */
    font-weight: 600;
    text-align: right;
    max-width: 55%;
}

.robot-image img {
    border-radius: 20px;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

.tag-list li {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--rr-text-light); /* FIXED BUG */
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    margin-left: 0 !important;
}

/* --- 9. PRICING SECTION --- */
.dark .pricing-table {
    background-color: var(--rr-bg-dark);
    border-radius: 20px;
    border: 2px solid var(--rr-neon) !important;
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15) !important;
}

.pricing-table-header .title {
    background: #3ff1fd;
    color: #000;
    font-size: 1.5rem;
}

.pricing-table .price {
    color: var(--rr-neon);
    font-weight: 600;
}

.col.rr-pricing-card {
    position: relative !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    transition: transform var(--rr-transition) ease;
    overflow: visible !important;
}

.col.rr-pricing-card:hover {
    transform: translateY(-5px);
}

.col.rr-pricing-highlight {
    border: 2px solid var(--rr-neon) !important;
    box-shadow: 0 10px 40px rgba(0,240,255,0.15) !important;
}

.rr-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rr-neon);
    color: #000;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 1;
}

/* Check Lists (Pricing & Features) */
.check-list,
.rr-plan-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rr-plan-features li,
.check-list li {
    position: relative;
    color: var(--rr-text-muted);
    font-size: 0.95rem;
}

.rr-plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--rr-text-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list li {
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-left: 0 !important;
}

.rr-plan-features li::before,
.check-list li::before {
    content: '✓';
    color: var(--rr-neon);
    font-weight: bold;
}

.rr-plan-features li::before {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.check-list li::before {
    position: absolute;
    left: 0;
}

/* --- 10. FOOTER --- */
.rr-footer-logo .title-text,
.rr-footer-logo {
    letter-spacing: 1px;
}

.rr-footer-logo .title-text::after,
.section .rr-footer-logo::after {
    content: '.';
    color: var(--rr-neon);
}

a.rr-footer-link:hover {
    color: var(--rr-neon) !important;
}

#footer .icon-box-img svg:hover path {
    fill: #000;
}

/* --- 11. HOTLINE / FLOATING WIDGET --- */
a.webmedia_animation_zoom {
    display: block;
    background: var(--rr-neon);
    position: fixed;
    right: 35px;
    top: 75%;
    border-radius: 50%;
    padding: 15px;
    z-index: 9999;
    animation: webmedia_zoom 1.5s infinite linear;
    box-shadow: 0 0 0 0 var(--rr-neon);
}

a.webmedia_animation_zoom img {
    width: 32px;
    height: 32px;
    animation: calltrap_spin 3s infinite linear;
}

@keyframes webmedia_zoom {
    70%  { box-shadow: 0 0 0 15px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes calltrap_spin {
    0%, 30%, 57%, 100% { transform: rotate(0deg); }
    33%, 39%, 45%, 51% { transform: rotate(-10deg); }
    36%, 42%, 54%      { transform: rotate(10deg); }
    48%                { transform: rotate(10deg); opacity: 1; }
}

/* Status Indicator */
.status-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--rr-neon); 
    border-radius: 50px;       
    padding: 8px 16px;  
    background: rgba(0, 240, 255, 0.1);
}

.status-text {
    color: var(--rr-neon);
    font-size: 16px;
    font-weight: bold;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--rr-neon);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    flex-shrink: 0; 
}

@keyframes pulse {
    0%, 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70%      { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

/* --- 12. GLOBAL SAFETY RULES (UX Builder) --- */
.ux-text-box p:last-child {
    margin-bottom: 0;
}

body.ux-builder-open .rr-card,
body.ux-builder .rr-card,
body.ux-builder .rr-progress-fill,
body.ux-builder .col {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* --- 13. RESPONSIVE --- */
@media (max-width: 992px) {
    .rr-hero-title .title-text,
    .rr-hero-title { font-size: 2.4rem !important; }
    
    .rr-hero-subtitle { margin: 0 auto !important; }
    
    .col.rr-fade[class*="span__sm"] { padding-left: 0 !important; }
    
    .col.rr-pricing-highlight { padding: 40px 20px !important; }
    
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding-left: 20%; 
        padding-right: 20%;
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0 0 0 80px; 
        width: 100%;
        position: relative;
        min-height: 70px;
    }

    .step-number {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }

    .step-line {
        display: block;
        position: absolute;
        width: 3px;
        height: calc(100% - 30px);
        top: 60px; 
        left: 28px;
        right: auto;
        background: linear-gradient(to bottom, var(--rr-neon), rgba(0,240,255,0.05)); /* FIXED BUG */
    }

    .process-step h4 {
        margin-top: 10px;
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .rr-section-title .title-text,
    .rr-specs-title .title-text { font-size: 2rem !important; }
    
    .rr-popular-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    #specs .col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .process-steps {
        padding-left: 10px; 
        padding-right: 15px;
        gap: 25px;
    }
    
    .process-step { padding-left: 65px; }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .step-line {
        left: 22.5px;
        top: 48px;
        height: calc(100% - 23px);
    }
    
    .process-step h4 {
        margin-top: 5px;
        font-size: 1.05rem;
    }
}