/*
Theme Name: HC Robotics AI Theme
Theme URI: https://hcrobotics.com/
Author: Antigravity AI
Description: A premium, high-performance landing page theme for AI Surveillance and Gimbal Systems.
Version: 1.0.0
Text Domain: hcrobotics
*/

:root {
    --primary: #00f2ff;
    --primary-dark: #00b8c4;
    --bg-dark: #0a0a0b;
    --bg-card: #141417;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #ff3c00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Reveal */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger-reveal.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-reveal.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-reveal.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-reveal.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* Glitch Effect on Hover */
.glitch-hover:hover {
    text-shadow: 2px 0 #ff3c00, -2px 0 #00f2ff;
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Magnetic Button Interaction Class */
.magnetic {
    display: inline-block;
    transition: transform 0.2s linear;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 9999;
    width: 0%;
}
