        /* Code Section */
        .code-section {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(125, 206, 46, 0.15);
            margin-bottom: 32px;
        }

        .code-header {
            background: linear-gradient(135deg, #065F46, #1a5f3f);
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .code-title {
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .code-language {
            background: rgba(125, 206, 46, 0.3);
            color: #7dce2e;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .copy-button {
            background: rgba(125, 206, 46, 0.2);
            border: 2px solid rgba(125, 206, 46, 0.3);
            color: white;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .copy-button:hover {
            background: rgba(125, 206, 46, 0.3);
            border-color: #7dce2e;
        }

        .copy-button.copied {
            background: #7dce2e;
            color: #065F46;
            border-color: #7dce2e;
        }

        .code-content {
            background: #1a1a1a;
            padding: 24px;
            overflow-x: auto;
        }

        .code-block {
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.9rem;
            line-height: 1.6;
            color: #e5e5e5;
            margin: 0;
            white-space: pre;
        }

        /* Syntax Highlighting */
        .keyword {
            color: #7dce2e;
            font-weight: 600;
        }

        .function {
            color: #4ADE80;
        }

        .string {
            color: #fbbf24;
        }

        .comment {
            color: #6B7280;
            font-style: italic;
        }

        .number {
            color: #f76516;
        }

        .operator {
            color: #ea3112;
        }

        /* Code Footer (Optional) */
        .code-footer {
            background: #f9fafb;
            padding: 12px 24px;
            border-top: 1px solid rgba(125, 206, 46, 0.2);
            font-size: 0.875rem;
            color: #4a9a6a;
        }

        /* Scrollbar for code */
        .code-content::-webkit-scrollbar {
            height: 8px;
        }

        .code-content::-webkit-scrollbar-track {
            background: #2a2a2a;
        }

        .code-content::-webkit-scrollbar-thumb {
            background: #7dce2e;
            border-radius: 4px;
        }

        .code-content::-webkit-scrollbar-thumb:hover {
            background: #4ADE80;
        }

        /* Multiple Code Blocks */
        .code-tabs {
            background: #065F46;
            padding: 12px 24px 0 24px;
            display: flex;
            gap: 8px;
        }

        .code-tab {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: rgba(255, 255, 255, 0.7);
            padding: 8px 16px;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .code-tab:hover {
            background: rgba(255, 255, 255, 0.15);
            color: white;
        }

        .code-tab.active {
            background: #1a1a1a;
            color: #7dce2e;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Tablets y pantallas medianas */
@media (max-width: 968px) {
    .code-section {
        margin-bottom: 24px;
    }

    .code-header {
        padding: 14px 20px;
    }

    .code-title {
        font-size: 0.9rem;
        gap: 6px;
    }

    .code-language {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .copy-button {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .code-content {
        padding: 20px;
    }

    .code-block {
        font-size: 0.85rem;
    }

    .code-footer {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .code-tabs {
        padding: 10px 20px 0 20px;
        gap: 6px;
    }

    .code-tab {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .code-section {
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .code-header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .code-title {
        font-size: 0.85rem;
        flex: 1 1 100%;
        gap: 6px;
    }

    .code-language {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .copy-button {
        padding: 6px 12px;
        font-size: 0.75rem;
        flex: 1;
    }

    .code-content {
        padding: 16px;
    }

    .code-block {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .code-footer {
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .code-tabs {
        padding: 8px 16px 0 16px;
        gap: 4px;
        /* Ocultar scrollbar pero permitir scroll */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .code-tabs::-webkit-scrollbar {
        display: none;
    }

    .code-tab {
        padding: 6px 12px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .code-section {
        border-radius: 6px;
        margin-bottom: 16px;
    }

    .code-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .code-title {
        font-size: 0.8rem;
    }

    .code-title span:first-child {
        font-size: 1rem;
    }

    .code-language {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .copy-button {
        padding: 5px 10px;
        font-size: 0.7rem;
        border-width: 1px;
    }

    .code-content {
        padding: 12px;
    }

    .code-block {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .code-footer {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .code-tabs {
        padding: 6px 12px 0 12px;
        gap: 3px;
    }

    .code-tab {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    /* Ajustar scrollbar del código en móviles */
    .code-content::-webkit-scrollbar {
        height: 6px;
    }
}

/* Móviles extra pequeños */
@media (max-width: 360px) {
    .code-title {
        font-size: 0.75rem;
    }

    .code-block {
        font-size: 0.7rem;
    }

    .copy-button {
        font-size: 0.65rem;
        padding: 4px 8px;
    }

    .code-tab {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

        /* ==== IMAGE SECTION ==== */
.image-section {
    padding: 32px 0;
    margin: 24px 0;
}

.image-title {
    font-size: 20px;
    font-weight: 600;
    color: #065F46;
    margin-bottom: 20px;
    text-align: center;
}

.image-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(125, 206, 46, 0.15);
    margin-bottom: 16px;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.image-caption {
    font-size: 15px;
    color: #4a9a6a;
    text-align: center;
    line-height: 1.6;
    font-style: italic;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .image-section {
        padding: 24px 0;
    }
    
    .image-title {
        font-size: 18px;
    }
    
    .image-container {
        padding: 16px;
    }
    
    .image-caption {
        font-size: 14px;
    }
}


/* ==== EQUATION SECTION ==== */
.equation-section {
    padding: 32px 0;
    margin: 24px 0;
}

.equation-title {
    font-size: 20px;
    font-weight: 600;
    color: #065F46;
    margin-bottom: 24px;
}

.equation-card {
    background: white;
    border-left: 4px solid #7dce2e;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(125, 206, 46, 0.1);
}

.equation-number {
    display: inline-block;
    background: rgba(125, 206, 46, 0.2);
    color: #065F46;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.equation-formula {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 22px;
    color: #1a5f3f;
    text-align: center;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 8px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.equation-description {
    font-size: 15px;
    color: #4a9a6a;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .equation-section {
        padding: 24px 0;
    }
    
    .equation-title {
        font-size: 18px;
    }
    
    .equation-card {
        padding: 20px 16px;
    }
    
    .equation-formula {
        font-size: 18px;
        padding: 16px;
    }
    
    .equation-description {
        font-size: 14px;
    }
}

/* ==== DECORATIVE SEPARATOR ==== */
.toolkit-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 48px 0;
    padding: 0 40px;
}

.separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(125, 206, 46, 0.3) 20%, 
        rgba(125, 206, 46, 0.6) 50%, 
        rgba(125, 206, 46, 0.3) 80%, 
        transparent
    );
}

.separator-icon {
    font-size: 28px;
    background: white;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(125, 206, 46, 0.25);
    border: 3px solid #7dce2e;
}

.separator-text {
    font-size: 14px;
    font-weight: 700;
    color: #065F46;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 24px;
    background: white;
    border-radius: 24px;
    border: 2px solid #7dce2e;
    box-shadow: 0 2px 12px rgba(125, 206, 46, 0.15);
}

@media (max-width: 768px) {
    .toolkit-separator {
        margin: 32px 0;
        padding: 0 20px;
        gap: 12px;
    }
    
    .separator-icon {
        font-size: 24px;
        width: 48px;
        height: 48px;
    }
    
    .separator-text {
        font-size: 12px;
        padding: 10px 20px;
        letter-spacing: 1.5px;
    }
}

/* Variante minimalista */
.toolkit-separator.minimal {
    margin: 32px 0;
}

.toolkit-separator.minimal .separator-line {
    background: rgba(125, 206, 46, 0.3);
    height: 1px;
}

.toolkit-separator.minimal .separator-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    box-shadow: none;
    border-width: 2px;
}

/* Variante con patrón de puntos */
.toolkit-separator.dotted .separator-line {
    background: repeating-linear-gradient(
        to right,
        #7dce2e 0px,
        #7dce2e 4px,
        transparent 4px,
        transparent 12px
    );
    height: 3px;
}

/* ==== SIMPLE BULLETS WITH ICONS ==== */
.simple-bullets-section {
    padding: 32px 0;
    margin: 24px 0;
}

.simple-bullets-title {
    font-size: 24px;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 24px;
}

.simple-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #1a5f3f;
}

.bullet-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.simple-bullet-item strong {
    color: #065F46;
    font-weight: 600;
}

@media (max-width: 768px) {
    .simple-bullets-title {
        font-size: 20px;
    }
    
    .simple-bullet-item {
        font-size: 14px;
        gap: 12px;
    }
    
    .bullet-icon {
        width: 28px;
        height: 28px;
    }
}


/* ==== TOOLKIT TEXT CONTENT STYLES ==== */

.toolkit-text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* Headings */
.toolkit-h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #065F46;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.toolkit-h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #065F46;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgba(125, 206, 46, 0.3);
}

.toolkit-h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a5f3f;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.toolkit-h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a5f3f;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Paragraphs */
.toolkit-p {
    font-size: 1rem;
    line-height: 1.8;
    color: #1a5f3f;
    margin-bottom: 1.25rem;
}

.toolkit-p-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #065F46;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.toolkit-p-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #065F46;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

/* Inline emphasis */
.toolkit-p strong,
.toolkit-p-intro strong {
    color: #065F46;
    font-weight: 600;
}

.toolkit-highlight {
    background: rgba(125, 206, 46, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: #065F46;
    font-weight: 600;
}

.toolkit-emphasis {
    color: #065F46;
    font-weight: 600;
    font-style: italic;
}

.toolkit-metric {
    font-size: 1.2em;
    font-weight: 700;
    color: #7dce2e;
    background: rgba(125, 206, 46, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Inline code */
.toolkit-code-inline {
    font-family: 'Courier New', Courier, monospace;
    background: #1a1a1a;
    color: #7dce2e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Inline list items */
.toolkit-inline-list {
    color: #065F46;
    font-weight: 500;
}

/* Quote block */
.toolkit-quote {
    background: rgba(125, 206, 46, 0.08);
    border-left: 4px solid #7dce2e;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin: 2rem 0;
    font-size: 1.05rem;
    font-style: italic;
    color: #1a5f3f;
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
}

.toolkit-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4a9a6a;
    font-style: normal;
    font-weight: 600;
}

/* Note box */
.toolkit-p-note {
    display: flex;
    gap: 12px;
    background: rgba(74, 222, 128, 0.1);
    border-left: 4px solid #4ADE80;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    align-items: flex-start;
}

.toolkit-note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.toolkit-note-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1a5f3f;
}

.toolkit-note-content strong {
    color: #065F46;
    display: block;
    margin-bottom: 0.25rem;
}

/* Warning box */
.toolkit-p-warning {
    display: flex;
    gap: 12px;
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    align-items: flex-start;
}

.toolkit-warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.toolkit-warning-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #7f1d1d;
}

.toolkit-warning-content strong {
    color: #991b1b;
    display: block;
    margin-bottom: 0.25rem;
}

/* ==== RESPONSIVE STYLES ==== */

@media (max-width: 768px) {
    .toolkit-text-content {
        padding: 0;
    }

    .toolkit-h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        margin-top: 1.5rem;
    }

    .toolkit-h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.4rem;
    }

    .toolkit-h3 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .toolkit-h4 {
        font-size: 1.05rem;
        margin-top: 1.25rem;
        margin-bottom: 0.6rem;
    }

    .toolkit-p,
    .toolkit-p-intro,
    .toolkit-p-lead {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .toolkit-quote {
        padding: 1.25rem 1rem 0.75rem 1rem;
        font-size: 0.95rem;
        margin: 1.5rem 0;
    }

    .toolkit-p-note,
    .toolkit-p-warning {
        padding: 0.85rem 1rem;
        gap: 10px;
        margin: 1.25rem 0;
    }

    .toolkit-note-icon,
    .toolkit-warning-icon {
        font-size: 1.25rem;
    }

    .toolkit-note-content,
    .toolkit-warning-content {
        font-size: 0.9rem;
    }

    .toolkit-code-inline {
        font-size: 0.85em;
        padding: 1px 5px;
    }
}

@media (max-width: 480px) {
    .toolkit-h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .toolkit-h2 {
        font-size: 1.25rem;
        margin-top: 1.75rem;
        margin-bottom: 0.85rem;
    }

    .toolkit-h3 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }

    .toolkit-h4 {
        font-size: 1rem;
    }

    .toolkit-p,
    .toolkit-p-intro,
    .toolkit-p-lead {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .toolkit-quote {
        padding: 1rem 0.85rem 0.6rem 0.85rem;
        font-size: 0.9rem;
    }

    .toolkit-p-note,
    .toolkit-p-warning {
        padding: 0.75rem 0.85rem;
        gap: 8px;
    }

    .toolkit-metric {
        font-size: 1.1em;
        padding: 1px 6px;
    }
}

/* ==== RELATED LINKS SECTION ==== */

.toolkit-related-section {
    padding: 48px 0;
    margin-top: 48px;
    border-top: 2px solid rgba(125, 206, 46, 0.2);
}

.toolkit-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 28px;
    text-align: center;
}

.toolkit-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.toolkit-related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 2px solid rgba(125, 206, 46, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.toolkit-related-card:hover {
    border-color: #7dce2e;
    background: rgba(125, 206, 46, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(125, 206, 46, 0.15);
}

.toolkit-related-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.toolkit-related-content {
    flex: 1;
}

.toolkit-related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #065F46;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.toolkit-related-card-desc {
    font-size: 0.875rem;
    color: #4a9a6a;
    margin: 0;
    line-height: 1.5;
}

.toolkit-related-arrow {
    font-size: 1.5rem;
    color: #7dce2e;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.toolkit-related-card:hover .toolkit-related-arrow {
    transform: translateX(4px);
}

/* ==== RESPONSIVE ==== */

@media (max-width: 968px) {
    .toolkit-related-section {
        padding: 40px 0;
        margin-top: 40px;
    }

    .toolkit-related-title {
        font-size: 1.35rem;
        margin-bottom: 24px;
    }

    .toolkit-related-grid {
        gap: 16px;
    }

    .toolkit-related-card {
        padding: 18px;
        gap: 14px;
    }

    .toolkit-related-icon {
        font-size: 1.75rem;
    }

    .toolkit-related-card-title {
        font-size: 0.95rem;
    }

    .toolkit-related-card-desc {
        font-size: 0.825rem;
    }
}

@media (max-width: 768px) {
    .toolkit-related-section {
        padding: 32px 0;
        margin-top: 32px;
    }

    .toolkit-related-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .toolkit-related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .toolkit-related-card {
        padding: 16px;
        gap: 12px;
    }

    .toolkit-related-icon {
        font-size: 1.5rem;
    }

    .toolkit-related-card-title {
        font-size: 0.9rem;
    }

    .toolkit-related-card-desc {
        font-size: 0.8rem;
    }

    .toolkit-related-arrow {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .toolkit-related-section {
        padding: 24px 0;
        margin-top: 24px;
    }

    .toolkit-related-title {
        font-size: 1.15rem;
    }

    .toolkit-related-card {
        padding: 14px;
    }

    .toolkit-related-icon {
        font-size: 1.35rem;
    }

    .toolkit-related-card-title {
        font-size: 0.85rem;
    }

    .toolkit-related-card-desc {
        font-size: 0.75rem;
    }
}

/* ==== BACK TO TOP BUTTON - MODERN GRADIENT ==== */

.toolkit-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #7dce2e 0%, #4ADE80 100%);
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(125, 206, 46, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(10px);
  backdrop-filter: blur(10px);
}

/* Visible state */
.toolkit-back-to-top.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Text */
.toolkit-btt-text {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hover (desktop only) */
@media (hover: hover) {
  .toolkit-back-to-top:hover {
    background: linear-gradient(135deg, #65b824 0%, #22c55e 100%);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(125, 206, 46, 0.5);
  }
}

/* Active/Click state */
.toolkit-back-to-top:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 6px 20px rgba(125, 206, 46, 0.4);
}

/* Glow effect on hover */
.toolkit-back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, #4ADE80, #7dce2e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .toolkit-back-to-top:hover::before {
    opacity: 0.6;
  }
}

/* ==== RESPONSIVE ==== */

/* Tablets */
@media (max-width: 968px) {
  .toolkit-back-to-top {
    bottom: 24px;
    right: 24px;
    padding: 12px 24px;
  }

  .toolkit-btt-text {
    font-size: 13px;
    letter-spacing: 0.8px;
  }
}

/* Mobile: centered bottom */
@media (max-width: 768px) {
  .toolkit-back-to-top {
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%) translateY(10px);
    padding: 13px 32px;
  }

  .toolkit-back-to-top.visible {
    transform: translateX(-50%) translateY(0);
  }

  .toolkit-btt-text {
    font-size: 13px;
    letter-spacing: 0.8px;
  }

  .toolkit-back-to-top:active {
    transform: translateX(-50%) translateY(-2px) scale(0.98);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .toolkit-back-to-top {
    bottom: 16px;
    padding: 12px 28px;
  }

  .toolkit-btt-text {
    font-size: 12px;
    letter-spacing: 0.7px;
  }
}

/* ==== NEWSLETTER SUBSCRIPTION SECTION ==== */

.toolkit-newsletter-section {
    padding: 48px 0;
    margin: 48px 0;
    background: linear-gradient(135deg, rgba(125, 206, 46, 0.08) 0%, rgba(74, 222, 128, 0.08) 100%);
    border-radius: 16px;
    border: 2px solid rgba(125, 206, 46, 0.2);
}

.toolkit-newsletter-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.toolkit-newsletter-content {
    flex: 1;
}

.toolkit-newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 8px;
    line-height: 1.2;
}

.toolkit-newsletter-desc {
    font-size: 0.95rem;
    color: #4a9a6a;
    line-height: 1.5;
    margin: 0;
}

.toolkit-newsletter-form {
    flex: 1;
    display: flex;
    gap: 12px;
    max-width: 450px;
}

.toolkit-newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(125, 206, 46, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    color: #065F46;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.toolkit-newsletter-input::placeholder {
    color: #9ca3af;
}

.toolkit-newsletter-input:focus {
    border-color: #7dce2e;
    box-shadow: 0 0 0 3px rgba(125, 206, 46, 0.1);
}

.toolkit-newsletter-button {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #7dce2e 0%, #4ADE80 100%);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(125, 206, 46, 0.3);
}

.toolkit-newsletter-button:hover {
    background: linear-gradient(135deg, #65b824 0%, #22c55e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 206, 46, 0.4);
}

.toolkit-newsletter-button:active {
    transform: translateY(0);
}

.toolkit-newsletter-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==== MODAL STYLES ==== */

.toolkit-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    padding: 20px;
}

.toolkit-modal-overlay.hidden {
    display: none;
}

.toolkit-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #7dce2e;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.toolkit-modal-body {
    text-align: center;
}

.toolkit-modal-image {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    object-fit: contain;
}

.toolkit-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 12px;
}

.toolkit-modal-text {
    font-size: 1.05rem;
    color: #4a9a6a;
    margin-bottom: 28px;
    line-height: 1.6;
}

.toolkit-modal-button {
    background: #065F46;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.3);
    transition: all 0.3s ease;
}

.toolkit-modal-button:hover {
    background: #0a7a5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.4);
}

.toolkit-modal-button:active {
    transform: translateY(0);
}

/* ==== RESPONSIVE ==== */

@media (max-width: 968px) {
    .toolkit-newsletter-section {
        padding: 40px 0;
        margin: 40px 0;
    }

    .toolkit-newsletter-container {
        gap: 24px;
    }

    .toolkit-newsletter-title {
        font-size: 1.35rem;
    }

    .toolkit-newsletter-desc {
        font-size: 0.9rem;
    }

    .toolkit-newsletter-input,
    .toolkit-newsletter-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .toolkit-modal-content {
        padding: 32px;
    }

    .toolkit-modal-title {
        font-size: 1.5rem;
    }

    .toolkit-modal-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .toolkit-newsletter-section {
        padding: 32px 0;
        margin: 32px 0;
    }

    .toolkit-newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .toolkit-newsletter-content {
        max-width: 100%;
    }

    .toolkit-newsletter-title {
        font-size: 1.25rem;
    }

    .toolkit-newsletter-desc {
        font-size: 0.875rem;
    }

    .toolkit-newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .toolkit-modal-content {
        padding: 28px 24px;
    }

    .toolkit-modal-image {
        width: 56px;
        height: 56px;
    }

    .toolkit-modal-title {
        font-size: 1.35rem;
    }

    .toolkit-modal-text {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .toolkit-newsletter-section {
        padding: 24px 0;
        margin: 24px 0;
        border-radius: 12px;
    }

    .toolkit-newsletter-container {
        padding: 0 16px;
    }

    .toolkit-newsletter-title {
        font-size: 1.15rem;
    }

    .toolkit-newsletter-desc {
        font-size: 0.825rem;
    }

    .toolkit-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .toolkit-newsletter-input {
        padding: 12px 18px;
        font-size: 0.875rem;
    }

    .toolkit-newsletter-button {
        padding: 12px 24px;
        font-size: 0.875rem;
        width: 100%;
    }

    .toolkit-modal-content {
        padding: 24px 20px;
    }

    .toolkit-modal-title {
        font-size: 1.25rem;
    }

    .toolkit-modal-text {
        font-size: 0.9rem;
    }

    .toolkit-modal-button {
        padding: 11px 28px;
        font-size: 0.95rem;
    }
}