/* Technology Page Styles */

.tech-hero {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6rem 0 4rem;
    text-align: center;
}

.tech-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Technology Overview */
.tech-overview {
    padding: 4rem 0 2rem;
}

.tech-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Technology Sections */
.tech-section {
    padding: 5rem 0;
}

.tech-section.alt-bg {
    background: var(--bg-light);
}

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

.tech-content.reverse {
    direction: rtl;
}

.tech-content.reverse > * {
    direction: ltr;
}

.tech-text h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tech-text h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tech-list {
    list-style: none;
    margin: 1.5rem 0;
}

.tech-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.tech-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.tech-list strong {
    color: var(--text-dark);
}

/* Tech Specs */
.tech-specs {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #161616;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-light);
}

/* Tech Highlight */
.tech-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #161616;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.tech-highlight p {
    margin: 0;
    color: var(--text-dark);
}

/* Tech Visual Placeholders */
.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-box {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Workflow Timeline */
.workflow-detail {
    padding: 5rem 0;
}

.workflow-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-content {
    background: #161616;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #222;
    border-left: 3px solid var(--primary-color);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* Flow animation */
@keyframes flow-dash {
    to { stroke-dashoffset: -20; }
}

.flow-path-animated {
    animation: flow-dash 1.5s linear infinite;
}

/* Responsive */
@media (max-width: 968px) {
    .tech-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-content.reverse {
        direction: ltr;
    }

    .tech-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .tech-section {
        padding: 3rem 0;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .workflow-timeline::before {
        left: 25px;
    }
}
