/* 42bit Cyber Theme Stylesheet */

@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu Mono';
    src: url('fonts/UbuntuMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu Mono';
    src: url('fonts/UbuntuMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg-dark: #0c0d10; /* Rich deep dark grey background */
    --bg-gradient: radial-gradient(circle at 50% 50%, #1a1b22 0%, #08080a 100%);
    --bg-surface: rgba(22, 23, 27, 0.75);
    --bg-surface-glow: rgba(32, 34, 40, 0.95);
    --border-color: rgba(255, 255, 255, 0.06);
    
    --neon-purple: #b779f8; /* High-contrast Neon Lavender-Purple */
    --dark-blue: #1d4ed8;   /* Dark Cobalt Blue accent */
    --accent-blue-light: #60a5fa; /* Lighter blue for readability/links */
    
    --text-primary: #ffffff;      /* Crisp White */
    --text-secondary: #cbd5e1;    /* Silver Off-White */
    --text-muted: #8a99ad;        /* Cool Silver-Grey */
    
    --font-mono: 'Ubuntu Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-sans: 'Ubuntu', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --glow-purple: 0 0 15px rgba(183, 121, 248, 0.4);
    --glow-blue: 0 0 15px rgba(29, 78, 216, 0.45);
    --shadow-inset: inset 0 0 12px rgba(183, 121, 248, 0.15);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1rem;
    overflow-x: hidden;
    position: relative;
}

/* Tech Grid Overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(80, 35, 121, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 35, 121, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center top;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Logo and Hero */
.hero {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.logo-container img {
    border-radius: 50%;
    display: block;
    border: 2px solid rgba(80, 35, 121, 0.3);
    box-shadow: var(--glow-purple);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover img {
    transform: rotate(360deg) scale(1.05);
}

.logo-container::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px dashed var(--neon-purple);
    animation: spin 30s linear infinite;
    opacity: 0.5;
}

.logo-container::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 1px solid var(--dark-blue);
    animation: spin-reverse 20s linear infinite;
    opacity: 0.3;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.hero h1 {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(80, 35, 121, 0.5), 0 0 20px rgba(29, 78, 216, 0.2);
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-family: var(--font-mono);
    color: var(--neon-purple);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
}

/* Glassmorphic Panel/Card */
.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), var(--shadow-inset);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Tech Corners decoration - Purple dominant, Blue secondary */
.glass-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--neon-purple);
    border-left: 2px solid var(--neon-purple);
    border-top-left-radius: 4px;
}

.glass-panel::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--dark-blue);
    border-right: 2px solid var(--dark-blue);
    border-bottom-right-radius: 4px;
}

/* Buttons and Service Links */
.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid a:last-child {
        grid-column: span 2;
    }
}

.service-card {
    background: rgba(30, 32, 38, 0.5);
    border: 1px solid rgba(80, 35, 121, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.service-card:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(80, 35, 121, 0.25), var(--shadow-inset);
    transform: translateY(-3px);
}

.service-card .title {
    font-family: var(--font-mono);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card .desc {
    color: var(--text-primary);
    opacity: 0.85;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-card .action-label {
    font-family: var(--font-mono);
    color: var(--neon-purple);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card .action-label::after {
    content: "→";
    transition: transform 0.2s ease;
}

.service-card:hover .action-label::after {
    transform: translateX(4px);
}

/* Status Container and HHGTTG Theming */
.status-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dont-panic-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    animation: friendly-glow 3s infinite ease-in-out;
    user-select: none;
}

@keyframes friendly-glow {
    0%, 100% {
        color: #10b981;
        text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    }
    50% {
        color: #34d399;
        text-shadow: 0 0 15px rgba(52, 211, 153, 0.7), 0 0 2px #34d399;
    }
}

#countdown-value {
    color: #fff;
    font-weight: 700;
}

/* Pulsing Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
    flex-wrap: wrap;
    line-height: 1.5;
}

.status-indicator.operational { color: #10b981; }
.status-indicator.degraded { color: #f59e0b; }
.status-indicator.offline { color: #ef4444; }
.status-indicator.maintenance { color: #60a5fa; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.status-dot.operational {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: status-pulse-green 1.8s infinite;
}

.status-dot.degraded {
    background-color: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
    animation: status-pulse-orange 1.8s infinite;
}

.status-dot.offline {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: status-pulse-red 1.8s infinite;
}

.status-dot.maintenance {
    background-color: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
    animation: status-pulse-blue 1.8s infinite;
}

@keyframes status-pulse-green {
    0% { transform: scale(0.9); opacity: 0.6; }
    55% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #10b981; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes status-pulse-orange {
    0% { transform: scale(0.9); opacity: 0.6; }
    55% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #f59e0b; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes status-pulse-red {
    0% { transform: scale(0.9); opacity: 0.6; }
    55% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #ef4444; }
    100% { transform: scale(0.9); opacity: 0.6; }
}@keyframes status-pulse-blue {
    0% { transform: scale(0.9); opacity: 0.6; }
    55% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #3b82f6; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.status-badge {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}
.status-badge.operational { color: #10b981; }
.status-badge.degraded { color: #f59e0b; }
.status-badge.offline { color: #ef4444; }
.status-badge.maintenance { color: #60a5fa; }
/* Info & Impressum Layout */
.info-section {
    margin-bottom: 3.5rem;
}

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

.info-card h2 {
    color: var(--neon-purple);
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(80, 35, 121, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-primary);
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(70px, max-content) 1fr;
    gap: 0.6rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-label {
    font-weight: 700;
    color: #ffffff;
}

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

.contact-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-card strong {
    color: #fff;
}

.info-card a {
    color: var(--accent-blue-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-card a:hover {
    color: var(--neon-purple);
    text-decoration: underline;
}

.legal-notice {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.85;
    border-left: 2px solid var(--neon-purple);
    padding-left: 1rem;
    margin: 2rem 0;
}

/* Privacy Console (Interactive Section) */
.privacy-console {
    margin-top: 4rem;
}

.console-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.console-title {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 8px rgba(80, 35, 121, 0.3);
}

.console-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Search bar styling */
.console-search-wrapper {
    position: relative;
    min-width: 240px;
}

.console-search {
    width: 100%;
    background: rgba(20, 21, 26, 0.8);
    border: 1px solid rgba(80, 35, 121, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem 0.5rem 2.2rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.console-search:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(80, 35, 121, 0.2);
}

.console-search-wrapper::before {
    content: "🔍";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Language toggle buttons */
.lang-switcher {
    display: flex;
    background: rgba(20, 21, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    opacity: 0.7;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    opacity: 1;
    color: #fff;
}

.lang-btn.active {
    background: var(--neon-purple);
    color: #fff;
    opacity: 1;
    box-shadow: 0 0 8px rgba(80, 35, 121, 0.4);
}

/* Accordion Accordance Panels */
.accordion-item {
    background: rgba(30, 32, 38, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(80, 35, 121, 0.3);
}

.accordion-item.active {
    border-color: rgba(80, 35, 121, 0.5);
    background: rgba(38, 41, 50, 0.6);
    box-shadow: var(--shadow-inset);
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.accordion-header:focus-visible {
    outline: 2px solid var(--accent-blue-light);
    outline-offset: -2px;
    border-radius: 4px;
}

.accordion-header h3 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    transition: color 0.2s ease;
}

.accordion-item:hover .accordion-header h3 {
    color: var(--neon-purple);
}

.accordion-header .arrow {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .arrow {
    transform: rotate(90deg);
    color: var(--neon-purple);
    opacity: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
    max-height: 5000px; /* high limit to accommodate large text */
    transition: max-height 0.8s cubic-bezier(1, 0, 1, 0);
}

.accordion-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-primary);
    opacity: 0.9;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.accordion-inner p, .accordion-inner ul {
    margin-top: 0.8rem;
}

.accordion-inner ul {
    padding-left: 1.5rem;
}

.accordion-inner h4 {
    margin-top: 1.2rem;
    color: #fff;
    font-size: 0.95rem;
}

.accordion-inner a {
    color: var(--accent-blue-light);
    text-decoration: none;
}

.accordion-inner a:hover {
    text-decoration: underline;
    color: var(--neon-purple);
}

/* Highlight matching search text */
.highlight-text {
    background-color: rgba(80, 35, 121, 0.3);
    color: #fff;
    border-radius: 2px;
    padding: 0 2px;
}

.hidden-element {
    display: none !important;
}

/* Footer / Backlink info */
footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

footer a {
    color: var(--text-primary);
    opacity: 0.7;
    text-decoration: none;
}

footer a:hover {
    color: var(--neon-purple);
    opacity: 1;
}

/* Custom list, rules, code styling inside privacy policy */
.accordion-inner pre, .accordion-inner code {
    font-family: var(--font-mono);
    background: rgba(20, 21, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.accordion-inner code {
    padding: 2px 4px;
    font-size: 0.85em;
    color: var(--neon-purple);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .glass-panel {
        padding: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .console-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .console-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .console-search-wrapper {
        width: 100%;
    }
}
