/* ================================
   1. VARIABLES AND MODERN DESIGN TOKENS
   ================================= */
:root {
    /* High-End Futuristic Palette */
    --clr-cyan: #00f2ff;
    --clr-magenta: #ff00ea;
    --clr-gold: #ffcc00;
    --clr-lime: #00ff88;
    --clr-electric: #3d5afe;
    --clr-royal: #6366f1;

    --primary: var(--clr-cyan);
    --primary-alt: var(--clr-royal);
    --secondary: var(--clr-magenta);
    --accent: var(--clr-gold);

    --bg-base: #030712;
    --bg-surface: rgba(17, 24, 39, 0.5);
    --bg-surface-elevated: rgba(31, 41, 55, 0.7);
    --bg-card: rgba(17, 24, 39, 0.8);
    
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-glow: rgba(0, 242, 255, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-pill: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 242, 255, 0.3);

    --transition-premium: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.8);
    --bg-surface-elevated: #ffffff;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 242, 255, 0.1);
}

[data-contrast="high"] {
    --bg-base: #000000;
    --bg-surface: #000000;
    --bg-card: #000000;
    --text-main: #ffffff;
    --text-muted: #ffffff;
    --primary: #ffff00;
    --secondary: #00ff00;
    --glass-border: #ffffff;
}

/* ================================
   2. GLOBAL MESH BACKGROUND & ANIMATIONS
   ================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

#canvas-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, #0c1222 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, #1e1b4b 0%, transparent 50%);
}

.mesh-glow {
    position: fixed;
    width: 60vmax;
    height: 60vmax;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: translate(-10%, -10%) scale(1); opacity: 0.1; }
    100% { transform: translate(10%, 10%) scale(1.2); opacity: 0.2; }
}

/* ================================
   3. HEADER & NAVIGATION (Glassmorphism)
   ================================= */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 1rem;
    z-index: 2000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}

.skip-to-content:focus {
    top: 0;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0; /* Taller initial header */
    transition: all var(--transition-fast);
    background: transparent;
}

.sticky-header.scrolled {
    background: rgba(3, 7, 18, 0.95) !important; /* Darker for better visibility */
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary); /* Glowing line */
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem; /* More horizontal padding */
}

.logo img {
    height: 70px; /* Bigger logo as requested */
    width: auto;
    transition: transform 0.3s ease;
}

.accessibility-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.a11y-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    width: 48px; /* Slightly larger for visibility */
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
}

.a11y-btn:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-4px) scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.a11y-btn.active {
    background: var(--primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 300px;
        background: rgba(3, 7, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: 2px solid var(--primary);
    }
    
    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex !important;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--text-main);
        cursor: pointer;
        z-index: 1001;
    }
}

.menu-toggle {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    position: relative;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

@media (max-width: 992px) {
    .nav-links a { font-size: 1.5rem; }
}

/* ================================
   4. HERO SECTION
   ================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    padding: 0 2rem;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-royal), var(--clr-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-royal));
    color: #000 !important;
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 242, 255, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-main) !important;
}

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--primary);
}

/* ================================
   5. FEATURE GRID & INTERACTIVE CARDS
   ================================= */
.features-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

/* ================================
   6. ABOUT SECTION (Centered Version)
   ================================= */
.about-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.about-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text {
    width: 100%;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-text .hero-subtitle {
    margin: 0 auto 2.5rem;
    font-size: 1.5rem;
}

.about-text p {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.small-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* THE NEW INTERACTIVE CARD */
.small-feature-card {
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-premium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.small-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.small-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border-glow);
    box-shadow: var(--shadow-glow);
}

.small-feature-card:hover::before {
    opacity: 0.05;
}

.small-feature-card.active {
    background: var(--bg-surface-elevated);
    border-color: var(--primary);
    transform: scale(1.02);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-fast);
}

.small-feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.small-feature-card h3 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

/* Feature Description (Initially hidden) */
.feature-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0;
}

.small-feature-card.active .feature-description {
    max-height: 150px;
    opacity: 1;
    margin-top: 1rem;
}

/* Stagger Item Categories */
.small-feature-card:nth-child(4n+1) .feature-icon { color: var(--clr-cyan); }
.small-feature-card:nth-child(4n+2) .feature-icon { color: var(--clr-magenta); }
.small-feature-card:nth-child(4n+3) .feature-icon { color: var(--clr-gold); }
.small-feature-card:nth-child(4n+4) .feature-icon { color: var(--clr-lime); }

/* ================================
   6. DOWNLOAD SECTION (PREMIUM)
   ================================= */
.download-section {
    padding: 150px 0;
    position: relative;
}

.premium-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content {
    flex: 1;
}

.banner-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.banner-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #000;
    border: 8px solid #1f2937;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
}

.phone-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle at top, #312e81, #000);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 4rem;
}

/* ================================
   7. APPS GRID & BENTO LAYOUT
   ================================= */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.app-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-img {
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.placeholder-icon.blue { color: var(--clr-electric); background: rgba(61, 90, 254, 0.1); }

.bento-wide {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .bento-wide { grid-column: span 1; }
}

/* ================================
   8. BENTO CONTACT GRID
   ================================= */
.bento-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 992px) {
    .bento-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-fast);
}

.bento-item:hover {
    border-color: var(--primary);
    background: var(--bg-surface-elevated);
}

.contact-info i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.pill {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pill:hover {
    background: var(--primary);
    color: #000;
    transform: scale(1.05);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modern-form input, 
.modern-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
}

.modern-form input:focus, 
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
}

/* ================================
   7. FOOTER & MISC
   ================================= */
footer {
    padding: 100px 0 50px;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 40px;
}

.footer-brand h4 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-links h5 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--text-muted); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--transition-premium);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    .premium-banner {
        flex-direction: column;
        padding: 3rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar { padding: 0 1rem; }
    .nav-links { display: none; }
    .hero h1 { font-size: 3.5rem; }
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Final Responsive Tweaks */
@media (max-width: 1024px) {
    .premium-banner {
        flex-direction: column;
        padding: 4rem 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .sticky-header { padding: 1rem 0; }
    .logo img { height: 50px; }
    .navbar { padding: 0 1.5rem; }
    .hero h1 { font-size: 3.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .about-text h2 { font-size: 2.2rem; }
    .about-text .hero-subtitle { font-size: 1.2rem; }
    .about-text p { font-size: 1.1rem; }
    .form-row { grid-template-columns: 1fr; }
    .bento-item { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .action-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .btn { width: 100%; justify-content: center; padding: 1rem; }
}

/* ================================
   9. COMMUNITY SECTION
   ================================= */
.community-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.community-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--shadow-glow);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

.community-card.telegram .card-icon { color: #0088cc; filter: drop-shadow(0 0 10px #0088cc); }
.community-card.youtube .card-icon { color: #ff0000; filter: drop-shadow(0 0 10px #ff0000); }
.community-card.whatsapp .card-icon { color: #25d366; filter: drop-shadow(0 0 10px #25d366); }

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.community-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.community-btn {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.community-btn:hover {
    gap: 1rem;
    text-shadow: 0 0 10px var(--primary);
}

.community-card.wide {
    grid-column: span 3;
    background: linear-gradient(90deg, rgba(0,243,255,0.05) 0%, rgba(255,0,255,0.05) 100%);
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 4rem;
}

.contribution-content {
    max-width: 600px;
}

.contribution-content h3 { font-size: 2.2rem; }

@media (max-width: 992px) {
    .community-grid { grid-template-columns: 1fr; }
    .community-card.wide { grid-column: span 1; flex-direction: column; text-align: center; padding: 3rem 2rem; }
}


.community-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}


/* Contact Form Polish */
.modern-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
    width: 100%;
}

.modern-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 5px;
}

.modern-form input, 
.modern-form textarea,
.modern-form select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md);
    padding: 1.2rem;
    color: #fff !important;
    width: 100%;
    transition: all 0.3s;
}

.modern-form input:focus, 
.modern-form textarea:focus,
.modern-form select:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    outline: none;
}


/* Advanced Accessibility Modes */
body.high-contrast {
    background: #000 !important;
    color: #ffff00 !important;
}

body.high-contrast * {
    background-color: #000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.high-contrast a, 
body.high-contrast button {
    outline: 3px solid #ffff00 !important;
    background: #000 !important;
}

body.grayscale {
    filter: grayscale(100%) !important;
}

html.font-size-lg { font-size: 120%; }
html.font-size-xl { font-size: 140%; }


/* Feature Grid Toggle States */
.small-features-grid.is-collapsed {
    max-height: 800px;
    overflow: hidden;
    position: relative;
}

.small-features-grid.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, var(--bg-dark));
    pointer-events: none;
}

.features-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

