/* ========================================
   W3B TACTICAL INTERFACE SYSTEM
   Futuristic HUD Design
   ======================================== */

:root {
    --primary-cyan: #00ffaa;
    --secondary-blue: #0088ff;
    --accent-orange: #ff6600;
    --warning-red: #ff3366;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --border-glow: rgba(0, 255, 170, 0.3);
    --border-solid: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --scan-speed: 2s;
    --pulse-speed: 3s;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   STARFIELD BACKGROUND
   ======================================== */

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background: radial-gradient(circle at 20% 80%, rgba(0, 100, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 170, 0.1) 0%, transparent 50%),
                var(--bg-dark);
}

/* ========================================
   HUD OVERLAY SYSTEM
   ======================================== */

.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
}

.corner-bracket {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--border-glow);
    opacity: 0.7;
}

.corner-bracket::before,
.corner-bracket::after {
    content: '';
    position: absolute;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.top-left::before {
    top: -2px;
    left: -2px;
    width: 20px;
    height: 2px;
}

.top-left::after {
    top: -2px;
    left: -2px;
    width: 2px;
    height: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.top-right::before {
    top: -2px;
    right: -2px;
    width: 20px;
    height: 2px;
}

.top-right::after {
    top: -2px;
    right: -2px;
    width: 2px;
    height: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.bottom-left::before {
    bottom: -2px;
    left: -2px;
    width: 20px;
    height: 2px;
}

.bottom-left::after {
    bottom: -2px;
    left: -2px;
    width: 2px;
    height: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.bottom-right::before {
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 2px;
}

.bottom-right::after {
    bottom: -2px;
    right: -2px;
    width: 2px;
    height: 20px;
}

/* Status Bar */
.status-bar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-solid);
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-item .label {
    color: var(--text-muted);
}

.status-item .value {
    color: var(--text-primary);
}

.status-item .value.online {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    position: relative;
    z-index: 10;
    padding: 0;
}

/* ========================================
   HERO SECTION - TARGETING SYSTEM
   ======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
}

.targeting-system {
    position: relative;
    width: 800px;
    height: 600px;
    max-width: 90vw;
    max-height: 70vh;
    margin-bottom: 50px;
}

.target-scanner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

/* Scanner Rings */
.scanner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border-glow);
}

.outer-ring {
    width: 400px;
    height: 400px;
    animation: rotate 10s linear infinite;
}

.ring-segment {
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.ring-segment:nth-child(1) {
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-segment:nth-child(2) {
    top: 50%;
    right: -1px;
    transform: translateY(-50%) rotate(90deg);
}

.ring-segment:nth-child(3) {
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-segment:nth-child(4) {
    top: 50%;
    left: -1px;
    transform: translateY(-50%) rotate(90deg);
}

.middle-ring {
    width: 280px;
    height: 280px;
    animation: rotate 8s linear infinite reverse;
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-blue), transparent);
    top: 50%;
    transform: translateY(-50%);
}

.scanner-line:nth-child(2) {
    transform: translateY(-50%) rotate(90deg);
}

/* Scanner Core */
.scanner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    background: radial-gradient(circle, var(--glass-bg) 0%, transparent 70%);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.3);
}

.core-content {
    text-align: center;
}

.core-title {
    font-family: 'Orbitron', monospace;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px var(--primary-cyan);
    margin-bottom: 5px;
    letter-spacing: 3px;
}

.core-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.core-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-blue);
    text-shadow: 0 0 10px var(--secondary-blue);
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 8px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Side Panels */
.side-panel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-solid);
    border-radius: 10px;
    padding: 20px;
}

.left-panel {
    left: 0;
}

.right-panel {
    right: 0;
}

.panel-header {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-glow);
    padding-bottom: 10px;
}

.data-stream {
    font-size: 11px;
}

.data-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-line .param {
    color: var(--text-muted);
    font-weight: 600;
}

.data-line .value {
    color: var(--text-primary);
    font-weight: 400;
}

.data-line .value.success {
    color: var(--primary-cyan);
    text-shadow: 0 0 5px var(--primary-cyan);
}

/* Analysis Bars */
.analysis-item {
    margin-bottom: 15px;
}

.analysis-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.analysis-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-cyan));
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulse var(--pulse-speed) ease-in-out infinite;
}

.analysis-value {
    font-size: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Mission Brief */
.mission-brief {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.mission-brief h2 {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mission-brief p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Tactical Button */
.tactical-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 15px 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tactical-button:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-cyan);
}

.button-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0.3;
    animation: scan 2s ease-in-out infinite;
}

/* ========================================
   TEMPLATES SECTION
   ======================================== */

.templates-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.template-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-solid);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.2);
    transform: translateY(-5px);
}

.template-scanner {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border: 2px solid var(--border-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--glass-bg) 0%, transparent 70%);
    position: relative;
    animation: pulse var(--pulse-speed) ease-in-out infinite;
}

.template-icon {
    font-size: 32px;
}

.template-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.template-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature {
    background: rgba(0, 255, 170, 0.1);
    color: var(--primary-cyan);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-glow);
}

.template-pricing {
    margin-top: 1rem;
    text-align: center;
}

.setup-price {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary-blue);
    text-shadow: 0 0 10px var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.monthly-price {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-cyan);
    text-shadow: 0 0 8px var(--primary-cyan);
    opacity: 0.9;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 100px 20px;
    background: linear-gradient(45deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-module {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-solid);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-module:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 30px rgba(0, 136, 255, 0.2);
}

.module-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-module h3 {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-module p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.module-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-details span {
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 10px;
    position: relative;
}

.module-details span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-cyan);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.03) 0%, rgba(0, 136, 255, 0.03) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-solid);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 170, 0.2);
    transform: translateY(-5px);
}

.portfolio-preview {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(0.8);
    transform-origin: top left;
    pointer-events: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.portfolio-status {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.status-text {
    color: var(--text-primary);
}

.portfolio-info {
    padding: 30px;
}

.portfolio-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-info p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.portfolio-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.portfolio-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
}

.portfolio-stats .stat-value {
    color: var(--primary-cyan);
    font-weight: 600;
    font-size: 14px;
}

.portfolio-actions {
    display: flex;
    gap: 15px;
}

.portfolio-actions .tactical-button {
    flex: 1;
    text-align: center;
    text-decoration: none;
    justify-content: center;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.contact-terminal {
    max-width: 600px;
    width: 100%;
    background: var(--bg-darker);
    border: 2px solid var(--border-glow);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 170, 0.2);
}

.terminal-header {
    background: linear-gradient(90deg, var(--primary-cyan), var(--secondary-blue));
    color: var(--bg-dark);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

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

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.control.active {
    background: var(--bg-dark);
}

.terminal-content {
    padding: 30px;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-line {
    margin-bottom: 20px;
    font-size: 14px;
}

.prompt {
    color: var(--primary-cyan);
    font-weight: 700;
}

.command {
    color: var(--text-primary);
    margin-left: 10px;
}

.contact-info {
    margin: 30px 0;
    padding-left: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-label {
    color: var(--text-muted);
    width: 80px;
    font-weight: 600;
}

.contact-link {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.contact-link:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

.cursor {
    color: var(--primary-cyan);
    animation: blink 1s infinite;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   MODAL STYLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-darker);
    margin: 2% auto;
    padding: 0;
    border: 2px solid var(--border-glow);
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 255, 170, 0.3);
}

.modal-header {
    background: linear-gradient(90deg, var(--primary-cyan), var(--secondary-blue));
    color: var(--bg-dark);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.close-button {
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: var(--bg-dark);
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--text-primary);
}

.modal-body {
    display: flex;
    height: 70vh;
    overflow: hidden;
}

.modal-preview {
    flex: 2;
    background: var(--bg-dark);
    border-right: 1px solid var(--border-solid);
}

.modal-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-info {
    flex: 1;
    padding: 30px;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.modal-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-features h4 {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.modal-features li {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.modal-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-cyan);
}

.modal-pricing {
    margin: 20px 0;
    text-align: center;
}

.modal-setup-price {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 900;
    color: var(--secondary-blue);
    text-shadow: 0 0 10px var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.modal-monthly-price {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-cyan);
    text-shadow: 0 0 8px var(--primary-cyan);
    opacity: 0.9;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-actions .tactical-button {
    width: 100%;
    padding: 12px;
    font-size: 12px;
}

.modal-actions .tactical-button.secondary {
    background: var(--bg-dark);
    border: 1px solid var(--border-solid);
    color: var(--text-primary);
}

.modal-actions .tactical-button.secondary:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.2);
}

.template-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .status-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .targeting-system {
        width: 90vw;
        height: 400px;
    }
    
    .target-scanner {
        width: 300px;
        height: 300px;
    }
    
    .outer-ring {
        width: 300px;
        height: 300px;
    }
    
    .middle-ring {
        width: 210px;
        height: 210px;
    }
    
    .scanner-core {
        width: 150px;
        height: 150px;
    }
    
    .core-title {
        font-size: 24px;
    }
    
    .side-panel {
        position: relative;
        width: 100%;
        height: auto;
        margin: 20px 0;
    }
    
    .left-panel,
    .right-panel {
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Modal responsive styles */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-body {
        flex-direction: column;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .modal-preview {
        flex: none;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid var(--border-solid);
    }
    
    .modal-info {
        flex: none;
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .close-button {
        font-size: 24px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-card {
        margin: 0 10px;
    }
    
    .portfolio-preview {
        height: 250px;
    }
    
    .portfolio-preview iframe {
        transform: scale(0.7);
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .portfolio-actions .tactical-button {
        font-size: 14px;
        padding: 12px 20px;
    }
} 