@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette */
    --neon-lavender: #CBB3EB;
    --electric-purple: #8E5FD0;
    --hot-magenta: #B45AE6;
    --ice-cyan: #46C7D5;
    --soft-glow-white: #F2EEFA;
    --deep-night: #0B0717;
    --mid-night-purple: #160E2B;
    --haze-violet: #3A2558;
    
    /* Typography Scale */
    --h1-size: clamp(2.5rem, 8vw, 4rem);
    --h2-size: clamp(1.625rem, 5vw, 2.125rem);
    --h3-size: clamp(1.375rem, 4vw, 1.75rem);
    --h4-size: clamp(1.125rem, 3vw, 1.375rem);
    --h5-size: clamp(1rem, 2.5vw, 1.25rem);
    --h6-size: 1rem;
    
    --body-size: 1rem;
    --small-size: 0.875rem;
    --xs-size: 0.75rem;
    
    /* Line Height */
    --heading-line-height: 1.05;
    --body-line-height: 1.7;
    --compact-line-height: 1.5;
    
    /* Letter Spacing */
    --heading-letter-spacing: -0.02em;
    --body-letter-spacing: 0;
    --label-letter-spacing: 0.05em;
    
    /* Spacing Units (8px base) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Section Spacing */
    --section-padding-desktop: clamp(4rem, 12vw, 6rem);
    --section-padding-mobile: clamp(3rem, 10vw, 4rem);
    
    /* Max Widths */
    --max-width-container: 80rem;
    --max-width-text: 65ch;
    --max-width-content: 56rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    letter-spacing: var(--body-letter-spacing);
    color: rgba(242, 238, 250, 0.85);
    background: var(--deep-night);
    position: relative;
    z-index: 1;
}

/* Ambient Flux Background — Fixed Layer */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        /* Primary teal glow (top-right area) */
        radial-gradient(
            circle 800px at 70% 20%,
            rgba(70, 199, 213, 0.08) 0%,
            rgba(70, 199, 213, 0.03) 30%,
            transparent 70%
        ),
        /* Secondary purple glow (bottom-left area) */
        radial-gradient(
            circle 600px at 20% 80%,
            rgba(142, 95, 208, 0.06) 0%,
            rgba(142, 95, 208, 0.02) 35%,
            transparent 70%
        ),
        /* Tertiary lavender glow (center-left, subtle) */
        radial-gradient(
            circle 700px at 10% 50%,
            rgba(203, 179, 235, 0.04) 0%,
            transparent 50%
        ),
        /* Base dark color */
        linear-gradient(
            180deg,
            var(--deep-night) 0%,
            var(--deep-night) 100%
        );
    pointer-events: none;
    z-index: 0;
    animation: ambientDrift 25s ease-in-out infinite;
    background-attachment: fixed;
}

/* Subtle drift animation for glows */
@keyframes ambientDrift {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 1;
    }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: var(--heading-line-height);
    letter-spacing: var(--heading-letter-spacing);
    margin: 0;
}

h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--h2-size);
    font-weight: 800;
    margin-bottom: var(--space-md);
    margin-top: var(--space-2xl);
}

h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-xl);
}

h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

h5 {
    font-size: var(--h5-size);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

h6 {
    font-size: var(--h6-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--label-letter-spacing);
    margin-bottom: var(--space-xs);
}

p {
    max-width: var(--max-width-text);
    color: rgba(242, 238, 250, 0.85);
    margin: 0 0 var(--space-md) 0;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    width: 100%;
}

.content {
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.text-block {
    max-width: var(--max-width-text);
}

section {
    padding: var(--section-padding-desktop) var(--space-sm);
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) var(--space-sm);
    }
}

/* Vertical Rhythm Utilities */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.section-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(242, 238, 250, 0.1) 50%,
        transparent 100%
    );
    margin: var(--space-xl) 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.875rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--deep-night), 0 0 0 4px var(--ice-cyan);
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    .btn:hover,
    .btn:active {
        transform: none;
    }
}

.btn-primary {
    background: var(--deep-night);
    color: var(--soft-glow-white);
    border: 1.5px solid var(--ice-cyan);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(70, 199, 213, 0.25),
        inset 0 0 20px rgba(70, 199, 213, 0.05);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(70, 199, 213, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    border-color: var(--ice-cyan);
    box-shadow: 
        0 0 30px rgba(70, 199, 213, 0.35),
        inset 0 0 20px rgba(70, 199, 213, 0.08);
    transform: translateY(-1px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 0 20px rgba(70, 199, 213, 0.25),
        inset 0 0 20px rgba(70, 199, 213, 0.05);
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 
        0 0 30px rgba(70, 199, 213, 0.35),
        inset 0 0 20px rgba(70, 199, 213, 0.08),
        0 0 0 2px var(--deep-night),
        0 0 0 4px var(--ice-cyan);
}

.btn-ghost {
    background: transparent;
    color: var(--soft-glow-white);
    border: 1px solid rgba(242, 238, 250, 0.2);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(242, 238, 250, 0.05);
    border-color: rgba(242, 238, 250, 0.4);
    color: var(--ice-cyan);
}

.card {
    background: rgba(22, 14, 43, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 179, 235, 0.1);
    border-radius: 1.125rem;
    padding: var(--space-lg);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card:hover {
    border-color: rgba(203, 179, 235, 0.2);
    box-shadow: 0 8px 24px rgba(142, 95, 208, 0.12);
    transform: translateY(-2px);
}

.card:focus-visible {
    outline: none;
    border-color: rgba(203, 179, 235, 0.3);
    box-shadow: 0 8px 24px rgba(142, 95, 208, 0.12), 0 0 0 2px var(--deep-night), 0 0 0 4px var(--ice-cyan);
}

.card-elevated {
    background: rgba(22, 14, 43, 0.8);
    border: 1px solid rgba(203, 179, 235, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: var(--space-lg);
}

.card-elevated:hover {
    box-shadow: 0 12px 36px rgba(142, 95, 208, 0.2);
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 7, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(242, 238, 250, 0.05);
}

.nav-link {
    position: relative;
    color: rgba(242, 238, 250, 0.6);
    font-weight: 500;
    transition: color 0.2s ease;
    padding-bottom: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--ice-cyan),
        var(--electric-purple)
    );
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--neon-lavender);
}

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

.nav-link:focus-visible {
    outline: none;
    color: var(--neon-lavender);
}

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

.nav-link.active {
    color: var(--neon-lavender);
    text-shadow: 0 0 8px rgba(203, 179, 235, 0.3);
}

.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 8px rgba(203, 179, 235, 0.3);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-stagger-1 {
    transition-delay: 0.1s;
}

.reveal-stagger-2 {
    transition-delay: 0.2s;
}

.reveal-stagger-3 {
    transition-delay: 0.3s;
}

.no-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
    transition: none !important;
}

.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Text Size Utilities */
.text-sm {
    font-size: var(--small-size);
    line-height: var(--compact-line-height);
}

.text-xs {
    font-size: var(--xs-size);
    line-height: var(--compact-line-height);
}

.text-small-label {
    font-size: var(--xs-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--label-letter-spacing);
    color: rgba(242, 238, 250, 0.6);
}

/* Text Color Utilities */
.text-accent {
    color: var(--ice-cyan);
}

.text-accent-purple {
    color: var(--electric-purple);
}

.text-accent-lavender {
    color: var(--neon-lavender);
}

.glow-text-cyan {
    color: var(--ice-cyan);
    text-shadow: 0 0 12px rgba(70, 199, 213, 0.3);
}

.glow-text-purple {
    color: var(--electric-purple);
    text-shadow: 0 0 12px rgba(142, 95, 208, 0.3);
}

.glow-border-cyan {
    border-color: var(--ice-cyan);
    box-shadow: 0 0 15px rgba(70, 199, 213, 0.3);
}

.glow-border-purple {
    border-color: var(--electric-purple);
    box-shadow: 0 0 15px rgba(142, 95, 208, 0.3);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.px-4 {
    padding: 0 1rem;
}

.px-6 {
    padding: 0 1.5rem;
}

.py-6 {
    padding: 1.5rem 0;
}

.py-8 {
    padding: 2rem 0;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.border {
    border: 1px solid rgba(242, 238, 250, 0.1);
}

.border-t {
    border-top: 1px solid rgba(242, 238, 250, 0.1);
}

.border-b {
    border-bottom: 1px solid rgba(242, 238, 250, 0.1);
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
    
    .card {
        transition: none;
    }
    
    .btn {
        transition: none;
    }
    
    .nav-link {
        transition: none;
    }
    
    .nav-link::after {
        transition: none;
    }
}

.container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-tight {
    letter-spacing: -0.02em;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-tight {
    line-height: 1.25;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-gray-400 {
    color: rgba(242, 238, 250, 0.6);
}

.text-gray-500 {
    color: rgba(242, 238, 250, 0.5);
}

.text-white {
    color: #ffffff;
}

.text-soft-glow {
    color: var(--soft-glow-white);
}

.bg-deep-night {
    background-color: var(--deep-night);
}

.bg-mid-night-purple {
    background-color: var(--mid-night-purple);
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.group:hover .group-hover\:text-ice-cyan {
    color: var(--ice-cyan);
}

.group:hover .group-hover\:border-ice-cyan {
    border-color: var(--ice-cyan);
}

.group:hover .group-hover\:opacity-80 {
    opacity: 0.8;
}

.hover\:opacity-80:hover {
    opacity: 0.8;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

footer {
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, rgba(22, 14, 43, 0.6) 0%, var(--deep-night) 100%);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(203, 179, 235, 0.15);
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(242, 238, 250, 0.5);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: rgba(242, 238, 250, 0.5);
    font-size: 0.875rem;
}

.footer-links a {
    position: relative;
    color: rgba(242, 238, 250, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ice-cyan);
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
    color: var(--soft-glow-white);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:focus-visible {
    outline: none;
    color: var(--soft-glow-white);
}

.footer-links a:focus-visible::after {
    width: 100%;
}

.footer-separator {
    color: rgba(242, 238, 250, 0.3);
    margin: 0 0.25rem;
}

.text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--soft-glow-white);
    text-stroke: 1.5px var(--soft-glow-white);
    paint-order: stroke fill;
}

.fixed-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: flex;
    flex-direction: row-reverse;
    gap: 0.75rem;
    align-items: center;
    pointer-events: none;
}

.fixed-actions > * {
    pointer-events: auto;
}

.sticky-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-width: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: linear-gradient(135deg, var(--electric-purple), var(--ice-cyan));
    border: 1.5px solid rgba(70, 199, 213, 0.5);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(70, 199, 213, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.sticky-cta-pill svg {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
}

.sticky-cta-pill span {
    display: none;
    font-size: 0.7rem;
    font-weight: 600;
}

.sticky-cta-pill:hover {
    width: auto;
    padding: 0.625rem 1rem;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(70, 199, 213, 0.35);
    transform: translateY(-1px);
}

.sticky-cta-pill:hover span {
    display: inline;
}

.sticky-cta-pill:active {
    transform: translateY(0);
    box-shadow: 0 0 20px rgba(70, 199, 213, 0.25);
}

.sticky-cta-pill:focus-visible {
    outline: none;
    box-shadow: 0 0 30px rgba(70, 199, 213, 0.35), 0 0 0 2px var(--deep-night), 0 0 0 4px var(--ice-cyan);
}

.sticky-cta-pill.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .fixed-actions {
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .sticky-cta-pill {
        min-width: 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.7rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    .sticky-cta-pill:hover {
        padding: 0.5rem 0.875rem;
    }
    
    .sticky-cta-pill span {
        font-size: 0.65rem;
    }
}

#backToTop {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(22, 14, 43, 0.8);
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--ice-cyan);
    color: var(--ice-cyan);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(70, 199, 213, 0.2);
}

#backToTop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

#backToTop:hover {
    background: rgba(22, 14, 43, 0.95);
    box-shadow: 0 0 25px rgba(70, 199, 213, 0.35);
    transform: translateY(-2px);
}

#backToTop:focus-visible {
    outline: none;
    box-shadow: 0 0 25px rgba(70, 199, 213, 0.35), 0 0 0 2px var(--deep-night), 0 0 0 4px var(--ice-cyan);
}

#backToTop:active {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(70, 199, 213, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    #backToTop {
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    
    #backToTop:hover,
    #backToTop:active {
        transform: none;
    }
}

@media (max-width: 768px) {
    #backToTop {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1rem;
        min-width: 44px;
        min-height: 44px;
    }
}
