:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --primary-color: #FFFFFF;
    --secondary-color: #1a1a1a;
    --accent-color: #000000;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
    --font-nav: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}

/* Modal Auth Forms */
.auth-modal-content {
    background: #1a1a1a;
    border: 2px solid #333;
    padding: 50px 40px;
    max-width: 450px;
}

.auth-modal-content h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    border: none;
    padding: 0;
    text-align: center;
}

.auth-modal-content .form-group {
    margin-bottom: 20px;
}

.auth-modal-content input {
    width: 100%;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
    border-radius: 4px;
}

.auth-modal-content input:focus {
    outline: none;
    border-color: #fff;
}

.auth-message {
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.85em;
    border-radius: 4px;
    display: none;
}

.auth-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #f00;
    color: #f00;
    display: block;
}

.auth-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    color: #0f0;
    display: block;
}

/* Scanline Effect - Subtle */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.1)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #333;
    z-index: 1000;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-svg {
    width: 50px;
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.logo-text span:first-child {
    font-size: 1.2rem;
}

.logo-text span:last-child {
    font-size: 0.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    color: #888;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all 0.3s;
    letter-spacing: 1px;
    display: inline-block;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: none;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 70%);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    line-height: 1.2;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Glitch Effect - Minimal */
.glitch {
    position: relative;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 3rem;
    color: #888;
    letter-spacing: 1px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cyber {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-family: var(--font-display);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-cyber:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Sections */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    letter-spacing: 3px;
    color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.prefix {
    color: #666;
    margin-right: 15px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.card {
    background: #0a0a0a;
    padding: 3rem;
    border: 1px solid #222;
    transition: all 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    filter: grayscale(100%);
}

.card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 1px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.card p {
    color: #888;
    font-size: 0.9rem;
}

/* Tech Section */
.tech-display {
    display: flex;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
}

.tech-info {
    flex: 1;
}

.tech-info p {
    color: #aaa;
    margin-bottom: 2rem;
}

.tech-list {
    list-style: none;
    margin-top: 2rem;
}

.tech-list li {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    color: #fff;
    border-left: 2px solid #333;
    padding-left: 1rem;
}

.tech-visual {
    flex: 1;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #111 0%, #000 70%);
    border: 1px solid #222;
}

.circle-outer {
    width: 250px;
    height: 250px;
    border: 1px solid #333;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-inner {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 4px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: rotate-reverse 10s linear infinite;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Download Section */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    justify-content: center;
}

.download-card {
    background: #0a0a0a;
    padding: 3rem;
    border: 1px solid #222;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.download-card:hover::before {
    transform: scaleX(1);
}

.os-icon {
    margin-bottom: 2rem;
    color: #fff;
    transition: transform 0.3s;
}

.download-card:hover .os-icon {
    transform: scale(1.1);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    width: 100%;
}

.btn-download .btn-text {
    font-size: 1rem;
    font-weight: 700;
}

.btn-download .btn-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 5px;
    font-family: var(--font-main);
}

/* Contact Form */
#contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #0a0a0a;
    padding: 4rem;
    border: 1px solid #222;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 6rem;
}

.footer-content p {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.status {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: #fff;
    letter-spacing: 2px;
}

.indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
    }
    
    .tech-display {
        flex-direction: column;
    }
    
    .card {
        padding: 2rem;
    }
}