﻿/* 本地字体定义 - 避免编码问题 */
@font-face {
    font-family: 'NotoSansSC';
    src: url('fonts/NotoSansSC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'NotoSansSC';
    src: url('fonts/NotoSansSC-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'NotoSansJP';
    src: url('fonts/NotoSansJP-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'NotoSansKR';
    src: url('fonts/NotoSansKR-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
/* ============================================
   Arkie Academy 鈥?Master Style Sheet
   ============================================ */

:root {
    /* Brand Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #a78bfa;
    --accent-warm: #f59e0b;
    --success: #10b981;

    /* Backgrounds */
    --bg-deep: #070b18;
    --bg-card: #0e1425;
    --bg-card-hover: #141c33;
    --bg-surface: #111827;

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders & Effects */
    --border: rgba(99, 102, 241, 0.15);
    --border-light: rgba(255,255,255,0.06);
    --glow: rgba(99, 102, 241, 0.4);
    --glow-soft: rgba(99, 102, 241, 0.12);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Outfit', 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', sans-serif;

    /* Spacing */
    --section-pad: 100px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 100px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 24px var(--glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--glow);
    filter: brightness(1.1);
}
.btn-ghost {
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    border-color: var(--primary-light);
    background: var(--glow-soft);
}

/* ============================================
   SECTION BADGES & HEADERS
   ============================================ */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: var(--glow-soft);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.section-badge--light {
    color: #c4b5fd;
    background: rgba(139,92,246,0.2);
    border-color: rgba(139,92,246,0.3);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title--light { -webkit-text-fill-color: #fff; }
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-desc--light { color: rgba(255,255,255,0.75); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}
.nav.scrolled {
    background: rgba(7, 11, 24, 0.88);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-img { height: 36px; width: auto; border-radius: 8px; }
.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-hamburger {
    display: none;
    font-size: 1.6rem;
    color: var(--text-primary);
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s;
}
.lang-toggle:hover {
    border-color: var(--primary-light);
    color: var(--text-primary);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 100;
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.lang-option:hover, .lang-option.active {
    background: var(--glow-soft);
    color: var(--text-primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7,11,24,0.3) 0%,
        rgba(7,11,24,0.7) 60%,
        var(--bg-deep) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167,139,250,0.25);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease both;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-title br + * { display: block; }
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.45s both;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: var(--text-muted);
    font-size: 1.4rem;
}

/* ============================================
   PLANNER SECTION
   ============================================ */
.section-planner {
    padding: var(--section-pad) 0;
}
.planner-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 56px;
    position: relative;
    overflow: hidden;
}
.planner-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--glow-soft) 0%, transparent 70%);
    pointer-events: none;
}
.planner-visual { position: relative; z-index: 1; }
.planner-img {
    border-radius: var(--radius);
    width: 100%;
    max-width: 440px;
}
.planner-content { position: relative; z-index: 1; }
.planner-content .section-title { text-align: left; margin-bottom: 16px; }
.planner-content .section-desc { text-align: left; margin: 0 0 32px; }
.planner-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.planner-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.planner-step-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--glow-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-light);
}
.planner-step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.planner-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   COURSES
   ============================================ */
.section-courses {
    padding: var(--section-pad) 0;
    position: relative;
}
.section-courses::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.course-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.35s;
}
.course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 60px var(--glow-soft);
}
.course-card:hover::before { opacity: 1; }
.course-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}
.course-card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: var(--accent);
    opacity: 0.15;
    filter: blur(8px);
}
.course-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.course-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.course-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}
.course-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   FEATURES
   ============================================ */
.section-features {
    padding: var(--section-pad) 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, var(--glow-soft) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.3);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--glow-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   COMMUNITY
   ============================================ */
.section-community {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.community-bg {
    position: absolute;
    inset: 0;
}
.community-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.community-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(7,11,24,0.7) 50%, var(--bg-deep) 100%);
}
.community-content {
    position: relative;
    z-index: 2;
}
.community-content .section-title { margin-bottom: 16px; }
.community-content .section-desc { margin-bottom: 40px; }
.community-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.community-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.community-stat i {
    font-size: 1.3rem;
    color: var(--primary-light);
}

/* ============================================
   FAQ
   ============================================ */
.section-faq {
    padding: var(--section-pad) 0;
}
.faq-list {
    max-width: 740px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0;
    font-size: 1.02rem;
    font-weight: 600;
    text-align: left;
    transition: color 0.25s;
}
.faq-question i {
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: transform 0.35s ease;
}
.faq-item.open .faq-question i {
    transform: rotate(45deg);
}
.faq-question:hover { color: var(--primary-light); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding-bottom: 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo { height: 40px; margin-bottom: 16px; border-radius: 8px; }
.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 5px 0;
    transition: color 0.25s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer-socials {
    display: flex;
    gap: 16px;
}
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.25s;
}
.footer-socials a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: var(--glow-soft);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .planner-card {
        grid-template-columns: 1fr;
        padding: 40px 32px;
    }
    .planner-visual { display: none; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 768px) {
    :root { --section-pad: 64px; }
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(7,11,24,0.96);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .hero-stats { gap: 20px; }
    .hero-stat-num { font-size: 1.8rem; }
    .courses-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .community-stats { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
