/* Futuristic LearnCode Signup Styling */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff0080;
    --accent-color: #00ff88;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --glow-blue: #00d4ff;
    --glow-pink: #ff0080;
    --glow-green: #00ff88;
    --neon-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    --pink-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
    --green-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Floating Tech Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.robot, .computer, .code-element, .security-element {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
    text-shadow: 0 0 10px var(--glow-blue);
}

.robot-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.robot-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--glow-pink);
}

.computer-1 {
    top: 60%;
    left: 5%;
    animation-delay: 1s;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-green);
}

.computer-2 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.code-1 {
    top: 40%;
    left: 20%;
    animation-delay: 4s;
}

.code-2 {
    top: 50%;
    right: 25%;
    animation-delay: 5s;
}

.security-1 {
    top: 30%;
    left: 30%;
    animation-delay: 1.5s;
    color: var(--accent-color);
}

.security-2 {
    top: 80%;
    left: 60%;
    animation-delay: 2.5s;
    color: var(--secondary-color);
}

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

/* Navigation */
.futuristic-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text-primary);
    text-decoration: none;
    text-shadow: 0 0 10px var(--glow-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--glow-blue);
}

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

/* Main Container */
.main-container {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: glitch 3s infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Programming Languages Section */
.programming-languages-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.languages-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--glow-blue);
}

.languages-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.language-category {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.language-category:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.language-category h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-category h4 i {
    color: var(--primary-color);
}

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

.language-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.language-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.language-card:hover::before {
    left: 100%;
}

.language-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-blue);
}

.language-card span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.language-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
}

/* Frontend specific styling */
.frontend-languages .language-card:nth-child(1) i { color: #e34c26; }
.frontend-languages .language-card:nth-child(2) i { color: #264de4; }
.frontend-languages .language-card:nth-child(3) i { color: #f7df1e; }
.frontend-languages .language-card:nth-child(4) i { color: #61dafb; }

/* Backend specific styling */
.backend-languages .language-card:nth-child(1) i { color: #68a063; }
.backend-languages .language-card:nth-child(2) i { color: #3776ab; }
.backend-languages .language-card:nth-child(3) i { color: #00758f; }
.backend-languages .language-card:nth-child(4) i { color: #4db33d; }

/* Hero Section */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hologram-container {
    position: relative;
}

.hologram {
    width: 200px;
    height: 200px;
    position: relative;
    animation: hologram-rotate 4s linear infinite;
}

.hologram-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: hologram-scan 2s ease-in-out infinite;
}

.hologram-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.hologram-line:nth-child(2) { top: 50%; animation-delay: 0.5s; }
.hologram-line:nth-child(3) { top: 80%; animation-delay: 1s; }

@keyframes hologram-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes hologram-scan {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Auth Container */
.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.form-container {
    background: rgba(26, 26, 26, 0.95);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--neon-shadow);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.form-container:hover::before {
    left: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Form Toggle */
.form-toggle {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.5rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.toggle-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--neon-shadow);
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.toggle-btn:hover .btn-glow {
    left: 100%;
}

/* Form Styles */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    z-index: 2;
}

.input-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-container input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.1);
}

.input-container input::placeholder {
    color: var(--text-secondary);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.input-container input:focus + .input-glow {
    opacity: 0.1;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-blue);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link, .terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-link:hover, .terms-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--glow-green);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.submit-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-glow {
    left: 100%;
}

/* AI Assistant */
.ai-assistant {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(26, 26, 26, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: var(--neon-shadow);
    margin-top: 2rem;
    animation: aiGlow 4s ease-in-out infinite;
}

.ai-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.ai-message p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
}

@keyframes aiGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.6); }
}

/* Footer */
.futuristic-footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 2px solid var(--primary-color);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        order: 2;
        min-height: auto;
    }
    
    .auth-container {
        order: 1;
    }
    
    .programming-languages-section {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .language-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .programming-languages-section {
        padding: 1rem;
    }
    
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .language-card {
        padding: 0.8rem;
    }
    
    .language-card i {
        font-size: 1.5rem;
    }
    
    .language-card span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-toggle {
        flex-direction: column;
    }
    
    .programming-languages-section {
        padding: 0.8rem;
    }
    
    .language-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .language-card {
        padding: 0.6rem;
    }
    
    .language-card i {
        font-size: 1.2rem;
    }
    
    .language-card span {
        font-size: 0.7rem;
    }
    
    .languages-title {
        font-size: 1.4rem;
    }
} 