body {
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

.header-transparent {
    background: transparent;
}

.header-solid {
    background: #d45391;
    box-shadow: 0 4px 20px rgba(212, 83, 145, 0.3);
}

.hero-gradient {
    background: linear-gradient(180deg, #d45391 0%, #a83d73 50%, #022e69 100%);
}

.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(2, 46, 105, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #d45391 0%, #c44583 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 83, 145, 0.4);
}

.store-card {
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: scale(1.05);
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

input:focus, textarea:focus {
    outline: none;
    border-color: #d45391;
    box-shadow: 0 0 0 3px rgba(212, 83, 145, 0.2);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

@view-transition { navigation: auto; }

.product-card-image {
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

.header-logo {
    width: 200px;
}

.footer-logo {
    display: inline-block;
    width: 150px;
}

@keyframes diffuse {
    0% { opacity: 0; transform: translateY(0) scale(0.8); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-40px) scale(1.2); }
}

@keyframes absorb {
    0% { height: 0%; }
    100% { height: var(--absorb-height); }
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(212, 83, 145, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(212, 83, 145, 0.6)); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.float-animation {
    display: inline-block;
    margin-top: 100px;
    animation: float 3s ease-in-out infinite;
}

.diffuse-particle {
    animation: diffuse 2.5s ease-out infinite;
}

.absorb-animation {
    animation: absorb 2s ease-out forwards;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.wiggle {
    animation: wiggle 4s ease-in-out infinite;
}

.fibre-strand {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-strand 1.5s ease-out forwards;
}

@keyframes draw-strand {
    to { stroke-dashoffset: 0; }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

#main-header {
    transition-duration: 700ms;
}

#home-hero-banner {
    background-position: right top;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-image: url(../images/reed-diffuser.png);
}

@media print, screen and (min-width: 64em) {

    .float-animation {
        margin-top: 0;
    }
}

@media print, screen and (min-width: 84em) {
    #home-hero-banner {
        background-position: right top;
        background-size: 100% auto;
    }
}

.form-control {
    margin-bottom: 10px;
    padding-bottom: 20px;
    position: relative;
}

.form-control small{
    color: red;
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: hidden;
}

.form-control.success input, .form-control.success select, .form-control.success textarea {
    border-color: rgb(209, 213, 219);
}

.form-control.error small{
    visibility: visible;
}

.form-control.error input, .form-control.error select, .form-control.error textarea {
    border-color: red;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-answer.open {
    max-height: 500px;
    opacity: 1;
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-item {
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(212, 83, 145, 0.08);
}

.faq-question {
    transition: all 0.2s ease;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-question:focus {
    outline: none;
}