/* Futuristic TechLearn 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;
}

/* 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 {
    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;
}

@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);
}

.futuristic-nav a,
.futuristic-nav a:hover,
.futuristic-nav a:focus,
.futuristic-nav a:active,
.futuristic-nav a:visited {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.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-links a {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-links a:hover {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    background: transparent !important;
    background-color: transparent !important;
    transform: none !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link:visited {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-blue);
    background: transparent !important;
    background-color: transparent !important;
    transform: none !important;
    position: relative;
}

.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;
}

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

/* Hero Section */
.futuristic-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    align-items: center;
}

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

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    box-shadow: var(--neon-shadow);
}

.stat i {
    color: var(--primary-color);
}

/* Hologram Effect */
.hologram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.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); }
}

/* Sections */
.tech-section {
    padding: 4rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.tech-decoration {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.tech-decoration i {
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: spin 3s linear infinite;
}

.tech-decoration i:nth-child(2) {
    animation-delay: 1s;
}

.tech-decoration i:nth-child(3) {
    animation-delay: 2s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Content Cards */
.content-card {
    background: rgba(26, 26, 26, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: var(--neon-shadow);
    backdrop-filter: blur(10px);
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--glow-green);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-shadow);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Comparison Section */
.futuristic-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.side {
    background: rgba(26, 26, 26, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: var(--neon-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.side:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.frontend-side {
    border-color: var(--secondary-color);
    box-shadow: var(--pink-shadow);
}

.frontend-side:hover {
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.8);
}

.backend-side {
    border-color: var(--accent-color);
    box-shadow: var(--green-shadow);
}

.backend-side:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
}

.side-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.side-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.side-header h3 {
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
}

/* Choice Section */
.choice-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.futuristic-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.choice-btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.choice-btn span {
    text-decoration: none !important;
}

.choice-btn-link {
    text-decoration: none !important;
}

.choice-btn-link span {
    text-decoration: none !important;
}

.frontend-btn {
    background: linear-gradient(45deg, var(--secondary-color), #ff6b9d);
    color: white;
    box-shadow: var(--pink-shadow);
}

.backend-btn {
    background: linear-gradient(45deg, var(--accent-color), #00cc6a);
    color: white;
    box-shadow: var(--green-shadow);
}

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

.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;
}

.choice-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);
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* 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);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .futuristic-comparison {
        grid-template-columns: 1fr;
    }
    
    .futuristic-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
}

/* Additional Animations */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.tech-section {
    animation: fadeInUp 1s ease-out;
}

.align-left {
    animation: slideInFromLeft 1s ease-out;
}

.align-right {
    animation: slideInFromRight 1s ease-out;
}