:root {
    --bg-color: #F0F4FE;
    --primary-color: #1398A9;
    --secondary-color: #954940;
    --grid-color: rgba(19, 152, 169, 0.1);
    --text-font: 'Playpen Sans', sans-serif;
    --mono-font: 'Space Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    font-family: var(--text-font);
    color: var(--primary-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* Accessibility: text size adjustment */
    line-height: 1.5;
}

/* Wireframe Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.content-wrapper {
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    z-index: 1;
}

/* Wireframe Box Container */
.wireframe-box {
    border: 2px dashed var(--primary-color);
    padding: 4rem 2rem;
    position: relative;
    background-color: rgba(240, 244, 254, 0.9);
    backdrop-filter: blur(5px);
    text-align: center;
    box-shadow: 8px 8px 0px rgba(19, 152, 169, 0.2);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    border-radius: 4px;
    /* Slight rounding but keeping it technical */
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

/* Typography */
h1 {
    font-family: var(--text-font);
    font-weight: 700;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.subtext {
    font-family: var(--mono-font);
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.cta-container {
    margin-top: 2.5rem;
}

.contact-btn {
    display: inline-block;
    text-decoration: none;
    font-family: var(--mono-font);
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    background-color: rgba(19, 152, 169, 0.05);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(149, 73, 64, 0.2);
}

.contact-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Decorative Elements */
.divider {
    height: 1px;
    background-color: var(--primary-color);
    width: 60px;
    margin: 2rem auto;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    background-color: var(--secondary-color);
    border-radius: 0;
    /* Square for technical look */
    border: 1px solid var(--bg-color);
}

.divider::before {
    left: -15px;
}

.divider::after {
    right: -15px;
}

/* Wireframe "Technical" Decorations */
.wireframe-box::before,
.wireframe-box::after {
    content: '+';
    position: absolute;
    font-family: var(--mono-font);
    color: var(--secondary-color);
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Corner markers */
.wireframe-box::before {
    top: 10px;
    left: 10px;
}

.wireframe-box::after {
    bottom: 10px;
    right: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .wireframe-box {
        padding: 3rem 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .slide-up {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .wireframe-box {
        transition: none;
    }
}