/*
Theme Name: Quantum Edge Trading
Theme URI: https://quantumedge-trading.com
Author: Quantum Edge Trading
Author URI: https://quantumedge-trading.com
Description: Professional dark theme for Quantum Edge Trading - AI-Powered Automated Trading platform. Includes WooCommerce support, modern design, and full customization options.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quantum-edge
Tags: e-commerce, one-column, custom-menu, featured-images, full-width-template, theme-options, translation-ready

Quantum Edge Trading Theme - Next Generation Automated Trading
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --qe-primary: #00d4aa;
    --qe-primary-dark: #00b894;
    --qe-primary-light: #55efc4;
    --qe-secondary: #667eea;
    --qe-secondary-dark: #764ba2;
    --qe-dark: #0a0f1c;
    --qe-dark-lighter: #1a1f2e;
    --qe-dark-card: #141922;
    --qe-text: #ffffff;
    --qe-text-muted: #a0a0a0;
    --qe-text-light: #e0e0e0;
    --qe-border: rgba(255, 255, 255, 0.1);
    --qe-success: #00d4aa;
    --qe-warning: #fdcb6e;
    --qe-danger: #ff6b6b;
    
    /* Gradients */
    --qe-gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    --qe-gradient-bg: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 100%);
    --qe-gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --qe-gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    
    /* Typography */
    --qe-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --qe-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --qe-section-padding: 80px;
    --qe-container-max: 1200px;
    
    /* Border Radius */
    --qe-radius-sm: 8px;
    --qe-radius-md: 12px;
    --qe-radius-lg: 16px;
    --qe-radius-xl: 24px;
    
    /* Shadows */
    --qe-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --qe-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --qe-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --qe-shadow-glow: 0 0 30px rgba(0, 212, 170, 0.3);
    
    /* Transitions */
    --qe-transition: all 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--qe-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--qe-text);
    background: var(--qe-dark);
    overflow-x: hidden;
}

a {
    color: var(--qe-primary);
    text-decoration: none;
    transition: var(--qe-transition);
}

a:hover {
    color: var(--qe-primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--qe-text-muted);
}

.text-gradient {
    background: var(--qe-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.qe-container {
    max-width: var(--qe-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.qe-section {
    padding: var(--qe-section-padding) 0;
}

.qe-section-dark {
    background: var(--qe-dark);
}

.qe-section-darker {
    background: var(--qe-dark-lighter);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.qe-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--qe-border);
    transition: var(--qe-transition);
}

.qe-header.scrolled {
    background: rgba(10, 15, 28, 0.98);
    box-shadow: var(--qe-shadow-md);
}

.qe-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--qe-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.qe-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--qe-text);
}

.qe-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--qe-gradient-primary);
    border-radius: var(--qe-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.qe-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.qe-nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.qe-nav-menu a {
    color: var(--qe-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--qe-transition);
}

.qe-nav-menu a:hover {
    color: var(--qe-text);
}

.qe-nav-cta {
    display: flex;
    gap: 12px;
}

/* Mobile Menu Toggle */
.qe-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.qe-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--qe-text);
    transition: var(--qe-transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.qe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--qe-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--qe-transition);
    text-decoration: none;
}

.qe-btn-primary {
    background: var(--qe-gradient-primary);
    color: var(--qe-dark);
}

.qe-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--qe-shadow-glow);
    color: var(--qe-dark);
}

.qe-btn-secondary {
    background: transparent;
    color: var(--qe-text);
    border: 1px solid var(--qe-border);
}

.qe-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--qe-primary);
    color: var(--qe-primary);
}

.qe-btn-outline {
    background: transparent;
    color: var(--qe-primary);
    border: 2px solid var(--qe-primary);
}

.qe-btn-outline:hover {
    background: var(--qe-primary);
    color: var(--qe-dark);
}

.qe-btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.qe-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--qe-dark);
    position: relative;
    overflow: hidden;
}

.qe-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.qe-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.qe-hero-content {
    max-width: 600px;
}

.qe-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--qe-primary);
    margin-bottom: 24px;
}

.qe-hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--qe-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.qe-hero h1 {
    margin-bottom: 24px;
}

.qe-hero-description {
    font-size: 1.125rem;
    color: var(--qe-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.qe-hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.qe-hero-stat {
    text-align: left;
}

.qe-hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--qe-text);
}

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

.qe-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.qe-hero-visual {
    position: relative;
}

.qe-terminal {
    background: var(--qe-dark-card);
    border-radius: var(--qe-radius-lg);
    border: 1px solid var(--qe-border);
    overflow: hidden;
    box-shadow: var(--qe-shadow-lg);
}

.qe-terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--qe-border);
}

.qe-terminal-dots {
    display: flex;
    gap: 8px;
}

.qe-terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.qe-terminal-dots span:nth-child(1) { background: #ff5f56; }
.qe-terminal-dots span:nth-child(2) { background: #ffbd2e; }
.qe-terminal-dots span:nth-child(3) { background: #27ca40; }

.qe-terminal-title {
    font-family: var(--qe-font-mono);
    font-size: 0.85rem;
    color: var(--qe-text-muted);
}

.qe-terminal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--qe-primary);
}

.qe-terminal-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--qe-primary);
    border-radius: 50%;
}

.qe-terminal-body {
    padding: 24px;
}

.qe-terminal-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--qe-border);
}

.qe-terminal-row:last-child {
    border-bottom: none;
}

.qe-terminal-label {
    color: var(--qe-text-muted);
    font-size: 0.9rem;
}

.qe-terminal-value {
    font-weight: 600;
    color: var(--qe-text);
}

.qe-terminal-value.positive {
    color: var(--qe-success);
}

/* Hero Features Pills */
.qe-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.qe-feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--qe-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--qe-text-muted);
}

.qe-feature-pill span {
    font-size: 1rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.qe-features {
    background: var(--qe-dark-lighter);
}

.qe-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.qe-section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--qe-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.qe-section-description {
    font-size: 1.125rem;
    color: var(--qe-text-muted);
}

.qe-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.qe-feature-card {
    background: var(--qe-gradient-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-lg);
    padding: 32px;
    transition: var(--qe-transition);
}

.qe-feature-card:hover {
    border-color: var(--qe-primary);
    transform: translateY(-5px);
}

.qe-feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--qe-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.qe-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--qe-text);
}

.qe-feature-card p {
    font-size: 0.95rem;
    color: var(--qe-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   AI Section
   ========================================================================== */
.qe-ai-section {
    background: var(--qe-dark);
}

.qe-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.qe-ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.qe-ai-feature {
    display: flex;
    gap: 16px;
}

.qe-ai-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--qe-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.qe-ai-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--qe-text);
}

.qe-ai-feature p {
    font-size: 0.875rem;
    color: var(--qe-text-muted);
    margin-bottom: 0;
}

/* AI Demo Card */
.qe-ai-demo {
    background: var(--qe-dark-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-lg);
    overflow: hidden;
}

.qe-ai-demo-header {
    padding: 16px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid var(--qe-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.qe-ai-demo-header span {
    font-size: 1.5rem;
}

.qe-ai-demo-header h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.qe-ai-demo-body {
    padding: 24px;
}

.qe-ai-signal {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: var(--qe-radius-sm);
    margin-bottom: 16px;
}

.qe-ai-signal-label {
    font-size: 0.75rem;
    color: var(--qe-text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.qe-ai-signal-value {
    font-family: var(--qe-font-mono);
    font-size: 0.95rem;
    color: var(--qe-primary);
}

.qe-ai-analysis {
    font-size: 0.9rem;
    color: var(--qe-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.qe-ai-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--qe-radius-sm);
    color: var(--qe-primary);
    font-weight: 600;
}

/* ==========================================================================
   Cockpit Section (NEW)
   ========================================================================== */
.qe-cockpit-section {
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 100%);
    position: relative;
    overflow: hidden;
}

.qe-cockpit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.qe-cockpit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.qe-cockpit-features {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.qe-cockpit-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-md);
    transition: var(--qe-transition);
}

.qe-cockpit-feature:hover {
    border-color: var(--qe-primary);
    background: rgba(0, 212, 170, 0.05);
}

.qe-cockpit-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--qe-gradient-primary);
    border-radius: var(--qe-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.qe-cockpit-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--qe-text);
}

.qe-cockpit-feature p {
    font-size: 0.9rem;
    color: var(--qe-text-muted);
    margin-bottom: 0;
}

.qe-cockpit-visual {
    position: relative;
}

.qe-cockpit-screenshot {
    border-radius: var(--qe-radius-lg);
    border: 1px solid var(--qe-border);
    box-shadow: var(--qe-shadow-lg);
    overflow: hidden;
}

.qe-cockpit-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.qe-cockpit-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--qe-primary);
}

.qe-cockpit-benefit::before {
    content: '✓';
    font-weight: 700;
}

.qe-cockpit-cta {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.qe-cockpit-note {
    font-size: 0.85rem;
    color: var(--qe-text-muted);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.qe-pricing {
    background: var(--qe-dark-lighter);
}

.qe-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.qe-pricing-card {
    background: var(--qe-dark-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-xl);
    padding: 40px 32px;
    position: relative;
    transition: var(--qe-transition);
    display: flex;
    flex-direction: column;
}

.qe-pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.qe-pricing-card.featured {
    border-color: var(--qe-primary);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.05) 0%, var(--qe-dark-card) 100%);
}

.qe-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--qe-gradient-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--qe-dark);
    text-transform: uppercase;
}

.qe-pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.qe-pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--qe-text);
}

.qe-pricing-description {
    font-size: 0.9rem;
    color: var(--qe-text-muted);
    margin-bottom: 0;
}

.qe-pricing-price {
    text-align: center;
    margin-bottom: 32px;
}

.qe-pricing-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--qe-text);
}

.qe-pricing-period {
    font-size: 0.9rem;
    color: var(--qe-text-muted);
}

.qe-pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.qe-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--qe-text-light);
    border-bottom: 1px solid var(--qe-border);
}

.qe-pricing-features li:last-child {
    border-bottom: none;
}

.qe-pricing-features li::before {
    content: '✓';
    color: var(--qe-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.qe-pricing-features li.highlight {
    color: var(--qe-primary);
    font-weight: 600;
}

.qe-pricing-cta {
    margin-top: auto;
}

.qe-pricing-cta .qe-btn {
    width: 100%;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.qe-testimonials {
    background: var(--qe-dark);
}

.qe-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.qe-testimonial-card {
    background: var(--qe-dark-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-lg);
    padding: 32px;
}

.qe-testimonial-stars {
    color: var(--qe-warning);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.qe-testimonial-text {
    font-size: 1rem;
    color: var(--qe-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.qe-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qe-testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--qe-gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--qe-text);
}

.qe-testimonial-name {
    font-weight: 600;
    color: var(--qe-text);
    margin-bottom: 2px;
}

.qe-testimonial-role {
    font-size: 0.85rem;
    color: var(--qe-text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.qe-faq {
    background: var(--qe-dark-lighter);
}

.qe-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.qe-faq-item {
    background: var(--qe-dark-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.qe-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--qe-text);
    transition: var(--qe-transition);
}

.qe-faq-question:hover {
    color: var(--qe-primary);
}

.qe-faq-icon {
    font-size: 1.5rem;
    color: var(--qe-primary);
    transition: var(--qe-transition);
}

.qe-faq-item.active .qe-faq-icon {
    transform: rotate(45deg);
}

.qe-faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qe-faq-item.active .qe-faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.qe-faq-answer p {
    font-size: 0.95rem;
    color: var(--qe-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.qe-cta {
    background: var(--qe-dark);
    text-align: center;
}

.qe-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.qe-cta h2 {
    margin-bottom: 16px;
}

.qe-cta p {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.qe-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.qe-footer {
    background: var(--qe-dark-lighter);
    border-top: 1px solid var(--qe-border);
    padding: 60px 0 24px;
}

.qe-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.qe-footer-brand {
    max-width: 300px;
}

.qe-footer-brand .qe-logo {
    margin-bottom: 16px;
}

.qe-footer-brand p {
    font-size: 0.9rem;
    color: var(--qe-text-muted);
}

.qe-footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--qe-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.qe-footer-links {
    list-style: none;
}

.qe-footer-links li {
    margin-bottom: 12px;
}

.qe-footer-links a {
    font-size: 0.9rem;
    color: var(--qe-text-muted);
    transition: var(--qe-transition);
}

.qe-footer-links a:hover {
    color: var(--qe-primary);
}

.qe-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--qe-border);
}

.qe-footer-copyright {
    font-size: 0.85rem;
    color: var(--qe-text-muted);
}

.qe-footer-social {
    display: flex;
    gap: 16px;
}

.qe-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--qe-radius-sm);
    color: var(--qe-text-muted);
    font-size: 1.1rem;
    transition: var(--qe-transition);
}

.qe-footer-social a:hover {
    background: var(--qe-primary);
    color: var(--qe-dark);
}

/* ==========================================================================
   WooCommerce Styles
   ========================================================================== */
.woocommerce .qe-shop-header {
    text-align: center;
    padding: 120px 0 60px;
    background: var(--qe-dark);
}

.woocommerce-page {
    background: var(--qe-dark);
    padding-top: 72px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: var(--qe-dark-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-lg);
    padding: 24px;
    margin: 0;
    transition: var(--qe-transition);
}

.woocommerce ul.products li.product:hover {
    border-color: var(--qe-primary);
    transform: translateY(-5px);
}

.woocommerce ul.products li.product a img {
    border-radius: var(--qe-radius-md);
    margin-bottom: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--qe-text);
    padding: 0;
    margin-bottom: 8px;
}

.woocommerce ul.products li.product .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--qe-primary);
}

.woocommerce ul.products li.product .button {
    background: var(--qe-gradient-primary);
    color: var(--qe-dark);
    border-radius: var(--qe-radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    margin-top: 16px;
    width: 100%;
    text-align: center;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--qe-primary-light);
}

/* Single Product */
.woocommerce div.product {
    background: var(--qe-dark);
    padding: 40px 0;
}

.woocommerce div.product .product_title {
    color: var(--qe-text);
    font-size: 2.5rem;
}

.woocommerce div.product p.price {
    color: var(--qe-primary);
    font-size: 2rem;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--qe-text-muted);
}

.woocommerce div.product form.cart .button {
    background: var(--qe-gradient-primary);
    color: var(--qe-dark);
    border-radius: var(--qe-radius-sm);
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
}

/* Cart */
.woocommerce-cart .woocommerce {
    padding: 40px 0;
}

.woocommerce table.shop_table {
    background: var(--qe-dark-card);
    border: 1px solid var(--qe-border);
    border-radius: var(--qe-radius-md);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: var(--qe-border);
    color: var(--qe-text);
}

/* Checkout */
.woocommerce-checkout #payment {
    background: var(--qe-dark-card);
    border-radius: var(--qe-radius-md);
}

.woocommerce form .form-row label {
    color: var(--qe-text);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background: var(--qe-dark);
    border: 1px solid var(--qe-border);
    color: var(--qe-text);
    border-radius: var(--qe-radius-sm);
    padding: 12px 16px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--qe-primary);
    outline: none;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */
.qe-page-header {
    padding: 120px 0 60px;
    background: var(--qe-dark);
    text-align: center;
}

.qe-page-content {
    padding: 60px 0;
    background: var(--qe-dark-lighter);
}

.qe-page-content .qe-container {
    max-width: 800px;
}

.qe-page-content h1,
.qe-page-content h2,
.qe-page-content h3 {
    color: var(--qe-text);
    margin-top: 40px;
    margin-bottom: 16px;
}

.qe-page-content h1:first-child,
.qe-page-content h2:first-child {
    margin-top: 0;
}

.qe-page-content p,
.qe-page-content li {
    color: var(--qe-text-muted);
    line-height: 1.8;
}

.qe-page-content ul,
.qe-page-content ol {
    margin-left: 24px;
    margin-bottom: 24px;
}

.qe-page-content li {
    margin-bottom: 8px;
}

.qe-page-content a {
    color: var(--qe-primary);
}

.qe-page-content code {
    background: var(--qe-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--qe-font-mono);
    font-size: 0.9em;
    color: var(--qe-primary);
}

.qe-page-content pre {
    background: var(--qe-dark);
    padding: 20px;
    border-radius: var(--qe-radius-md);
    overflow-x: auto;
    margin-bottom: 24px;
}

.qe-page-content pre code {
    background: none;
    padding: 0;
}

.qe-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.qe-page-content th,
.qe-page-content td {
    padding: 12px 16px;
    border: 1px solid var(--qe-border);
    text-align: left;
}

.qe-page-content th {
    background: var(--qe-dark);
    color: var(--qe-text);
    font-weight: 600;
}

.qe-page-content td {
    color: var(--qe-text-muted);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .qe-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .qe-hero-content {
        max-width: 100%;
    }
    
    .qe-hero-stats {
        justify-content: center;
    }
    
    .qe-hero-buttons {
        justify-content: center;
    }
    
    .qe-hero-visual {
        display: none;
    }
    
    .qe-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qe-ai-grid,
    .qe-cockpit-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .qe-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .qe-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .qe-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --qe-section-padding: 60px;
    }
    
    .qe-nav-menu,
    .qe-nav-cta {
        display: none;
    }
    
    .qe-menu-toggle {
        display: flex;
    }
    
    .qe-features-grid {
        grid-template-columns: 1fr;
    }
    
    .qe-ai-features {
        grid-template-columns: 1fr;
    }
    
    .qe-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .qe-footer-brand {
        max-width: 100%;
    }
    
    .qe-footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .qe-hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .qe-cockpit-benefits {
        justify-content: center;
    }
    
    .qe-cockpit-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Navigation Overlay */
.qe-mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--qe-dark);
    z-index: 999;
    padding: 24px;
    display: none;
    flex-direction: column;
}

.qe-mobile-nav.active {
    display: flex;
}

.qe-mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.25rem;
    color: var(--qe-text);
    border-bottom: 1px solid var(--qe-border);
}

.qe-mobile-nav .qe-btn {
    margin-top: 24px;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.hidden { display: none; }
.visible { display: block; }
