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

/* RNA Base Colors - AtlasBio Corporate Colors */
:root {
    --rna-adenine: #DF5400;    /* A - ab dark orange */
    --rna-uracil: #316BFF;     /* U - ab dark blue */
    --rna-cytosine: #FFCC00;   /* C - ab light orange */
    --rna-guanine: #00BA24;    /* G - ab dark green */
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e8eeff 0%, #f0e8ff 25%, #ffe8f5 50%, #e8f5ff 75%, #f5ffe8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stars {
    width: 4px;
    height: 4px;
    background: transparent;
    animation: animateStars 80s linear infinite;
}

.stars2 {
    width: 6px;
    height: 6px;
    background: transparent;
    animation: animateStars 120s linear infinite;
}

.stars3 {
    width: 8px;
    height: 8px;
    background: transparent;
    animation: animateStars 160s linear infinite;
}

.stars:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: transparent;
    box-shadow: 
        100px 10vh #fff, 200px 20vh #fff, 300px 5vh #fff, 400px 40vh #fff, 500px 60vh #fff, 600px 15vh #fff, 700px 80vh #fff, 800px 35vh #fff, 900px 70vh #fff, 1000px 25vh #fff, 1100px 90vh #fff, 1200px 45vh #fff, 1300px 55vh #fff, 1400px 12vh #fff, 1500px 75vh #fff, 1600px 32vh #fff, 1700px 85vh #fff, 1800px 18vh #fff, 1900px 50vh #fff, 2000px 65vh #fff, 2100px 8vh #fff, 2200px 95vh #fff, 2300px 28vh #fff, 2400px 42vh #fff, 2500px 78vh #fff, 2600px 22vh #fff, 2700px 58vh #fff, 2800px 38vh #fff, 2900px 88vh #fff, 3000px 14vh #fff, 3100px 72vh #fff, 3200px 48vh #fff, 3300px 62vh #fff, 3400px 7vh #fff, 3500px 92vh #fff, 3600px 26vh #fff, 3700px 56vh #fff, 3800px 36vh #fff, 3900px 82vh #fff, 4000px 16vh #fff, 4100px 76vh #fff, 4200px 46vh #fff, 4300px 66vh #fff, 4400px 11vh #fff, 4500px 91vh #fff, 4600px 31vh #fff, 4700px 51vh #fff, 4800px 71vh #fff, 4900px 21vh #fff, 5000px 81vh #fff, 5100px 41vh #fff, 5200px 61vh #fff, 5300px 13vh #fff, 5400px 93vh #fff, 5500px 33vh #fff, 5600px 53vh #fff, 5700px 73vh #fff, 5800px 23vh #fff, 5900px 83vh #fff, 6000px 43vh #fff, 6100px 63vh #fff, 6200px 9vh #fff, 6300px 89vh #fff, 6400px 29vh #fff, 6500px 49vh #fff, 6600px 69vh #fff, 6700px 19vh #fff, 6800px 79vh #fff, 6900px 39vh #fff, 7000px 59vh #fff, 7100px 17vh #fff, 7200px 77vh #fff, 7300px 37vh #fff, 7400px 57vh #fff, 7500px 87vh #fff, 7600px 27vh #fff, 7700px 47vh #fff, 7800px 67vh #fff, 7900px 24vh #fff, 8000px 84vh #fff, 8100px 44vh #fff, 8200px 64vh #fff, 8300px 6vh #fff, 8400px 86vh #fff, 8500px 30vh #fff, 8600px 54vh #fff, 8700px 74vh #fff, 8800px 34vh #fff, 8900px 52vh #fff, 9000px 68vh #fff, 9100px 4vh #fff, 9200px 94vh #fff, 9300px 1vh #fff, 9400px 96vh #fff, 9500px 3vh #fff, 9600px 97vh #fff, 9700px 2vh #fff, 9800px 98vh #fff, 9900px 35vh #fff, 10000px 75vh #fff, 10100px 45vh #fff, 10200px 65vh #fff, 10300px 25vh #fff, 10400px 85vh #fff, 10500px 15vh #fff, 10600px 55vh #fff, 10700px 95vh #fff, 10800px 5vh #fff, 10900px 90vh #fff, 11000px 50vh #fff, 11100px 70vh #fff, 11200px 30vh #fff, 11300px 80vh #fff, 11400px 40vh #fff, 11500px 60vh #fff, 11600px 20vh #fff, 11700px 10vh #fff, 11800px 90vh #fff, 11900px 60vh #fff, 12000px 30vh #fff;
}

.stars2:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: transparent;
    box-shadow:
        150px 12vh #fff, 350px 38vh #fff, 550px 64vh #fff, 750px 18vh #fff, 950px 82vh #fff, 1150px 46vh #fff, 1350px 72vh #fff, 1550px 24vh #fff, 1750px 88vh #fff, 1950px 34vh #fff, 2150px 58vh #fff, 2350px 6vh #fff, 2550px 94vh #fff, 2750px 42vh #fff, 2950px 76vh #fff, 3150px 28vh #fff, 3350px 84vh #fff, 3550px 52vh #fff, 3750px 16vh #fff, 3950px 68vh #fff, 4150px 92vh #fff, 4350px 36vh #fff, 4550px 74vh #fff, 4750px 8vh #fff, 4950px 86vh #fff, 5150px 44vh #fff, 5350px 62vh #fff, 5550px 26vh #fff, 5750px 78vh #fff, 5950px 32vh #fff, 6150px 56vh #fff, 6350px 14vh #fff, 6550px 96vh #fff, 6750px 48vh #fff, 6950px 66vh #fff, 7150px 22vh #fff, 7350px 88vh #fff, 7550px 54vh #fff, 7750px 4vh #fff, 7950px 92vh #fff, 8150px 38vh #fff, 8350px 72vh #fff, 8550px 28vh #fff, 8750px 84vh #fff, 8950px 46vh #fff, 9150px 76vh #fff, 9350px 12vh #fff, 9550px 98vh #fff, 9750px 58vh #fff, 9950px 18vh #fff, 10150px 86vh #fff, 10350px 42vh #fff, 10550px 64vh #fff, 10750px 24vh #fff, 10950px 82vh #fff, 11150px 36vh #fff, 11350px 68vh #fff, 11550px 8vh #fff, 11750px 94vh #fff, 11950px 52vh #fff;
}

.stars3:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: transparent;
    box-shadow:
        250px 25vh #fff, 500px 55vh #fff, 750px 15vh #fff, 1000px 75vh #fff, 1250px 45vh #fff, 1500px 85vh #fff, 1750px 35vh #fff, 2000px 65vh #fff, 2250px 5vh #fff, 2500px 95vh #fff, 2750px 25vh #fff, 3000px 85vh #fff, 3250px 45vh #fff, 3500px 75vh #fff, 3750px 15vh #fff, 4000px 55vh #fff, 4250px 35vh #fff, 4500px 95vh #fff, 4750px 65vh #fff, 5000px 5vh #fff, 5250px 85vh #fff, 5500px 45vh #fff, 5750px 75vh #fff, 6000px 25vh #fff, 6250px 55vh #fff, 6500px 35vh #fff, 6750px 95vh #fff, 7000px 65vh #fff, 7250px 15vh #fff, 7500px 85vh #fff, 7750px 45vh #fff, 8000px 75vh #fff, 8250px 25vh #fff, 8500px 55vh #fff, 8750px 5vh #fff, 9000px 95vh #fff, 9250px 65vh #fff, 9500px 35vh #fff, 9750px 85vh #fff, 10000px 45vh #fff, 10250px 75vh #fff, 10500px 15vh #fff, 10750px 55vh #fff, 11000px 35vh #fff, 11250px 95vh #fff, 11500px 65vh #fff, 11750px 25vh #fff, 12000px 85vh #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2c3e50;
    position: relative;
    padding-bottom: 120px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    z-index: 2;
    position: relative;
}

.hero-logo {
    width: 480px;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: logoFadeIn 1s ease-out 0.1s both;
}

.hero-title {
    /* font-family: 'All Round Gothic Demi', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: slideInFromLeft 1s ease-out 0.2s both;
    color: #5a6c7d;
    font-weight: 300;
}

.hero-subtitle {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    animation: slideInFromRight 1s ease-out 0.4s both;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #5a6c7d;
}

.scroll-button {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 20px 40px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #5a6c7d;
    border: 1px solid rgba(90, 108, 125, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounceIn 1s ease-out 0.6s both;
    box-shadow: 
        0 0 8px rgba(90, 108, 125, 0.15),
        0 0 16px rgba(90, 108, 125, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    position: fixed;
    bottom: 40px;
    left: 50%;
    z-index: 100;
    white-space: nowrap;
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.scroll-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(90, 108, 125, 0.3);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 
        0 0 12px rgba(90, 108, 125, 0.2),
        0 0 24px rgba(90, 108, 125, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.scroll-icon {
    animation: float 2s ease-in-out infinite;
}

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

.stats-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    margin: 50px 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.timeline-headline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    text-align: center;
}

.timeline-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    color: #5a6c7d;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.2;
    animation: fadeIn 0.8s ease-out;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 20px 20px 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(90, 108, 125, 0.3) 10%, 
        rgba(90, 108, 125, 0.6) 50%, 
        rgba(90, 108, 125, 0.3) 90%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin: 30px 0;
    display: flex;
    align-items: center;
    animation: fadeIn 0.6s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline-left {
    justify-content: flex-end;
    padding-right: 50px;
}

.timeline-right {
    justify-content: flex-start;
    padding-left: 50px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    width: 500px;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.timeline-left .timeline-content {
    text-align: left;
}

.timeline-right .timeline-content {
    text-align: right;
}

.timeline-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 20%;
    z-index: 2;
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(90, 108, 125, 0.3);
    transition: all 0.3s ease;
}

.timeline-left:nth-child(2) .timeline-marker {
    background: var(--rna-guanine);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(0, 186, 36, 0.4);
}

.timeline-right:nth-child(3) .timeline-marker {
    background: var(--rna-uracil);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(49, 107, 255, 0.4);
}

.timeline-left:nth-child(4) .timeline-marker {
    background: var(--rna-adenine);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(223, 84, 0, 0.4);
}

.timeline-left:nth-child(2):hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 
        0 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 25px rgba(0, 186, 36, 0.6);
}

.timeline-right:nth-child(3):hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 
        0 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 25px rgba(49, 107, 255, 0.6);
}

.timeline-left:nth-child(4):hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 
        0 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 25px rgba(223, 84, 0, 0.6);
}


.timeline-closing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    text-align: center;
}

.timeline-conclusion {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    color: #5a6c7d;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.2;
    animation: fadeIn 0.8s ease-out;
}

.timeline-stat-label,
.timeline-stat-number,
.timeline-stat-description {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #5a6c7d;
}

.timeline-stat-number {
    font-weight: 600;
    letter-spacing: -1px;
}

.timeline-left:nth-child(2) .timeline-stat-number {
    color: var(--rna-guanine);
}

.timeline-right:nth-child(3) .timeline-stat-number {
    color: var(--rna-uracil);
}

.timeline-left:nth-child(4) .timeline-stat-number {
    color: var(--rna-adenine);
}

.timeline-stat-label::after {
    content: " ";
}

.timeline-stat-number::after {
    content: " ";
}

.clinical-section {
    padding: 80px 0;
    animation: fadeIn 1s ease-out 0.8s both;
    border-radius: 20px;
    margin-top: 50px;
}

.clinical-content {
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.clinical-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4.5rem;
    margin-bottom: 5rem;
    line-height: 1.2;
    animation: slideInFromLeft 1s ease-out 0.2s both;
    color: #5a6c7d;
    font-weight: 300;
}

.clinical-glassy-box {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 3rem;
}

.clinical-left {
    flex: 1;
}

.clinical-right {
    flex: 0 0 auto;
    min-width: 300px;
}

.clinical-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.case-studies {
    margin-top: 0;
}

.case-studies-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.unlock-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 280px;
    margin: 0 auto;
}

.rna-input {
    font-family: 'Courier New', 'Monaco', monospace;
    padding: 8px 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 1.1rem;
    color: transparent;
    outline: none;
    width: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
}

.rna-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: none;
}

/* Styled container for RNA input */
.rna-field-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 0px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.rna-field-container:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    animation: rna-pulse 1.5s ease-in-out infinite;
}

.amino-acid-area {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-top: 2px;
    margin-bottom: -4px;
    padding-left: 1ex;
}

.rna-input-area {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    justify-content: flex-start;
}

.unlock-button {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 280px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.unlock-icon {
    transition: transform 0.3s ease;
}

.unlock-text {
    transition: all 0.3s ease;
}

.unlock-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.unlock-button:hover .unlock-icon {
    transform: scale(1.1);
}

.unlock-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.unlock-button:hover::before {
    left: 100%;
}

/* RNA Validation States */
.unlock-button.validating {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 0.7;
}

.unlock-button.valid {
    background: rgba(0, 186, 36, 0.2);
    border-color: var(--rna-guanine);
    box-shadow: 
        0 0 20px rgba(0, 186, 36, 0.4),
        0 0 40px rgba(0, 186, 36, 0.2),
        0 0 60px rgba(0, 186, 36, 0.1);
}

.unlock-button.invalid {
    background: rgba(223, 84, 0, 0.2);
    border-color: var(--rna-adenine);
    animation: error-shake 0.6s ease-in-out;
}

.rna-field-container.invalid {
    border-color: var(--rna-adenine);
    animation: error-border-pulse 0.6s ease-in-out;
}


@keyframes error-shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes error-border-pulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        border-color: var(--rna-adenine);
        box-shadow: 0 0 10px rgba(223, 84, 0, 0.3);
    }
}


.footer {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 40px 0;
    color: #5a6c7d;
    animation: fadeIn 1s ease-out 1.6s both;
    font-weight: 300;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    margin: 50px 0 0 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

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

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer a {
    color: #5a6c7d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
    70% {
        transform: translateX(-50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes animateStars {
    from {
        transform: translateX(-100px);
    }
    to {
        transform: translateX(calc(100vw + 100px));
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* RNA-specific animations */
@keyframes rna-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
    }
}

@keyframes rna-base-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes triplet-complete {
    0% {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1);
    }
    50% {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
    }
    100% {
        background: rgba(255, 255, 255, 0.05);
        transform: scale(1);
    }
}

@keyframes amino-acid-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* RNA triplet containers with amino acid display */
.rna-triplet-container {
    display: inline-block;
    position: relative;
    margin: 0;
}

.amino-acid {
    display: inline-block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
    min-width: 20px;
    font-family: 'Courier New', 'Monaco', monospace;
    animation: amino-acid-fade-in 0.4s ease-out;
}

.amino-acid-spacer {
    display: inline-block;
    min-width: 20px;
}

.amino-acid.start-codon {
    color: var(--rna-guanine);
    text-shadow: 0 0 6px var(--rna-guanine);
}

.amino-acid.stop-codon {
    color: var(--rna-adenine);
    text-shadow: 0 0 6px var(--rna-adenine);
}

.amino-acid.regular {
    color: rgba(255, 255, 255, 0.9);
}

/* RNA triplet containers with background boxes */
.rna-triplet {
    display: inline-block;
    padding: 2px 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.rna-triplet.complete {
    background: rgba(255, 255, 255, 0.05);
    animation: triplet-complete 0.5s ease-out;
}

.rna-triplet.incomplete {
    background: rgba(255, 255, 255, 0.02);
}

/* RNA base color classes */
.rna-base {
    display: inline;
    transition: all 0.3s ease;
    animation: rna-base-fade-in 0.4s ease-out;
    position: relative;
}

/* RNA space elements */
.rna-space {
    display: inline;
    white-space: pre;
    margin: 0 -4px;
}

.rna-base.A {
    color: var(--rna-adenine);
    text-shadow: 0 0 8px var(--rna-adenine);
}

.rna-base.U {
    color: var(--rna-uracil);
    text-shadow: 0 0 8px var(--rna-uracil);
}

.rna-base.C {
    color: var(--rna-cytosine);
    text-shadow: 0 0 8px var(--rna-cytosine);
}

.rna-base.G {
    color: var(--rna-guanine);
    text-shadow: 0 0 8px var(--rna-guanine);
}

.rna-base.other {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: none;
}

/* RNA input focus enhancements */
.rna-focused {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.rna-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.rna-display {
    pointer-events: none;
    user-select: none;
}




.twinkling-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.twinkling-star {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00BA24;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.orb {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(49, 107, 255, 0.2);
    border: none;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 
        0 0 15px rgba(49, 107, 255, 0.8),
        0 0 30px rgba(49, 107, 255, 0.6),
        0 0 45px rgba(49, 107, 255, 0.4),
        0 0 60px rgba(49, 107, 255, 0.2);
    opacity: 1;
    /* Remove CSS animation, will be handled by JavaScript */
}

.connection-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Removed CSS orbMove keyframes - now handled by JavaScript for smooth sine wave */

@media (max-width: 768px) {
    .hero-logo {
        width: 320px;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .timeline-stat-label,
    .timeline-stat-number,
    .timeline-stat-description {
        font-size: 2rem;
    }
    
    .timeline-content {
        width: 100%;
        max-width: none;
    }
    
    .timeline-headline {
        padding: 0 15px 30px 15px;
    }
    
    .timeline-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .timeline-container {
        padding: 20px 15px;
    }
    
    .timeline-line {
        left: 30px;
        width: 2px;
    }
    
    .timeline-item {
        margin: 40px 0;
        justify-content: flex-start !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
    }
    
    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: left;
        max-width: none;
        padding: 20px;
    }
    
    .timeline-marker {
        left: 30px !important;
        width: 16px;
        height: 16px;
    }
    
    
    .timeline-closing {
        padding: 30px 15px 0 15px;
    }
    
    .timeline-conclusion {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .clinical-title {
        font-size: 3rem;
    }
    
    .clinical-text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .case-studies-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .clinical-glassy-box {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 2rem 0.4rem;
    }

    .clinical-content {
        padding: 0;
    }
    
    .clinical-right {
        min-width: auto;
        width: 100%;
    }
    
    .clinical-text {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .unlock-form {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .rna-field-container {
        max-width: none;
        width: 100%;
        padding: 6px 10px;
    }
    
    .amino-acid-area {
        height: 20px;
        margin-bottom: 6px;
        padding-left: 4px;
    }
    
    .rna-input-area {
        height: 25px;
    }
    
    .unlock-button {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
}