/*
Theme Name: Traffic Engine
Theme URI: https://trafficengine.com
Author: Traffic Engine Team
Author URI: https://trafficengine.com
Description: Premium WordPress theme for Traffic Engine platform with sequential page flow. Features quantum design, user registration flow, membership plans, and automated traffic tools.
Version: 2.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: traffic-engine
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready, traffic, membership, registration, ecommerce
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4

Traffic Engine is a premium WordPress theme designed for automated traffic generation platforms.
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #050510 0%, #0a0a20 50%, #05101a 100%);
    color: #fff;
    min-height: 100vh;
    position: relative;
}



/* Quantum Animations */
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 255, 136, 1)); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes quantum-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(10px, -15px) scale(1.1); opacity: 1; }
    50% { transform: translate(-5px, 10px) scale(0.9); opacity: 0.8; }
    75% { transform: translate(-10px, -5px) scale(1.05); opacity: 0.9; }
}

@keyframes quantum-pulse {
    0%, 100% { box-shadow: 0 0 20px currentColor, 0 0 40px currentColor; transform: scale(1); }
    50% { box-shadow: 0 0 40px currentColor, 0 0 80px currentColor, 0 0 120px currentColor; transform: scale(1.2); }
}

@keyframes quantum-wave {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
}

/* Font Classes */
.font-orbitron { 
    font-family: 'Orbitron', sans-serif; 
}
.font-rajdhani { 
    font-family: 'Rajdhani', sans-serif; 
}

/* Speedometer */
.speedometer-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.rotate-ring {
    animation: rotate-slow 30s linear infinite;
}

.rotate-ring-reverse {
    animation: rotate-reverse 25s linear infinite;
}

.float-element {
    animation: float 3s ease-in-out infinite;
}

.twinkle-star {
    animation: twinkle 2s ease-in-out infinite;
}

/* Glass Effect */
.glass-card {
    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 1rem;
}

.gradient-border {
    position: relative;
    border-radius: inherit;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #00ff88, #00d4ff, #8b5cf6);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Button Styles */
.cyber-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cyber-button:hover::before {
    left: 100%;
}

.cyber-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Background Elements */
.nebula-bg {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
}

.grid-bg {
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Quantum Container */
.quantum-container {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-width: 1024px) {
    .quantum-container {
        width: 500px;
        height: 500px;
    }
}

/* Quantum Particles */
.quantum-particle {
    position: absolute;
    border-radius: 50%;
    animation: quantum-float 4s ease-in-out infinite;
}

.quantum-particle.cyan {
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff;
    animation: quantum-pulse 2s ease-in-out infinite;
}

.quantum-particle.purple {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    animation: quantum-pulse 2.5s ease-in-out infinite;
}

.quantum-particle.green {
    background: radial-gradient(circle, #00ff88 0%, transparent 70%);
    box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88;
    animation: quantum-pulse 3s ease-in-out infinite;
}

.quantum-particle.pink {
    background: radial-gradient(circle, #ff3366 0%, transparent 70%);
    box-shadow: 0 0 20px #ff3366, 0 0 40px #ff3366;
    animation: quantum-pulse 2.2s ease-in-out infinite;
}

/* Quantum Wave */
.quantum-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: quantum-wave 3s ease-in-out infinite;
}

/* Quantum Core */
.quantum-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, 
        rgba(0, 212, 255, 0.8) 0%, 
        rgba(139, 92, 246, 0.5) 40%, 
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(10px);
    animation: quantum-wave 2s ease-in-out infinite;
}

/* Phone Frame */
.phone-frame {
    width: 160px;
    height: 320px;
    position: relative;
}

@media (min-width: 640px) {
    .phone-frame {
        width: 200px;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .phone-frame {
        width: 280px;
        height: 560px;
    }
}

/* Speedometer Container */
.speedometer-container {
    width: 120px;
    height: 120px;
    position: relative;
}

@media (min-width: 640px) {
    .speedometer-container {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 1024px) {
    .speedometer-container {
        width: 200px;
        height: 200px;
    }
}

/* Flow Progress Bar */
.flow-progress {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid;
}

.step-label {
    font-size: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    text-align: center;
    max-width: 80px;
}

.progress-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: absolute;
    left: 0;
    top: 0;
}

/* Form Styles */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Payment Methods */
.payment-method {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.payment-method:hover {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.payment-method.selected {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

/* Pricing Cards */
.pricing-card {
    background: rgba(10, 10, 30, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.pricing-card.popular {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Countdown Timer */
.countdown-timer {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        font-size: 2rem;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .progress-step {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #00ff88, #00d4ff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #050510 0%, #0a0a20 50%, #05101a 100%);
}

/* Hide WordPress Admin Bar for Non-Admins */
.admin-bar #wpadminbar {
    display: none !important;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
/* Traffic Engine Main Styles */

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-ping { animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-bounce { animation: bounce 2s infinite; }

/* Background Gradients */
.bg-gradient-dark {
    background: linear-gradient(135deg, #050510 0%, #0a0a20 50%, #05101a 100%);
}

/* Glass Effect */
.glass-card {
    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.gradient-border {
    position: relative;
    border-radius: inherit;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #00ff88, #00d4ff, #8b5cf6);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Phone Mockup Styles */
.phone-mockup {
    width: 280px;
    height: 560px;
}

@media (max-width: 640px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* Font Classes */
.font-orbitron { 
    font-family: 'Orbitron', sans-serif; 
}

.font-rajdhani { 
    font-family: 'Rajdhani', sans-serif; 
}

/* Button Styles */
.cyber-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cyber-button:hover::before {
    left: 100%;
}

/* Custom Utilities */
.text-gradient {
    background: linear-gradient(135deg, #00ff88, #00d4ff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Speedometer Styles */
.speedometer {
    position: relative;
    width: 200px;
    height: 200px;
}

.speedometer-ring {
    fill: none;
    stroke-linecap: round;
}

/* Responsive Text */
@media (max-width: 768px) {
    .text-responsive {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

/* Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}