/* Base Colors */
:root {
    --color-dark: #0A0B0E;
    --color-secondary: #14161A;
    --color-magenta: #E91E63;
    --color-cyan: #00BCD4;
    --color-light: #E0E0E0;
    --color-gray: #9E9E9E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.text-light {
    color: var(--color-light);
}

.text-magenta {
    color: var(--color-magenta);
}

.text-cyan {
    color: var(--color-cyan);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(20, 22, 26, 0.98);
    border-top: 1px solid rgba(0, 188, 212, 0.3);
    padding: 1rem 0;
    z-index: 9999;
    display: none;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    display: block;
}

/* Header */
.header-sticky {
    position: sticky;
    top: 0;
    background-color: rgba(10, 11, 14, 0.95);
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-polygon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
}

.logo-polygon-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-dark);
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-link:hover {
    color: var(--color-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: var(--color-secondary);
    border-top: 1px solid rgba(0, 188, 212, 0.2);
}

.mobile-menu.active {
    display: block;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-magenta);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #C2185B;
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-cyan);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--color-cyan);
    text-decoration: none;
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(0, 188, 212, 0.1);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 188, 212, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 188, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--color-cyan), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0%, 100% { opacity: 0; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(600px); }
}

.digital-frame {
    position: relative;
}

.interface-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid var(--color-cyan);
    padding: 0.5rem 1rem;
    border-radius: 2px;
    backdrop-filter: blur(5px);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.interface-label {
    color: var(--color-cyan);
    font-weight: 700;
}

.interface-coords {
    color: var(--color-light);
    opacity: 0.8;
}

/* Tech Divider */
.tech-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-cyan));
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(233, 30, 99, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(233, 30, 99, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Do/Don't Blocks */
.do-block,
.dont-block {
    background-color: var(--color-secondary);
    border-radius: 4px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.do-block {
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.dont-block {
    border: 1px solid rgba(233, 30, 99, 0.3);
}

.do-block:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.2);
}

.dont-block:hover {
    border-color: var(--color-magenta);
    box-shadow: 0 0 30px rgba(233, 30, 99, 0.2);
}

/* Process Map */
.pcb-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 188, 212, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(0, 188, 212, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.process-node {
    flex: 1;
    min-width: 200px;
    background-color: var(--color-dark);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.process-node:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.3);
    transform: translateY(-5px);
}

.process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
}

.process-arrow {
    font-size: 2rem;
    color: var(--color-magenta);
    font-weight: 700;
    flex-shrink: 0;
}

/* Equipment Cards */
.equipment-card {
    background-color: var(--color-secondary);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 10px 40px rgba(0, 188, 212, 0.2);
    transform: translateY(-10px);
}

.equipment-header {
    margin-bottom: 1rem;
}

.tech-badge {
    display: inline-block;
    background: rgba(233, 30, 99, 0.2);
    color: var(--color-magenta);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
}

.specs-table {
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(0, 188, 212, 0.1);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(even) {
    background-color: rgba(0, 188, 212, 0.02);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    font-family: 'Roboto Mono', monospace;
}

.spec-value {
    font-size: 0.75rem;
    color: var(--color-cyan);
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
}

/* Team Cards */
.team-card {
    text-align: center;
}

.team-photo-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.team-photo-wrapper img {
    transition: all 0.3s ease;
}

.team-card:hover .team-photo-wrapper img {
    transform: scale(1.05);
}

.photo-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-magenta));
}

/* Contact Form */
.contact-form {
    background-color: var(--color-dark);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 4px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-cyan);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    background-color: var(--color-secondary);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 2px;
    padding: 0.75rem;
    color: var(--color-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
}

.form-input::placeholder {
    color: var(--color-gray);
    opacity: 0.5;
}

.error-message {
    display: block;
    color: var(--color-magenta);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-family: 'Roboto Mono', monospace;
    min-height: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
}

/* Utility Classes */
.grayscale {
    filter: grayscale(100%);
}

.underline {
    text-decoration: underline;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300BCD4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}
