/* ========================================
   TrustzProcess - Styles WordPress
   ======================================== */

:root {
    --primary: #059669;
    --secondary: #0891b2;
    --success: #10b981;
    --light-bg: #f9fafb;
    --border: #e5e7eb;
    --text-dark: #111827;
    --text-gray: #6b7280;
}

/* Reset */
.trustz-container * {
    box-sizing: border-box;
}

/* Container Principal */
.trustz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ========== HEADER ========== */
.trustz-header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.trustz-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.trustz-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
    color: var(--text-dark);
}

.trustz-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.trustz-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.trustz-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.trustz-auth-buttons {
    display: flex;
    gap: 10px;
}

.trustz-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.trustz-btn-primary:hover {
    background: #047857;
}

.trustz-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.trustz-btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.trustz-cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
}

.trustz-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Mobile Menu Toggle */
.trustz-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .trustz-nav {
        display: none;
    }
    .trustz-mobile-toggle {
        display: block;
    }
    .trustz-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 20px;
    }
}

/* ========== HERO SECTION ========== */
.trustz-hero {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
    padding: 80px 20px;
    text-align: center;
}

.trustz-hero h1 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #059669, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.trustz-hero p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.trustz-hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .trustz-hero h1 {
        font-size: 32px;
    }
    .trustz-hero p {
        font-size: 16px;
    }
}

/* ========== STATS ========== */
.trustz-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    background: white;
}

.trustz-stat-card {
    text-align: center;
}

.trustz-stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.trustz-stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.trustz-stat-label {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========== PROGRAMMES GRID ========== */
.trustz-programmes {
    padding: 60px 20px;
    background: var(--light-bg);
}

.trustz-programmes h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.trustz-programmes-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trustz-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trustz-filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.trustz-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.trustz-filter-btn:hover {
    border-color: var(--primary);
}

.trustz-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.trustz-program-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.trustz-program-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.trustz-program-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.trustz-program-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.trustz-program-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.trustz-program-details {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.trustz-program-details div {
    margin-bottom: 8px;
}

.trustz-program-price {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.trustz-add-to-cart {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.trustz-add-to-cart:hover {
    background: #047857;
}

/* ========== PACKS SECTION ========== */
.trustz-packs {
    padding: 60px 20px;
}

.trustz-packs h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.trustz-packs-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trustz-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.trustz-pack-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
}

.trustz-pack-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.15);
}

.trustz-pack-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.trustz-pack-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.trustz-pack-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.trustz-pack-duration {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.trustz-pack-btn {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.trustz-pack-card.popular .trustz-pack-btn {
    background: var(--primary);
    color: white;
}

.trustz-pack-card:not(.popular) .trustz-pack-btn {
    background: white;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.trustz-pack-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trustz-pack-features li {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-gray);
}

.trustz-pack-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

/* ========== E-LEARNING SECTION ========== */
.trustz-elearning {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
}

.trustz-elearning h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.trustz-elearning-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trustz-elearning-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.trustz-dashboard {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trustz-dashboard-item {
    margin-bottom: 20px;
}

.trustz-progress-bar {
    background: var(--border);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.trustz-progress-fill {
    background: var(--primary);
    height: 100%;
    width: 67%;
}

.trustz-course-badge {
    background: rgba(5, 150, 105, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 13px;
}

.trustz-course-badge .status {
    color: var(--primary);
    font-weight: bold;
}

.trustz-elearning-features {
    display: grid;
    gap: 20px;
}

.trustz-elearning-feature {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trustz-elearning-feature-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.trustz-elearning-feature h4 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.trustz-elearning-feature p {
    margin: 0;
    font-size: 13px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .trustz-elearning-content {
        grid-template-columns: 1fr;
    }
}

/* ========== IMPACT SECTION ========== */
.trustz-impact {
    padding: 60px 20px;
    background: white;
}

.trustz-impact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.trustz-impact-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trustz-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.trustz-impact-card {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.trustz-impact-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.trustz-impact-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.trustz-impact-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.trustz-impact-stats {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 10px;
    padding: 40px 20px;
}

.trustz-impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.trustz-impact-stat {
    padding: 20px;
}

.trustz-impact-stat-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.trustz-impact-stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* ========== TESTIMONIALS ========== */
.trustz-testimonials {
    padding: 60px 20px;
    background: var(--light-bg);
}

.trustz-testimonials h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.trustz-testimonials-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trustz-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.trustz-testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border);
}

.trustz-stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.trustz-stars span {
    font-size: 16px;
}

.trustz-testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.trustz-testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.trustz-testimonial-role {
    font-size: 13px;
    color: var(--text-gray);
}

/* ========== BLOG SECTION ========== */
.trustz-blog {
    padding: 60px 20px;
    background: white;
}

.trustz-blog h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.trustz-blog-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trustz-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.trustz-blog-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.trustz-blog-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.trustz-blog-image {
    height: 160px;
    background: linear-gradient(135deg, #10b981, #0891b2);
}

.trustz-blog-content {
    padding: 20px;
}

.trustz-blog-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.trustz-blog-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.trustz-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-gray);
}

/* ========== CTA FINAL ========== */
.trustz-cta-final {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.trustz-cta-final h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.trustz-cta-final p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.trustz-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.trustz-cta-btn {
    padding: 15px 30px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.trustz-cta-btn:first-child {
    background: white;
    color: var(--primary);
    border-color: white;
}

.trustz-cta-btn:hover {
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.trustz-footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 20px;
}

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

.trustz-footer-section h4 {
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.trustz-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trustz-footer-section ul li {
    margin-bottom: 10px;
}

.trustz-footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.trustz-footer-section ul li a:hover {
    color: var(--primary);
}

.trustz-footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.trustz-footer-bottom-text {
    font-size: 13px;
    color: #9ca3af;
}

.trustz-social-links {
    display: flex;
    gap: 15px;
}

.trustz-social-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

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

/* ========== PAYMENT SECTION ========== */
.trustz-payment-footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 15px 20px;
    text-align: center;
    font-size: 13px;
}

/* ========== MODALS & POPUPS ========== */
.trustz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.trustz-modal.active {
    display: flex;
}

.trustz-modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.trustz-modal-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
    background: none;
    border: none;
}

.trustz-form-group {
    margin-bottom: 20px;
}

.trustz-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.trustz-form-group input,
.trustz-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

.trustz-form-group input:focus,
.trustz-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ========== ANIMATIONS ========== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trustz-animate {
    animation: slideInUp 0.6s ease-out forwards;
}

/* ========== UTILITY CLASSES ========== */
.trustz-hidden {
    display: none !important;
}

.trustz-mt-40 {
    margin-top: 40px;
}

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

.trustz-max-width {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .trustz-programs-grid {
        grid-template-columns: 1fr;
    }
    
    .trustz-packs-grid {
        grid-template-columns: 1fr;
    }
    
    .trustz-pack-card.popular {
        transform: scale(1);
    }
    
    .trustz-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trustz-cta-buttons {
        flex-direction: column;
    }
    
    .trustz-footer-grid {
        grid-template-columns: 1fr;
    }
}
