/* ========================================
   INVERSE LANDING PAGE ANIMATIONS
   Scroll-triggered animations
   ======================================== */

/* ---------- Keyframes Definitions ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 85, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 85, 255, 0.6);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---------- Typewriter Animation ---------- */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.typewriter-cursor {
    display: inline-block;
    font-weight: 300;
    color: #4300bf;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.typewriter-text {
    display: inline-block;
    min-width: 0;
    text-align: left;
    vertical-align: bottom;
}

/* Stop animations for typewriter */
.stop-animations .typewriter-cursor {
    animation: none !important;
    opacity: 0 !important;
}

/* ---------- Base Animation Classes ---------- */
.animate-fade-in {
    opacity: 0;
}

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

.animate-fade-in-up {
    opacity: 0;
}

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

.animate-fade-in-down {
    opacity: 0;
}

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

.animate-fade-in-left {
    opacity: 0;
}

.animate-fade-in-left.animate-visible {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    opacity: 0;
}

.animate-fade-in-right.animate-visible {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    opacity: 0;
}

.animate-scale-in.animate-visible {
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-bounce-in {
    opacity: 0;
}

.animate-bounce-in.animate-visible {
    animation: bounceIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
}

.animate-slide-up.animate-visible {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-zoom-in {
    opacity: 0;
}

.animate-zoom-in.animate-visible {
    animation: zoomIn 0.6s ease-out forwards;
}

/* ---------- Staggered Delays ---------- */
.delay-100 { animation-delay: 0.1s !important; }
.delay-200 { animation-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.3s !important; }
.delay-400 { animation-delay: 0.4s !important; }
.delay-500 { animation-delay: 0.5s !important; }
.delay-600 { animation-delay: 0.6s !important; }
.delay-700 { animation-delay: 0.7s !important; }
.delay-800 { animation-delay: 0.8s !important; }
.delay-900 { animation-delay: 0.9s !important; }
.delay-1000 { animation-delay: 1s !important; }

/* ---------- Navigation ---------- */
nav {
    animation: fadeInDown 0.8s ease-out forwards;
}

/* ---------- Continuous Animations ---------- */
.pulse-continuous {
    animation: pulse 2s ease-in-out infinite;
}

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

.shimmer-continuous {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

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

/* ---------- Hover Effects ---------- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hover-glow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 1 !important;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 85, 255, 0.4), 0 0 60px rgba(119, 1, 208, 0.2);
    transform: scale(1.02);
}

/* ========================================
   ACCESSIBILITY WIDGET STYLES
   ======================================== */

/* ---------- Accessibility Button ---------- */
.a11y-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055ff 0%, #7701d0 100%);
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 85, 255, 0.4);
    transition: all 0.3s ease;
}

.a11y-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 85, 255, 0.5);
}

.a11y-button:focus {
    outline: 3px solid #0055ff;
    outline-offset: 3px;
}

.a11y-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.a11y-button.active {
    background: linear-gradient(135deg, #7701d0 0%, #0055ff 100%);
}

/* ---------- Accessibility Panel ---------- */
.a11y-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 320px;
    max-width: calc(100vw - 48px);
    max-height: 80vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.a11y-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.a11y-panel-header {
    background: linear-gradient(135deg, #0055ff 0%, #7701d0 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a11y-panel-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.a11y-panel-header h3 svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.a11y-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.a11y-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.a11y-close svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.a11y-panel-body {
    padding: 16px;
    max-height: 60vh;
    overflow-y: auto;
}

/* ---------- Accessibility Controls ---------- */
.a11y-control {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.a11y-control:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.a11y-control-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #191b25;
    margin-bottom: 10px;
}

.a11y-control-label svg {
    width: 20px;
    height: 20px;
    fill: #0055ff;
}

.a11y-toggle-group {
    display: flex;
    gap: 8px;
}

.a11y-toggle-btn {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.a11y-toggle-btn:hover {
    border-color: #0055ff;
    background: #f0f4ff;
}

.a11y-toggle-btn.active {
    background: #0055ff;
    border-color: #0055ff;
    color: white;
}

.a11y-toggle-btn:focus {
    outline: 3px solid rgba(0, 85, 255, 0.3);
    outline-offset: 2px;
}

.a11y-toggle-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ---------- Font Size Controls ---------- */
.a11y-font-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.a11y-font-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-font-btn:hover {
    border-color: #0055ff;
    background: #f0f4ff;
}

.a11y-font-btn:focus {
    outline: 3px solid rgba(0, 85, 255, 0.3);
    outline-offset: 2px;
}

.a11y-font-display {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #191b25;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
}

/* ---------- Reset Button ---------- */
.a11y-reset {
    width: 100%;
    padding: 14px;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.a11y-reset:hover {
    background: #e2e8f0;
    color: #191b25;
}

.a11y-reset:focus {
    outline: 3px solid rgba(0, 85, 255, 0.3);
    outline-offset: 2px;
}

.a11y-reset svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ========================================
   ACCESSIBILITY MODES
   ======================================== */

/* ---------- Dark Mode ---------- */
.dark-mode {
    background-color: #0a0f1a !important;
    color: #ffffff !important;
}

.dark-mode .bg-white {
    background-color: #12182a !important;
}

.dark-mode .bg-background {
    background-color: #0a0f1a !important;
}

.dark-mode .bg-surface-container-low {
    background-color: #141c30 !important;
}

.dark-mode .bg-surface-container {
    background-color: #1a2338 !important;
}

.dark-mode .bg-surface-container-high {
    background-color: #141c30 !important;
}

.dark-mode .bg-surface-container-highest {
    background-color: #1a2338 !important;
}

.dark-mode .bg-primary-container\/20 {
    background-color: rgba(0, 191, 165, 0.08) !important;
}

.dark-mode .text-on-surface {
    color: #ffffff !important;
}

.dark-mode .text-on-surface-variant {
    color: #a0aec0 !important;
}

.dark-mode .text-primary {
    color: #00bfa5 !important;
}

.dark-mode .text-secondary {
    color: #8b5cf6 !important;
}

.dark-mode nav {
    background-color: rgba(10, 15, 26, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px);
}

.dark-mode .border-outline-variant\/30 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .border-black\/5 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .shadow-lg,
.dark-mode .shadow-sm,
.dark-mode .shadow-md {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.dark-mode .gradient-bg {
    background: linear-gradient(135deg, #00bfa5 0%, #8b5cf6 100%) !important;
}

.dark-mode .gradient-text {
    background: linear-gradient(135deg, #00bfa5 0%, #8b5cf6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.dark-mode .bg-primary\/10 {
    background-color: rgba(0, 191, 165, 0.1) !important;
}

.dark-mode .bg-secondary\/10 {
    background-color: rgba(139, 92, 246, 0.1) !important;
}

.dark-mode .bg-gradient-to-r {
    background-image: none !important;
}

.dark-mode .from-primary-container\/20 {
    background: linear-gradient(180deg, rgba(0, 191, 165, 0.08) 0%, transparent 100%) !important;
}

.dark-mode img {
    filter: brightness(1);
}

.dark-mode .a11y-panel {
    background: #141c30;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .a11y-control-label {
    color: #ffffff;
}

.dark-mode .a11y-control-label svg {
    fill: #00bfa5;
}

.dark-mode .a11y-toggle-btn {
    background: #1a2338;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.dark-mode .a11y-toggle-btn:hover {
    border-color: #00bfa5;
    background: #1e2940;
}

.dark-mode .a11y-toggle-btn.active {
    background: linear-gradient(135deg, #00bfa5 0%, #8b5cf6 100%);
    border-color: transparent;
    color: white;
}

.dark-mode .a11y-font-btn {
    background: #1a2338;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.dark-mode .a11y-font-btn:hover {
    border-color: #00bfa5;
}

.dark-mode .a11y-font-display {
    background: #1a2338;
    color: #ffffff;
}

.dark-mode .a11y-reset {
    background: #1a2338;
    color: #ffffff;
}

.dark-mode .a11y-reset:hover {
    background: #1e2940;
}

.dark-mode .a11y-control {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Dark mode for cards */
.dark-mode .hover-lift {
    background-color: #141c30 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .hover-lift:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(0, 191, 165, 0.3) !important;
}

/* Dark mode for buttons */
.dark-mode button:not(.a11y-toggle-btn):not(.a11y-font-btn):not(.a11y-reset):not(.a11y-button):not(.a11y-close) {
    border-color: transparent !important;
}

/* Dark mode for form inputs */
.dark-mode input,
.dark-mode textarea {
    background-color: #1a2338 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
    color: #6b7280 !important;
}

.dark-mode input:focus,
.dark-mode textarea:focus {
    border-color: #00bfa5 !important;
    outline: none;
}

/* Dark mode for mobile menu */
.dark-mode #mobile-menu {
    background-color: #0a0f1a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Dark mode footer */
.dark-mode footer {
    background-color: #080c14 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Dark mode for contact form */
.dark-mode section form {
    background-color: #141c30 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode section form input,
.dark-mode section form textarea {
    background-color: #1a2338 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.dark-mode section form input::placeholder,
.dark-mode section form textarea::placeholder {
    color: #6b7280 !important;
}

.dark-mode section form label {
    color: #ffffff !important;
}

.dark-mode section form input:focus,
.dark-mode section form textarea:focus {
    border-color: #00bfa5 !important;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.2) !important;
}

/* Dark mode for contact section background */
.dark-mode .bg-gradient-to-b.from-surface-container-low {
    background: linear-gradient(180deg, #141c30 0%, #0a0f1a 100%) !important;
}

/* ---------- High Contrast Mode ---------- */
.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.high-contrast .bg-white,
.high-contrast .bg-background,
.high-contrast .bg-surface-container-low,
.high-contrast .bg-surface-container,
.high-contrast .bg-surface-container-high,
.high-contrast .bg-surface-container-highest {
    background-color: #000000 !important;
}

.high-contrast .text-on-surface,
.high-contrast .text-on-surface-variant {
    color: #ffffff !important;
}

/* High contrast links */
.high-contrast a:not(.gradient-text):not(nav a):not(footer a) {
    color: #ffff00 !important;
    text-decoration: underline !important;
    background-color: transparent !important;
}

.high-contrast a:not(.gradient-text):hover {
    color: #00ffff !important;
}

/* High contrast navigation links */
.high-contrast nav a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.high-contrast nav a:hover {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

/* High contrast footer links */
.high-contrast footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.high-contrast footer a:hover {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

/* High contrast buttons */
.high-contrast button:not(.gradient-bg):not(.a11y-toggle-btn):not(.a11y-font-btn):not(.a11y-reset):not(.a11y-button):not(.a11y-close) {
    color: #000000 !important;
    background-color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
    text-decoration: none !important;
}

.high-contrast button:not(.gradient-bg):not(.a11y-toggle-btn):not(.a11y-font-btn):not(.a11y-reset):not(.a11y-button):not(.a11y-close):hover {
    background-color: #00ffff !important;
    border-color: #00ffff !important;
}

/* High contrast gradient text - yellow with no underline */
.high-contrast .gradient-text {
    background: transparent !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffff00 !important;
    color: #ffff00 !important;
    text-decoration: none !important;
}

/* High contrast gradient backgrounds */
.high-contrast .gradient-bg {
    background: #ffff00 !important;
    color: #000000 !important;
    text-decoration: none !important;
}

.high-contrast .gradient-bg:hover {
    background: #00ffff !important;
    color: #000000 !important;
}

/* High contrast borders */
.high-contrast .border-outline-variant\/30,
.high-contrast .border-black\/5 {
    border-color: #ffffff !important;
}

.high-contrast nav {
    background-color: #000000 !important;
    border-bottom: 3px solid #ffffff !important;
}

/* High contrast for primary and secondary text colors */
.high-contrast .text-primary {
    color: #ffff00 !important;
}

.high-contrast .text-secondary {
    color: #00ffff !important;
}

/* High contrast backgrounds */
.high-contrast .bg-primary\/10,
.high-contrast .bg-secondary\/10,
.high-contrast .bg-primary-container\/20,
.high-contrast .from-primary-container\/20,
.high-contrast .bg-gradient-to-r {
    background-color: transparent !important;
    background-image: none !important;
}

/* High contrast shadows */
.high-contrast .shadow-lg,
.high-contrast .shadow-sm,
.high-contrast .shadow-md,
.high-contrast .hover-lift:hover {
    box-shadow: none !important;
}

/* High contrast images */
.high-contrast img {
    filter: contrast(1.3);
}

/* High contrast form inputs */
.high-contrast input,
.high-contrast textarea {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast input::placeholder,
.high-contrast textarea::placeholder {
    color: #ffffff !important;
}

/* High contrast mobile menu */
.high-contrast #mobile-menu {
    background-color: #000000 !important;
}

/* High contrast footer */
.high-contrast footer {
    background-color: #000000 !important;
    border-top: 3px solid #ffffff !important;
}

/* High contrast accessibility panel */
.high-contrast .a11y-panel {
    background-color: #000000 !important;
    border: 3px solid #ffffff !important;
}

.high-contrast .a11y-panel-header {
    background-color: #000000 !important;
    border-bottom: 2px solid #ffffff !important;
}

.high-contrast .a11y-panel-header h3 {
    color: #ffff00 !important;
}

.high-contrast .a11y-panel-header h3 svg {
    fill: #ffff00 !important;
}

.high-contrast .a11y-close {
    background-color: transparent !important;
}

.high-contrast .a11y-close svg {
    fill: #ffffff !important;
}

.high-contrast .a11y-close:hover svg {
    fill: #ffff00 !important;
}

.high-contrast .a11y-control-label {
    color: #ffffff !important;
}

.high-contrast .a11y-control-label svg {
    fill: #ffff00 !important;
}

.high-contrast .a11y-toggle-btn {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .a11y-toggle-btn:hover {
    border-color: #ffff00 !important;
    color: #ffff00 !important;
}

.high-contrast .a11y-toggle-btn.active {
    background-color: #ffff00 !important;
    border-color: #ffff00 !important;
    color: #000000 !important;
}

.high-contrast .a11y-toggle-btn.active svg {
    fill: #000000 !important;
}

.high-contrast .a11y-font-btn {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .a11y-font-btn:hover {
    border-color: #ffff00 !important;
    color: #ffff00 !important;
}

.high-contrast .a11y-font-display {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .a11y-reset {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .a11y-reset:hover {
    border-color: #ffff00 !important;
    color: #ffff00 !important;
}

.high-contrast .a11y-reset svg {
    fill: currentColor !important;
}

.high-contrast .a11y-control {
    border-color: #ffffff !important;
}

.high-contrast .a11y-button {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
}

.high-contrast .a11y-button svg {
    fill: #ffffff !important;
}

.high-contrast .a11y-button:hover {
    border-color: #ffff00 !important;
}

.high-contrast .a11y-button:hover svg {
    fill: #ffff00 !important;
}

/* ---------- Font Size Adjustments ---------- */
.font-size-small {
    font-size: 14px !important;
}

.font-size-normal {
    font-size: 16px !important;
}

.font-size-large {
    font-size: 18px !important;
}

.font-size-xlarge {
    font-size: 20px !important;
}

.font-size-xxlarge {
    font-size: 24px !important;
}

/* ---------- Letter Spacing ---------- */
.letter-spacing-wide {
    letter-spacing: 0.12em !important;
}

.letter-spacing-wider {
    letter-spacing: 0.25em !important;
}

/* ---------- Line Height ---------- */
.line-height-relaxed {
    line-height: 1.8 !important;
}

.line-height-loose {
    line-height: 2 !important;
}

/* ---------- Dyslexia Font ---------- */
.dyslexia-font {
    font-family: 'OpenDyslexic', 'Comic Sans MS', cursive, sans-serif !important;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
}

/* ---------- Stop Animations ---------- */
.stop-animations *,
.stop-animations *::before,
.stop-animations *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* ---------- Highlight Links ---------- */
.highlight-links main a:not(nav a) {
    background-color: #ffff00 !important;
    color: #000000 !important;
    text-decoration: underline !important;
    padding: 2px 4px !important;
    border-radius: 2px !important;
}

.highlight-links main a:not(nav a):hover {
    background-color: #00ffff !important;
}

/* ---------- Readable Font ---------- */
.readable-font {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-style: normal !important;
    text-decoration: none !important;
}

/* ---------- Big Cursor ---------- */
.big-cursor {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2l12 11.2-5.8.5 3.3 7.3-2.2 1-3.5-7.4L7 18.5V2z'/%3E%3C/svg%3E"), auto !important;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
