:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --background-dark: #0f172a;
    --background-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --error-color: #ef4444;
    --success-color: #10b981;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.85) 100%),
        url('img/lb_landing_bg.jpg') center center/cover no-repeat fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: pageLoad 1s ease-out forwards;
    position: relative;
}

/* Particle.js Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 8rem);
    flex: 1;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 1s ease-out 0.5s forwards;
    overflow: visible;
}

.hero-content {
    max-width: 500px;
    overflow: visible;
}

.main-title {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    line-height: 1.2;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
    width: 100% !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    /* Chrome optimization */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Color animation restored - slower transitions */
    animation: colorShift 8s ease-in-out 2s infinite;
}

.main-title:hover {
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    /* 3D shadow effect - sharper shadows */
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 6px 4px rgba(99, 102, 241, 0.2));
}

.main-title .word {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-right: 0.2em;
    transition: transform 0.3s ease;
    position: relative;
    filter: blur(10px);
    /* Chrome optimization - remove color inheritance conflicts */
    will-change: filter;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Inherit color from parent to avoid animation conflicts */
    color: inherit;
}

.main-title .word:hover {
    transform: translateY(-5px) scale(1.08);
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.8);
    filter: blur(0px) !important;
    animation-play-state: paused;
}

.main-title .word:nth-child(1) { 
    animation-delay: 0s;
    animation: wordRevealBlur 1s ease-out forwards, gentleBlur1 45s ease-in-out 8s infinite;
}
.main-title .word:nth-child(2) { 
    animation-delay: 0.15s;
    animation: wordRevealBlur 1s ease-out 0.15s forwards, gentleBlur2 35s ease-in-out 12s infinite;
}
.main-title .word:nth-child(3) { 
    animation-delay: 0.3s;
    animation: wordRevealBlur 1s ease-out 0.3s forwards, gentleBlur3 55s ease-in-out 20s infinite;
}
.main-title .word:nth-child(4) { 
    animation-delay: 0.45s;
    animation: wordRevealBlur 1s ease-out 0.45s forwards, gentleBlur4 40s ease-in-out 15s infinite;
}
.main-title .word:nth-child(5) { 
    animation-delay: 0.6s;
    animation: wordRevealBlur 1s ease-out 0.6s forwards, gentleBlur5 50s ease-in-out 25s infinite;
}

.brand-logo {
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.logo-image {
    height: clamp(70px, 4.5vw, 95px);
    width: auto;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: brightness(1.3);
    transform: translateY(-3px) scale(1.05);
}

.brand-logo::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandLine 0.8s ease-out 1.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.brand-name {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.brand-name::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandLine 0.8s ease-out 1.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.2s forwards;
}

.cta-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.4s forwards;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.link:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.link:hover::after {
    width: 100%;
}

/* Form Section */
.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.7s forwards;
}

.signup-form {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px) saturate(120%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.signup-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.signup-form:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 12px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px) saturate(140%);
    border-color: rgba(255, 255, 255, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 1.2s; }
.form-group:nth-child(2) { animation-delay: 1.3s; }
.form-group:nth-child(3) { animation-delay: 1.4s; }
.form-group:nth-child(4) { animation-delay: 1.5s; }
.form-group:nth-child(5) { animation-delay: 1.6s; }
.form-group:nth-child(6) { animation-delay: 1.7s; }
.form-group:nth-child(7) { animation-delay: 1.8s; }
.form-group:nth-child(8) { animation-delay: 1.9s; }

.group-label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-dark);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 50px;
}

.field-note {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    font-style: italic;
}

/* Custom location input for "Other" */
.custom-location-input {
    margin-top: 0.4rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-location-input.show {
    opacity: 1;
    max-height: 60px;
}

.custom-location-input input {
    width: 100%;
}

/* Form Animation States */
.form-group.focused {
    transform: scale(1.01);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error-color);
    animation: shake 0.5s ease-in-out;
}

.field-error {
    color: var(--error-color);
    font-size: 0.65rem;
    margin-top: 0.15rem;
    font-weight: 500;
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

/* Toggle Switch */
.toggle-group {
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.8rem;
    gap: 0.5rem;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch {
    background: var(--primary-color);
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch .toggle-slider {
    transform: translateX(20px);
}

.toggle-text {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.toggle-label input[type="checkbox"]:checked ~ .toggle-text {
    color: var(--primary-color);
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.radio-label:hover,
.checkbox-label:hover {
    color: var(--primary-color);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    display: none;
}

.radio-custom,
.checkbox-custom {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-color);
    margin-right: 0.4rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom {
    border-radius: 50%;
}

.checkbox-custom {
    border-radius: 3px;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: inset 0 0 0 2px var(--background-card);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 9px;
    font-weight: bold;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 2s forwards;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Loading States */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading {
    background: var(--text-muted);
}

.loading-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    font-size: 0.85rem;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

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

.success-icon,
.error-icon {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    display: block;
}

.success-message h3 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* Form Success State */
.form-success .success-message {
    animation: bounceIn 0.6s ease;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 2.2s forwards;
}

/* Scroll Animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Intersection Observer Animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-section {
        order: 1;
        transform: translateY(-30px);
        animation: slideInDown 1s ease-out 0.5s forwards;
    }
    
    .form-section {
        order: 2;
        transform: translateY(30px);
        animation: slideInUp 1s ease-out 0.7s forwards;
    }
    
    .signup-form {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .main-content {
        gap: 2rem;
        min-height: auto;
    }
    
    .signup-form {
        padding: 1.25rem;
        border-radius: 12px;
        gap: 0.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .brand-logo::before {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        animation: expandLineCentered 0.8s ease-out 1.5s forwards;
    }
    
    .group-label {
        text-align: left;
    }
    
    .radio-group,
    .checkbox-group {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .signup-form {
        padding: 1rem;
        gap: 0.7rem;
    }
    
    .submit-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .brand-logo {
        font-size: 1.4rem;
    }
}

/* Page Load Animations */
@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Success State - Full Form Replacement */
.form-success-container {
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.2);
    border: 2px solid var(--success-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
    opacity: 0;
    transform: scale(0.8);
    animation: successZoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: successBounce 1s ease-out 0.3s both;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

.success-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.7s forwards;
}

.success-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.9s forwards;
}

.show-form-again {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--success-color);
    border: 2px solid var(--success-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 1.1s forwards;
    cursor: pointer;
}

.show-form-again:hover {
    background: var(--success-color);
    color: var(--background-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.show-form-again .arrow-icon {
    transition: transform 0.3s ease;
}

.show-form-again:hover .arrow-icon {
    transform: translateX(3px);
}

/* Floating particles animation */
.success-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--success-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: floatUp 3s ease-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.particle:nth-child(3) { left: 30%; animation-delay: 1s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 50%; animation-delay: 2s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.7s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.2s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.7s; }

/* Form restoration animation */
.form-restoring {
    opacity: 0;
    transform: scale(0.9);
    animation: formRestoreIn 0.5s ease-out forwards;
}

@keyframes successZoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes floatUp {
    0% {
        bottom: -10px;
        opacity: 0.7;
        transform: translateX(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(20px) scale(1.2);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(-20px) scale(0.8);
    }
}

@keyframes formRestoreIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandLineCentered {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes gentleBlur1 {
    0%, 85%, 95%, 100% {
        filter: blur(0px);
        opacity: 1;
    }
    88%, 92% {
        filter: blur(1px);
        opacity: 0.9;
    }
}

@keyframes gentleBlur2 {
    0%, 70%, 80%, 100% {
        filter: blur(0px);
        opacity: 1;
    }
    73%, 77% {
        filter: blur(1px);
        opacity: 0.9;
    }
}

@keyframes gentleBlur3 {
    0%, 60%, 70%, 100% {
        filter: blur(0px);
        opacity: 1;
    }
    63%, 67% {
        filter: blur(1px);
        opacity: 0.9;
    }
}

@keyframes gentleBlur4 {
    0%, 45%, 55%, 100% {
        filter: blur(0px);
        opacity: 1;
    }
    48%, 52% {
        filter: blur(1px);
        opacity: 0.9;
    }
}

@keyframes gentleBlur5 {
    0%, 30%, 40%, 100% {
        filter: blur(0px);
        opacity: 1;
    }
    33%, 37% {
        filter: blur(1px);
        opacity: 0.9;
    }
}

@keyframes wordRevealBlur {
    0% {
        filter: blur(10px);
        text-shadow: 0 0 30px currentColor;
    }
    100% {
        filter: blur(0px);
        text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(90deg) scale(0.5);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-20px) rotateX(-10deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

/* Pulse effect for extra dynamism */
@keyframes titlePulse {
    0%, 100% {
        filter: brightness(1) saturate(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.1) saturate(1.1);
        transform: scale(1.01);
    }
}

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

@keyframes wordBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes colorShift {
    0% {
        color: var(--primary-color);
    }
    25% {
        color: var(--secondary-color);
    }
    50% {
        color: #8b5cf6;
    }
    75% {
        color: #06b6d4;
    }
    100% {
        color: var(--primary-color);
    }
} 