/* ========================================
   RESET & BASE STYLES
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent all elements from overflowing */
* {
    max-width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Mobile-first smooth scrolling and tap highlight */
html {
    -webkit-tap-highlight-color: rgba(14, 165, 233, 0.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    /* Prevent text size adjustment on iOS */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Prevent horizontal overflow on mobile */
html,
body {
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    /* Better touch scrolling */
    -webkit-overflow-scrolling: touch;
}

/* Improve form element rendering on iOS */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Checkbox styling - make them visible and styled */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

input[type="checkbox"]:hover {
    border-color: #0ea5e9;
}

input[type="checkbox"]:checked {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* Prevent iOS zoom on focus */
@media (max-width: 640px) {
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Keyboard focus visible (accessibility) – sky-600 ring */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: 2px;
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    }
}

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

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes gradientSlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

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

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-blob {
    animation: blob 7s ease-in-out infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.animate-gradient-slow {
    animation: gradientSlow 4s ease-in-out infinite;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-800 {
    animation-delay: 0.8s;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-1200 {
    animation-delay: 1.2s;
}

.animation-delay-1400 {
    animation-delay: 1.4s;
}

.animation-delay-1600 {
    animation-delay: 1.6s;
}

.animation-delay-1800 {
    animation-delay: 1.8s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* ========================================
   BODY & TYPOGRAPHY
   ======================================== */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 55%),
        #f5f5f7;
    color: #1f2933;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

a {
    color: #0b6cff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
    color: #ffffff;
    padding: 0.75rem 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-x: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.logo-main {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.15rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-sub {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nav a {
    margin-left: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nav a::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;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.nav a.nav-active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    animation: glow 2s ease-in-out infinite;
}

/* Tablet header optimizations */
@media (max-width: 1024px) and (min-width: 641px) {
    .site-header {
        padding: 0.5rem 0;
    }
    
    .logo-main {
        font-size: 0.95rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .nav a {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
    }
}

/* Mobile header optimizations */
@media (max-width: 640px) {
    .site-header {
        padding: 0.35rem 0;
    }
    
    .header-content {
        gap: 0.35rem;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo-main {
        font-size: 0.75rem;
        letter-spacing: 0;
    }
    
    .logo-sub {
        font-size: 0.5rem;
        margin-top: 0.1rem;
    }
    
    .nav {
        gap: 0.3rem;
    }
    
    .nav a {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        border-radius: 0.4rem;
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .nav a:hover,
    .nav a.nav-active {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.25);
    }
}

/* ========================================
   MAIN CONTENT & FOOTER
   ======================================== */

.site-main {
    padding: 2.5rem 0 3.5rem;
    padding-top: calc(60px + 2.5rem); /* Account for fixed header */
    flex: 1 0 auto;
}

.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    background: #ffffff;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-info {
    flex: 1;
}

.footer-copyright {
    margin: 0;
    color: #6b7280;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-title {
    margin: 0;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-start;
    }
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.footer-link:active {
    transform: translateY(-1px) scale(1.02);
}

.footer-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Mobile footer optimizations */
@media (max-width: 640px) {
    .site-footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-link {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .footer-icon {
        width: 1rem;
        height: 1rem;
    }
}

/* ========================================
   HERO & CONTENT SECTIONS
   ======================================== */

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0 1.5rem;
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.hero p {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr);
    gap: 1.5rem;
}

.hero-panel {
    display: none;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.hero-footnote {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.12), transparent 55%),
                linear-gradient(135deg, #020617, #111827);
    color: #e5e7eb;
    border-radius: 1rem;
    padding: 1.1rem 1.3rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.5);
}

.hero-gyms {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.hero-gym {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-gym-ugym {
    background: #eef2ff;
    color: #312e81;
}

.hero-gym-pz {
    background: #ecfeff;
    color: #064e3b;
}

.hero-vs {
    font-size: 0.8rem;
    color: #9ca3af;
}

.hero-summary {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.hero-list {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
}

.hero-list li {
    margin-bottom: 0.15rem;
}

h1, h2, h3 {
    color: #0f172a;
}

h1 {
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.05rem;
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    background: #e5e7eb;
    color: #111827;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
}

.btn-primary {
    background: #0b6cff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0753c9;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

/* ========================================
   CARDS & GRID LAYOUTS
   ======================================== */

.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(6px);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
    border-color: rgba(59, 130, 246, 0.35);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.card-body {
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cards-grid.two-columns {
    grid-template-columns: minmax(0, 1fr);
}

.card-highlight {
    border: 1px solid #0ea5e9;
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25), 0 8px 15px rgba(15, 23, 42, 0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-recommended {
    background: #ecfdf5;
    color: #15803d;
}

.badge-muted {
    background: #e5e7eb;
    color: #374151;
}

/* ========================================
   FLASH MESSAGES & ALERTS
   ======================================== */

.flash-container {
    margin-bottom: 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash-container.flash-dismissed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
}

/* Submit-button loading spinner (used by app.js) */
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}
.btn-loading-spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 9999px;
    animation: btn-spin 0.6s linear infinite;
    vertical-align: middle;
}

.flash {
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
}

.flash-success {
    background: #ecfdf5;
    color: #166534;
}


/* ========================================
   FORMS & INPUT ELEMENTS
   ======================================== */

.form-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-top: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(8px);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 0.45rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    background: #f9fafb;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #0b6cff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
    background: #ffffff;
}

.form-checkbox {
    display: flex;
    flex-direction: column;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 0.4rem;
}

.form-checkbox label {
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    margin-bottom: 0;
}

.hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.form-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.radio-group input[type="radio"] {
    margin-right: 0.35rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.6rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.9rem;
}

/* Hidden checkboxes and radio buttons - using sr-only */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* Force hide all input elements with sr-only class */
input.sr-only,
input[type="radio"].sr-only,
input[type="checkbox"].sr-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.checkbox-card input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
    accent-color: #0ea5e9;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
}

.addons-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.addons-list li {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.3rem;
    padding: 0.25rem 0;
    border-bottom: 1px dashed #e5e7eb;
}

.addons-list li:last-child {
    border-bottom: none;
}

.addon-name {
    font-weight: 500;
}

.addon-context {
    color: #6b7280;
}

.addon-price,
.addon-final {
    text-align: right;
}

.discount {
    color: #15803d;
    font-size: 0.85rem;
}

.summary-lines {
    margin-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    font-size: 0.9rem;
}

.summary-lines > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.summary-strong {
    font-weight: 600;
}

.membership-id .code {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.4rem;
    background: #111827;
    color: #f9fafb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
}

.choose-gym {
    margin-top: 1rem;
}

.site-main .container {
    max-width: 1040px;
}

.hero + .info-grid {
    margin-top: 2rem;
}

.summary-lines > div span:first-child {
    color: #6b7280;
}

.summary-lines > div span:last-child {
    font-weight: 500;
}

.summary-strong span:last-child {
    color: #0b6cff;
}

/* Navigation active state */
.nav-active {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

/* Stepper */
.stepper {
    margin-bottom: 1.25rem;
}

.stepper-list {
    list-style: none;
    padding: 0.25rem 0.75rem;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
}

.stepper-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.stepper-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d1d5db;
}

.stepper-item.is-done .stepper-dot {
    background: #22c55e;
}

.stepper-item.is-active .stepper-dot {
    background: #0284c7; /* sky-600, matches brand */
}

.stepper-item.is-active .stepper-label {
    color: #0c4a6e; /* sky-900 */
    font-weight: 600;
}

.stepper-label {
    white-space: nowrap;
}

/* Form refinements */
.subtle {
    margin-top: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.form-narrow {
    max-width: 520px;
}

.input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    background: #f9fafb;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.input:focus {
    outline: none;
    border-color: #0b6cff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
    background: #ffffff;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 400;
}

.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.radio-card input[type="radio"] {
    margin-top: 0.15rem;
}

.radio-card strong {
    display: block;
    font-size: 0.92rem;
}

.fieldset-card {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.9rem 1rem 1rem;
    background: rgba(249, 250, 251, 0.85);
}

.fieldset-card legend {
    padding: 0 0.25rem;
    font-weight: 600;
}

/* Callouts */
.callout {
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
}

.callout-success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Pricing tables */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 0.25rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 100%;
}

.pricing-table col.col-item {
    width: 28%;
}

.pricing-table col.col-context {
    width: 26%;
}

.pricing-table col.col-price,
.pricing-table col.col-discount,
.pricing-table col.col-final {
    width: 15%;
}

.pricing-table th,
.pricing-table td {
    padding: 0.35rem 0.4rem;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table thead th {
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

/* Center align the ITEM column header for better visual balance */
.pricing-table thead th:first-child {
    text-align: center;
}

.pricing-table .num {
    text-align: right;
    white-space: nowrap;
}

.pricing-table tbody th {
    font-weight: 500;
}

.tfoot-strong {
    background: rgba(239, 246, 255, 0.6);
}

.tfoot-strong td,
.tfoot-strong th {
    font-weight: 600;
}

.card-highlight-recommended {
    background: linear-gradient(145deg, rgba(219, 234, 254, 0.9), #ffffff);
}

@media (min-width: 720px) {
    .hero {
        padding-top: 2.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-grid.two-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-split {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
        align-items: center;
    }

    .hero-panel {
        display: block;
    }
}

/* ========================================
   MOBILE & TABLET OPTIMIZATIONS
   ======================================== */

/* Mobile-first: Base styles for phones */
@media (max-width: 640px) {
    /* Container padding for mobile - extra padding for absolute positioned elements */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        overflow-x: hidden;
    }
    
    /* Header container - even less padding */
    .site-header .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Ensure grid items don't overflow */
    .grid {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Remove body padding on mobile */
    body {
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100% !important;
    }
    
    /* Prevent sections from overflowing */
    section,
    .carousel-container,
    .site-header,
    .site-footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Main content padding */
    .site-main {
        padding: 1rem 0 1.5rem;
        padding-top: calc(44px + 1rem) !important; /* Account for smaller fixed header on mobile + spacing */
    }
    
    /* First section needs top margin */
    .site-main > .container > section:first-child {
        margin-top: 0.75rem !important;
    }
    
    /* Stepper optimization for mobile */
    .stepper-list {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .stepper-list::-webkit-scrollbar {
        display: none;
    }
    
    .stepper-label {
        font-size: 0.7rem;
    }
    
    /* Form inputs touch-friendly */
    input[type="text"],
    input[type="number"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 44px; /* iOS touch target size */
    }
    
    /* Button touch targets */
    button,
    .btn,
    a.btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    /* Pricing table mobile optimization */
    .pricing-table {
        font-size: 0.75rem;
    }
    
    .pricing-table thead th {
        font-size: 0.65rem;
        padding: 0.4rem 0.3rem;
    }
    
    .pricing-table tbody td,
    .pricing-table tbody th {
        padding: 0.5rem 0.3rem;
    }
    
    /* Cards spacing */
    .cards-grid {
        gap: 1rem;
    }
    
    /* Flash messages */
    .flash {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}

/* Tablet optimizations */
@media (min-width: 641px) and (max-width: 1024px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .site-main {
        padding: 2rem 0 2.5rem;
    }
    
    /* Touch-friendly inputs for tablets */
    input[type="text"],
    input[type="number"],
    input[type="email"],
    select {
        font-size: 16px;
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .site-main {
        padding: 1rem 0 1.5rem;
    }
    
    /* Reduce vertical spacing in landscape */
    .hero {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets on touch devices */
    a, button, input, select, textarea {
        -webkit-tap-highlight-color: rgba(14, 165, 233, 0.15);
    }
    
    /* Remove hover effects on touch devices */
    .group:hover .group-hover\:scale-105 {
        transform: scale(1);
    }
}

/* Improve performance on mobile */
@media (max-width: 640px) {
    /* Disable expensive animations on low-end devices */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Optimize blob animations */
    .animate-blob {
        animation: none;
        opacity: 0.5;
    }
}

/* ========================================
   PREMIUM EFFECTS & ANIMATIONS
   ======================================== */

/* Premium card hover effects - more specific to avoid breaking layout */
article.relative:hover {
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium button effects */
button[type="submit"],
a[class*="bg-sky"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button[type="submit"]::before,
a[class*="bg-sky"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button[type="submit"]:hover::before,
a[class*="bg-sky"]:hover::before {
    width: 300px;
    height: 300px;
}

/* Premium input focus effects - removed transform to prevent layout issues */
input:focus:not([type="checkbox"]):not([type="radio"]),
textarea:focus,
select:focus {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15) !important;
}

/* Smooth page transitions - removed to fix visibility issue */

/* Pricing card premium effects */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0) 0%, rgba(14, 165, 233, 0.05) 50%, rgba(14, 165, 233, 0) 100%);
    transform: rotateZ(45deg) translateY(100%);
    transition: transform 0.8s ease-out;
}

.pricing-card:hover::after {
    transform: rotateZ(45deg) translateY(-100%);
}

/* Stepper premium animation */
/* pulse lives in @media (min-width) block; active dot uses brand sky */
@media (min-width: 1024px) {
    .stepper-item.is-active .stepper-dot {
        animation: pulse 2s ease-in-out infinite;
    }
}

/* Flash message premium entrance */
.flash {
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   CAROUSEL STYLES (CSS-ONLY)
   ======================================== */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #1e293b;
}

/* Hide radio buttons */
.carousel-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 14rem; /* More compact for mobile: 224px */
}

@media (min-width: 640px) {
    .carousel-track {
        height: 18rem; /* 288px for sm */
    }
}

@media (min-width: 768px) {
    .carousel-track {
        height: 22rem; /* 352px for md */
    }
}

@media (min-width: 1024px) {
    .carousel-track {
        height: 500px; /* 500px for lg */
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    pointer-events: none;
    cursor: pointer;
}

/* Show slide when corresponding radio is checked */
#slide-1:checked ~ .carousel-track label[for="slide-1"],
#slide-2:checked ~ .carousel-track label[for="slide-2"],
#slide-3:checked ~ .carousel-track label[for="slide-3"],
#slide-4:checked ~ .carousel-track label[for="slide-4"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.carousel-slide img {
    transition: transform 0.5s ease;
    object-position: center 30%;
    transform: scale(1);
}

#slide-1:checked ~ .carousel-track label[for="slide-1"] img,
#slide-2:checked ~ .carousel-track label[for="slide-2"] img,
#slide-3:checked ~ .carousel-track label[for="slide-3"] img,
#slide-4:checked ~ .carousel-track label[for="slide-4"] img {
    animation: smoothZoomIn 8s ease-out forwards;
}

@keyframes smoothZoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Navigation Buttons (CSS-only) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1e293b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
}

/* Show only the relevant prev/next buttons based on checked radio */
#slide-1:checked ~ .carousel-prev-1,
#slide-2:checked ~ .carousel-prev-2,
#slide-3:checked ~ .carousel-prev-3,
#slide-4:checked ~ .carousel-prev-4,
#slide-1:checked ~ .carousel-next-1,
#slide-2:checked ~ .carousel-next-2,
#slide-3:checked ~ .carousel-next-3,
#slide-4:checked ~ .carousel-next-4 {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn svg {
    transition: transform 0.3s ease;
}

.carousel-btn:hover svg {
    transform: scale(1.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
    animation: pulse 1s ease-in-out;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 80px; /* Moved up to not overlap with text */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 999px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Active dot based on checked radio */
#slide-1:checked ~ .carousel-dots label[for="slide-1"],
#slide-2:checked ~ .carousel-dots label[for="slide-2"],
#slide-3:checked ~ .carousel-dots label[for="slide-3"],
#slide-4:checked ~ .carousel-dots label[for="slide-4"] {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    width: 30px;
    border-radius: 999px;
}

/* Tablet carousel optimizations */
@media (max-width: 1024px) and (min-width: 641px) {
    .carousel-btn {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.93);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }
    
    .carousel-btn:hover {
        transform: translateY(-50%) scale(1.12);
    }
    
    .carousel-prev {
        left: 14px;
    }
    
    .carousel-next {
        right: 14px;
    }
    
    /* Hide dots on tablets */
    .carousel-dots {
        display: none;
    }
}

/* Mobile carousel responsive */
@media (max-width: 640px) {
    .carousel-btn {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
    }
    
    .carousel-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .carousel-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    /* Hide dots on mobile */
    .carousel-dots {
        display: none !important;
    }
}

/* ========================================
   ADDITIONAL MOBILE & TABLET OPTIMIZATIONS
   ======================================== */

/* Tablet-specific optimizations */
@media (max-width: 1024px) and (min-width: 641px) {
    /* Improve touch targets */
    button,
    a,
    input,
    select,
    textarea {
        min-height: 44px;
    }
    
    /* Adjust form inputs */
    input[type="text"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    /* Flash messages */
    .flash {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Stepper adjustments */
    .stepper-label {
        font-size: 0.8rem;
    }
    
    .stepper-dot {
        width: 28px;
        height: 28px;
    }
}

/* Enhanced mobile optimizations */
@media (max-width: 640px) {
    /* Improve readability */
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Better touch targets */
    button,
    a,
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        min-height: 44px;
    }
    
    /* Larger checkboxes for mobile */
    input[type="checkbox"] {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
    }
    
    input[type="checkbox"]:checked::after {
        left: 7px !important;
        top: 2px !important;
        width: 6px !important;
        height: 12px !important;
    }
    
    /* Form improvements */
    input[type="text"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 0.75rem;
        border-radius: 0.5rem;
    }
    
    /* Buttons */
    .btn,
    button[type="submit"] {
        font-size: 16px;
        padding: 0.85rem 1.5rem;
        width: 100%;
    }
    
    /* Cards and containers */
    .card,
    .info-card,
    .pricing-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Tables - make scrollable */
    .pricing-table,
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    /* Flash messages */
    .flash {
        padding: 0.75rem;
        font-size: 0.85rem;
        margin: 0 -1rem 1rem;
        border-radius: 0;
    }
    
    /* Stepper - more compact */
    .stepper {
        margin-bottom: 1.5rem;
    }
    
    .stepper-label {
        font-size: 0.7rem;
    }
    
    .stepper-dot {
        width: 24px;
        height: 24px;
    }
    
    /* Hero sections - more compact */
    h1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.15rem !important;
        line-height: 1.4 !important;
    }
    
    p {
        font-size: 0.9rem !important;
    }
    
    /* Make cards more compact */
    article,
    .card {
        padding: 1rem !important;
    }
    
    /* Spacing adjustments - more compact */
    section {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    section:first-child {
        margin-top: 0 !important;
    }
    
    /* Fix step number circles positioning on mobile - more specific selectors */
    article[class*="relative"][class*="rounded"] {
        overflow: visible;
        margin-top: 2.5rem !important;
    }
    
    article[class*="relative"] > div[class*="absolute"][class*="rounded-full"] {
        top: -1rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 2.5rem !important;
        height: 2.5rem !important;
        font-size: 1rem !important;
        margin-left: 0 !important;
    }
    
    article[class*="relative"] > div[class*="mt-4"],
    article[class*="relative"] .mt-4 {
        margin-top: 2rem !important;
    }
    
    /* Ensure "How It Works" grid has proper spacing */
    section .grid[class*="md:grid-cols-4"] {
        gap: 3rem 1rem !important;
    }
    
    /* Carousel text overlay - completely hide on mobile for cleaner look */
    .carousel-slide h3,
    .carousel-slide p {
        display: none !important;
    }
    
    .carousel-slide .absolute.bottom-6 {
        display: none !important;
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .carousel-track {
        height: 50vh;
    }
    
    .site-header {
        padding: 0.5rem 0;
    }
    
    .site-main {
        padding: 1rem 0 1.5rem;
    }
}

/* Small phones (< 375px) */
@media (max-width: 374px) {
    .container {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
    
    .site-header .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .logo-main {
        font-size: 0.7rem;
    }
    
    .logo-sub {
        font-size: 0.45rem;
    }
    
    .nav {
        gap: 0.25rem;
    }
    
    .nav a {
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Premium Button Animations - Smooth and Stable */
/* Override all Tailwind scale transforms with smooth translateY */
button,
a[class*="rounded"],
button[type="submit"] {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Override scale with translateY for all buttons */
button:hover,
a[class*="rounded-full"]:hover,
a[class*="rounded-xl"]:hover,
a[class*="rounded-lg"]:hover,
button[type="submit"]:hover {
    transform: translateY(-2px) scale(1) !important;
}

/* Quick press down on click */
button:active,
a[class*="rounded-full"]:active,
a[class*="rounded-xl"]:active,
a[class*="rounded-lg"]:active,
button[type="submit"]:active {
    transform: translateY(0px) scale(1) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

/* Prevent scale on specific button types */
.bg-sky-600:hover,
.bg-slate-900:hover,
.bg-emerald-600:hover {
    transform: translateY(-2px) scale(1) !important;
}

/* Fix shadow artifacts */
button,
a[class*="rounded"],
button[type="submit"] {
    isolation: isolate;
}

/* Fix gradient button shadow artifacts */
.bg-gradient-to-r,
button[class*="gradient"],
a[class*="gradient"] {
    position: relative;
    overflow: hidden;
}

.bg-gradient-to-r::before,
button[class*="gradient"]::before,
a[class*="gradient"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
}
