/*
Theme Name: ABRC Technologies High-End Interactive Theme
Theme URI: https://abrctech.com
Author: ABRC Technologies
Description: High-tech, dark-themed responsive WordPress boilerplate featuring interactive mouse spotlighting, custom glowing cursor canvas particle trail, scroll progress tracking, and multi-language support.
Version: 2026.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: blankslate
*/

/* --- High-End Interactive Tech Theme --- */
:root {
    --bg-color: #060913;
    --card-bg: rgba(13, 19, 33, 0.75);
    --border-color: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(59, 130, 246, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-cyan: #00f2fe;
    --accent-glow: rgba(59, 130, 246, 0.25);
}

*, *::before, *::after {
    box-sizing: border-box;
    min-width: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-text-size-adjust: 100%;
}

/* Background Ambient Glow Effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(6, 9, 19, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Full Width Sticky Navigation --- */
.abrc-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(6, 9, 19, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    padding: 12px 0;
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-sub {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent-blue);
    -webkit-text-fill-color: var(--accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-contact-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-contact-link:hover {
    color: var(--text-main);
}

.lang-switcher-btn {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-switcher-btn:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: var(--accent-blue);
}

/* --- Main Content Full Width --- */
.site-content {
    width: 100%;
    display: block;
    overflow-x: hidden;
}

/* --- Interactive Hero Section --- */
.abrc-hero {
    width: 100%;
    padding: 80px 16px 60px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.abrc-hero h1 {
    font-size: clamp(2.1rem, 7vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.abrc-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 32px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.abrc-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.abrc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.cta-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Full Width Stats Bar --- */
.abrc-stats-bar {
    width: 100%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(11, 16, 28, 0.5);
    backdrop-filter: blur(8px);
    padding: 30px 16px;
    margin: 30px 0 60px;
}

.stats-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Section Layouts & Containers --- */
.abrc-about-banner, .abrc-about-section, .abrc-contact-section, .abrc-privacy-section {
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 16px;
    text-align: center;
}

.abrc-about-banner h2, .abrc-about-section h2, .abrc-contact-section h2, .abrc-privacy-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text-main);
}

.abrc-about-banner p, .abrc-about-section p, .abrc-privacy-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.about-lead {
    font-size: 1.1rem !important;
    color: var(--accent-blue) !important;
    font-weight: 600;
    margin-bottom: 12px;
}

/* --- Advanced Interactive Grid Cards (Services) --- */
.abrc-services {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .abrc-services {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 24px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.6), 
                0 0 20px rgba(59, 130, 246, 0.2);
}

.service-card h3, .service-card p {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Contact Section Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
    text-align: left;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--border-hover);
}

.contact-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.contact-card p, .contact-card a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--accent-blue);
}

/* --- Privacy Policy Glass Panel --- */
.privacy-container {
    text-align: left;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    width: 100%;
}

@media (min-width: 768px) {
    .privacy-container {
        padding: 48px;
    }
}

.privacy-container h4 {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 8px;
}

.privacy-container p {
    color: var(--text-muted);
}

/* --- Scroll Reveal Animation States --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Full Width Footer --- */
.abrc-footer {
    width: 100%;
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 36px 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(4, 6, 12, 0.8);
}

/* --- WordPress Default Element Cleanup --- */
aside#sidebar, 
.widget-area, 
.search-form, 
.site-footer .widget,
#footer-widget-area,
.site-branding, 
.entry-title,
.site-title, 
.site-description, 
.site-info, 
.site-footer,
body > header,
body > footer,
#header,
#footer,
.site-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Responsive Smartphone Specifics --- */
@media (max-width: 480px) {
    .nav-contact-link {
        display: none; 
    }
    .abrc-hero {
        padding: 60px 12px 40px;
    }
}

/* --- Scroll-to-Top Floating Progress Button Fixes --- */
.scroll-top-btn {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 48px !important;
    height: 48px !important;
    background: #0d1321 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    padding: 0 !important;
}

.scroll-top-btn.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-top-btn svg.progress-ring {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 48px !important;
    height: 48px !important;
    transform: rotate(-90deg);
    pointer-events: none;
    overflow: visible !important;
}

.scroll-top-btn svg.progress-ring circle {
    fill: none !important;
    stroke-width: 3 !important;
    stroke-linecap: round;
}

.scroll-top-btn .ring-bg {
    stroke: rgba(255, 255, 255, 0.1) !important;
}

.scroll-top-btn .ring-fill {
    stroke: #3b82f6 !important;
    stroke-dasharray: 131.9;
    stroke-dashoffset: 131.9;
    transition: stroke-dashoffset 0.1s linear;
}

.scroll-top-btn .arrow-icon {
    color: #ffffff !important;
    width: 18px !important;
    height: 18px !important;
    z-index: 10 !important;
}

/* ==========================================================================
   HIGH-TECH CUSTOM CURSOR & CANVAS TRAIL
   ========================================================================== */
@media (pointer: fine) {
  body {
    cursor: none;
  }

  a, button, input, textarea, [role="button"] {
    cursor: none !important;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 242, 254, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  backdrop-filter: blur(1px);
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan, #00f2fe);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

.custom-cursor.cursor-hover {
  width: 48px;
  height: 48px;
  border-color: rgba(112, 0, 255, 0.9);
  background-color: rgba(112, 0, 255, 0.1);
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

#cursorCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999998;
}