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

*:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

*:active {
    outline: none !important;
    box-shadow: none !important;
}

button,
input,
textarea,
select,
a,
div,
span {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-appearance: none !important;
}

button:focus,
button:active,
input:focus,
input:active,
textarea:focus, 
textarea:active,
select:focus,
select:active,
a:focus,
a:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

button::-moz-focus-inner {
    border: 0 !important;
    outline: none !important;
}

*::-webkit-focus-ring {
    display: none !important;
}

*::-moz-focus-inner {
    border: 0 !important;
}

.nav-dot:focus,
.cta-button:focus {
    transform: scale(1.02);
    transition: transform 0.1s ease;
}

input:focus,
textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #010102 0%, #020102 100%);
    margin: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 768px) {
    body, html {
        overflow: hidden;
    }
    
    .canvas-container {
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    
    .canvas-section {
        padding: 7rem 0 8rem 0;
    }
    
    #chapter01.active {
        display: block;
        padding: 1rem 0 6rem 0;
    }
    
    
    #chapter01.active .questions-content {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    #chapter03.active {
        display: block;
        padding: 1rem 0 6rem 0;
    }
    
    
    #chapter03.active .section-content {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    #chapter04.active {
        display: block;
        padding: 1rem 0 6rem 0;
    }
    
    
    #chapter04.active .section-content {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.canvas-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}


.canvas-section.active {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

.canvas-section.active::-webkit-scrollbar {
    width: 12px;
    background: rgba(20, 20, 20, 0.8);
}

.canvas-section.active::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.9);
    border-radius: 6px;
}

.canvas-section.active::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.canvas-section.active::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}


/* Firefox scrollbar support */
.canvas-section.active {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.6) rgba(20, 20, 20, 0.8);
}

/* Mobile scrollbar */
@media (max-width: 768px) {
    .canvas-section.active::-webkit-scrollbar {
        width: 8px;
    }
}

@media (max-width: 768px) {
    .canvas-container {
        width: 100%;
        min-height: 100vh;
        max-width: 100%;
        overflow-x: hidden;
    }
}

.timeline-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1000;
}

.nav-dot {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.nav-dot:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.nav-dot.active {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border-color: white;
}

.canvas-section {
    display: none;
    width: 100%;
    padding: 4rem 0 2rem 0;
    box-sizing: border-box;
    min-height: 100vh;
    overflow-x: hidden;
}

#intro {
    position: relative;
    padding: 0;
}

.canvas-section.active {
    display: block;
}



.canvas-section.prev {
    transform: translateX(-100%);
}

.section-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.logo-container {
    animation: fadeInUp 1.5s ease-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

#intro.active .logo-container {
    animation: fadeInCenter 1.5s ease-out;
}

@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(0px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0px);
    }
}

.blinking-cursor {
    animation: blink 1s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.animated-logo {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.login-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.home-login-modal, .home-register-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-login-modal.show, .home-register-modal.show {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.home-login-modal.hide, .home-register-modal.hide {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
}

.home-login-modal-content, .home-register-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-login-modal.show .home-login-modal-content,
.home-register-modal.show .home-register-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.home-login-modal.hide .home-login-modal-content,
.home-register-modal.hide .home-register-modal-content {
    transform: scale(0.8) translateY(30px);
    opacity: 0;
}

.home-login-modal.switch-out .home-login-modal-content,
.home-register-modal.switch-out .home-register-modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.6, 1);
}

.home-login-modal.switch-in .home-login-modal-content,
.home-register-modal.switch-in .home-register-modal-content {
    transform: scale(1);
    opacity: 1;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.home-login-modal-header, .home-register-modal-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-login-modal-header h2, .home-register-modal-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.home-login-modal-close, .home-register-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.home-login-modal-close:hover, .home-register-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.home-login-form, .home-register-form {
    padding: 2rem;
}

.home-login-form-group, .home-register-form-group {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-login-modal.show .home-login-form-group,
.home-register-modal.show .home-register-form-group {
    opacity: 1;
    transform: translateY(0);
}

.home-login-modal.show .home-login-form-group:nth-child(1) { transition-delay: 0.1s; }
.home-login-modal.show .home-login-form-group:nth-child(2) { transition-delay: 0.2s; }
.home-login-modal.show .home-login-form-group:nth-child(3) { transition-delay: 0.3s; }

.home-register-modal.show .home-register-form-group:nth-child(1) { transition-delay: 0.1s; }
.home-register-modal.show .home-register-form-group:nth-child(2) { transition-delay: 0.2s; }
.home-register-modal.show .home-register-form-group:nth-child(3) { transition-delay: 0.3s; }
.home-register-modal.show .home-register-form-group:nth-child(4) { transition-delay: 0.4s; }

.home-login-modal.switch-in .home-login-form-group,
.home-register-modal.switch-in .home-register-form-group {
    opacity: 1;
    transform: translateY(0);
}

.home-login-modal.switch-in .home-login-form-group:nth-child(1) { transition-delay: 0.25s; }
.home-login-modal.switch-in .home-login-form-group:nth-child(2) { transition-delay: 0.35s; }
.home-login-modal.switch-in .home-login-form-group:nth-child(3) { transition-delay: 0.45s; }

.home-register-modal.switch-in .home-register-form-group:nth-child(1) { transition-delay: 0.25s; }
.home-register-modal.switch-in .home-register-form-group:nth-child(2) { transition-delay: 0.35s; }
.home-register-modal.switch-in .home-register-form-group:nth-child(3) { transition-delay: 0.45s; }
.home-register-modal.switch-in .home-register-form-group:nth-child(4) { transition-delay: 0.55s; }

.home-login-form-group label, .home-register-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.home-login-form-group input, .home-register-form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) inset;
    box-sizing: border-box;
}

.home-login-form-group input:focus, .home-register-form-group input:focus {
    outline: none;
    border-color: rgba(79, 70, 229, 0.6);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1) inset;
}

.home-login-form-group input::placeholder, .home-register-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.home-login-buttons, .home-register-buttons {
    display: flex;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.home-login-modal.show .home-login-buttons,
.home-register-modal.show .home-register-buttons {
    opacity: 1;
    transform: translateY(0);
}

.home-login-modal.switch-in .home-login-buttons,
.home-register-modal.switch-in .home-register-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.home-login-submit-btn, .home-register-submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    color: #333;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.home-login-submit-btn:hover, .home-register-submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
}

.home-login-message, .home-register-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.home-login-message.success, .home-register-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #10b981;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.home-login-message.error, .home-register-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.5s;
}

.home-login-modal.show .auth-switch,
.home-register-modal.show .auth-switch {
    opacity: 1;
    transform: translateY(0);
}

.home-login-modal.switch-in .auth-switch,
.home-register-modal.switch-in .auth-switch {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

.auth-switch p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.auth-switch-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.auth-switch-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: white;
    color: #333;
}

.navigation-arrows {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.arrow-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}


#chapter05 {
    opacity: 0;
    transform: translateY(50px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#chapter05.active {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section Styles */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

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

.testimonials-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

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

.quote-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: 15px;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(78, 205, 196, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 20px;
    }
    
    .testimonials-header h2 {
        font-size: 2.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
    }
}

#contact {
    transform: translateY(100%);
}

#contact.active {
    transform: translateY(0);
}

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


@media (max-width: 768px) {
    .timeline-nav {
        top: 20px;
        width: calc(100vw - 20px);
        max-width: 100vw;
        padding: 0 10px;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: center;
    }
    
    .timeline-nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav-dot {
        font-size: 11px;
        padding: 8px 12px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
        border-radius: 20px;
    }
    
    .animated-logo {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-content {
        padding: 0 20px;
    }
    
    .button-container {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .login-button {
        padding: 12px 25px;
        font-size: 14px;
        width: auto;
        min-width: 140px;
    }
    
    .home-login-modal-content, .home-register-modal-content {
        width: 95%;
        margin: 10% auto;
        max-width: 400px;
    }
    
    .home-login-modal-header, .home-register-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .home-login-modal-header h2, .home-register-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .home-login-form, .home-register-form {
        padding: 1.5rem;
    }
    
    .home-login-form-group, .home-register-form-group {
        margin-bottom: 1.2rem;
    }
    
    .home-login-buttons, .home-register-buttons {
        margin-bottom: 1.2rem;
    }
    
    .home-login-submit-btn, .home-register-submit-btn {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
    
    .auth-switch {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }
}

@media (max-width: 480px) {
    .timeline-nav {
        top: 15px;
        width: calc(100vw - 10px);
        padding: 0 5px;
        gap: 6px;
    }
    
    .nav-dot {
        font-size: 10px;
        padding: 6px 10px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 410px) {
    .timeline-nav {
        top: 12px;
        width: calc(100vw - 6px);
        padding: 0 3px;
        gap: 3px;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
        min-width: fit-content;
    }
    
    .nav-dot {
        font-size: 9px;
        padding: 5px 8px;
        letter-spacing: 0px;
        min-width: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 320px) {
    .timeline-nav {
        gap: 2px;
        padding: 0 2px;
        width: calc(100vw - 4px);
    }
    
    .nav-dot {
        font-size: 8px;
        padding: 4px 6px;
        letter-spacing: 0px;
    }
}

.questions-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}


.questions-header {
    margin-bottom: 3rem;
}

.questions-header h1 {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 300;
}

.questions-header .tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin-bottom: 3rem;
    width: 100%;
}

.question-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.question-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.question-item h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 400;
}

.question-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.questions-message {
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 9998;
}

.questions-message p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.questions-message .cta-button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.questions-message .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .questions-content {
        padding: 6rem 1rem 8rem 1rem;
        min-height: 100vh;
        height: auto;
        overflow-y: visible;
        justify-content: flex-start;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    #chapter01 .questions-content {
        padding: 12rem 1rem 8rem 1rem;
    }
    
    .questions-header {
        margin-bottom: 2rem;
        margin-top: .5rem;
        padding-top: 2rem;
    }
    
    .questions-header h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 0.5rem;
        margin-top: 0;
        padding-top: 0;
    }
    
    .questions-header .tagline {
        font-size: 1.1rem;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
        max-width: none;
        width: 100%;
        display: grid;
        box-sizing: border-box;
    }
    
    .question-item {
        padding: 2rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        display: block;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
    
    .question-item:hover {
        background: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }
    
    .question-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        font-weight: 500;
        color: #ffffff;
        line-height: 1.3;
    }
    
    .question-item p {
        font-size: 1rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .questions-message {
        max-width: none;
        width: 100%;
        padding: 2rem 1rem;
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .questions-message p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
    }
    
    .questions-message .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .questions-content {
        padding: 5rem 0.5rem 8rem 0.5rem;
    }
    
    #chapter01 .questions-content {
        padding: 10rem 0.5rem 8rem 0.5rem;
    }
    
    .questions-header h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
    
    .questions-header .tagline {
        font-size: 1rem;
    }
    
    .questions-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .question-item {
        padding: 1.8rem;
        border-radius: 10px;
    }
    
    .question-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.9rem;
    }
    
    .question-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .questions-message p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 320px) {
    .questions-content {
        padding: 4.5rem 0.3rem 8rem 0.3rem;
    }
    
    #chapter01 .questions-content {
        padding: 9rem 0.3rem 8rem 0.3rem;
    }
    
    .questions-header h1 {
        font-size: 1.8rem;
    }
    
    .questions-header .tagline {
        font-size: 0.9rem;
    }
    
    .question-item {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .question-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .question-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .questions-message p {
        font-size: 0.9rem;
    }
    
    .questions-message .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

.bug-report-icon {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0));
    left: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.bug-report-icon:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: scale(1.1);
}

.bug-report-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 59, 48, 0.8);
    transition: fill 0.3s ease;
}

.bug-report-icon:hover svg {
    fill: rgba(255, 59, 48, 1);
}

.sandbox-icon {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0));
    right: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.sandbox-icon:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: scale(1.1);
}

.sandbox-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 165, 0, 0.8);
    transition: fill 0.3s ease;
}

.sandbox-icon:hover svg {
    fill: rgba(255, 165, 0, 1);
}

.bug-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    backdrop-filter: blur(5px);
}

.bug-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.bug-modal-content {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.98), rgba(35, 35, 35, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bug-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bug-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bug-modal-header h2::before {
    content: '🐛';
    font-size: 1.5rem;
}

.bug-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bug-modal-close:hover {
    background: rgba(255, 59, 48, 0.8);
    color: white;
    transform: scale(1.05);
}

.bug-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bug-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bug-form label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.bug-form textarea {
    padding: 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.bug-form input {
    padding: 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.bug-form textarea::placeholder,
.bug-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.bug-form textarea:focus,
.bug-form input:focus {
    border-color: rgba(255, 59, 48, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1);
    transform: translateY(-1px);
}

.notification-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.notification-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.notification-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
    accent-color: #ff3b30;
    margin-top: 2px;
    cursor: pointer;
}

.notification-checkbox label {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    cursor: pointer;
    line-height: 1.4;
}

.notification-email {
    display: none;
    animation: slideDown 0.4s ease;
}

.notification-email.visible {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}

.bug-submit {
    background: linear-gradient(135deg, #ff3b30, #e6342a);
    border: none;
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    margin-top: 10px;
}

.bug-submit:hover {
    background: linear-gradient(135deg, #e6342a, #d32f2f);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 59, 48, 0.4);
}

.bug-submit:active {
    transform: translateY(-1px);
}

.bug-submit:disabled {
    background: rgba(255, 59, 48, 0.4);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .bug-report-icon {
        width: 28px;
        height: 28px;
        bottom: calc(15px + env(safe-area-inset-bottom, 0));
        left: 15px;
        padding: 6px;
    }
    
    .sandbox-icon {
        width: 28px;
        height: 28px;
        bottom: calc(15px + env(safe-area-inset-bottom, 0));
        right: 15px;
        padding: 6px;
    }
    
    .bug-modal-content {
        width: 95%;
        padding: 25px;
        max-height: 90vh;
        border-radius: 16px;
        margin: 10px;
    }
    
    .bug-modal-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .bug-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .bug-form {
        gap: 20px;
    }
    
    .bug-form textarea {
        min-height: 120px;
        padding: 15px;
    }
    
    .bug-form input {
        padding: 15px;
    }
    
    .notification-checkbox {
        padding: 15px;
    }
    
    .bug-submit {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

.version-display {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-family: monospace;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}