/* ===================================
   NEON HOME PAGE STYLING - ROYALTECH
   Complete dark neon theme for home page
   Colors: Electric Blue (#1e38ef) + Gold (#f8bb2f)
   =================================== */

:root {
    /* Neon Color Scheme */
    --neon-blue: #1e38ef;
    --neon-blue-dark: #0d2db5;
    --neon-blue-light: #4361ee;
    --neon-gold: #f8bb2f;
    --neon-gold-light: #ffd60a;

    /* Dark Backgrounds */
    --dark-primary: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #0a0b1e;

    /* Text Colors */
    --text-light: #cbd5e1;
    --text-white: #ffffff;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #1e38ef, #4361ee);
    --gradient-gold: linear-gradient(135deg, #f8bb2f, #ffd60a);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* CRITICAL FIX: Hide inline style and script tags that are visible as text */
.rtc-home-container style,
.rtc-home-container script,
style,
script {
    display: none !important;
    visibility: hidden !important;
}

/* AGGRESSIVE GLOBAL DARK BACKGROUND - Force on body and all containers */
body.home,
body.page-template-default,
.home,
.page-template-default,
#page,
#content,
.site-content,
.rtc-home-container,
.rtc-home-container>*:not([class*="n2-ss"]),
.rtc-home-container>*:not([id*="n2-ss"]) {
    background: var(--dark-primary) !important;
}


/* Force dark gradient on main container */
.rtc-home-container {
    background: var(--gradient-dark) !important;
    min-height: 100vh !important;
}

/* Hero Section */
.hero-section,
.wp-block-cover,
.elementor-section.hero {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%) !important;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 56, 239, 0.1), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(248, 187, 47, 0.1), transparent 50%);
    pointer-events: none;
}

/* Hero Headings */
.hero-section h1,
.hero-section .hero-title,
.elementor-heading-title {
    background: linear-gradient(135deg, #1e38ef 0%, #f8bb2f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 0 40px rgba(30, 56, 239, 0.3);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

/* Hero Description */
.hero-section p,
.hero-description {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Neon Buttons */
.neon-btn,
.hero-section .btn,
.wp-block-button__link,
.elementor-button {
    background: var(--gradient-blue) !important;
    color: var(--text-white) !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 20px rgba(30, 56, 239, 0.6),
        0 4px 15px rgba(30, 56, 239, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-gold), var(--neon-blue), var(--neon-gold), var(--neon-blue));
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-btn:hover::before {
    opacity: 1;
}

.neon-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 0 30px rgba(30, 56, 239, 0.8),
        0 6px 25px rgba(30, 56, 239, 0.5) !important;
}

@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Section Headings */
.section-title,
h2.neon-heading,
.wp-block-heading {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-gold));
    box-shadow: 0 0 10px rgba(248, 187, 47, 0.6);
}

/* ===== FIXES FOR ISSUES ===== */

/* Fix Product Images - Prevent Distortion */
.product-card img,
.category-card img,
.woocommerce-product-gallery img,
.wp-post-image,
.attachment-woocommerce_thumbnail {
    object-fit: cover !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

/* Enhanced Button Neon Glow */
.hero-section a,
.rtc-hero-premium a,
a[href*="/shop/"],
a[href*="/about/"] {
    box-shadow: 0 0 25px rgba(30, 56, 239, 0.7),
        0 5px 20px rgba(30, 56, 239, 0.5) !important;
    transition: all 0.3s ease !important;
}

.hero-section a:hover,
.rtc-hero-premium a:hover {
    box-shadow: 0 0 35px rgba(30, 56, 239, 0.9),
        0 8px 30px rgba(30, 56, 239, 0.6) !important;
    transform: translateY(-3px) scale(1.05) !important;
}

/* Hide Smart Slider Tutorial/Overlay */
/* Hide Smart Slider Tutorial/Overlay */
/* .n2-ss-slider-tutorial,
.n2-ss-admin-bar,
.n2-ss-slider-1-admin-bar,
.smartslider-frontend-edit-slide {
    display: none !important;
    visibility: hidden !important;
} */


/* Improve Section Spacing */
section {
    padding: 80px 20px !important;
}

@media (max-width: 768px) {
    section {
        padding: 50px 15px !important;
    }
}

/* Glass Cards */
.glass-card,
.product-card,
.feature-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 187, 47, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
    border-color: rgba(248, 187, 47, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(248, 187, 47, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Product Cards */
.product-card h3 {
    color: #f8bb2f;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e38ef, #4361ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(30, 56, 239, 0.5);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(30, 56, 239, 0.8);
}

/* Stats/Counter Section */
.stats-section {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 80px 0;
    position: relative;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e38ef, #f8bb2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 56, 239, 0.3);
}

.stat-label {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e38ef 0%, #4361ee 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(248, 187, 47, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   SPECIFIC SECTION STYLING - DARK NEON
   =================================== */

/* Trust Strip - Dark Navy with Neon Numbers */
.rtc-trust-strip {
    background: linear-gradient(135deg, #0a0b1e 0%, #1e293b 100%) !important;
    padding: 60px 0 !important;
}

.rtc-trust-strip .trust-item {
    text-align: center;
}

.rtc-trust-strip .trust-number,
.rtc-trust-strip h3 {
    background: linear-gradient(135deg, #1e38ef, #f8bb2f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
    text-shadow: 0 0 30px rgba(248, 187, 47, 0.4) !important;
}

.rtc-trust-strip p {
    color: #cbd5e1 !important;
}

/* Product Categories - Dark with Glass Cards - ULTRA AGGRESSIVE - DISABLED */
/* .rtc-categories,
section.rtc-categories,
div.rtc-categories,
.rtc-home-container .rtc-categories,
[class*="rtc-categories"],
section:has(h2:contains("Product")),
section:has(h2:contains("Range")) {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    background-color: #0f172a !important;
    background-image: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    padding: 80px 20px !important;
}

.rtc-categories *,
.rtc-categories h2,
.rtc-categories .section-title,
.rtc-categories h2.section-title {
    background: linear-gradient(90deg, #1e38ef, #f8bb2f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 50px !important;
} */


/* Grid Container for Cards - 6 Cards Layout - DISABLED (using product-categories.css instead) */
/* .rtc-categories .categories-grid,
.rtc-categories .category-grid,
.rtc-categories .products-grid,
.rtc-categories>div,
.rtc-categories .container>div {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
} */

/* Responsive Grid - 2 columns on tablet - DISABLED */
/* @media (max-width: 992px) {

    .rtc-categories .categories-grid,
    .rtc-categories .category-grid,
    .rtc-categories .products-grid,
    .rtc-categories>div,
    .rtc-categories .container>div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
} */

/* Responsive Grid - 1 column on mobile - DISABLED */
/* @media (max-width: 576px) {

    .rtc-categories .categories-grid,
    .rtc-categories .category-grid,
    .rtc-categories .products-grid,
    .rtc-categories>div,
    .rtc-categories .container>div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
} */

.rtc-categories .category-card,
.rtc-categories .product-category,
.rtc-categories .product-card,
.rtc-categories>div>div,
.rtc-categories [class*="card"],
.rtc-categories [class*="item"] {
    background: rgba(30, 41, 59, 0.7) !important;
    background-color: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(248, 187, 47, 0.3) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
}

.rtc-categories .category-card:hover,
.rtc-categories .product-card:hover,
.rtc-categories [class*="card"]:hover {
    border-color: rgba(248, 187, 47, 0.8) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 0 40px rgba(248, 187, 47, 0.4), 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

.rtc-categories .category-card h3,
.rtc-categories .product-card h3,
.rtc-categories h3 {
    color: #f8bb2f !important;
    font-weight: 700 !important;
}

.rtc-categories .category-card p,
.rtc-categories .product-card p,
.rtc-categories p {
    color: #cbd5e1 !important;
}

/* Trending Hardware - Dark Theme */
.rtc-trending {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    padding: 80px 0 !important;
}

.rtc-trending h2 {
    background: linear-gradient(90deg, #1e38ef, #f8bb2f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.rtc-trending .product-card {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(30, 56, 239, 0.3) !important;
}

.rtc-trending .product-card:hover {
    border-color: rgba(30, 56, 239, 0.8) !important;
    box-shadow: 0 0 30px rgba(30, 56, 239, 0.4) !important;
}

/* Why Us Section - CRITICAL FIX: Dark Background */
.rtc-why-us {
    background: linear-gradient(135deg, #0a0b1e 0%, #1e293b 50%, #0a0b1e 100%) !important;
    padding: 80px 0 !important;
    position: relative !important;
}

.rtc-why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(30, 56, 239, 0.08), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(248, 187, 47, 0.08), transparent 60%);
    pointer-events: none;
}

.rtc-why-us h2 {
    background: linear-gradient(90deg, #1e38ef, #f8bb2f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

.rtc-why-us .why-card,
.rtc-why-us .feature-box {
    background: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(248, 187, 47, 0.2) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

.rtc-why-us .why-card:hover {
    border-color: rgba(248, 187, 47, 0.8) !important;
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 0 50px rgba(248, 187, 47, 0.5), 0 12px 40px rgba(0, 0, 0, 0.6) !important;
}

.rtc-why-us h3 {
    color: #f8bb2f !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.rtc-why-us p {
    color: #cbd5e1 !important;
    line-height: 1.8 !important;
}

/* Testimonials Section - Dark Theme */
.rtc-testimonials {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
    padding: 80px 0 !important;
}

.rtc-testimonials h2 {
    background: linear-gradient(90deg, #1e38ef, #f8bb2f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

.rtc-testimonials .testimonial-card,
.rtc-testimonials .testimonial-item {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(30, 56, 239, 0.3) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.rtc-testimonials .testimonial-card:hover {
    border-color: rgba(30, 56, 239, 0.7) !important;
    box-shadow: 0 0 30px rgba(30, 56, 239, 0.3) !important;
}

.rtc-testimonials .testimonial-text {
    color: #cbd5e1 !important;
    font-style: italic !important;
}

.rtc-testimonials .testimonial-author {
    color: #f8bb2f !important;
    font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .glass-card {
        padding: 20px;
    }
}