* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-pure: #050505;
    --card-bg-base: rgba(22, 22, 23, 0.6);
    --card-bg-hover: rgba(28, 28, 30, 0.85);
    --nav-bg: rgba(5, 5, 5, 0.75);
    --border-alpha: rgba(255, 255, 255, 0.06);
    --border-beta: rgba(255, 255, 255, 0.14);
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --text-dark: #424245;
    --accent-red: #ff453a;
    --accent-blue: #0a84ff;
    --accent-green: #30d158;
    --accent-yellow: #ffd60a;
    --font-stack: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-pure);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid var(--bg-pure);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

html {
    scroll-behavior: initial;
    background-color: var(--bg-pure);
}

body {
    background-color: var(--bg-pure);
    color: var(--text-main);
    font-family: var(--font-stack);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-glow-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.23;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    animation: orbMoveOne 25s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -30%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 69, 58, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    animation: orbMoveTwo 30s ease-in-out infinite alternate;
}

.orb-3 {
    top: 40%;
    left: 30%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(48, 209, 88, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    animation: orbMoveThree 20s ease-in-out infinite alternate;
}

@keyframes orbMoveOne {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(-100px, 80px) scale(1.2);
    }
}

@keyframes orbMoveTwo {
    0% {
        transform: translate(0px, 0px) scale(1.1);
    }

    100% {
        transform: translate(120px, -60px) scale(0.9);
    }
}

@keyframes orbMoveThree {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(-50px, -120px) scale(1.3);
    }
}

.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: var(--nav-bg);
    backdrop-filter: saturate(200%) blur(24px);
    -webkit-backdrop-filter: saturate(200%) blur(24px);
    border-bottom: 1px solid var(--border-alpha);
    z-index: 9999;
    transition: var(--transition-snappy);
}

.premium-nav.scrolled {
    height: 56px;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid var(--border-beta);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: default;
}

.nav-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-snappy);
}

.nav-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-snappy);
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: -0.01em;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-snappy);
}

.nav-item:hover {
    color: var(--text-main);
}

.nav-item.active-link {
    color: var(--text-main);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-snappy);
}

.nav-item.active-link::after {
    width: 100%;
}

.main-scroller {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-viewport {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 32px 80px 32px;
}

.hero-wrapper {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-interactive-stage {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.avatar-frame {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
}

.avatar-core-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: var(--transition-smooth);
}

.stage-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.ring-primary {
    width: 180px;
    height: 180px;
    animation: spinClockwise 40s linear infinite;
}

.ring-secondary {
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    animation: spinCounterClockwise 60s linear infinite;
}

@keyframes spinClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinCounterClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.avatar-interactive-stage:hover .avatar-frame {
    transform: scale(1.06) translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.9), 0 0 40px rgba(10, 132, 255, 0.2);
}

.avatar-interactive-stage:hover .avatar-core-image {
    transform: scale(1.1);
}

.avatar-interactive-stage:hover .ring-primary {
    border-color: rgba(10, 132, 255, 0.3);
    scale: 1.05;
}

.avatar-interactive-stage:hover .ring-secondary {
    border-color: rgba(255, 69, 58, 0.2);
    scale: 0.95;
}

.giant-display-text {
    font-size: clamp(38px, 7vw, 92px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.line-alpha {
    color: var(--text-main);
}

.line-beta {
    background: linear-gradient(180deg, #ffffff 30%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-paragraph-lead {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400;
    color: var(--text-muted);
    max-width: 760px;
    line-height: 1.5;
    letter-spacing: -0.015em;
    margin-bottom: 48px;
}

.hero-actions-area {
    display: flex;
    justify-content: center;
}

.action-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--text-main);
    color: var(--bg-pure);
    padding: 16px 36px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
    transition: var(--transition-snappy);
}

.action-trigger-btn:hover {
    transform: scale(1.03) translateY(-2px);
    background-color: #ffffff;
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.15), 0 0 30px rgba(10, 132, 255, 0.2);
}

.action-trigger-btn:active {
    transform: scale(0.98) translateY(0);
}

.action-trigger-btn .btn-icon {
    transition: var(--transition-snappy);
}

.action-trigger-btn:hover .btn-icon {
    transform: translateX(4px);
}

.viewport-section {
    width: 100%;
    padding: 120px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-bound-box {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-header-block {
    margin-bottom: 64px;
    text-align: left;
}

.section-pill {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-alpha);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-headline-text {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-main);
}

.bento-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.bento-large-card {
    grid-column: span 3;
}

.bento-small-card {
    grid-column: span 1;
}

.interactive-card {
    position: relative;
    background: var(--card-bg-base);
    border: 1px solid var(--border-alpha);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.interactive-card:hover .card-glow-layer {
    opacity: 1;
}

.interactive-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-beta);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-internal-content {
    position: relative;
    z-index: 3;
    padding: 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-small-card .card-internal-content {
    padding: 40px;
}

.card-icon-header {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.ui-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ui-dot.red {
    background-color: var(--accent-red);
}

.ui-dot.yellow {
    background-color: var(--accent-yellow);
}

.ui-dot.green {
    background-color: var(--accent-green);
}

.card-title-heavy {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 18px;
    line-height: 1.25;
}

.bento-small-card .card-title-heavy {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-body-paragraph {
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.bento-small-card .card-body-paragraph {
    font-size: 14px;
    line-height: 1.5;
}

.card-visual-decoration {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deco-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.deco-line.short {
    width: 60%;
}

.dual-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
}

.matrix-card {
    height: 100%;
}

.matrix-header {
    margin-bottom: 40px;
}

.matrix-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.matrix-badge.high {
    background-color: rgba(48, 209, 88, 0.1);
    color: var(--accent-green);
}

.matrix-badge.low {
    background-color: rgba(10, 132, 255, 0.1);
    color: var(--accent-blue);
}

.matrix-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.responsive-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 20px;
    width: 100%;
}

.icon-node-box {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-snappy);
    cursor: default;
}

.icon-wrapper-inner {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition-snappy);
}

.icon-node-box i {
    font-size: 44px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-snappy);
}

.icon-label-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.icon-status-pct {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.icon-node-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.04);
}

.icon-node-box:hover i {
    transform: scale(1.1) rotate(4deg);
}

.section-hidden {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.system-footer {
    width: 100%;
    padding: 48px 32px;
    border-top: 1px solid var(--border-alpha);
    background-color: rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-align: center;
}

@media (max-width: 1024px) {
    .bento-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large-card {
        grid-column: span 2;
    }

    .bento-small-card {
        grid-column: span 1;
    }

    .dual-split-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000000;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-snappy);
    }

    .premium-nav.menu-active .nav-menu-wrapper {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .nav-item {
        font-size: 22px;
        font-weight: 600;
    }

    .nav-container {
        padding: 0 24px;
    }

    .hero-viewport {
        padding: 120px 24px 60px 24px;
    }

    .viewport-section {
        padding: 80px 24px;
    }

    .bento-grid-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-large-card {
        grid-column: span 1;
    }

    .bento-small-card {
        grid-column: span 1;
    }

    .card-internal-content {
        padding: 32px;
    }

    .bento-small-card .card-internal-content {
        padding: 32px;
    }

    .responsive-icon-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 12px;
    }

    .icon-node-box {
        padding: 18px 12px;
    }

    .icon-node-box i {
        font-size: 36px;
    }
}
