:root {
    --primary-color: #f97316;
    --primary-dark: #c2410c;
    --primary-light: #fb923c;
    --secondary-color: #ea580c;
    --accent-color: #f59e0b;
    --bg-dark: #18181b;
    --bg-card: #27272a;
    --bg-card-hover: #3f3f46;
    --text-primary: #f8fafc;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #3f3f46;
    --gradient-start: #f97316;
    --gradient-end: #ea580c;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --fire-color-1: #f97316;
    --fire-color-2: #fb923c;
    --fire-color-3: #fbbf24;
    --fire-color-4: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 10px,
        rgba(249, 115, 22, 0.05) 10px,
        rgba(249, 115, 22, 0.05) 11px
    );
    animation: fireFlicker 3s infinite ease-in-out;
    z-index: -1;
}

@keyframes fireFlicker {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(24, 24, 27, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
}

.brand-text {
    font-weight: 700;
    font-size: 20px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: var(--primary-color);
}

.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.3) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(249, 115, 22, 0.1), transparent, rgba(251, 146, 60, 0.1), transparent);
    animation: fireRotate 20s linear infinite;
    z-index: 0;
}

@keyframes fireRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fireGlow 2s infinite alternate;
}

@keyframes fireGlow {
    from {
        box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
    }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--fire-color-1), var(--fire-color-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(249, 115, 22, 0.8), 0 0 30px rgba(251, 146, 60, 0.4);
    }
}

.hero-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.platform-icons {
    display: flex;
    gap: 12px;
}

.platform-icon {
    padding: 6px 12px;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.metrics {
    padding: 60px 0;
    background: var(--bg-card);
    margin: 0 24px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.metric-card {
    padding: 20px;
    background: rgba(24, 24, 27, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
}

.metric-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.metric-label {
    font-size: 24px;
    font-weight: 600;
    color: var(--fire-color-2);
    display: inline;
    margin-left: 4px;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.metric-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    animation: fireRotate 30s linear infinite;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--fire-color-1);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: firePulse 2s infinite alternate;
}

@keyframes firePulse {
    from {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
    }
    to {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
    }
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-link {
    color: var(--fire-color-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    z-index: 1;
}

.feature-link:hover {
    color: var(--fire-color-1);
}

.platform-section {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.platform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.platform-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.platform-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.platform-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-dark);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(249, 115, 22, 0.3);
    transition: all 0.3s;
}

.platform-feature:hover {
    background: rgba(249, 115, 22, 0.1);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.pf-icon {
    font-size: 18px;
}

.platform-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.parallel-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.parallel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(249, 115, 22, 0.05) 20px,
        rgba(249, 115, 22, 0.05) 22px
    );
    animation: fireFlicker 4s infinite ease-in-out;
    z-index: 0;
}

.parallel-header {
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.parallel-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fire-color-2);
    letter-spacing: 2px;
    margin-bottom: 16px;
    animation: fireGlow 2s infinite alternate;
}

.parallel-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.parallel-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.parallel-tasks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.task-item {
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: firePulse 2s infinite;
    transition: all 0.3s;
}

.task-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.task-item:nth-child(1) { animation-delay: 0s; }
.task-item:nth-child(2) { animation-delay: 0.2s; }
.task-item:nth-child(3) { animation-delay: 0.4s; }
.task-item:nth-child(4) { animation-delay: 0.6s; }
.task-item:nth-child(5) { animation-delay: 0.8s; }
.task-item:nth-child(6) { animation-delay: 1s; }

@keyframes pulse {
    0%, 100% {
        border-color: var(--border-color);
        box-shadow: none;
    }
    50% {
        border-color: var(--fire-color-1);
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
    }
}

.parallel-result {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonials {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--fire-color-1);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-tag {
    font-size: 12px;
    color: var(--text-muted);
}

.community {
    padding: 100px 0;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.qa-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.qa-card:hover {
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

.qa-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.qa-icon {
    font-size: 16px;
}

.qa-tag {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-light);
}

.curriculum {
    padding: 100px 0;
    background: var(--bg-card);
    text-align: center;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.chapter-card {
    padding: 24px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.chapter-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.chapter-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.chapter-title {
    font-size: 14px;
    font-weight: 500;
}

.join-section {
    padding: 100px 0;
    background: radial-gradient(ellipse at bottom, rgba(249, 115, 22, 0.3) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, transparent, rgba(249, 115, 22, 0.1), transparent, rgba(251, 146, 60, 0.1), transparent);
    animation: fireRotate 25s linear infinite;
    z-index: 0;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.join-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.join-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.join-note {
    color: var(--primary-light) !important;
    font-weight: 500;
}

.join-contacts {
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-label {
    color: var(--text-muted);
}

.contact-value {
    font-weight: 600;
}

.join-qrcode {
    display: flex;
    justify-content: center;
}

.qrcode-box {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.qrcode-placeholder {
    text-align: center;
}

.qrcode-img {
    margin-bottom: 16px;
}

.qrcode-tip {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.resources {
    padding: 100px 0;
    background: var(--bg-card);
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.2s;
}

.resource-item:hover {
    border-color: var(--primary-color);
}

.resource-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.tag-featured {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.tag-experience {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.tag-tutorial {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.resource-source {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 8px;
    background: var(--bg-card);
    border-radius: 4px;
}

.resource-date {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

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

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .join-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .join-qrcode {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .metrics {
        margin: 0 16px;
        border-radius: 16px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .metric-number {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .qa-grid {
        grid-template-columns: 1fr;
    }
    
    .parallel-tasks {
        flex-direction: column;
        align-items: center;
    }
    
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}
