/* Explain: Dark SaaS, glassmorphism, and neon motion components */
.serene-nav-link {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    transition: background-color 420ms ease, color 420ms ease, transform 720ms ease, box-shadow 420ms ease;
}

.serene-nav-link:hover,
.serene-nav-link:focus-visible {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-color);
    transform: scale(1.035);
    box-shadow: inset 0 0 12px rgba(139, 92, 246, 0.2);
}

.serene-nav-link-accent {
    background: rgba(236, 72, 153, 0.12);
    color: var(--text-color);
}

.serene-mobile-link {
    align-items: center;
    border-radius: 1.25rem;
    display: flex;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0 1rem;
    transition: background-color 350ms ease, color 350ms ease, transform 650ms ease;
}

.serene-mobile-link:hover,
.serene-mobile-link:focus-visible {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-color);
    transform: translateX(3px);
}

.serene-mobile-link-accent {
    background: rgba(236, 72, 153, 0.12);
    color: var(--text-color);
}

.eyebrow {
    align-items: center;
    color: var(--clay-color);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.4);
}

.eyebrow::before {
    background: var(--clay-color);
    border-radius: 999px;
    content: '';
    height: 1px;
    opacity: 0.7;
    width: 2.6rem;
    box-shadow: 0 0 5px var(--clay-color);
}

.serene-heading {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: clamp(2.9rem, 7vw, 5.8rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.96;
    margin-top: 1.35rem;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.contact-heading {
    font-size: clamp(2.25rem, 5vw, 4.3rem);
    line-height: 1;
}

.serene-btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4);
    transition: all 420ms ease, transform 900ms ease;
}

.serene-btn-primary:hover,
.serene-btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    box-shadow: 0 12px 40px rgba(199, 125, 255, 0.5), 0 0 20px rgba(157, 78, 221, 0.6);
    color: #FFFFFF !important;
    transform: scale(1.035);
}

.serene-btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    color: var(--text-color);
    font-weight: 700;
    transition: all 420ms ease, transform 900ms ease;
}

.serene-btn-secondary:hover,
.serene-btn-secondary:focus-visible {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.3) inset;
    transform: scale(1.035);
}

.hero-image-shell::after {
    background: linear-gradient(180deg, transparent 20%, #05010A 95%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.breath-ring {
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    height: clamp(18rem, 42vw, 38rem);
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(18rem, 42vw, 38rem);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.1) inset, 0 0 50px rgba(139, 92, 246, 0.05);
    z-index: -1;
}

.breath-ring-one {
    animation: breathe 8s ease-in-out infinite;
}

.breath-ring-two {
    animation: breathe 8s ease-in-out infinite 2.5s;
    border-color: rgba(236, 72, 153, 0.25);
    box-shadow: 0 0 50px rgba(236, 72, 153, 0.08) inset;
    height: clamp(24rem, 50vw, 45rem);
    width: clamp(24rem, 50vw, 45rem);
}

.organic-veil {
    border-radius: 50%;
    filter: blur(100px);
    position: absolute;
    z-index: -10;
}

.organic-veil-one {
    background: var(--primary-hover);
    height: 24rem;
    left: -10rem;
    opacity: 0.35;
    top: 5rem;
    width: 28rem;
}

.organic-veil-two {
    background: var(--secondary-color);
    bottom: 0rem;
    height: 28rem;
    opacity: 0.25;
    right: -10rem;
    width: 32rem;
}

.ritual-card,
.class-card,
.instructor-card,
.quote-card,
.contact-panel,
.serene-form {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.ritual-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: transform 500ms ease, border-color 500ms ease, box-shadow 500ms ease;
}

.ritual-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
    transform: translateY(-5px);
}

.ritual-card i {
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.ritual-card h3 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    line-height: 1;
    margin-top: 1.6rem;
}

.ritual-card p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 0.85rem;
}

.class-card {
    border-radius: 1.5rem;
    min-height: 25rem;
    overflow: hidden;
    padding: 1.65rem;
    position: relative;
    transition: transform 500ms ease, box-shadow 500ms ease, border-color 500ms ease;
}

.class-card::after {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    content: '';
    height: 16rem;
    position: absolute;
    right: -6rem;
    top: -6rem;
    transition: transform 1000ms ease, opacity 1000ms ease;
    width: 16rem;
    opacity: 0.5;
}

.class-card:hover,
.class-card:focus-within {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: var(--shadow-deep);
    transform: translateY(-8px);
}

.class-card:hover::after {
    transform: scale(1.3);
    opacity: 0.9;
}

.class-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    color: var(--ivory-color);
    display: flex;
    height: 3.5rem;
    justify-content: center;
    position: relative;
    width: 3.5rem;
    z-index: 1;
}

.class-card h3 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.class-card .duration {
    color: var(--clay-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 1.1rem 0;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.class-card p:last-child {
    color: var(--text-muted);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.instructor-card,
.quote-card,
.contact-panel,
.serene-form {
    border-radius: 1.5rem;
}

.gallery-tile {
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-soft);
    min-height: 14rem;
    overflow: hidden;
    position: relative;
}

.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 40%);
    pointer-events: none;
}

.gallery-tile img {
    transition: transform 1400ms ease, filter 1400ms ease;
}

.gallery-tile:hover img {
    filter: saturate(1.1) brightness(1.1);
    transform: scale(1.045);
}

.quote-card {
    min-height: 24rem;
    padding: 2.25rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 1.25rem;
    overflow: hidden;
}

.faq-item summary {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.12;
    list-style: none;
    padding: 1.3rem 1.5rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    color: var(--primary-color);
    content: '+';
    float: right;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0 1.5rem 1.4rem;
}

.contact-panel,
.serene-form {
    padding: clamp(1.75rem, 4vw, 3rem);
}

.contact-detail {
    align-items: flex-start;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
    line-height: 1.65;
}

.contact-detail i {
    color: var(--primary-color);
    margin-top: 0.3rem;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.contact-detail a {
    color: var(--text-color);
    transition: color 300ms ease, text-shadow 300ms ease;
}

.contact-detail a:hover {
    color: var(--clay-color);
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

.serene-form {
    display: grid;
    gap: 1.25rem;
}

.serene-form label {
    color: var(--text-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.serene-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    color: var(--text-color);
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    transition: border-color 300ms, box-shadow 300ms, outline 300ms;
}

.serene-input option {
    background: var(--surface-color);
    color: var(--text-color);
}

.serene-input:focus {
    border-color: var(--primary-color);
    outline: 2px solid rgba(139, 92, 246, 0.25);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 15px rgba(139, 92, 246, 0.15);
}

.serene-input::placeholder {
    color: rgba(156, 163, 175, 0.4);
}

.footer-social {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--text-color);
    display: flex;
    height: 2.75rem;
    justify-content: center;
    transition: all 350ms ease;
    width: 2.75rem;
}

.footer-social:hover,
.footer-social:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px) scale(1.04);
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    position: relative;
    transition: transform 500ms ease, box-shadow 500ms ease, border-color 500ms ease;
}

.pricing-card:hover {
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-deep);
    transform: translateY(-8px);
}

.pricing-card-popular {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--glass-bg) 100%);
    border-color: rgba(199, 125, 255, 0.4);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.pricing-card-popular::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-hover));
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    color: #FFFFFF;
    content: 'Most Popular';
    font-size: 0.72rem;
    font-weight: 800;
    left: 50%;
    letter-spacing: 0.15em;
    padding: 0.4rem 1.25rem;
    position: absolute;
    text-transform: uppercase;
    top: -1.1rem;
    transform: translateX(-50%);
    white-space: nowrap;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.95);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.05);
    }
}
