/* Tech Theme CSS with Circuit Board Images */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Roboto:wght@400;500;700&display=swap');

:root {
    --tech-green: #0f0;
    --tech-dark: #050a05;
    --tech-gray: #1a1a1a;
    --tech-border: #003300;
    --tech-glow: 0 0 5px #0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--tech-dark);
    color: var(--tech-green);
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background Grid */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 50, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 50, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 20px 0;
    background: rgba(5, 10, 5, 0.9);
    border-bottom: 1px solid var(--tech-green);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--tech-green);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--tech-green);
    text-decoration: none;
    transition: all 0.3s;
}

.nav a:hover {
    text-shadow: var(--tech-glow);
    background: rgba(0, 255, 0, 0.1);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--tech-border);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--tech-dark) 100%);
    z-index: -1;
}

.terminal-box {
    border: 1px solid var(--tech-green);
    padding: 40px;
    background: rgba(0, 20, 0, 0.8);
    position: relative;
    max-width: 700px;
}

.terminal-box::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--tech-green);
    border-left: 2px solid var(--tech-green);
}

.terminal-box::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--tech-green);
    border-right: 2px solid var(--tech-green);
}

.cmd {
    font-family: 'Share Tech Mono', monospace;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.highlight {
    background: var(--tech-green);
    color: var(--tech-dark);
    padding: 0 10px;
}

.btn-tech {
    display: inline-block;
    border: 1px solid var(--tech-green);
    color: var(--tech-green);
    padding: 15px 30px;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s;
    background: rgba(0, 255, 0, 0.05);
}

.btn-tech:hover {
    background: var(--tech-green);
    color: var(--tech-dark);
    box-shadow: 0 0 20px var(--tech-green);
}

/* Systems */
.systems {
    padding: 100px 0;
    background: #020502;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tech-green), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.tech-item {
    border: 1px solid #1a331a;
    padding: 30px;
    background: rgba(0, 20, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: 0.3s;
}

.tech-item:hover {
    border-color: var(--tech-green);
    background: rgba(0, 50, 0, 0.3);
}

.icon-hex {
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Infrastructure */
.infrastructure {
    padding: 100px 0;
}

.infra-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dichotomic-list {
    list-style: none;
    margin-top: 30px;
    padding-left: 0;
}

.dichotomic-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #1a331a;
    padding: 15px 0;
    font-size: 1.1rem;
}

.status {
    background: var(--tech-green);
    color: var(--tech-dark);
    padding: 2px 8px;
    font-weight: 700;
}

.infra-visual {
    position: relative;
    padding: 10px;
    border: 1px solid var(--tech-green);
}

.frame img {
    width: 100%;
    display: block;
    filter: sepia(100%) hue-rotate(50deg) saturate(300%) contrast(1.2);
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 255, 0, 0.1) 51%);
    background-size: 100% 4px;
    pointer-events: none;
}

/* Deployments (Projects) */
.deployments {
    padding: 100px 0;
    background: rgba(0, 20, 0, 0.2);
}

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deploy-card {
    border: 1px solid var(--tech-green);
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    transition: 0.3s;
}

.deploy-card:hover {
    background: rgba(0, 50, 0, 0.4);
    box-shadow: 0 0 15px var(--tech-green);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--tech-green);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--tech-green);
    position: absolute;
    top: 20px;
    right: 20px;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.deploy-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.deploy-card p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Connect */
.connect {
    padding: 100px 0;
    text-align: center;
}

.console {
    max-width: 600px;
    margin: 0 auto;
    background: #000;
    border: 1px solid #333;
    text-align: left;
}

.console-header {
    background: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-family: sans-serif;
}

.console-body {
    padding: 20px;
}

.line {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.prompt {
    color: var(--tech-green);
    margin-right: 10px;
    user-select: none;
}

.console input,
.console textarea {
    background: transparent;
    border: none;
    color: white;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    width: 100%;
}

.console input:focus,
.console textarea:focus {
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .tech-grid,
    .infra-wrapper {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

/* System Reports (Testimonials) */
.reports {
    padding: 100px 0;
    background: #020502;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 255, 0, .05) 25%, rgba(0, 255, 0, .05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, .05) 75%, rgba(0, 255, 0, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0, 255, 0, .05) 25%, rgba(0, 255, 0, .05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, .05) 75%, rgba(0, 255, 0, .05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.report-card {
    border: 1px solid var(--tech-green);
    background: rgba(0, 20, 0, 0.8);
    padding: 30px;
    position: relative;
}

.corner-accents::before,
.corner-accents::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--tech-green);
    transition: 0.3s;
}

.corner-accents::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.corner-accents::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.report-card:hover .corner-accents::before {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.report-card:hover .corner-accents::after {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.report-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px dashed #1a331a;
    padding-bottom: 10px;
}

.report-id {
    color: var(--tech-green);
    font-weight: 700;
}

.report-status {
    color: var(--tech-green);
    opacity: 0.7;
}

.report-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
    color: #ccffcc;
}

.reporter-info {
    display: flex;
    flex-direction: column;
}

.reporter-name {
    font-weight: 700;
    color: var(--tech-green);
}

.reporter-role {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Dev Paths (Blog) */
.dev-paths {
    padding: 100px 0;
    position: relative;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.path-card {
    border: 1px solid #1a331a;
    padding: 25px;
    background: rgba(0, 10, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.path-card:hover {
    border-color: var(--tech-green);
    background: rgba(0, 30, 0, 0.6);
    transform: translateX(5px);
}

.circuit-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h80v80h-80z' fill='none' stroke='%23003300' stroke-width='1'/%3E%3Cpath d='M20 20h60v60h-60z' fill='none' stroke='%23003300' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: -1;
}

.path-code {
    display: block;
    color: var(--tech-green);
    font-weight: 700;
    margin-bottom: 10px;
    background: rgba(0, 255, 0, 0.1);
    display: inline-block;
    padding: 2px 8px;
}

.path-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.path-card p {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-path {
    color: var(--tech-green);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.btn-path:hover {
    border-bottom-color: var(--tech-green);
}

/* Footer */
footer {
    background: #020502;
    border-top: 1px solid var(--tech-green);
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col h3 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--tech-green);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col p {
    color: #ccffcc;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ccffcc;
    opacity: 0.6;
    transition: 0.3s;
    font-family: 'Roboto', sans-serif;
}

.footer-col ul li a:hover {
    color: var(--tech-green);
    opacity: 1;
    text-shadow: 0 0 5px var(--tech-green);
    background: rgba(0, 50, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    border-top: 1px dashed #1a331a;
    padding-top: 20px;
    color: #ccffcc;
    opacity: 0.5;
    font-size: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}