@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=VT323&display=swap');

:root {
    --bg-blueprint: #0c437a; /* A bright classic blueprint blue */
    --grid-line: rgba(255, 255, 255, 0.1);
    --grid-line-thick: rgba(255, 255, 255, 0.25);
    --text-main: #FFFFFF;
    --text-dim: #E2E8F0; /* Brighter for readability */
    --accent: #5EEAD4; /* Cyan/Teal for highlights */
    --draft-line: 1px solid rgba(255, 255, 255, 0.4);
    --draft-dash: 1px dashed rgba(255, 255, 255, 0.5);
}

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

body {
    background-color: var(--bg-blueprint);
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(var(--grid-line-thick) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-thick) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2.section-title {
    font-size: 3rem;
    display: inline-block;
    border-bottom: var(--draft-line);
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.section-text {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(12, 67, 122, 0.95);
    border-bottom: var(--draft-line);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
}

.btn-primary {
    color: var(--accent);
    border: 1px solid var(--accent);
    background: rgba(94, 234, 212, 0.1);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg-blueprint);
}

.btn-secondary {
    color: var(--text-main);
    border: var(--draft-dash);
    background: rgba(0,0,0,0.3);
}

.btn-secondary:hover {
    border: 1px solid var(--text-main);
    background: rgba(0,0,0,0.5);
}

/* Add drafting crosshairs to buttons */
.btn-primary::before, .btn-primary::after, .btn-secondary::before, .btn-secondary::after {
    content: '+';
    position: absolute;
    color: inherit;
    font-size: 10px;
}
.btn-primary::before, .btn-secondary::before { top: -8px; left: -4px; }
.btn-primary::after, .btn-secondary::after { bottom: -8px; right: -4px; }


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    border-bottom: var(--draft-line);
    position: relative;
}

/* Decorative measurement lines in hero */
.hero::before {
    content: 'ELEVATION A-A';
    position: absolute;
    left: 2rem;
    top: 120px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-dim);
    border-left: var(--draft-line);
    padding-left: 1rem;
    height: 80%;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.hero-content {
    max-width: 900px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: var(--draft-dash);
    background: rgba(0,0,0,0.3);
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* Pillars Section */
.pillars-section {
    padding: 8rem 0;
    border-bottom: var(--draft-line);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.draft-card {
    border: 1px solid rgba(255,255,255,0.6);
    padding: 3rem;
    position: relative;
    background: rgba(6, 26, 50, 0.85); /* Solid dark blue to improve text contrast */
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Card crosshairs */
.draft-card::before, .draft-card::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: var(--draft-line);
}
.draft-card::before { top: -5px; left: -5px; border-right: none; border-bottom: none; }
.draft-card::after { bottom: -5px; right: -5px; border-left: none; border-top: none; }

.card-icon {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    border-bottom: var(--draft-dash);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.draft-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.draft-card p {
    font-family: 'Space Mono', monospace;
    font-size: 1.05rem;
    color: #FFFFFF;
    line-height: 1.6;
}

/* Architecture Section */
.architecture-section {
    padding: 8rem 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.text-content {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    font-family: 'Space Mono', monospace;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '>';
    color: var(--accent);
    margin-right: 1rem;
    font-weight: bold;
}

.visual-content {
    flex: 1;
}

/* Retro Terminal */
.retro-terminal {
    background: #050505;
    border: 2px solid var(--accent);
    padding: 2.5rem 2rem;
    font-family: 'VT323', monospace;
    font-size: 1.6rem;
    color: var(--accent);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(94, 234, 212, 0.15) inset, 0 10px 30px rgba(0,0,0,0.5);
    min-height: 250px;
}

/* Scanlines Effect */
.retro-terminal::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

.typing-line {
    display: block;
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
    text-shadow: 0 0 5px rgba(94, 234, 212, 0.5);
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 1.2rem;
    background: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Footer */
.footer {
    padding: 4rem 0;
    text-align: center;
    border-top: var(--draft-line);
    background: rgba(0,0,0,0.3);
}

.footer .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer p {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    color: var(--text-dim);
}
