@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

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

:root {
    --accent-orange: #f97316;
    --accent-amber: #f59e0b;
    --accent-deep: #ea580c;
    --gradient: linear-gradient(135deg, #f97316, #ea580c, #f59e0b);
    --bg-primary: #ffffff;
    --bg-secondary: #fff8f5;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --surface: #fdfbf7;
    --border: rgba(26, 26, 46, 0.08);
    --border-color: rgba(26, 26, 46, 0.08);
    --glow: 0 0 40px rgba(249, 115, 22, 0.08);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: opacity 0.3s;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-logo {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.nav-logo:hover {
    opacity: 0.8;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent-orange);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 60px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

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

.demo-credentials {
    margin-top: 32px;
}

.demo-credentials p {
    font-size: 14px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.cred-label {
    color: var(--accent-orange);
    font-weight: 600;
}

.cred-divider {
    margin: 0 12px;
    color: var(--border);
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Overview Section */
.overview {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mod-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.mod-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.mod-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: var(--glow);
}

.mod-card:hover::before {
    opacity: 0.05;
}

.mod-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 12px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.mod-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.mod-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Scroll Stack Feature Blocks */
.feature-block {
    position: relative;
    min-height: 100vh;
    background: var(--bg-secondary);
    z-index: 1;
}

.feature-block.alt {
    background: var(--bg-primary);
}

.feature-wrapper {
    position: relative;
    padding-top: 80px;
}

.feature-header {
    position: sticky;
    top: 56px;
    padding: 24px 0;
    background: var(--bg-secondary);
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.4s ease;
}

.feature-block.alt .feature-header {
    background: var(--bg-primary);
}

.feature-header.sticky-exit {
    opacity: 0;
    pointer-events: none;
}

.feature-num {
    display: inline-block;
    font-size: 80px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.05em;
}

.feature-header h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.feature-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.feature-body {
    padding: 40px 0 120px;
}

/* Core Box */
.core-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.04), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(249, 115, 22, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.core-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
}

.core-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.core-box p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 2;
    padding-left: 4px;
}

/* Feature List */
.feature-list h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* Feature Items */
.feat-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s;
}

.feat-item:hover {
    border-color: rgba(249, 115, 22, 0.15);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.04);
}

.feat-index {
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.feat-content {
    flex: 1;
}

.feat-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feat-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* Sub List */
.sub-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sub-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sub-item:last-child {
    margin-bottom: 0;
}

.sub-tag {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sub-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Scroll Image */
.feature-scroll-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 0 40px 0;
}

.feature-scroll-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    will-change: transform, opacity;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(249, 115, 22, 0.1);
    top: -100px;
    left: 20%;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.08);
    bottom: -100px;
    right: 20%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.feature-scroll-image img {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.feature-scroll-image img:hover {
    filter: brightness(1.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .demo-credentials {
        margin-top: 24px;
    }

    .demo-credentials p {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .overview {
        padding: 80px 0;
    }

    .section-tag {
        font-size: 10px;
        padding: 5px 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mod-card {
        padding: 20px;
    }

    .mod-card h3 {
        font-size: 14px;
    }

    .mod-card p {
        font-size: 12px;
    }

    .feature-header {
        padding: 24px 0;
    }

    .feature-header h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .feature-num {
        font-size: 48px;
    }

    .core-box {
        padding: 20px;
        margin-bottom: 32px;
    }

    .core-box p {
        font-size: 14px;
        line-height: 1.8;
    }

    .feature-list h3 {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .feat-item {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .feat-index {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .feat-content h4 {
        font-size: 15px;
    }

    .feat-content p {
        font-size: 13px;
    }

    .sub-item {
        flex-direction: column;
        gap: 6px;
        padding: 12px;
    }

    .sub-tag {
        font-size: 13px;
    }

    .sub-item p {
        font-size: 13px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content > p {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .cursor-glow {
        display: none;
    }

    .site-footer {
        padding: 24px 0;
    }

    .site-footer p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .mod-card {
        padding: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .feature-header h2 {
        font-size: 20px;
    }

    .feature-num {
        font-size: 40px;
    }

    .core-box {
        padding: 16px;
    }

    .feat-item {
        padding: 16px;
    }

    .cta-content h2 {
        font-size: 24px;
    }
}
