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

body {
    font-family: "Inter", sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

.chapter {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .chapter {
        padding: 4rem 2rem;
    }
}

.glow-green {
    box-shadow: 0 0 40px rgba(142, 222, 1, 0.3);
}

.text-glow {
    text-shadow: 0 0 30px rgba(142, 222, 1, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 4s ease-in-out infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce 2s ease-in-out infinite;
}

.scan-line {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, transparent, #8ede01, transparent);
    animation: scanLine 4s linear infinite;
}

.grid-bg {
    background-image:
        linear-gradient(rgba(142, 222, 1, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 222, 1, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background: #1a1a1a;
}

.video-placeholder .video {
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .video-placeholder {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .video-placeholder {
        height: 500px;
    }
}

.card-3d {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(142, 222, 1, 0.3);
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #8ede01;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 5s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #8ede01 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chapter-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.05;
    position: absolute;
    top: 1rem;
    left: 1rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .chapter-number {
        font-size: 6rem;
        top: 2rem;
        left: 2rem;
    }
}

@media (min-width: 1024px) {
    .chapter-number {
        font-size: 8rem;
    }
}

.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #8ede01;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-icon:hover {
    background: #8ede01;
    transform: scale(1.1);
}

.arrow-icon svg {
    width: 20px;
    height: 20px;
    stroke: #8ede01;
    transition: stroke 0.3s ease;
}

.arrow-icon:hover svg {
    stroke: #0a0a0a;
}

.stat-card {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(142, 222, 1, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
}

@media (min-width: 768px) {
    .stat-card {
        padding: 1.5rem;
    }
}

.stat-card-mobile {
    padding: 0.5rem 0.75rem;
}

@media (min-width: 640px) {
    .stat-card-mobile {
        padding: 0.75rem 1rem;
    }
}

@media (min-width: 768px) {
    .stat-card-mobile {
        padding: 1rem 1.25rem;
    }
}

@media (min-width: 1024px) {
    .stat-card-mobile {
        padding: 1.5rem;
    }
}

.chat-bubble {
    max-width: 85%;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .chat-bubble {
        max-width: 70%;
    }
}

.logo-container {
    display: inline-block;
    max-width: 100%;
    padding: 0 1rem;
}

.logo-container img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

@media (min-width: 768px) {
    .logo-container img {
        max-height: 300px;
    }
}

@media (min-width: 1024px) {
    .logo-container img {
        max-height: 400px;
    }
}

.kapp-dashboard-container {
    position: relative;
    width: 100%;
    min-height: 250px;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
}



@media (min-width: 640px) {
    .kapp-dashboard-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .kapp-dashboard-container {
        min-height: 280px;
    }

    .kapp-dashboard-container img {
        height: 80vw;
    }
}

@media (min-width: 768px) {
    .kapp-dashboard-container {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .kapp-dashboard-container {
        min-height: 500px;
    }
}