@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;700&family=Orbitron:wght@400;700;900&display=swap');

:root {
    --bg-dark: #02040a;
    --neo-cyan: #00FFFF;
    --neo-violet: #BF00FF;
    --neo-pink: #FF007F;
    --hud-border: rgba(0, 255, 255, 0.2);
    --glass-panel: rgba(10, 11, 20, 0.95);
    --font-small: 0.95rem;
    --font-xs: 0.8rem;
}

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

body {
    background-color: var(--bg-dark);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Jarvis HUD Background --- */
.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #0a0b1e 0%, #02040a 100%);
}

.hud-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
}

/* --- Container --- */
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 2rem;
    min-height: 100vh;
    align-items: stretch;
}

/* --- Hero HUD --- */
.hero {
    position: relative;
    padding: 3rem;
    border: 1px solid var(--hud-border);
    background: rgba(0, 255, 255, 0.01);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 0 20px var(--neo-cyan);
}

/* DNA Animation */
.dna-container {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dna-strand {
    width: 100%;
    height: 4px;
    background: var(--neo-cyan);
    position: relative;
    animation: dnaSpin 2s infinite ease-in-out;
}

@keyframes dnaSpin {
    0%, 100% { transform: scaleX(1); opacity: 0.5; }
    50% { transform: scaleX(0.1); opacity: 1; }
}

/* Middle Details */
.hero-middle-details {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.detail-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    position: relative;
    background: rgba(0, 255, 255, 0.02);
}

.detail-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 10px; height: 10px;
    border-top: 2px solid var(--neo-cyan);
    border-left: 2px solid var(--neo-cyan);
}

.detail-label {
    font-size: 0.5rem;
    color: var(--neo-violet);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

/* --- Globe & Bottom Widgets --- */
.bottom-widgets {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.globe-container {
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe {
    width: 110px;
    height: 110px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 255, 255, 0.1), 0 0 20px rgba(0, 255, 255, 0.1);
    transform-style: preserve-3d;
    animation: rotateGlobeFull 20s linear infinite;
}

.globe-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
}

.globe-ring:nth-child(1) { transform: rotateY(0deg); }
.globe-ring:nth-child(2) { transform: rotateY(36deg); }
.globe-ring:nth-child(3) { transform: rotateY(72deg); }
.globe-ring:nth-child(4) { transform: rotateY(108deg); }
.globe-ring:nth-child(5) { transform: rotateY(144deg); }
.globe-ring:nth-child(6) { transform: rotateX(90deg); }

@keyframes rotateGlobeFull {
    from { transform: rotateX(20deg) rotateY(0deg); }
    to { transform: rotateX(20deg) rotateY(360deg); }
}

.globe-inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neo-cyan), transparent);
    box-shadow: 0 0 15px var(--neo-cyan);
}

/* --- Command Panel --- */
.command-panel {
    background: var(--glass-panel);
    border: 1px solid var(--hud-border);
    padding: 2rem;
    height: 100%;
}

.form-group label {
    font-size: 0.6rem;
    color: var(--neo-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: inherit;
    outline: none;
}

.btn-transmit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, var(--neo-cyan), var(--neo-violet));
    border: none;
    color: #fff;
    font-family: 'Orbitron';
    font-weight: 900;
    letter-spacing: 4px;
    cursor: pointer;
}

/* Custom Cursor */
/* Tactical Blue Plus Cursor */
.cursor-crosshair {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 10000;
}

.cursor-crosshair::before, .cursor-crosshair::after {
    content: '';
    position: absolute;
    background: var(--neo-cyan);
    box-shadow: 0 0 15px var(--neo-cyan);
}

.cursor-crosshair::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.cursor-crosshair::after { height: 100%; width: 2px; left: 50%; top: 0; transform: translateX(-50%); }

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--neo-cyan);
    transform: translate(-50%, -50%);
    animation: bluePulse 1.5s infinite alternate;
}

@keyframes bluePulse {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    to { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
/* Dual Rotating Circles */
.dual-circles {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto;
}

.circle-inner, .circle-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed var(--neo-cyan);
    border-radius: 50%;
}

.circle-outer {
    width: 100%;
    height: 100%;
    animation: rotateClockwise 4s linear infinite;
}

.circle-inner {
    width: 60%;
    height: 60%;
    border-color: var(--neo-violet);
    animation: rotateCounterClockwise 2s linear infinite;
}

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

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