/* AI HUDS - 1 MILLION YEARS AHEAD - aihuds.com */
/* Design System for Kardashev-I Civilization */

:root {
    /* Nova Color Palette */
    --nova-void: #000000;
    --stellar-core: #00FFE0;
    --nebula-pink: #FF00FF;
    --singularity-blue: #0066FF;
    --event-horizon: #6600FF;
    --dark-matter: #0A0A1A;
    --neutrino-glow: rgba(0, 255, 224, 0.1);
    --cosmic-dust: rgba(255, 255, 255, 0.05);
    --antimatter: #FF0033;
    --developer-green: #00FF88;
    --api-purple: #AA00FF;
    --fire-red: #FF3300;
    --doctor-blue: #00AAFF;
    --space-purple: #9900FF;
    --factory-orange: #FF6600;
    
    /* Dimensional Properties */
    --tesseract-speed: 0.3s;
    --wormhole-blur: 20px;
    --nova-entanglement: 9999;
    --singularity-radius: 50px;
    --event-horizon-glow: 0 0 50px;
}

/* Industry Card Specific */
.industry-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(30px);
    border: 1px solid var(--cosmic-dust);
    border-radius: 30px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--tesseract-speed);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--stellar-core);
    box-shadow: 
        0 30px 80px rgba(0, 255, 224, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.industry-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 1.5rem;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.fire-icon {
    background: linear-gradient(45deg, rgba(255, 51, 0, 0.2), rgba(255, 153, 0, 0.2));
    color: var(--fire-red);
}

.space-icon {
    background: linear-gradient(45deg, rgba(153, 0, 255, 0.2), rgba(0, 170, 255, 0.2));
    color: var(--space-purple);
}

.doctor-icon {
    background: linear-gradient(45deg, rgba(0, 170, 255, 0.2), rgba(0, 255, 224, 0.2));
    color: var(--doctor-blue);
}

.factory-icon {
    background: linear-gradient(45deg, rgba(255, 102, 0, 0.2), rgba(255, 204, 0, 0.2));
    color: var(--factory-orange);
}

.industry-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--stellar-core), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.industry-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    font-size: 1.1rem;
    font-weight: 300;
}

.industry-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cosmic-dust);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Developer Tools Specific */
:root {
    --code-bg: #0A0A1A;
    --code-text: #00FFE0;
    --code-comment: #666699;
    --code-string: #FF66CC;
    --code-number: #00FF88;
    --code-keyword: #0066FF;
    --terminal-bg: #000011;
    --terminal-text: #00FFE0;
    --terminal-prompt: #FF00FF;
}

.developer-workspace {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 2rem;
    height: calc(100vh - 80px);
    background: var(--dark-matter);
}

.code-editor {
    background: var(--code-bg);
    border: 1px solid var(--cosmic-dust);
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    overflow: auto;
}

.api-test-panel {
    background: var(--terminal-bg);
    border: 1px solid var(--cosmic-dust);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-y: auto;
}

.terminal {
    background: var(--terminal-bg);
    color: var(--terminal-text);
    font-family: 'Monaco', monospace;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--cosmic-dust);
    min-height: 300px;
    overflow-y: auto;
}

.terminal-line {
    margin: 0.5rem 0;
}

.terminal-prompt {
    color: var(--terminal-prompt);
}

.code-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.code-toolbar button {
    background: var(--cosmic-dust);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--tesseract-speed);
}

.code-toolbar button:hover {
    background: var(--stellar-core);
    color: var(--nova-void);
}

.api-key-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cosmic-dust);
    border-radius: 5px;
    padding: 0.8rem;
    color: white;
    width: 100%;
    margin: 0.5rem 0;
    font-family: monospace;
}

.developer-card {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.1), rgba(0, 0, 0, 0.3));
    border: 1px solid var(--developer-green);
    border-radius: var(--singularity-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.developer-card h4 {
    color: var(--developer-green);
    margin-bottom: 1rem;
}

/* Existing CSS from before... */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--nova-void);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 
                 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
                 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, var(--stellar-core) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--nebula-pink) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--singularity-blue) 0%, transparent 50%);
    opacity: 0.1;
    z-index: -1;
    animation: cosmic-drift 60s infinite linear;
}

@keyframes cosmic-drift {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.nova-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--nova-entanglement);
    backdrop-filter: blur(var(--wormhole-blur));
    background: rgba(10, 10, 26, 0.8);
    border-bottom: 1px solid var(--cosmic-dust);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--stellar-core), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--stellar-core), var(--nebula-pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: nova-spin 10s infinite linear;
}

@keyframes nova-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

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

.portal-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all var(--tesseract-speed);
    overflow: hidden;
}

.portal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neutrino-glow), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.portal-link:hover::before {
    transform: translateX(100%);
}

.portal-link:hover {
    color: var(--stellar-core);
    background: var(--neutrino-glow);
    transform: translateY(-2px);
    box-shadow: var(--event-horizon-glow) var(--stellar-core);
}

.admin-portal {
    background: linear-gradient(90deg, var(--stellar-core), var(--singularity-blue));
    color: var(--nova-void);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--tesseract-speed);
    position: relative;
    overflow: hidden;
}

.admin-portal:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 255, 224, 0.4);
}

.developer-portal {
    background: linear-gradient(90deg, var(--developer-green), var(--api-purple));
    color: var(--nova-void);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--tesseract-speed);
    position: relative;
    overflow: hidden;
}

.developer-portal:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.4);
}

/* Singularity Hero */
.singularity-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        linear-gradient(rgba(0, 255, 224, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 224, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: matrix-flow 20s linear infinite;
}

@keyframes matrix-flow {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    text-align: center;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;
}

.nova-gradient {
    background: linear-gradient(
        90deg,
        var(--stellar-core),
        var(--nebula-pink),
        var(--singularity-blue),
        var(--stellar-core)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nova-wave 8s ease-in-out infinite;
}

@keyframes nova-wave {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Nova Grid System */
.nova-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nova-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.03),
        rgba(0, 0, 0, 0.3)
    );
    backdrop-filter: blur(20px);
    border: 1px solid var(--cosmic-dust);
    border-radius: var(--singularity-radius);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--tesseract-speed);
}

.nova-card:hover {
    transform: translateY(-10px);
    border-color: var(--stellar-core);
    box-shadow: 
        0 20px 60px rgba(0, 255, 224, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--stellar-core), var(--singularity-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--stellar-core);
}

.card-content {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1rem;
}

/* Stellar Signup */
.stellar-signup {
    padding: 8rem 2rem;
    position: relative;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--dark-matter),
        transparent
    );
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.signup-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--stellar-core), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.nova-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cosmic-dust);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: all var(--tesseract-speed);
}

.form-input:focus {
    outline: none;
    border-color: var(--stellar-core);
    background: rgba(0, 255, 224, 0.05);
    box-shadow: 0 0 30px rgba(0, 255, 224, 0.2);
}

.nova-button {
    background: linear-gradient(90deg, var(--stellar-core), var(--singularity-blue));
    color: var(--nova-void);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--tesseract-speed);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nova-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 255, 224, 0.4),
        0 0 0 3px rgba(0, 255, 224, 0.1);
}

.developer-button {
    background: linear-gradient(90deg, var(--developer-green), var(--api-purple));
    color: var(--nova-void);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--tesseract-speed);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.developer-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.4);
}

/* Cosmic Footer */
.cosmic-footer {
    padding: 4rem 2rem;
    background: linear-gradient(
        to top,
        var(--dark-matter),
        transparent
    );
    border-top: 1px solid var(--cosmic-dust);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--stellar-core);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--tesseract-speed);
    padding-left: 1rem;
}

.footer-link:hover {
    color: var(--stellar-core);
    padding-left: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nova-nav {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-portal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .singularity-hero {
        padding: 10rem 1rem 4rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .nova-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .developer-workspace {
        grid-template-columns: 1fr;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Fortress */
.legal-fortress {
    margin-top: 4rem;
    padding: 2rem;
    border: 2px solid var(--cosmic-dust);
    background: rgba(10, 10, 26, 0.5);
    border-radius: 4px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-fortress::before, .legal-fortress::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--stellar-core);
    transition: all 0.3s ease;
}

.legal-fortress::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.legal-fortress::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.legal-fortress:hover::before, .legal-fortress:hover::after {
    width: 100%;
    height: 100%;
}

.legal-fortress-icon {
    font-size: 2rem;
    color: var(--cosmic-dust);
    margin-bottom: 1rem;
    display: inline-block;
}

.legal-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.legal-highlight {
    color: var(--stellar-core);
    font-weight: 700;
}
