/* ==========================================
   PROCESS.CSS - Process Page Specific Styles
   ========================================== */

/* Process Hero */
.process-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--light);
    text-align: center;
}

.process-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

/* Process Content */
.process-content {
    padding: 5rem 0;
    background: var(--light);
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Step Container */
.step-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.step-container:nth-child(even) {
    direction: rtl;
}

.step-container:nth-child(even) > * {
    direction: ltr;
}

.step-content {
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark);
    margin-bottom: 1rem;
}

.step-content p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.step-icon-container {
    width: 250px;
    height: 250px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.step-icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.step-container:hover .step-icon-container::before {
    opacity: 0.2;
}

.step-icon {
    font-size: 4rem;
    z-index: 1;
}

/* Architecture Section */
.architecture-section {
    padding: 5rem 0;
    background: white;
}

.architecture-diagram {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.diagram-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.architecture-svg {
    width: 100%;
    height: auto;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

/* Differentiator Section */
.differentiator-section {
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.differentiator-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.differentiator-card:hover {
    transform: translateY(-5px);
}

.differentiator-card h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin: 1rem 0;
}

/* Security Section */
.security-section {
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.security-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;
    flex-shrink: 0;
}

/* Example Section */
.example-section {
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.example-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.example-box {
    background: #1e293b;
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.example-box h4 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-box pre {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* Process CTA */
.process-cta {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, var(--dark) 100%);
}

.process-cta h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.process-cta p {
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
}