:root {
    --primary-color: #00ff00;
    --secondary-color: #00cc00;
    --bg-color: #0a0a0a;
    --terminal-bg: #1a1a1a;
    --text-color: #00ff00;
    --border-color: #00ff00;
    --shadow-color: rgba(0, 255, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Scanline effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* Side Advertisement Banners */
.side-ad {
    position: fixed;
    width: 150px;
    z-index: 10000;
    transition: none;
}

.left-ad {
    left: 10px;
}

.right-ad {
    right: 10px;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 0 20px var(--shadow-color);
    cursor: pointer;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.ad-image:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 30px var(--shadow-color);
}

.ad-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    font-weight: bold;
}

.ad-close:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--shadow-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 2px 20px var(--shadow-color);
    margin-bottom: 60px;
    background-image: url('BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
    z-index: 0;
}

header .logo {
    position: relative;
    z-index: 1;
}

.robco-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px var(--shadow-color));
    image-rendering: crisp-edges;
}

h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--shadow-color);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: var(--secondary-color);
    font-style: italic;
}

/* Hero Section */
.hero {
    margin: 60px 0;
    display: flex;
    justify-content: center;
}

.terminal-window {
    width: 100%;
    max-width: 800px;
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 0 30px var(--shadow-color);
    overflow: hidden;
}

.terminal-header {
    background-color: #2a2a2a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background-color: #ff5f56; }
.terminal-button.yellow { background-color: #ffbd2e; }
.terminal-button.green { background-color: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: #888;
    font-size: 0.9em;
}

.terminal-content {
    padding: 30px;
    min-height: 300px;
}

.terminal-content p {
    margin: 10px 0;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 2s steps(40, end), blink 0.75s step-end infinite;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Features Section */
.features {
    margin: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px var(--shadow-color);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
    filter: grayscale(100%) brightness(1.5);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-card p {
    color: var(--secondary-color);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Tech Specs */
.tech-specs {
    margin: 80px 0;
    padding: 40px;
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.tech-specs h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-color);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-label {
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.spec-value {
    color: var(--primary-color);
    font-size: 1.1em;
}

/* Installation Section */
.installation {
    margin: 80px 0;
}

.installation h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: 0 5px 30px var(--shadow-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-content code {
    display: block;
    background-color: var(--bg-color);
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--secondary-color);
    margin-top: 10px;
    overflow-x: auto;
}

/* Screenshot/Demo Section */
.screenshot {
    margin: 80px 0;
}

.screenshot h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.demo-terminal {
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 30px var(--shadow-color);
    overflow-x: auto;
}

.demo-content pre {
    color: var(--primary-color);
    font-size: 0.9em;
    line-height: 1.4;
}

/* Order CTA */
.order-cta {
    margin-top: 50px;
    padding: 40px;
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.pricing {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 0 0 15px var(--shadow-color);
}

.availability {
    color: var(--secondary-color);
    font-size: 1.1em;
}

.vault-tec-banner {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 0 20px var(--shadow-color);
}

/* Product Showcase */
.product-showcase {
    margin: 80px 0;
}

.product-showcase h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.showcase-item {
    text-align: center;
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px var(--shadow-color);
}

.product-image {
    width: 100%;
    height: auto;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--shadow-color);
}

.image-caption {
    color: var(--secondary-color);
    font-size: 1em;
    font-style: italic;
    margin-top: 15px;
}

.product-image.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image.clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--shadow-color);
}

.zoom-trigger {
    display: block;
    text-decoration: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox:target {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3em;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
    text-shadow: 0 0 20px var(--shadow-color);
}

.lightbox-content {
    max-width: 95%;
    max-height: 95vh;
    overflow: auto;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 50px var(--shadow-color);
    border-radius: 8px;
}

.lightbox-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Banner */
.product-banner {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.banner-title {
    font-size: 2em;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--shadow-color);
}

.banner-subtitle {
    color: var(--secondary-color);
    font-size: 1.2em;
    font-style: italic;
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--border-color);
    box-shadow: 0 -2px 20px var(--shadow-color);
}

.footer-content p {
    margin: 10px 0;
    color: var(--secondary-color);
}

.footer-tagline {
    font-style: italic;
    font-size: 1em;
    color: var(--primary-color);
}

.disclaimer {
    font-size: 0.85em;
    color: var(--secondary-color);
}

.legal {
    font-size: 0.75em;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-ad {
        display: none;
    }
    
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .robco-logo {
        max-width: 200px;
    }
    
    .vault-tec-banner {
        max-width: 100%;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-number {
        margin: 0 auto 15px auto;
    }
    
    .terminal-window {
        font-size: 0.85em;
    }
    
    .terminal-content {
        padding: 15px;
    }
    
    .product-banner {
        padding: 15px;
    }
    
    .banner-title {
        font-size: 1.3em;
    }
    
    .banner-subtitle {
        font-size: 1em;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .showcase-item {
        padding: 15px;
    }
    
    .order-cta {
        padding: 20px;
    }
    
    .pricing {
        font-size: 1.2em;
    }
    
    .price {
        font-size: 1.4em;
    }
    
    .availability {
        font-size: 0.95em;
    }
}

/* Glow effect on hover */
.feature-card:hover,
.step:hover,
.terminal-window:hover {
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px var(--shadow-color);
    }
    to {
        box-shadow: 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-color);
    }
}
