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

:root {
    --primary: #0f0e17;
    --secondary: #1a1825;
    --accent: #ff8906;
    --accent-subtle: #f25f4c;
    --text-primary: #fffffe;
    --text-secondary: #a7a9be;
    --surface: #2e2f3e;
    --gradient-1: #e53170;
    --gradient-2: #ff8906;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #1f1e2e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Technical drawing lines */
.technical-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.tech-line {
    position: absolute;
    background: var(--text-secondary);
    opacity: 0.08;
}

.tech-line.horizontal-1 {
    width: 100%;
    height: 1px;
    top: 20vh;
    left: 0;
}

.tech-line.horizontal-2 {
    width: 40%;
    height: 1px;
    bottom: 35vh;
    right: 0;
}

.tech-line.vertical-1 {
    width: 1px;
    height: 100%;
    left: 5vw;
    top: 0;
    opacity: 0.06;
}

.tech-line.vertical-2 {
    width: 1px;
    height: 60%;
    right: 15vw;
    top: 0;
}

.tech-line.vertical-3 {
    width: 1px;
    height: 30%;
    left: 50vw;
    bottom: 0;
    opacity: 0.06;
}

/* Corner bracket */
.tech-corner {
    position: absolute;
    border: 1px solid var(--text-secondary);
    opacity: 0.1;
}

.tech-corner.top-right {
    width: 80px;
    height: 80px;
    top: 10vh;
    right: 10vw;
    border-left: none;
    border-bottom: none;
}

/* Grid dots */
.tech-grid {
    position: absolute;
    width: 4px;
    height: 4px;
    background: transparent;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    opacity: 0.08;
}

.tech-grid.dot-1 {
    top: 40vh;
    left: 25vw;
}

.tech-grid.dot-2 {
    top: 40vh;
    left: calc(25vw + 20px);
}

.tech-grid.dot-3 {
    top: 40vh;
    left: calc(25vw + 40px);
}

/* Animated background particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-subtle) 100%);
    opacity: 0.2;
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    from {
        transform: translateY(100vh) translateX(0);
    }
    to {
        transform: translateY(-10vh) translateX(100px);
    }
}

/* Main container */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-left: 5vw;
    text-align: left;
}

/* Logo/Title animation */
.logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--accent-subtle) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

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

/* Status indicator */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(255, 137, 6, 0.03) 0%, rgba(242, 95, 76, 0.03) 100%);
    border: 1px solid rgba(255, 137, 6, 0.1);
    border-radius: 4px;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 0.5s both;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.status-text {
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Description */
.description {
    max-width: 650px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.7s both;
    font-size: 1.05rem;
}

/* Contact section */
.contact {
    animation: fadeIn 1s ease-out 0.9s both;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-subtle) 100%);
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-link:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 5vw;
    background: linear-gradient(to top, var(--primary) 0%, rgba(15, 14, 23, 0.9) 50%, transparent 100%);
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.7;
    animation: fadeIn 1s ease-out 1.1s both;
    line-height: 1.6;
    z-index: 5;
}

.footer-main {
    margin-bottom: 0.5rem;
}

.footer-registration {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        padding-left: 1.5rem;
        min-height: auto;
        margin-bottom: 0;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .footer {
        position: relative;
        padding: 2rem 1.5rem;
        font-size: 0.7rem;
        background: none;
        margin-top: 4rem;
    }
}

@media (max-height: 700px) and (max-width: 768px) {
    .container {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
}

/* Hidden route for privacy policy etc - not linked but accessible */
.hidden-route {
    display: none;
}
