.trust-container {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
    padding-block-start: 4rem;
    padding-block-end: 8rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    overflow: hidden;
}

/* Animations defined */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Typography Enhancements */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--foreground, #111827);
    margin-block-end: 1.25rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-title span.highlight {
    background: linear-gradient(135deg, var(--color-primary, #10b981) 0%, var(--primary, #00724f) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--muted-foreground, #6b7280);
    max-width: 65ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-block-start: 2.5rem;
    flex-wrap: wrap;
}

/* Dynamic Hover Sections */
.section-title {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--foreground, #111827);
    margin-block-end: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary, #00724f);
    border-radius: 4px;
    width: 3rem;
    transition: width 0.3s ease;
}

html[dir="rtl"] .section-title::after {
    left: auto;
    right: 0;
}

.trust-standards:hover .section-title::after,
.trust-steps:hover .section-title::after,
.trust-policies:hover .section-title::after {
    width: 6rem;
}

/* Elevated Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.standard-card, .process-card {
    background-color: var(--card, #ffffff);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid var(--border, #e5e7eb);
    position: relative;
    overflow: hidden;
}

.standard-card::before, .process-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    height: 100%;
    width: 4px;
    background: var(--primary, #00724f);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.standard-card:hover::before, .process-card:hover::before {
    transform: scaleY(1);
}

.standard-card:hover, .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground, #111827);
    margin-block-end: 0.75rem;
}

.standard-card:hover .card-title {
    color: var(--primary, #00724f);
}

.card-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted-foreground, #6b7280);
    margin-block-end: 1.5rem;
    padding-block-end: 1rem;
    border-block-end: 1px solid var(--border, #e5e7eb);
}

.standard-list {
    font-size: 0.875rem;
    color: var(--muted-foreground, #6b7280);
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.standard-list li strong {
    color: var(--foreground, #111827);
}

/* Timeline Steps Engine */
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

@media (min-width: 1024px) {
    .steps-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2.5rem;
    }
    
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 24px; /* Center of the number circle */
        inset-inline-start: 40px;
        inset-inline-end: 40%;
        height: 2px;
        background: var(--border, #e5e7eb);
        z-index: 0;
    }
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    background: transparent;
    transition: all 0.3s ease;
    flex: 1 1 300px;
}

.step-item:hover .step-number {
    background-color: var(--primary, #00724f);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 114, 79, 0.4);
}

.step-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary, #00724f);
    background-color: var(--background, #fff);
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    flex-shrink: 0;
    border: 2px solid var(--primary, #00724f);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-content {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    padding: 1.5rem;
    border-radius: 0.75rem;
    flex-grow: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-item:hover .step-content {
    border-color: var(--primary, #00724f);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground, #111827);
    margin-block-end: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--muted-foreground, #6b7280);
}

/* Glassmorphism Policies */
.trust-policies {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

html.dark .trust-policies {
    background-color: rgba(17, 24, 39, 0.8);
    border-color: rgba(55, 65, 81, 0.8);
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.policy-item {
    transition: transform 0.3s ease;
}
.policy-item:hover {
    transform: translateX(4px);
}
html[dir="rtl"] .policy-item:hover {
    transform: translateX(-4px);
}

.policy-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary, #00724f);
    margin-block-end: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary, #10b981);
}

.policy-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted-foreground, #6b7280);
}

.policy-notes {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted-foreground, #6b7280);
    margin-block-start: 2rem;
    padding-block-start: 2rem;
    border-block-start: 1px dashed var(--border, #e5e7eb);
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.policy-notes li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.policy-notes li::before {
    content: '→';
    color: var(--primary, #00724f);
    font-weight: bold;
}
html[dir="rtl"] .policy-notes li::before {
    content: '←';
}

.policy-cta {
    margin-block-start: 3rem;
    padding-block-start: 2rem;
    border-block-start: 1px solid var(--border, #e5e7eb);
    text-align: center;
    background: var(--background, #f9fafb);
    padding: 2rem;
    border-radius: 1rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground, #111827);
}

.cta-desc {
    font-size: 1rem;
    color: var(--muted-foreground, #6b7280);
    margin-block-start: 0.75rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    margin-block-start: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Process section (Footer summary) */
.trust-process {
    padding-block-start: 4rem;
    text-align: center;
}

.process-tagline {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary, #10b981);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.process-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--foreground, #111827);
    margin-block-start: 0.75rem;
}

.process-main-desc {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--muted-foreground, #6b7280);
    max-width: 65ch;
    margin-inline: auto;
    margin-block-start: 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-block-start: 4rem;
    text-align: start;
}

.primary-card {
    background: linear-gradient(135deg, var(--primary, #00724f) 0%, #004d35 100%);
    color: white;
    border: none;
}

.primary-card .card-title {
    color: white;
}

.primary-card .card-desc {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.bottom-actions {
    margin-block-start: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons Engine */
.contrast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border, #d1d5db);
    background: var(--card, #ffffff);
    color: var(--foreground, #111827);
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.contrast-btn:hover {
    background: var(--foreground, #111827);
    border-color: var(--foreground, #111827);
    color: var(--card, #fff);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: #fff;
    background: var(--primary, #00724f);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 114, 79, 0.3), 0 2px 4px -2px rgba(0, 114, 79, 0.3);
    animation: pulseGlow 3s infinite ease-out;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 114, 79, 0.4), 0 4px 6px -4px rgba(0, 114, 79, 0.4);
    animation: none;
    background: #006042;
}

/* RTL Adjustments */
html[dir="rtl"] .standard-list {
    padding-inline-start: 1rem;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
