/* =====================[HOW IT WORKS PAGE STYLES]===================== */
:root {
    /* --primary: #0f2b4b;
    --primary-dark: #0a1e36;
    --primary-light: #1e3a5f;
    --accent: #c7a254;
    --accent-light: #d9b771;
    --accent-dark: #b38b3f;
    --text: #1e293b;
    --text-light: #475569;
    --text-lighter: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-dark: #0f172a;
    --border: #e9eef2;
    --border-dark: #cbd5e1;
    --success: #2e7d32; */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 20px 35px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 30px 50px rgba(15, 43, 75, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 1rem;
    --border-radius-lg: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
} */

/* =====================[HOW IT WORKS HERO]===================== */
.how-hero {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.how-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(199, 162, 84, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(199, 162, 84, 0.12) 0%, transparent 40%);
    z-index: -1;
    animation: ambientPulse 10s ease-in-out infinite;
}

.how-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.how-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(199, 162, 84, 0.15);
    border: 1px solid rgba(199, 162, 84, 0.3);
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.how-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.how-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* =====================[PROCESS OVERVIEW]===================== */
.process-overview-section {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid var(--border);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step-counter;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-light);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =====================[DETAILED PROCESS]===================== */
.detailed-process-section {
    padding: 6rem 0;
    background: white;
}

.phase-block {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.phase-block:last-child {
    margin-bottom: 0;
}

.phase-block:nth-child(1) { animation-delay: 0.1s; }
.phase-block:nth-child(2) { animation-delay: 0.2s; }
.phase-block:nth-child(3) { animation-delay: 0.3s; }
.phase-block:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.phase-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
}

.phase-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.phase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.phase-grid.reverse {
    direction: rtl;
}

.phase-grid.reverse .phase-content {
    direction: ltr;
}

.phase-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.phase-activities {
    margin-bottom: 2rem;
}

.phase-activities h4,
.phase-outcome h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.phase-activities ul {
    list-style: none;
}

.phase-activities li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 1rem;
}

.phase-activities li i {
    color: var(--accent);
    font-size: 1rem;
}

.phase-outcome {
    background: rgba(199, 162, 84, 0.05);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.phase-outcome p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Phase Visuals */
.phase-visual {
    position: relative;
}

.diagnostic-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
}

.diagram-item {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.diagram-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.design-diagram {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pipeline span {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
}

.pipeline i {
    color: var(--accent);
    font-size: 1.25rem;
}

.deploy-diagram {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.deploy-diagram i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.deploy-items {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.deploy-items span {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.optimize-diagram {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.optimize-diagram i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.cycle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cycle span {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.cycle i {
    color: var(--accent);
    font-size: 1rem;
}

/* =====================[TIMELINE SECTION]===================== */
.timeline-section {
    padding: 6rem 0;
    background: var(--background-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(199, 162, 84, 0.1);
    border-radius: 100px;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 1;
}

.timeline-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-light);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow);
}

.timeline-duration {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(199, 162, 84, 0.1);
    border-radius: 100px;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =====================[DEPLOYMENT MODELS]===================== */
.models-section {
    padding: 6rem 0;
    background: white;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.model-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-light);
}

.model-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.model-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.model-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =====================[GOVERNANCE SECTION]===================== */
.governance-section {
    padding: 6rem 0;
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    isolation: isolate;
    color: white;
}

.governance-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(199, 162, 84, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(199, 162, 84, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.governance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.governance-content h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 1rem 0 1.5rem;
    color: white;
}

.governance-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.governance-principles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.principle {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.principle i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.principle h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.principle p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin: 0;
}

.governance-diagram {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gov-level {
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.gov-level:hover {
    background: var(--accent);
    transform: translateX(10px);
}

/* =====================[FAQ SECTION]===================== */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background-alt);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.faq-toggle {
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--background-alt);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* =====================[GET STARTED SECTION]===================== */
.get-started-section {
    padding: 4rem 0 6rem;
    background: white;
}

.get-started-box {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.get-started-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(199, 162, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(199, 162, 84, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.get-started-box h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.get-started-box p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* 
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
} */

/* =====================[RESPONSIVE DESIGN]===================== */
@media (max-width: 1024px) {
    .process-steps,
    .timeline-grid,
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .phase-grid,
    .phase-grid.reverse,
    .governance-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }
    
    .timeline-grid::before {
        display: none;
    }
    
    .timeline-item::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .how-hero {
        padding: 6rem 0 4rem;
    }
    
    .how-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .process-overview-section,
    .detailed-process-section,
    .timeline-section,
    .models-section,
    .governance-section,
    .faq-section {
        padding: 4rem 0;
    }
    
    .phase-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .phase-header h2 {
        font-size: 2rem;
    }
    
    .phase-number {
        font-size: 4rem;
    }
    
    .process-steps,
    .timeline-grid,
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .pipeline,
    .cycle {
        flex-direction: column;
    }
    
    .pipeline i,
    .cycle i {
        transform: rotate(90deg);
    }
    
    .get-started-box {
        padding: 3rem 2rem;
    }
    
    .get-started-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .how-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .phase-number {
        font-size: 3rem;
    }
    
    .phase-header h2 {
        font-size: 1.75rem;
    }
    
    .phase-description {
        font-size: 1.1rem;
    }
    
    .diagnostic-diagram {
        grid-template-columns: 1fr;
    }
    
    .phase-activities li {
        flex-direction: column;
        text-align: center;
    }
    
    .phase-activities li i {
        margin-bottom: 0.25rem;
    }
    
    .principle {
        flex-direction: column;
        text-align: center;
    }
    
    .gov-level:hover {
        transform: translateY(-5px);
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
    }
    
    .get-started-box {
        padding: 2rem 1.5rem;
    }
    
    .get-started-box h2 {
        font-size: 1.75rem;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}