/* Estimate Widget — AI cost estimator */

.gg--estimate {
    max-width: 640px;
    margin: 0 auto;
}

/* Input state */
.gg--estimate__input {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 4px 24px rgba(196, 149, 255, 0.12);
}

.gg--estimate__subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.gg--estimate__textarea {
    width: 100%;
    min-height: 140px;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text, #1e293b);
    background: #f8fafc;
    resize: vertical;
    transition: border-color 0.2s;
}

.gg--estimate__textarea:focus {
    outline: none;
    border-color: #c495ff;
    background: #fff;
}

.gg--estimate__textarea::placeholder {
    color: #94a3b8;
}

/* Textarea wrap (for voice button positioning) */
.gg--estimate__textarea-wrap {
    position: relative;
}

/* Voice button in textarea */
.gg--estimate__voice {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    padding: 0;
}

.gg--estimate__voice:hover {
    color: #c495ff;
    border-color: #c495ff;
    background: #f3e8ff;
}

.gg--estimate__voice.is-recording {
    color: #ef4444;
    border-color: #ef4444;
    background: #fef2f2;
    animation: gg-voice-pulse 1.2s ease-in-out infinite;
}

.gg--estimate__voice.is-transcribing {
    color: #94a3b8;
    pointer-events: none;
    position: absolute;
}

.gg--estimate__voice.is-transcribing svg {
    visibility: hidden;
}

.gg--estimate__voice.is-transcribing::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-top-color: #c495ff;
    border-radius: 50%;
    animation: gg-voice-spin 0.7s linear infinite;
}

@keyframes gg-voice-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes gg-voice-spin {
    to { transform: rotate(360deg); }
}

/* Counter row */
.gg--estimate__counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    min-height: 1.5rem;
}

.gg--estimate__counter {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: color 0.2s;
}

.gg--estimate__counter--active {
    color: #64748b;
}

.gg--estimate__counter--ok {
    color: #22c55e;
}

/* Inline hint */
.gg--estimate__hint {
    display: none;
    font-size: 0.8rem;
    color: #ef4444;
    animation: gg-hint-appear 0.3s ease;
}

.gg--estimate__hint.is-visible {
    display: inline;
}

@keyframes gg-hint-appear {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Textarea shake on validation */
.gg--estimate__textarea.is-shake {
    animation: gg-shake 0.4s ease;
    border-color: #ef4444;
}

@keyframes gg-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

/* Submit button */
.gg--estimate__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: #c495ff;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s, transform 0.1s;
}

.gg--estimate__submit:hover {
    background: #fff;
    color: #c495ff;
}

.gg--estimate__submit:active {
    transform: scale(0.98);
}

.gg--estimate__submit svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Loading state */
.gg--estimate__loading {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.gg--estimate__loading.is-active {
    display: block;
}

.gg--estimate__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #c495ff;
    border-radius: 50%;
    animation: gg-spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes gg-spin {
    to { transform: rotate(360deg); }
}

.gg--estimate__loading-msg {
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
    min-height: 1.5em;
    transition: opacity 0.3s;
}

/* Result state */
.gg--estimate__result {
    display: none;
}

.gg--estimate__result.is-active {
    display: block;
}

/* Clarity badge */
.gg--estimate__clarity {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.gg--estimate__clarity--high {
    background: #dcfce7;
    color: #166534;
}

.gg--estimate__clarity--medium {
    background: #fef9c3;
    color: #854d0e;
}

.gg--estimate__clarity--low {
    background: #fee2e2;
    color: #991b1b;
}

/* Phases list */
.gg--estimate__phases {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.gg--estimate__phase {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 1rem;
}

.gg--estimate__phase:last-child {
    border-bottom: none;
}

.gg--estimate__phase-name {
    font-size: 0.95rem;
    color: #334155;
    flex: 1;
}

.gg--estimate__phase-hours {
    font-size: 0.9rem;
    color: #64748b;
    white-space: nowrap;
}

.gg--estimate__phase-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

/* Totals */
.gg--estimate__totals {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.gg--estimate__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.375rem 0;
}

.gg--estimate__total-label {
    font-size: 0.95rem;
    color: #475569;
}

.gg--estimate__total-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.gg--estimate__total-value--blur {
    filter: blur(6px);
    user-select: none;
}

/* Notes / missing details */
.gg--estimate__notes,
.gg--estimate__missing {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.gg--estimate__notes strong,
.gg--estimate__missing strong {
    color: #334155;
    display: block;
    margin-bottom: 0.25rem;
}

.gg--estimate__missing ul {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
}

/* CTA button */
.gg--estimate__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
}

.gg--estimate__cta--telegram {
    background: #2AABEE;
    color: #fff;
}

.gg--estimate__cta--telegram:hover {
    background: #229ED9;
}

.gg--estimate__cta--discuss {
    background: #c495ff;
    color: #fff;
}

.gg--estimate__cta--discuss:hover {
    background: #fff;
    color: #c495ff;
}

.gg--estimate__cta:active {
    transform: scale(0.98);
}

.gg--estimate__cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Retry link */
.gg--estimate__retry {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gg--estimate__retry:hover {
    color: #c495ff;
}

/* Error state */
.gg--estimate__error {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
    color: #991b1b;
}

.gg--estimate__error.is-active {
    display: block;
}

.gg--estimate__error p {
    margin-bottom: 1rem;
}

/* Error-saved state (description preserved) */
.gg--estimate__error-saved {
    text-align: center;
    padding: 1rem 0;
    color: #1e293b;
}

.gg--estimate__error-saved-icon {
    margin-bottom: 1rem;
}

.gg--estimate__error-saved-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.gg--estimate__error-saved-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.gg--estimate__error-saved-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.75rem;
}

.gg--estimate__error-saved-form {
    max-width: 360px;
    margin: 0 auto 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gg--estimate__error-saved-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.95rem;
    color: #166534;
    padding: 0.75rem;
}

/* Section wrapper on page */
.gg--home_estimate {
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 6vw, 4rem);
    background: var(--background, #f8fafc);
}

/* Examples carousel */
.gg--estimate__examples {
    margin-top: 0.75rem;
    transition: opacity 0.3s, max-height 0.3s;
    overflow: hidden;
}

.gg--estimate__examples.is-hidden {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    pointer-events: none;
}

.gg--estimate__examples-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c495ff;
    margin-bottom: 0.5rem;
}

.gg--estimate__examples-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}

.gg--estimate__examples-track::-webkit-scrollbar {
    display: none;
}

.gg--estimate__example-card {
    min-width: 100%;
    scroll-snap-align: start;
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-sizing: border-box;
}

.gg--estimate__example-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #c495ff;
}

.gg--estimate__example-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #c495ff;
}

.gg--estimate__example-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

/* Carousel navigation: [<] [dots] [>] row */
.gg--estimate__examples-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.gg--estimate__examples-prev,
.gg--estimate__examples-next {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e9d5ff;
    background: #fff;
    color: #c495ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.gg--estimate__examples-prev:hover,
.gg--estimate__examples-next:hover {
    background: #f3e8ff;
    border-color: #c495ff;
}

.gg--estimate__examples-prev svg,
.gg--estimate__examples-next svg {
    width: 14px;
    height: 14px;
}

/* Carousel dots */
.gg--estimate__examples-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #e9d5ff;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.gg--estimate__examples-dot.is-active {
    background: #c495ff;
    transform: scale(1.25);
}

/* Hero secondary CTA */
.gg--home__hero__call-secondary {
    margin-top: 0.75rem;
}

.gg--home__hero__call-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gg--home__hero__call-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Estimate fallback CTA */
.gg--estimate-fallback {
    text-align: center;
    margin-top: 1.25rem;
    padding: 1rem;
    font-size: 0.9rem;
}

.gg--estimate-fallback__text {
    color: #64748b;
}

.gg--estimate-fallback__link {
    color: #c495ff;
    text-decoration: none;
    margin-left: 0.25rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.gg--estimate-fallback__link:hover {
    text-decoration: underline;
}

/* Telegram subscribe (bottom, subtle) */
.gg--tg-subscribe {
    padding: 1.5rem 0;
}

.gg--tg-subscribe__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
}

.gg--tg-subscribe__link {
    color: #c495ff;
    text-decoration: none;
    font-weight: 500;
}

.gg--tg-subscribe__link:hover {
    text-decoration: underline;
}

/* Lead form under result */
.gg--estimate__cta-or {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 1rem;
}

.gg--estimate__lead {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: #f8efff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
}

.gg--estimate__lead-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    text-align: center;
}

.gg--estimate__lead-fields {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.gg--estimate__lead-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #1e293b;
    transition: border-color 0.2s ease;
}

.gg--estimate__lead-input:focus {
    outline: none;
    border-color: #c495ff;
}

.gg--estimate__lead-input::placeholder {
    color: #94a3b8;
}

.gg--estimate__lead-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #c495ff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.gg--estimate__lead-submit:hover {
    background: #fff;
    color: #c495ff;
    box-shadow: inset 0 0 0 2px #c495ff;
}

.gg--estimate__lead-submit:active {
    transform: scale(0.98);
}

.gg--estimate__lead-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.gg--estimate__lead-privacy {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
}

.gg--estimate__lead-privacy a {
    color: #64748b;
    text-decoration: underline;
}

.gg--estimate__lead-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.95rem;
    color: #166534;
    padding: 0.75rem;
}

/* Responsive */
@media (max-width: 640px) {
    .gg--estimate__input {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .gg--estimate__phase {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .gg--estimate__phase-name {
        width: 100%;
    }

    .gg--estimate__totals {
        padding: 1rem;
    }

    .gg--estimate__lead-fields {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Element A: Journey Section — "Как мы работаем"
   ═══════════════════════════════════════════════════════════════════ */

.gg--journey-section {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.gg--journey-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    margin: 2rem 0;
}

/* Connecting line behind steps */
.gg--journey-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.gg--journey-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 4px;
}

.gg--journey-step__dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.gg--journey-step--active .gg--journey-step__dot {
    border-color: #c495ff;
    background: #f3e8ff;
    color: #c495ff;
    animation: gg-journey-pulse 2s ease-in-out infinite;
}

@keyframes gg-journey-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 149, 255, 0.3); }
    50%      { box-shadow: 0 0 0 8px rgba(196, 149, 255, 0); }
}

.gg--journey-step__content {
    max-width: 140px;
}

.gg--journey-step__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.gg--journey-step__desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

.gg--journey-step__badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: #f3e8ff;
    color: #c495ff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.gg--journey-step__badge--group {
    background: #fef9c3;
    color: #854d0e;
}

/* Portal promo card */
.gg--journey-portal-promo {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem auto 0;
    max-width: 540px;
}

.gg--journey-portal-promo svg {
    flex-shrink: 0;
}

.gg--journey-portal-promo__text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.gg--journey-portal-promo__text strong {
    color: #1e293b;
}

.gg--journey-cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* Mobile: vertical layout */
@media (max-width: 768px) {
    .gg--journey-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-left: 20px;
    }

    .gg--journey-timeline::before {
        top: 0;
        bottom: 0;
        left: 39px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .gg--journey-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .gg--journey-step__dot {
        margin-bottom: 0;
    }

    .gg--journey-step__content {
        max-width: none;
    }

    .gg--journey-step__badge {
        margin-top: 0.25rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Element B: Journey Roadmap (after lead form submit)
   ═══════════════════════════════════════════════════════════════════ */

.gg--roadmap {
    text-align: center;
}

.gg--roadmap__header {
    margin-bottom: 1.25rem;
}

.gg--roadmap__check {
    margin-bottom: 0.5rem;
}

.gg--roadmap__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

.gg--roadmap__progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.gg--roadmap__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #c495ff);
    border-radius: 999px;
    transition: width 1s ease-out;
}

.gg--roadmap__steps {
    text-align: left;
    position: relative;
    padding-left: 16px;
}

.gg--roadmap__step {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    position: relative;
}

.gg--roadmap__step:last-child {
    padding-bottom: 0;
}

/* Vertical line */
.gg--roadmap__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.gg--roadmap__step--done:not(:last-child)::after {
    background: #22c55e;
}

.gg--roadmap__step--current:not(:last-child)::after {
    background: linear-gradient(to bottom, #c495ff, #e2e8f0);
}

.gg--roadmap__dot {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
}

.gg--roadmap__step--done .gg--roadmap__dot {
    background: #dcfce7;
    border-color: #22c55e;
}

.gg--roadmap__step--current .gg--roadmap__dot {
    background: #f3e8ff;
    border-color: #c495ff;
    animation: gg-journey-pulse 2s ease-in-out infinite;
}

.gg--roadmap__dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.gg--roadmap__step--current .gg--roadmap__dot-inner {
    background: #c495ff;
}

.gg--roadmap__step-body {
    flex: 1;
    min-width: 0;
}

.gg--roadmap__step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.gg--roadmap__step--done .gg--roadmap__step-label {
    color: #166534;
}

.gg--roadmap__step--future .gg--roadmap__step-label {
    color: #94a3b8;
}

.gg--roadmap__step-note {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 2px;
}

.gg--roadmap__step--future .gg--roadmap__step-note {
    color: #cbd5e1;
}

.gg--roadmap__portal-btn {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.875rem 1.5rem;
    background: #c495ff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background 0.2s, color 0.2s;
}

.gg--roadmap__portal-btn:hover {
    background: #fff;
    color: #c495ff;
    box-shadow: inset 0 0 0 2px #c495ff;
}

.gg--roadmap__footer {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════
   Element C: Project Progress Bar (returning visitors)
   ═══════════════════════════════════════════════════════════════════ */

.gg--project-bar {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 0 auto 1rem;
    max-width: 640px;
    box-shadow: 0 4px 24px rgba(196, 149, 255, 0.12);
    position: relative;
    animation: gg-project-bar-in 0.4s ease;
}

@keyframes gg-project-bar-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gg--project-bar__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.gg--project-bar__close:hover {
    color: #475569;
}

.gg--project-bar__dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.gg--project-bar__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    flex-shrink: 0;
}

.gg--project-bar__dot--done {
    background: #22c55e;
}

.gg--project-bar__dot--current {
    background: #c495ff;
    animation: gg-journey-pulse 2s ease-in-out infinite;
}

.gg--project-bar__status {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.375rem;
}

.gg--project-bar__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #c495ff;
    text-decoration: none;
}

.gg--project-bar__link:hover {
    text-decoration: underline;
}
