.hero-section {
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    padding-top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://app.trickle.so/storage/public/images/usr_0ab9da4a38000001/39692318-22b9-4a07-b2ce-68fbcdcd5a5a.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.hero-section.dark-mode {
    background-image: url('https://app.trickle.so/storage/public/images/usr_0ab9da4a38000001/8ae1169f-ab31-4f5e-98b4-23c44eabeeb4.jpeg');
}

.hero-section.dark-mode::before {
    opacity: 1;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 1rem;
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.hero-title {
    font-size: 5rem;
    color: black;
    margin-bottom: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.hero-divider {
    width: 33.33%;
    height: 4px;
    background-color: black;
    margin: 1.5rem auto;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.animated-divider {
    animation: dividerScale 3s ease-in-out infinite;
}

@keyframes dividerScale {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(1.5); }
    100% { transform: scaleX(1); }
}

.hero-description {
    font-size: 1.25rem;
    color: black;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.dark-mode .hero-title,
.dark-mode .hero-description {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode .hero-divider {
    background-color: #f5b5c8;
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.hero-button:hover {
    background-color: black;
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark-mode .hero-button:hover {
    background-color: #f5b5c8;
}

.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: black;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.dark-mode .hero-bottom-line {
    background-color: #f5b5c8;
}

.theme-switch {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.4s;
    border-radius: 30px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: var(--primary);
}

input:checked + .switch-slider:before {
    transform: translateX(30px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-content {
        margin: 0 1rem;
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-divider {
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-content {
        margin: 0 0.5rem;
        padding: 1rem;
    }

    .hero-divider {
        margin: 0.8rem auto;
        height: 3px;
    }
}
