/**
 * @copyright (C) 2024, 299Ko
 * @license https://www.gnu.org/licenses/gpl-3.0.en.html GPLv3
 * @package 299Ko https://github.com/299Ko/299ko
 * @theme Glassmorphism
 */

:root {
    /* Couleurs de base */
    --font-color: #e2e8f0;
    --font-size: 16px;
    --font-family: 'Inter', system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
        "Cantarell", "Noto Sans", sans-serif;
    
    /* Palette sombre */
    --bg-primary: #757575;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #242424;
    --accent-primary: #2d2d2d;
    --accent-secondary: #363636;
    
    /* Effets Glassmorphism */
    --glass-bg: rgba(36, 36, 36, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);
    
    /* Couleurs d'accent */
    --primary-color: #6366f1;
    --primary-hover-color: #818cf8;
    --primary-inverse-color: #fff;
    --success-color: #22c55e;
    --success-hover-color: #16a34a;
    --alert-color: #ef4444;
    --alert-hover-color: #dc2626;
    --warning-color: #f59e0b;
    --warning-hover-color: #d97706;
    
    /* Layout */
    --header-height: 70px;
    --header-bg-color: var(--glass-bg);
    --header-links-color: var(--font-color);
    --header-width-container: 1400px;
    
    --body-width-container: 1200px;
    --background-color: var(--bg-primary);
    
    /* Sections */
    --section-bg-color: var(--glass-bg);
    --section-head-bg-color: rgba(45, 45, 45, 0.7);
    --section-radius: 16px;
    --section-padding: 2rem;
    
    /* Formulaires */
    --form-border-color: var(--glass-border);
    --form-bg-color: var(--glass-bg);
    
    /* Sidebar */
    --sidebar-order: 99;
    --sidebar-min-width: 280px;
    --sidebar-max-width: 320px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    background: var(--bg-primary);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    color: var(--font-color);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    line-height: 1.6;
    min-height: 100vh;
}

/* Layout principal */
#container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease;
}

#header.scroll-down {
    transform: translateY(-100%);
}

#header.scroll-up {
    transform: translateY(0);
    background: rgba(18, 18, 18, 0.95);
}

#header_content {
    max-width: var(--header-width-container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#siteName {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

#siteName a {
    color: var(--font-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

#siteName a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

#siteName a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation */
#navigation {
    display: flex;
    gap: 2rem;
    list-style: none;
    position: relative;
}

#navigation li {
    position: relative;
}

#navigation a {
    color: var(--header-links-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

#navigation a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
}

/* Sous-menus */
#navigation ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--section-radius);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
    list-style: none;
}

#navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#navigation ul li {
    margin: 0;
    list-style: none;
}

#navigation ul a {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
}

#navigation ul a:hover {
    background: var(--accent-primary);
}

/* Menu mobile */
#mobile_menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

#mobile_menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--font-color);
    margin: 5px 0;
    transition: 0.3s;
}

#mobile_menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile_menu.active span:nth-child(2) {
    opacity: 0;
}

#mobile_menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Banner */
#banner {
    margin-top: var(--header-height);
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    position: relative;
    overflow: hidden;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
}

.banner-content {
    max-width: var(--body-width-container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#siteDesc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.9);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Contenu principal */
#body {
    flex: 1;
    padding: 4rem 2rem;
    max-width: var(--body-width-container);
    margin: 0 auto;
    width: 100%;
}

#pageTitle {
    margin-bottom: 3rem;
    text-align: center;
}

#pageTitle h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--font-color);
    position: relative;
    display: inline-block;
}

#pageTitle h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Sections et cartes */
section, article, .card {
    background: var(--section-bg-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--section-radius);
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
    padding: var(--section-padding);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

section::before, article::before, .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

section.visible, article.visible, .card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Formulaires */
input[type=text], input[type=email], input[type=password], 
input[type=url], textarea, input[type=number], select {
    background: var(--form-bg-color);
    border: 1px solid var(--form-border-color);
    border-radius: var(--section-radius);
    padding: 1rem;
    width: 100%;
    margin: 0.5rem 0;
    color: var(--font-color);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Boutons */
.button, button, input[type=submit] {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--section-radius);
    padding: 1rem 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::before, button::before, input[type=submit]::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: 0.5s;
}

.button:hover::before, button:hover::before, input[type=submit]::before {
    left: 100%;
}

.button:hover, button:hover, input[type=submit]:hover {
    background: var(--primary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Footer */
#footer {
    background: var(--header-bg-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 4rem;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

#footer_content {
    max-width: var(--body-width-container);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

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

.footer-links a {
    color: var(--font-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--font-color);
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
    #mobile_menu {
        display: block;
    }

    #navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--header-bg-color);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
        z-index: 999;
    }

    #navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    #navigation ul {
        position: static;
        background: none;
        border: none;
        padding: 0.5rem 0 0.5rem 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    #navigation li:hover > ul {
        transform: none;
    }

    #navigation a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: var(--section-radius);
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
    }

    #navigation ul a {
        background: var(--accent-primary);
        margin: 0.25rem 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .separator {
        display: none;
    }

    #banner {
        padding: 4rem 1rem;
    }

    #body {
        padding: 2rem 1rem;
    }
}

/* Animations */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Effets de survol */
a {
    position: relative;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover-color);
}

/* Messages d'alerte */
.msg {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--section-radius);
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.msg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.msg.success::before {
    background: var(--success-color);
}

.msg.error::before {
    background: var(--alert-color);
}

.msg.warning::before {
    background: var(--warning-color);
} 

/* home.tpl */
/* Sections générales */
.hero, .services, .about, .gallery-teaser, .blog-teaser {
    padding: 3rem 2rem;
    max-width: var(--body-width-container);
    margin: 2rem auto;
    border-radius: var(--section-radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.2) 100%);
    color: var(--font-color);
    padding: 4rem 2rem;
    border-radius: var(--section-radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--section-radius);
}

/* About */
.about {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.2) 100%);
    color: var(--font-color);
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--section-radius);
    position: relative;
    overflow: hidden;
}

.about h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Gallery Teaser */
.gallery-teaser {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: var(--font-color);
    padding: 3rem 2rem;
    border-radius: var(--section-radius);
    position: relative;
    overflow: hidden;
}

.gallery-teaser h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--section-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-teaser .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: var(--primary-inverse-color);
    color: var(--warning-color);
}

.gallery-teaser .btn:hover {
    background: var(--glass-bg);
    color: var(--primary-inverse-color);
}

/* Blog Teaser */
.blog-teaser {
    background: linear-gradient(135deg, rgba(36, 36, 36, 0.1) 0%, rgba(36, 36, 36, 0.2) 100%);
    color: var(--font-color);
    padding: 3rem 2rem;
    border-radius: var(--section-radius);
    position: relative;
    overflow: hidden;
}

.blog-teaser h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-list article {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: var(--section-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.blog-list article:hover {
    transform: translateY(-5px);
}

.blog-list h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-list h3 a {
    color: var(--font-color);
    text-decoration: none;
}

.blog-list h3 a:hover {
    color: var(--primary-color);
}

.blog-list p {
    color: var(--font-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.blog-teaser .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: var(--primary-color);
    color: var(--primary-inverse-color);
}

.blog-teaser .btn:hover {
    background: var(--primary-hover-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .services-grid, .gallery-grid, .blog-list {
        grid-template-columns: 1fr;
    }
}

/* Hero image - contrôle de la hauteur */
.hero-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  /* Galerie - image uniforme carrée ou rectangulaire */
  .gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  /* Icônes dans les services - cohérence SVG */
  .service-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .service-card .card-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  
  .service-card:hover .card-icon {
    transform: scale(1.1);
    color: var(--primary-hover-color);
  }
  
  /* Responsivité */
  @media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-image { margin-top: 20px; }
  }

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--section-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--font-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--primary-inverse-color);
}

.btn-primary:hover {
    background: var(--primary-hover-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--font-color);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
}

.service-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--section-radius);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--section-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Blog */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-list article {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: var(--section-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.blog-list article:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .services-grid, .gallery-grid, .blog-list {
        grid-template-columns: 1fr;
    }
}

/* Tools Navigation */
.tools-nav {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 10px;
    z-index: 100;
    padding: 1rem 0;
}

.tools-nav ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tools-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--font-color);
    text-decoration: none;
    border-radius: var(--section-radius);
    border: 1px solid transparent;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tools-nav a i {
    font-size: 1rem;
}

.tools-nav a:hover {
    background: var(--glass-hover);
    border-color: var(--glass-border);
}

/* Couleurs spécifiques pour chaque section */
.tools-nav a[href="#sauvegarde"]:hover {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.tools-nav a[href="#securite"]:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.tools-nav a[href="#mobile"]:hover {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.tools-nav a[href="#web"]:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.tools-nav a[href="#complementaires"]:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
}

/* Effet de rappel dans les sections */
.tools[id="sauvegarde"] {
    border-left: 4px solid #22c55e;
}

.tools[id="securite"] {
    border-left: 4px solid #f59e0b;
}

.tools[id="mobile"] {
    border-left: 4px solid #8b5cf6;
}

.tools[id="web"] {
    border-left: 4px solid #6366f1;
}

.tools[id="complementaires"] {
    border-left: 4px solid #ec4899;
}

/* Titres des sections avec la couleur correspondante */
.tools[id="sauvegarde"] h2 {
    color: #22c55e;
}

.tools[id="securite"] h2 {
    color: #f59e0b;
}

.tools[id="mobile"] h2 {
    color: #8b5cf6;
}

.tools[id="web"] h2 {
    color: #6366f1;
}

.tools[id="complementaires"] h2 {
    color: #ec4899;
}

/* Responsive */
@media (max-width: 768px) {
    .tools-nav {
        position: relative;
        top: 0;
        margin: 1rem;
        padding: 1rem;
    }

    .tools-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tools-nav a {
        display: block;
        text-align: center;
        padding: 1rem;
    }
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.tool-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--section-radius);
    padding: 1.5rem;
    text-align: center;
}

.tool-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
}

.tool-card:hover .card-icon img {
    filter: grayscale(0%) brightness(1);
}

.tool-card h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--font-color);
}

.tool-card p {
    color: var(--font-color);
    opacity: 0.8;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.tool-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.tool-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.tool-links a:hover {
    color: var(--primary-hover-color);
}

/* donate.tpl */
/* donate.tpl */

/* Steps */
.steps {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .steps h2 {
    text-align: center;
    margin-bottom: 40px;
  }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  .steps .card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--section-radius);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.5rem;
    text-align: center;
  }
  .steps .card h3 {
    margin-bottom: 1rem;
    color: var(--primary-inverse-color);
  }
  .steps .card p {
    color: var(--font-color);
    font-size: 0.95rem;
  }
  
  /* About section */
  .about {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto 40px;
  }
  .about h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  .about ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: var(--font-color);
  }
  .about li {
    margin-bottom: 0.75rem;
  }
  
  /* CTA */
  .cta {
    padding: 60px 20px;
    text-align: center;
    background: var(--accent-secondary);
    color: var(--primary-inverse-color);
  }
  .cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
  }
  