/* CSS Reset & Variables */
:root {
    --color-bg-deep: #0B132B;
    --color-bg-accent: #1C2541;
    --color-gold-light: #f3e5ab;
    --color-gold-mid: #d4af37;
    --color-gold-dark: #aa7c11;
    --color-text-main: #f8f9fa;
    --color-text-muted: #a1a1aa;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Steampunk Gears Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Subtle seamless SVG gears arranged in a staggered diamond pattern */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3Cg id='L' stroke='%23d4af37' fill='none' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle r='24'/%3E%3Ccircle r='8'/%3E%3Cpath d='M0 -30v6M0 24v6M-30 0h6M24 0h6M-21 -21l4 4M17 17l4 4M-21 21l4 -4M17 -17l4 -4'/%3E%3Ccircle r='30' stroke-dasharray='4 8'/%3E%3C/g%3E%3Cg id='S' stroke='%23d4af37' fill='none' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle r='16'/%3E%3Ccircle r='4'/%3E%3Cpath d='M0 -22v6M0 16v6M-22 0h6M16 0h6M-15.5 -15.5l4 4M11.5 11.5l4 4M-15.5 15.5l4 -4M11.5 -11.5l4 -4'/%3E%3Ccircle r='20' stroke-dasharray='2 6'/%3E%3C/g%3E%3C/defs%3E%3Cpath stroke='%23d4af37' fill='none' stroke-width='1.5' d='M25 25l30 30M105 105l30 30M135 25l-30 30M25 135l30 -30' stroke-dasharray='3 6'/%3E%3Cuse href='%23L' x='80' y='80'/%3E%3Cuse href='%23L' x='0' y='0'/%3E%3Cuse href='%23L' x='160' y='160'/%3E%3Cuse href='%23L' x='160' y='0'/%3E%3Cuse href='%23L' x='0' y='160'/%3E%3Cuse href='%23S' x='80' y='0'/%3E%3Cuse href='%23S' x='80' y='160'/%3E%3Cuse href='%23S' x='0' y='80'/%3E%3Cuse href='%23S' x='160' y='80'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    background-position: center center;
    opacity: 0.08; /* Kept very subtle */
    z-index: -2;
    pointer-events: none;
}

/* Subtle CRT Scanline Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    z-index: 9999;
    pointer-events: none;
    opacity: 0.6;
}

/* Background Canvas */
#steam-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.95;
    pointer-events: none;
}

/* Typography Utility */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-mid) 50%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-dot {
    color: var(--color-gold-mid);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 19, 43, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: rgba(11, 19, 43, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 5px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.glass-nav.scrolled .nav-container {
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 60px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 144px;
    margin-bottom: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--color-gold-mid);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--color-gold-light);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 100;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-main) !important;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold-light) !important;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-main);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-text-main);
    left: 0;
    transition: var(--transition-smooth);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-mid) 0%, var(--color-gold-dark) 100%);
    color: var(--color-bg-deep);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-mid) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold-light);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold-mid);
    color: #fff;
}

.glow-btn {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
}

.hero-title {
    font-size: clamp(1.8rem, 4.2vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title-small {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.15rem;
    letter-spacing: 0;
}

.hero-title .gold-gradient-text {
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-gold-mid);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.08), transparent);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ffffff;
    box-shadow: 0 0 0 1px #ffffff, 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    animation: shine 1.5s ease;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-mid);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-icon img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
    border-radius: 16px;
    border: 2px solid var(--color-gold-mid);
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.15) translateY(-8px);
    border-color: #ffffff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding-bottom: 8rem;
}

.cta-card {
    background: linear-gradient(to bottom right, rgba(28, 37, 65, 0.8), rgba(11, 19, 43, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.glass-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    border-color: var(--color-gold-mid);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #060a17;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.footer-brand {
    max-width: 600px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-column h4 {
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.link-column a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.link-column a:hover {
    color: var(--color-gold-mid);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Simulator Section */
.simulator-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.simulator-container {
    max-width: 800px;
    margin: 0 auto;
}

.simulator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.simulator-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.simulator-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.simulator-ui {
    background: rgba(28, 37, 65, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.chat-window {
    height: 400px;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInMessage 0.3s ease forwards;
}

@keyframes fadeInMessage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message .message-avatar {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.bot-message .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    line-height: 1.6;
    max-width: 85%;
}

.bot-message .message-content {
    border-top-left-radius: 2px;
}

.user-message .message-content {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    border-top-right-radius: 2px;
}

.chat-input-area {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-gold-mid);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: flex-end;
}

.btn-chat-option {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-gold-mid);
    color: var(--color-text-main);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-chat-option:hover {
    background: var(--color-gold-mid);
    color: #000;
}

.blueprint-step {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-gold-mid);
}

.blueprint-step h4 {
    color: var(--color-gold-mid);
    margin-bottom: 0.25rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--color-bg-deep);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-form {
        flex-direction: column;
    }
}


/* --- Case Study Cards --- */
.case-study-card {
    position: relative;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold-mid);
}

.case-study-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid var(--color-glass-border);
    border-radius: 16px 16px 0 0;
}

.case-study-content {
    padding: 2rem;
    flex: 1;
}

/* --- Float Image (Capabilities) --- */
.float-image {
    float: right;
    width: 240px;
    height: auto;
    margin: 0 0 1rem 2rem;
    border: 2px solid var(--color-gold-mid);
    border-radius: 16px;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .float-image {
        float: none;
        display: block;
        margin: 0 auto 2rem auto;
    }
}

.card-feature-icons {
    position: absolute;
    top: -30px;
    left: -30px;
    display: flex;
    gap: -20px; /* Negative gap for overlap effect */
    z-index: 100;
}

.feature-badge {
    width: 85px;
    height: 85px;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--color-gold-mid);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 20;
}

.case-study-content h3 {
    color: var(--color-gold-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.case-study-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Custom Steampunk Train Cursor on movement */
body.moving-smokestack,
body.moving-smokestack a,
body.moving-smokestack button,
body.moving-smokestack input,
body.moving-smokestack label,
body.moving-smokestack select,
body.moving-smokestack textarea {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M 6 26 L 26 26 L 22 32 L 10 32 Z' fill='%231b2234' stroke='%23d4af37' stroke-width='0.75'/><line x1='12' y1='26' x2='13' y2='32' stroke='%23d4af37' stroke-width='0.75'/><line x1='16' y1='26' x2='16' y2='32' stroke='%23d4af37' stroke-width='0.75'/><line x1='20' y1='26' x2='19' y2='32' stroke='%23d4af37' stroke-width='0.75'/><rect x='4' y='21' width='5' height='6' rx='1' fill='%232c354a' stroke='%230f1423' stroke-width='0.75'/><rect x='23' y='21' width='5' height='6' rx='1' fill='%232c354a' stroke='%230f1423' stroke-width='0.75'/><circle cx='16' cy='18' r='8' fill='%232c354a' stroke='%230f1423' stroke-width='1.5'/><circle cx='16' cy='18' r='6.5' fill='none' stroke='%23d4af37' stroke-width='0.75' stroke-dasharray='2 2'/><rect x='13' y='7' width='6' height='7' fill='%232c354a' stroke='%230f1423' stroke-width='1'/><path d='M 11 4 L 21 4 L 19 7 L 13 7 Z' fill='%23d4af37' stroke='%23aa7c11' stroke-width='0.75'/><ellipse cx='16' cy='4' rx='4' ry='1.2' fill='%230b132b'/><circle cx='16' cy='14' r='3.5' fill='%23fff' stroke='%23d4af37' stroke-width='1.5'/><circle cx='16' cy='14' r='1.5' fill='%23f3e5ab'/></svg>") 16 4, auto !important;
}

/* Web Components Layout Support */
terminus-header, terminus-footer {
    display: block;
}

/* Floating Social Media Bar */
.floating-social-bar {
    position: fixed;
    top: 160px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 999;
    background: rgba(11, 12, 16, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 0.75rem 0.45rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    width: 48px; /* Clean, compact, extremely small under 75px */
    animation: fadeInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.floating-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: rgba(212, 175, 55, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-social-bar a svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none; /* Crucial for outlined SVGs so they aren't filled */
    transition: transform 0.3s ease;
}

.floating-social-bar a:hover {
    color: rgba(212, 175, 55, 0.95);
    border-color: rgba(212, 175, 55, 0.9);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transform: scale(1.08) translateX(-3px);
}

.floating-social-bar a:hover svg {
    transform: rotate(8deg);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
    .floating-social-bar {
        top: auto;
        bottom: 20px;
        right: 15px;
        flex-direction: row;
        width: auto;
        padding: 0.45rem 0.75rem;
        border-radius: 30px;
    }
    
    .floating-social-bar a:hover {
        transform: scale(1.1) translateY(-3px);
    }
}


