/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    margin-bottom: 60px;
}

.starfield-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: 1;
}

#starfield {
    width: 100%;
    height: 100%;
}

.debris-animation-container {
    position: relative;
    width: 100%;
    height: 600px;
    z-index: 2;
}

#debris-svg {
    width: 100%;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.debris-object {
    transform-origin: center;
    animation: rotate-debris 20s linear infinite;
}

@keyframes rotate-debris {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Data Readouts */
.data-readouts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 20px;
    padding-right: 40px;
}

.readout-panel {    
    padding: 15px 20px;
    font-family: var(--font-mono);
    min-width: 280px;    
}

.panel-header {
    color: var(--primary-yellow);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary-yellow);
    text-align: center;
}

.readout-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(248, 241, 0, 0.2);
}

.readout-line:last-child {
    border-bottom: none;
}

.readout-label {
    color: rgba(248, 241, 0, 0.7);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.readout-value {
    color: var(--primary-yellow);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 20px;
}

.hero-tagline {
    font-size: 1.2rem;
    margin: 20px 0;
    letter-spacing: 3px;
}

.hero-description {
    max-width: 800px;
    margin: 30px auto;
}

.typing-text {
    font-size: 1.1rem;
    font-family: var(--font-terminal);
    color: var(--primary-yellow);
    border-left: 3px solid var(--primary-yellow);
    padding-left: 15px;
    text-align: left;
    display: inline-block;
}

/* Mission & Vision Sections */
.mission-section,
.vision-section {
    margin: 50px 0;
}

.mission-text,
.vision-text,
.about-text,
.tech-description,
.collab-text,
.contact-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 15px 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 60px 0;
}

.cta-box {
    display: inline-block;
    border: 3px solid var(--primary-yellow);
    padding: 40px 60px;
    background-color: rgba(248, 241, 0, 0.05);
}

.cta-text {
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* Technology Page Styles */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    border: 2px solid var(--primary-yellow);
    padding: 20px;
    background-color: rgba(248, 241, 0, 0.05);
    transition: all 0.3s ease;
}
.feature-card {
    border: 2px solid black;
    padding: 0;
    
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card-header {
    border: 2px solid black;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 15px 20px;
    background-color: var(--primary-yellow);
    color: #000000;
    margin: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-card-body {
    border: 2px solid var(--primary-yellow);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 20px;
    background-color: #000000;
    color: var(--primary-yellow);
}

.feature-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.app-card:hover {
    background-color: rgba(248, 241, 0, 0.1);
    box-shadow: var(--glow-yellow);
    transform: translateY(-5px);
}

.app-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--primary-yellow);
}

.app-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Diagram Styles */
.diagram-container {
    margin: 30px 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px solid var(--primary-yellow);
}

#architecture-diagram {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

.architecture-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(248, 241, 0, 0.3));
}

.diagram-title {
    fill: var(--primary-yellow);
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 3px;
}

.diagram-label {
    fill: var(--primary-yellow);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
}

.diagram-sublabel {
    fill: var(--primary-yellow);
    font-family: var(--font-mono);
    font-size: 10px;
    opacity: 0.7;
}

.diagram-path-label {
    fill: var(--primary-yellow);
    font-family: var(--font-mono);
    font-size: 11px;
    opacity: 0.8;
}

.diagram-legend {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.legend-marker {
    color: var(--primary-yellow);
}

/* About Page Styles */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.status-item {
    border-left: 3px solid var(--background-black);
    padding-left: 15px;
}

.status-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.status-value {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .starfield-container,
    .debris-animation-container {
        height: 500px;
    }
    
    .data-readouts {
        justify-content: center;
        padding-right: 0;
    }
    
    .readout-panel {
        min-width: 240px;
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .panel-header {
        font-size: 0.9rem;
    }
    
    .readout-label {
        font-size: 0.75rem;
    }
    
    .readout-value {
        font-size: 0.8rem;
    }
    
    .glitch-text {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .cta-box {
        padding: 30px 40px;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}
