/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
    /* Colors */
    --bg-dark: #070b19;
    --bg-darker: #04060e;
    --primary: #5b21b6;      /* Deep Purple */
    --primary-light: #8b5cf6;
    --accent-1: #00f0ff;     /* Neon Blue */
    --accent-2: #ff00ff;     /* Neon Pink */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-neon: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Shadows */
    --neon-glow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 40px rgba(0, 240, 255, 0.2);
    --purple-glow: 0 0 20px rgba(139, 92, 246, 0.4);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.text-white { color: white !important; }

.gradient-text {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    opacity: 0.5;
    z-index: -1;
    border-radius: 4px;
}

/* 3D Background Canvas */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   COMPONENTS
   ========================================= */
/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-1);
    color: var(--accent-1);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-whatsapp i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
    z-index: -1;
}

.glow-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--purple-glow);
}

/* Glass Panels */
.glass-panel, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

/* 3D Cards */
.3d-card {
    transition: transform 0.5s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Badge */
.badge-wrap {
    margin-bottom: 20px;
}
.glow-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge {
    font-size: 0.9rem;
    padding: 4px 10px;
    background: var(--primary);
    border-radius: 10px;
    vertical-align: middle;
}

/* Section Shared */
section {
    padding: 100px 5%;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(4, 6, 14, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
}
.logo-sub {
    font-weight: 300;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
}
.nav-links li a:not(.btn):hover {
    color: var(--accent-1);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-darker);
    border-left: 1px solid var(--glass-border);
    z-index: 1001;
    padding: 80px 30px;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu ul li a {
    font-size: 1.2rem;
    font-weight: 600;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-3d-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating coding elements */
.main-3d-illustration {
    position: relative;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.code-editor {
    width: 400px;
    height: 250px;
    padding: 0;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px var(--glass-border);
}

.editor-header {
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f56; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #27c93f; }

.editor-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.keyword { color: #ff7b72; }
.variable { color: #79c0ff; }
.method { color: #d2a8ff; }
.string { color: #a5d6ff; }
.comment { color: #8b949e; font-style: italic; }

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.orb-1 {
    width: 300px; height: 300px;
    background: rgba(91, 33, 182, 0.4);
    top: 50px; right: 50px;
}

.orb-2 {
    width: 200px; height: 200px;
    background: rgba(0, 240, 255, 0.3);
    bottom: 50px; left: 50px;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    width: 80px; height: 80px;
    border-radius: 20px;
    display: flex; justify-content: center; align-items: center;
    z-index: 6;
}

.tech-icon-1 { top: 20%; left: 10%; color: #3776AB; animation: float 5s ease-in-out infinite alternate; }
.tech-icon-2 { bottom: 30%; right: 10%; color: #f89820; animation: float 7s ease-in-out infinite alternate-reverse; }
.tech-icon-3 { top: 60%; left: 0%; color: #2496ed; animation: float 6s ease-in-out infinite alternate; }

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

/* =========================================
   ABOUT US
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: white;
}

.bg-gradient-1 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.bg-gradient-2 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }
.bg-gradient-3 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.bg-gradient-4 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }

.feature-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================
   COURSES & TIMELINE
   ========================================= */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    top: 50px;
    box-shadow: var(--purple-glow);
}

.timeline-item.left .timeline-dot { right: -10px; }
.timeline-item.right .timeline-dot { left: -10px; }

.month-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.domain-list { margin-bottom: 20px; }
.domain-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tech-python { color: #FFD43B; }
.tech-java { color: #f89820; }
.tech-docker { color: #2496ed; }

.price-tag {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 600;
    color: var(--accent-1);
    font-family: var(--font-heading);
}

.course-path-anim {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.path-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.path-step:hover .step-icon, .highlight-step .step-icon {
    background: var(--primary);
    box-shadow: var(--purple-glow);
    transform: scale(1.1);
}

.path-step span {
    font-size: 0.9rem;
    font-weight: 600;
}

.path-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-us {
    background: var(--bg-darker);
}

.bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(91, 33, 182, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.why-card {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-3d {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-1);
    text-shadow: 0 0 20px rgba(0,240,255,0.5);
    transition: transform 0.3s;
}

.why-card:hover .icon-3d {
    transform: scale(1.2) rotateY(15deg);
}

.why-card h4 {
    font-size: 1.1rem;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    position: relative;
    padding-top: 40px;
}

.quote-icon {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 3rem;
    color: rgba(255,255,255,0.05);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.avatar {
    width: 50px; height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
}

.info h4 { margin: 0; font-size: 1.1rem; }
.info span { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   REGISTRATION & PAYMENT
   ========================================= */
.enroll-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.form-wrapper {
    flex: 3;
}

.payment-wrapper {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

input, select {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

input:focus, select:focus {
    border-color: var(--primary-light);
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.2);
}

select option {
    background: var(--bg-dark);
    color: white;
}

.submit-btn {
    font-size: 1.1rem;
    padding: 16px;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}
.msg-success { color: #27c93f; }

.payment-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.payment-icon {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite both;
}

@keyframes heartbeat {
    from { transform: scale(1); transform-origin: center center; animation-timing-function: ease-out; }
    10% { transform: scale(1.1); animation-timing-function: ease-in; }
    17% { transform: scale(0.98); animation-timing-function: ease-out; }
    33% { transform: scale(1.1); animation-timing-function: ease-in; }
    45% { transform: scale(1); animation-timing-function: ease-out; }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 60px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
}

.social-btn {
    display: inline-flex;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--purple-glow);
}

.links-col ul li { margin-bottom: 15px; }
.links-col ul li a { color: var(--text-muted); }
.links-col ul li a:hover { color: var(--accent-1); margin-left: 5px; }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.c-icon {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 2px;
}

.hover-neon:hover {
    color: var(--accent-1) !important;
}

.footer-bottom {
    text-align: center;
    padding: 25px;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.2rem; }
    .timeline-container { max-width: 100%; }
    .enroll-container { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn { display: none; }
    .hamburger { display: block; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content { margin-bottom: 50px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; gap: 20px; }
    
    .timeline-line { left: 30px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 80px; }
    .timeline-item .timeline-dot { left: 20px !important; }
    
    .course-path-anim { flex-direction: column; gap: 20px; }
    .path-arrow { transform: rotate(90deg); }
    
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .code-editor { width: 300px; height: 200px; }
    section { padding: 80px 5%; }
}
