:root {
    --bg-dark: #050507;
    --bg-card: #121216;
    --primary-blue: #0066ff;
    --accent-cyan: #00f2ff;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --gradient-main: linear-gradient(135deg, #0066ff 0%, #00f2ff 100%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.highlight {
    color: var(--accent-cyan);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.cta-btn {
    background: var(--gradient-main);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.cta-btn:hover {
    opacity: 0.9;
    color: white !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: radial-gradient(circle at 50% 50%, #0a1a3a 0%, var(--bg-dark) 70%);
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* Hero Visual (Abstract Tech) */
.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.tech-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.tech-circle.inner {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 1px dashed rgba(0, 102, 255, 0.4);
    animation: spin 15s linear infinite reverse;
}

.floating-card {
    position: absolute;
    top: 30%;
    left: -10%;
    background: rgba(18, 18, 22, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border: var(--glass-border);
    border-radius: 10px;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.card-header {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-stat {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.up-arrow {
    font-size: 1rem;
    color: #00ff88;
}

/* Features */
.features {
    padding: 6rem 10%;
    background: var(--bg-dark);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border: var(--glass-border);
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
}

/* Registration */
.registration {
    padding: 6rem 10%;
    background: linear-gradient(to bottom, var(--bg-dark), #080810);
}

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

.reg-text {
    flex: 1;
}

.reg-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.reg-form-wrapper {
    flex: 1;
    max-width: 500px;
}

.luxury-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 12px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.luxury-form h3 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent-cyan);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.phone-input-container {
    display: flex;
    gap: 10px;
}

.phone-prefix {
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-muted);
    min-width: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    opacity: 0.9;
}

.form-footer {
    text-align: center;
    font-size: 0.75rem;
    color: #555;
    margin-top: 1.5rem;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.form-message.error { color: #ff4444; }
.form-message.success { color: #00ff88; }

/* Footer */
footer {
    padding: 2rem 10%;
    border-top: var(--glass-border);
    text-align: center;
    color: #555;
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Loading indicator for form submission */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin-loader {
    to { transform: rotate(360deg); }
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        margin-top: 3rem;
        width: 300px;
        height: 300px;
    }

    .floating-card {
        width: 180px;
        padding: 1rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .reg-text {
        text-align: center;
    }

    .reg-text h2 {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none; /* Simple hide for mobile for now */
    }

    .features, .registration {
        padding: 4rem 5%;
    }

    .luxury-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
