/* ==========================================================================
   GÖKSİMA TEST DOMAIN STYLE SHEET - COSMIC THEME
   ========================================================================== */

/* Variables */
:root {
    --color-bg-deep: #06070d;
    --color-bg-card: rgba(10, 12, 22, 0.65);
    --color-border: rgba(45, 212, 191, 0.15);
    --color-border-glow: rgba(45, 212, 191, 0.35);
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-cyan: #2dd4bf;
    --color-purple: #a855f7;
    --color-green: #10b981;
    --color-red: #ef4444;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', 'Consolas', 'Courier New', monospace;
}

/* CSS Reset & Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Constellation Canvas */
#constellation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: all;
}

/* Nebula Background Overlays */
.nebula {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
    animation: floatNebula 25s infinite alternate ease-in-out;
}

.nebula-cyan {
    background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
}

.nebula-purple {
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
    width: 700px;
    height: 700px;
    bottom: -150px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes floatNebula {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(80px, 50px) scale(1.1);
    }
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(6, 7, 13, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.logo-img {
    height: 48px;
    vertical-align: middle;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45, 212, 191, 0.06);
    border: 1px solid rgba(45, 212, 191, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.1);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-cyan);
}

.animate-pulse {
    animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Main Section */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 80px;
    z-index: 10;
}

.hero-container {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.cosmic-tag-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.cosmic-tag {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1), rgba(45, 212, 191, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #e9d5ff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.35rem 1.2rem;
    border-radius: 4px;
    box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.1);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.text-glow {
    background: linear-gradient(90deg, var(--color-cyan) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(45, 212, 191, 0.2);
}

.main-subtitle {
    font-size: 1.12rem;
    color: var(--color-text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* ==========================================================================
   HUD TELEMETRY DASHBOARD (Glassmorphism & Cyberpunk HUD)
   ========================================================================== */

.hud-dashboard {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(45, 212, 191, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    text-align: left;
    margin-bottom: 2.5rem;
    position: relative;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.hud-dashboard:hover {
    border-color: var(--color-border-glow);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(45, 212, 191, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 12, 22, 0.9);
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-cyan);
    background: rgba(45, 212, 191, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.status-indicator-light {
    width: 6px;
    height: 6px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-cyan);
    animation: pulse 1.5s infinite ease-in-out;
}

.hud-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .hud-body {
        grid-template-columns: 1fr;
    }
}

.hud-specs {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .hud-specs {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}

.spec-label {
    color: var(--color-text-muted);
    font-weight: 400;
}

.spec-value {
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 500;
}

.text-cyan {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

.status-glow {
    color: var(--color-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
    animation: subtleBreathe 3s infinite alternate ease-in-out;
}

@keyframes subtleBreathe {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* HUD Live Console */
.hud-console {
    padding: 1.5rem;
    background: rgba(4, 5, 10, 0.4);
    display: flex;
    flex-direction: column;
}

.console-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.console-logs {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    height: 120px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Logs */
.console-logs::-webkit-scrollbar {
    width: 4px;
}
.console-logs::-webkit-scrollbar-track {
    background: transparent;
}
.console-logs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}
.console-logs::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 191, 0.2);
}

.log-line {
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-time {
    color: rgba(255, 255, 255, 0.25);
    margin-right: 0.4rem;
}

.log-msg.sys {
    color: #93c5fd;
}
.log-msg.ok {
    color: var(--color-cyan);
}
.log-msg.warn {
    color: #fde047;
}
.log-msg.error {
    color: #fda4af;
}

/* HUD Footer */
.hud-footer {
    padding: 0.8rem 1.2rem;
    background: rgba(10, 12, 22, 0.85);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scan-bar-container {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.scan-bar {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
    position: absolute;
    top: 0;
    left: -30%;
    animation: scanning 3s infinite linear;
}

@keyframes scanning {
    0% { left: -30%; }
    100% { left: 100%; }
}

.hud-footer-info {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* CTA Action Buttons */
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

@media (max-width: 480px) {
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-cyan), #7c3aed);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 24px rgba(45, 212, 191, 0.4),
        0 0 15px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-arrow {
    margin-left: 0.6rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */

.cosmic-footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(4, 5, 10, 0.6);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 10;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-links .separator {
        display: none;
    }
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-cyan);
}

.separator {
    color: rgba(255, 255, 255, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.3rem;
    }
    .main-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .main-content {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}
