/* ============ Hero Slider — Vercel-minimal ============ */
.gr-hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--gr-dark);
    min-height: clamp(560px, 80vh, 760px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gr-border-faint);
}

.gr-hero-slider__slides {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.gr-hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    display: flex;
    align-items: center;
}

.gr-hero-slider__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.gr-hero-slider__slide > .gr-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 64px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.gr-hero-slider__text {
    position: relative;
    z-index: 3;
}

.gr-hero-slider__slide.is-active .gr-hero__label,
.gr-hero-slider__slide.is-active .gr-hero__title,
.gr-hero-slider__slide.is-active .gr-hero__subtitle,
.gr-hero-slider__slide.is-active .gr-btn {
    animation: heroFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.gr-hero-slider__slide.is-active .gr-hero__label { animation-delay: 0s; }
.gr-hero-slider__slide.is-active .gr-hero__title { animation-delay: 0.05s; }
.gr-hero-slider__slide.is-active .gr-hero__subtitle { animation-delay: 0.12s; }
.gr-hero-slider__slide.is-active .gr-btn { animation-delay: 0.2s; }

.gr-hero-slider__slide.is-active .gr-hero-slider__visual {
    animation: heroVisualIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Eyebrow label */
.gr-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: var(--gr-radius-full);
    border: 1px solid var(--gr-border);
    background: transparent;
    color: var(--gr-text-muted);
    font-size: var(--gr-fs-xs);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    opacity: 0;
}

.gr-hero__title {
    font-size: var(--gr-fs-display);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: var(--gr-tracking-tighter);
    color: var(--gr-white);
    opacity: 0;
}

.gr-hero__subtitle {
    font-size: 1.125rem;
    color: var(--gr-text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.55;
    letter-spacing: -0.01em;
    opacity: 0;
}

.gr-hero-slider__text .gr-btn {
    opacity: 0;
}

/* Visual */
.gr-hero-slider__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.gr-hero-slider__visual img {
    max-width: 100%;
    height: auto;
    filter: none;
}

/* Widget type cards (slide 2) */
.gr-hero-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 420px;
    width: 100%;
}

.gr-hero-widget-card {
    background: var(--gr-surface);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color var(--gr-transition), background var(--gr-transition);
}

.gr-hero-widget-card:hover {
    border-color: var(--gr-border-strong);
    background: var(--gr-surface-hover);
}

.gr-hero-widget-card img {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    opacity: 0.85;
}

.gr-hero-widget-card__name {
    font-size: var(--gr-fs-small);
    font-weight: 500;
    color: var(--gr-white);
    letter-spacing: -0.01em;
}

/* Metrics cards (slide 3) */
.gr-hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 380px;
    width: 100%;
}

.gr-hero-metric {
    background: var(--gr-surface);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gr-hero-metric__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--gr-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.gr-hero-metric__value {
    font-size: 20px;
    font-weight: 600;
    color: var(--gr-white);
    line-height: 1.2;
    letter-spacing: var(--gr-tracking-tight);
    font-variant-numeric: tabular-nums;
}

.gr-hero-metric__label {
    font-size: var(--gr-fs-xs);
    color: var(--gr-text-muted);
    margin-top: 2px;
}

/* Arrows — almost invisible */
.gr-hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: var(--gr-radius-full);
    background: transparent;
    border: 1px solid var(--gr-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gr-text-muted);
    transition: color var(--gr-transition), border-color var(--gr-transition), background var(--gr-transition);
}

.gr-hero-slider__arrow:hover {
    color: var(--gr-white);
    border-color: var(--gr-border-strong);
    background: var(--gr-bg-elevated);
    transform: translateY(-50%);
}

.gr-hero-slider__arrow--prev { left: 24px; }
.gr-hero-slider__arrow--next { right: 24px; }

/* Dots */
.gr-hero-slider__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
}

.gr-hero-slider__dot {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--gr-border-strong);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width var(--gr-transition), background var(--gr-transition);
    border: none;
    padding: 0;
}

.gr-hero-slider__dot.is-active {
    width: 36px;
    background: rgba(255, 255, 255, 0.2);
}

.gr-hero-slider__dot-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gr-white);
    border-radius: 2px;
}

.gr-hero-slider__dot.is-active .gr-hero-slider__dot-fill {
    animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Subtle ambient orange glow — top right corner only */
.gr-hero-slider::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 107, 91, 0.08) 0%, transparent 60%);
    top: -300px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
    .gr-hero-slider__slide > .gr-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .gr-hero__subtitle { margin-left: auto; margin-right: auto; }
    .gr-hero-slider__text .gr-btn { margin: 0 auto; }
    .gr-hero-slider__visual { justify-content: center; }
    .gr-hero-widgets { margin: 0 auto; }
    .gr-hero-metrics { margin: 0 auto; max-width: 320px; }
    .gr-hero-slider__arrow { display: none; }
    .gr-hero-slider { min-height: auto; }
}

@media (max-width: 480px) {
    .gr-hero-widgets { gap: 8px; }
    .gr-hero-widget-card { padding: 18px 14px; }
}

/* ============ Page Hero (inner pages) ============ */
.gr-page-hero {
    padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 72px);
    background: var(--gr-dark);
    text-align: center;
    border-bottom: 1px solid var(--gr-border-faint);
}

.gr-page-hero__breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: var(--gr-fs-small);
    color: var(--gr-text-faint);
}

.gr-page-hero__breadcrumbs a {
    color: var(--gr-text-muted);
    transition: color var(--gr-transition);
}

.gr-page-hero__breadcrumbs a:hover {
    color: var(--gr-white);
}

.gr-page-hero__breadcrumbs span {
    color: var(--gr-text-faint);
}

.gr-page-hero__title {
    font-size: var(--gr-fs-h1);
    margin-bottom: 16px;
    letter-spacing: var(--gr-tracking-tighter);
}

.gr-page-hero__subtitle {
    font-size: 1.0625rem;
    color: var(--gr-text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}
