/* ==========================================================================
   MOCKUP SECTION STYLES
   ========================================================================== */

.mockup-container {
    width: 100%;
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
    margin-top: 32px;
    overflow: hidden;
    /* Ensure image corners respect border radius */
}

/* ==========================================================================
   DECISION DESIGN ACCORDION
   ========================================================================== */

.decision-design-wrapper {
    margin-top: 64px;
    width: 100%;
    /* Limit width for readability - REMOVED per user request */
    margin-left: auto;
    margin-right: auto;
}

.decision-title {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 32px;
}

/* Timeline Container */
.accordion-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 20px;
    /* Space for the line */
}

/* Vertical Line */
/* Vertical Line - Refactored to be per-item for better control */
.accordion-timeline::before {
    display: none;
    /* Remove continuous line */
}

/* Connect dots with individual lines */
.accordion-item::before {
    content: '';
    position: absolute;
    left: 7px;
    /* Center of the 16px dot (8px - 1px width) */
    top: 28px;
    /* Start from center of dot (20px margin + 8px half-height) */
    bottom: -52px;
    /* Extend to center of next dot (Gap 24px + Top 28px) */
    width: 2px;
    background-color: var(--border-light);
    z-index: 1;
    /* Layer behind dot */
}

/* Hide line for the last item so it doesn't hang */
.accordion-item:last-child::before {
    display: none;
}

.accordion-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* Timeline Dot */
.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--border-light);
    /* Default state: Solid filled dot */
    border: none;
    /* Remove border for solid look */
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 2;
    /* Layer on top of line */
    margin-top: 20px;
    /* Align with header text roughly */
    transition: all 0.3s ease;
}

.accordion-item.active .timeline-dot {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
}

/* Accordion Card */
.accordion-card {
    flex: 1;
    background-color: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-card {
    border-color: var(--primary-orange);
}

/* Header */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.accordion-header h4 {
    margin: 0;
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-orange);
}

.accordion-icon {
    font-size: 24px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

/* Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding: 0 24px;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* Arbitrary large height */
    padding-bottom: 24px;
    opacity: 1;
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
}

.accordion-content ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: var(--text-light);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
}

.accordion-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.accordion-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    /* Aligned visually with text */
    width: 6px;
    height: 6px;
    background-color: var(--primary-orange);
    border-radius: 50%;
}

/* Nested lists */
.accordion-content ul ol {
    margin-top: 12px;
    padding-left: 0;
    list-style: none;
    counter-reset: item;
}

.accordion-content ul ol li {
    padding-left: 24px;
    counter-increment: item;
}

/* Remove the dot for OL items and use numbering instead */
.accordion-content ul ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 14px;
}

/* ==========================================================================
   FIGMA PROTOTYPE EMBED
   ========================================================================== */

.figma-prototype-wrapper {
    margin-top: 64px;
    width: 100%;
    margin-bottom: 64px;
}

.figma-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background-color: var(--surface-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.figma-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}