/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #06b6d4;
    
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --gradient-3: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 32px rgba(99, 102, 241, 0.3);
    
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* ===========================
   Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Navigation
   =========================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo i {
    font-size: 28px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-1);
    border-radius: 8px;
    color: var(--text-primary) !important;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 0% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(32px, 6vw, 64px);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.chip:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-proof {
    font-size: 15px;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===========================
   Social Proof Strip
   =========================== */
.social-proof {
    padding: 60px 0;
    text-align: center;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.social-proof-title {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.industry-tags {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
}

/* ===========================
   Section Styling
   =========================== */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 64px;
}

/* ===========================
   Outcomes Section
   =========================== */
.outcomes {
    padding: 100px 0;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.outcome-card {
    padding: 40px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.outcome-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.outcome-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 28px;
}

.outcome-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.outcome-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Why Section
   =========================== */
.why-section {
    padding: 100px 0;
    background: var(--glass-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-item {
    text-align: center;
}

.why-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-secondary);
}

/* ===========================
   Curriculum Section
   =========================== */
.curriculum {
    padding: 100px 0;
}

.curriculum-accordion {
    max-width: 900px;
    margin: 0 auto 48px;
}

.accordion-item {
    margin-bottom: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.accordion-header:hover {
    background: var(--bg-card-hover);
}

.phase-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.phase-title {
    flex: 1;
}

.accordion-header i {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
}

.accordion-content ul {
    padding: 0 28px 24px;
    list-style: none;
}

.accordion-content li {
    padding: 8px 0 8px 24px;
    color: var(--text-secondary);
    position: relative;
}

.accordion-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.labs-tag {
    margin: 16px 28px 24px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    color: var(--text-secondary);
}

.curriculum-cta {
    text-align: center;
}

/* ===========================
   Projects Section
   =========================== */
.projects {
    padding: 100px 0;
    background: var(--glass-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    padding: 40px 32px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.4);
}

.project-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    font-size: 13px;
    color: var(--primary-light);
}

/* ===========================
   Instructor Section
   =========================== */
.instructor {
    padding: 100px 0;
}

.instructor-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.instructor-avatar {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.instructor-content h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.instructor-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.instructor-highlights {
    list-style: none;
    margin-bottom: 24px;
}

.instructor-highlights li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.instructor-highlights i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.instructor-note {
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

.instructor-note i {
    color: var(--primary);
    font-size: 12px;
}

/* ===========================
   Schedule Section
   =========================== */
.schedule {
    padding: 100px 0;
    background: var(--glass-bg);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.schedule-item {
    padding: 32px 24px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.schedule-item:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
}

.schedule-item i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.schedule-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.schedule-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

.schedule-item small {
    font-size: 13px;
    color: var(--text-muted);
}

.schedule-cta {
    text-align: center;
}

/* ===========================
   Pricing Section
   =========================== */
.pricing {
    padding: 100px 0;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    text-align: center;
}

.price-tag {
    margin-bottom: 32px;
}

.price-main {
    font-size: 72px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-old {
    font-size: 32px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 16px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--primary);
    font-size: 18px;
}

.refund-note {
    padding: 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    margin-bottom: 32px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.refund-note i {
    color: var(--accent);
    font-size: 24px;
    flex-shrink: 0;
}

.refund-note p {
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
}

.pricing-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pricing-note {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
    padding: 100px 0;
    background: var(--glass-bg);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--glass-bg);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Apply Section
   =========================== */
.apply {
    padding: 100px 0;
}

.apply-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.apply-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.apply-list {
    list-style: none;
    margin-bottom: 40px;
}

.apply-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.apply-form {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-message {
    display: none;
    padding: 32px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    text-align: center;
    margin-top: 24px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-message i {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 16px;
    display: block;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 60px 0 32px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.footer-brand i {
    font-size: 28px;
    color: var(--primary);
}

.footer-contact a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 16px;
        align-items: flex-start;
        transition: left 0.3s ease;
        border-top: 1px solid var(--glass-border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .outcomes-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .instructor-card {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center;
    }
    
    .instructor-avatar {
        margin: 0 auto;
    }
    
    .instructor-highlights li {
        text-align: left;
    }
    
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .pricing-card,
    .apply-card {
        padding: 32px 24px;
    }
    
    .price-main {
        font-size: 56px;
    }
    
    .price-old {
        font-size: 24px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trust-chips {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chip {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .accordion-header {
        font-size: 16px;
        padding: 20px;
    }
    
    .phase-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
