/* 100% DSGVO-konforme System- & Lokal-Schriftarten (Keine Google Fonts CDN-Abfragen) */
:root {
    /* Color Palette */
    --bg-dark: #030303;
    --bg-card: rgba(18, 18, 18, 0.55);
    --primary-gold: #ce9054;
    --secondary-gold: #e5a974;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-glow: rgba(206, 144, 84, 0.15);
    --accent-red: #d9534f;
    --accent-green: #5cb85c;
    
    /* Borders & Glassmorphism */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glass-hover: 1px solid rgba(206, 144, 84, 0.35);
    --border-hud: 1px solid rgba(255, 255, 255, 0.15);
    --border-hud-active: 1px solid var(--primary-gold);
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 4px;

    /* Typography (DSGVO-konform ohne CDN) */
    --font-serif: 'Cormorant Garamond', 'Garamond', 'Baskerville', 'Georgia', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', 'Consolas', 'Courier New', monospace;

    /* Layout & Spacing */
    --site-max-width: 1400px;
    --header-height: 80px;
}

/* -------------------------------------------------------------
   BASE RESET & SCROLLBAR
   ------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

button, input, textarea, select {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* -------------------------------------------------------------
   VISUAL AMBIENCE (AURORA & GRID OVERLAY)
   ------------------------------------------------------------- */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}

.aurora-sphere {
    position: absolute;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    mix-blend-mode: screen;
    will-change: transform;
}

.aurora-1 {
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 80%);
    top: -10%;
    left: 10%;
    animation: float1 25s infinite alternate ease-in-out;
}

.aurora-2 {
    background: radial-gradient(circle, var(--secondary-gold) 0%, transparent 80%);
    bottom: -15%;
    right: 5%;
    animation: float2 30s infinite alternate ease-in-out;
}

.aurora-3 {
    background: radial-gradient(circle, #8a572a 0%, transparent 80%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 28s infinite alternate ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8%, 5%) scale(1.1); }
}
@keyframes float2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-10%, -8%) scale(0.9); }
}
@keyframes float3 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-45%, -48%) rotate(180deg) scale(1.1); }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    display: flex;
    justify-content: space-between;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.015);
}

/* -------------------------------------------------------------
   TYPOGRAPHY & UTILITIES
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.gold-divider {
    width: 80%;
    max-width: 600px;
    height: 1.5px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
    margin: 25px auto;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border: var(--border-glass-hover);
    box-shadow: 0 10px 30px rgba(206, 144, 84, 0.04);
}

.section-padding {
    padding: 100px 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   NAVIGATION HEADER
   ------------------------------------------------------------- */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav-header.scrolled {
    background-color: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    font-size: 1.6rem;
    color: var(--primary-gold);
    transition: transform 0.4s ease;
}

.nav-logo:hover .nav-logo-icon {
    transform: rotate(45deg);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(3, 3, 3, 0.8) 100%),
                linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-subtitle {
    font-family: var(--font-sans);
    color: var(--secondary-gold);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-subtitle span {
    white-space: nowrap;
}

.hero-subtitle .dot {
    color: var(--primary-gold);
}

.hero-scroll-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInScroll 1.2s ease 1.2s forwards;
    z-index: 2;
}

.hero-scroll-btn:hover {
    color: var(--primary-gold);
}

.hero-scroll-icon {
    font-size: 0.9rem;
    animation: bounceIcon 2s infinite ease-in-out;
}

@keyframes fadeInUpText {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScroll {
    to { opacity: 1; }
}
@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* -------------------------------------------------------------
   WEBAPPS SHOWCASE SECTION
   ------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--primary-gold);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    font-weight: 300;
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.generation-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.generation-row:nth-child(even) {
    flex-direction: row-reverse;
}

.generation-image-container {
    flex: 0 0 500px;
    max-width: 100%;
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: visible;
}

/* Camera/Tech Target HUD Overlay */
.hud-targeting-box {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 3;
    transition: border-color 0.4s ease;
}

.hud-target-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--text-muted);
    border-style: solid;
    border-width: 0;
    transition: border-color 0.4s ease;
}

.corner-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.hud-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.hud-crosshair::before,
.hud-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.4s ease;
}

.hud-crosshair::before {
    top: 50%;
    left: -5px;
    width: 50px;
    height: 1px;
    transform: translateY(-50%);
}

.hud-crosshair::after {
    left: 50%;
    top: -5px;
    width: 1px;
    height: 50px;
    transform: translateX(-50%);
}

/* Info toggle button */
.hud-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-toggle-btn i {
    font-size: 0.75rem;
}

.hud-toggle-btn:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--bg-dark);
}

/* Image Wrapper */
.generation-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: var(--border-glass);
    z-index: 2;
}

.generation-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: rgba(3, 3, 3, 0.5);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Technical Telemetry Overlay (like EXIF data) */
.hud-vitals-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(3, 3, 3, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: var(--border-hud);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.hud-vitals-overlay.active {
    transform: translateY(0);
}

.hud-header {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    margin-bottom: 5px;
}

.hud-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--primary-gold);
    text-transform: uppercase;
}

.hud-metric {
    display: flex;
    flex-direction: column;
}

.hud-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hud-value {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    font-weight: 400;
}

/* Hover effects for HUD container */
.generation-image-container:hover .hud-targeting-box {
    border-color: rgba(206, 144, 84, 0.3);
}

.generation-image-container:hover .hud-target-corner {
    border-color: var(--primary-gold);
}

.generation-image-container:hover .hud-crosshair {
    border-color: rgba(206, 144, 84, 0.3);
}

.generation-image-container:hover .hud-crosshair::before,
.generation-image-container:hover .hud-crosshair::after {
    background-color: var(--primary-gold);
}

.generation-image-container:hover .generation-image {
    transform: scale(1.03);
}

/* Info Details Column */
.generation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.generation-meta {
    font-family: var(--font-mono);
    color: var(--primary-gold);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.generation-title {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 1.2;
}

.generation-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Premium Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--text-primary);
    padding: 12px 28px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-gold);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: var(--bg-dark);
}

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

.btn-primary i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

/* -------------------------------------------------------------
   MANAGE / APP MANAGEMENT PANEL (Verwaltung)
   ------------------------------------------------------------- */
.manage-section {
    position: relative;
}

.manage-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.form-panel {
    padding: 40px;
}

.form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(206, 144, 84, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    background-color: #121212;
    color: var(--text-primary);
    cursor: pointer;
}

select.form-control option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

.file-upload-wrapper {
    position: relative;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.04);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.file-upload-wrapper:hover .file-upload-icon {
    color: var(--primary-gold);
}

.file-upload-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.file-upload-preview {
    margin-top: 15px;
    max-height: 100px;
    width: auto;
    border-radius: var(--radius-sm);
    display: none;
    margin-left: auto;
    margin-right: auto;
    border: var(--border-glass);
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* App Manager List Grid */
.manager-list-panel {
    padding: 40px;
}

.manager-list-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-gold);
}

.manager-apps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

.manager-app-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.manager-app-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.manager-app-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: var(--border-glass);
}

.manager-app-details {
    flex: 1;
}

.manager-app-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.2;
}

.manager-app-url {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.manager-app-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.action-btn-edit {
    background: rgba(206, 144, 84, 0.1);
    color: var(--secondary-gold);
    border: 1px solid rgba(206, 144, 84, 0.2);
}

.action-btn-edit:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
}

.action-btn-delete {
    background: rgba(217, 83, 79, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(217, 83, 79, 0.2);
}

.action-btn-delete:hover {
    background: var(--accent-red);
    color: var(--text-primary);
    border-color: var(--accent-red);
}

/* -------------------------------------------------------------
   CONTACT SECTION & FOOTER
   ------------------------------------------------------------- */
.contact-section {
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(206, 144, 84, 0.02));
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-desc {
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.contact-link-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-link-item:hover {
    color: var(--primary-gold);
}

.footer {
    border-top: var(--border-glass);
    padding: 40px 0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .generation-row {
        gap: 40px;
    }
    
    .generation-image-container {
        flex: 0 0 400px;
    }
    
    .manage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-links {
        display: none; /* Mobile menu logic can be added */
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .generation-row,
    .generation-row:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    
    .generation-image-container {
        flex: auto;
        aspect-ratio: 4/3;
    }
    
    .hud-targeting-box {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    .generation-info {
        align-items: center;
        text-align: center;
    }
    
    .generation-title {
        font-size: 1.8rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .form-panel, .manager-list-panel {
        padding: 25px;
    }
}

/* -------------------------------------------------------------
   HIGHLIGHTS MODAL STYLING
   ------------------------------------------------------------- */
.highlights-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlights-modal.active {
    display: flex;
    opacity: 1;
}

.highlights-modal-content {
    max-width: 600px;
    width: 90%;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlights-modal.active .highlights-modal-content {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.close-modal-btn:hover {
    color: var(--primary-gold);
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlights-list li {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlights-list strong {
    color: var(--secondary-gold);
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 5px;
}

/* -------------------------------------------------------------
   LOGIN GATE OVERLAY STYLING
   ------------------------------------------------------------- */
.login-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 3, 3, 0.94);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.login-gate-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-card {
    width: 90%;
    max-width: 440px;
    padding: 45px 35px;
    text-align: center;
    border: 1px solid rgba(206, 144, 84, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(206, 144, 84, 0.08);
}

.login-icon-ring {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(206, 144, 84, 0.08);
    box-shadow: 0 0 15px rgba(206, 144, 84, 0.2);
}

.login-icon {
    font-size: 1.6rem;
    color: var(--primary-gold);
}

.login-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
}

.login-input {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.2em;
    padding-right: 45px;
}

.toggle-password-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.toggle-password-btn:hover {
    color: var(--primary-gold);
}

.login-options {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    cursor: pointer;
}

.remember-label input[type="checkbox"] {
    accent-color: var(--primary-gold);
    cursor: pointer;
}

.login-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.8rem;
    margin-top: 10px;
}

.login-error-msg {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-bottom: 15px;
    animation: shakeError 0.4s ease;
}

.login-footer-hint {
    margin-top: 25px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* -------------------------------------------------------------
   FULL DESCRIPTION MODAL STYLING
   ------------------------------------------------------------- */
.description-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1500;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.description-modal.active {
    display: flex;
    opacity: 1;
}

.description-modal-content {
    max-width: 800px;
    max-height: 85vh;
    width: 90%;
    padding: 45px;
    position: relative;
    overflow-y: auto;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.description-modal.active .description-modal-content {
    transform: scale(1);
}

.description-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.description-body h1, 
.description-body h2 {
    font-family: var(--font-serif);
    color: var(--primary-gold);
    font-weight: 300;
    margin-top: 25px;
    margin-bottom: 12px;
}

.description-body h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}

.description-body h2 {
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(206, 144, 84, 0.2);
    padding-bottom: 8px;
}

.description-body h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 8px;
}

.description-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.description-body li {
    margin-bottom: 6px;
}

.description-body strong {
    color: var(--secondary-gold);
}

.description-body hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 25px 0;
}

/* -------------------------------------------------------------
   LAUNCH POPOVER & TOAST MICRO-INTERACTIONS
   ------------------------------------------------------------- */
.generation-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-start;
    margin-top: 15px;
}

.launch-action-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
}

.launch-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 270px;
    padding: 12px 14px;
    background: rgba(14, 14, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(206, 144, 84, 0.4);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(206, 144, 84, 0.15);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.launch-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.launch-popover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: rgba(14, 14, 14, 0.96);
    border-right: 1px solid rgba(206, 144, 84, 0.4);
    border-bottom: 1px solid rgba(206, 144, 84, 0.4);
    transform: rotate(45deg);
}

.launch-popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.launch-popover-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-gold);
}

.launch-popover-close {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

.launch-popover-url {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 9px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    word-break: break-all;
    margin-bottom: 10px;
    max-height: 50px;
    overflow-y: auto;
}

.launch-popover-actions {
    display: flex;
    gap: 8px;
}

.launch-opt-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.launch-opt-btn.exec-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: #000;
    font-weight: 600;
}

.launch-opt-btn.exec-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 144, 84, 0.35);
}

.launch-opt-btn.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.launch-opt-btn.copy-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 22px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--primary-gold);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(206, 144, 84, 0.2);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-notification.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   WYSIWYG EDITOR STYLING
   ------------------------------------------------------------- */
.wysiwyg-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    background: rgba(10, 10, 10, 0.6);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wysiwyg-wrapper:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(206, 144, 84, 0.15);
}

.wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    background: rgba(22, 22, 22, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wysiwyg-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wysiwyg-btn:hover {
    color: var(--primary-gold);
    background: rgba(206, 144, 84, 0.15);
    border-color: rgba(206, 144, 84, 0.4);
}

.wysiwyg-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 4px;
}

.wysiwyg-editor {
    min-height: 120px;
    max-height: 380px;
    padding: 14px;
    overflow-y: auto;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
    outline: none;
    background: transparent;
}

.wysiwyg-editor[placeholder]:empty::before {
    content: attr(placeholder);
    color: var(--text-muted);
    pointer-events: none;
    display: block;
    white-space: pre-line;
    font-style: italic;
    font-size: 0.82rem;
}

.wysiwyg-editor h1,
.wysiwyg-editor h2,
.wysiwyg-editor h3 {
    color: var(--primary-gold);
    font-family: var(--font-serif);
    margin-top: 10px;
    margin-bottom: 8px;
    font-weight: 300;
}

.wysiwyg-editor h1 { font-size: 1.6rem; }
.wysiwyg-editor h2 { font-size: 1.3rem; border-bottom: 1px solid rgba(206, 144, 84, 0.2); padding-bottom: 4px; }
.wysiwyg-editor h3 { font-size: 1.1rem; }

.wysiwyg-editor ul,
.wysiwyg-editor ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.wysiwyg-editor strong {
    color: var(--secondary-gold);
}

.wysiwyg-editor blockquote {
    border-left: 2px solid var(--primary-gold);
    padding-left: 12px;
    font-style: italic;
    color: var(--text-secondary);
    margin: 10px 0;
}

.wysiwyg-source-area {
    width: 100%;
    min-height: 120px;
    max-height: 380px;
    padding: 14px;
    background: #080808 !important;
    color: #4af6c6 !important;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: none !important;
    outline: none;
    resize: vertical;
}



