.hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: center;
    padding-block:
        clamp(72px, 10vw, 136px)
        clamp(74px, 9vw, 114px);
}

.hero__content {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    margin: 0 0 25px;
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent-gradient);
    box-shadow: 0 0 22px rgba(255, 157, 87, 0.42);
    content: "";
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(44px, 7vw, 82px);
    font-weight: 760;
    line-height: 0.99;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.hero h1 strong {
    display: inline;
    background: var(--accent-gradient);
    background-clip: text;
    color: transparent;
    font-weight: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__lead {
    max-width: 790px;
    margin: 30px 0 0;
    color: var(--text-secondary);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.75;
}

.hero__actions,
.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 37px;
}

.button {
    display: inline-flex;
    min-height: 53px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid rgba(242, 160, 149, 0.34);
    outline-offset: 4px;
}

.button--primary {
    background: var(--accent-gradient);
    box-shadow: 0 14px 34px rgba(255, 157, 87, 0.16);
    color: #190f11;
}

.button--primary:hover {
    background: var(--accent-gradient-hover);
    box-shadow: 0 18px 42px rgba(255, 157, 87, 0.22);
}

.button--secondary {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-primary);
}

.button--secondary:hover {
    border-color: var(--accent-border);
    background: rgba(255, 157, 87, 0.08);
}

.button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: transform 180ms ease;
}

.button:hover .button__icon {
    transform: translateX(3px);
}

.hero-panel {
    position: relative;
    padding: clamp(27px, 4vw, 38px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(188, 138, 221, 0.1),
            transparent 18rem
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        ),
        var(--surface-elevated);
    box-shadow: var(--shadow-large);
}

.hero-panel::before {
    position: absolute;
    top: 0;
    left: 30px;
    width: 90px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-gradient);
    content: "";
}

.hero-panel__label,
.section-heading__eyebrow,
.cta-panel__eyebrow {
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-panel__label {
    margin: 0 0 9px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.hero-panel__value {
    margin: 0;
    font-size: clamp(48px, 7vw, 74px);
    font-weight: 780;
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero-panel__value span {
    background: var(--accent-gradient);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-panel__description {
    margin: 16px 0 31px;
    color: var(--text-secondary);
    line-height: 1.68;
}

.hero-panel__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-panel__list li {
    display: flex;
    gap: 13px;
    align-items: center;
    padding-block: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 15px;
}

.hero-panel__check {
    display: inline-flex;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 157, 87, 0.22);
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 800;
}

.showcase-group {
    padding-block:
        clamp(42px, 6vw, 78px)
        clamp(88px, 11vw, 145px);
}

.showcase-group + .showcase-group {
    position: relative;
    padding-top: clamp(86px, 10vw, 132px);
}

.showcase-group + .showcase-group::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--border-strong),
        transparent
    );
    content: "";
}

.section-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(280px, 0.5fr);
    gap: 48px;
    align-items: end;
    margin-bottom: clamp(38px, 5vw, 60px);
}

.section-heading__eyebrow,
.cta-panel__eyebrow {
    margin: 0 0 14px;
}

.section-heading h2 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 740;
    line-height: 1.07;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.section-heading__text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.template-card {
    position: relative;
    display: flex;
    min-height: 342px;
    flex-direction: column;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.01)
        ),
        var(--surface);
    color: inherit;
    text-decoration: none;
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background-color 200ms ease,
        box-shadow 200ms ease;
}

.template-card::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 157, 87, 0.55),
        rgba(188, 138, 221, 0.45),
        transparent
    );
    content: "";
    opacity: 0;
    transition: opacity 200ms ease;
}

.template-card::after {
    position: absolute;
    right: -95px;
    bottom: -125px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(220, 148, 186, 0.1),
        transparent 68%
    );
    content: "";
    transition: transform 240ms ease;
}

.template-card:hover,
.template-card:focus-visible {
    z-index: 1;
    border-color: var(--accent-border);
    background-color: var(--surface-elevated);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
    outline: none;
    transform: translateY(-6px);
}

.template-card:hover::before,
.template-card:focus-visible::before {
    opacity: 1;
}

.template-card:hover::after,
.template-card:focus-visible::after {
    transform: scale(1.12);
}

.template-card:focus-visible {
    box-shadow:
        0 0 0 3px rgba(242, 160, 149, 0.2),
        0 24px 58px rgba(0, 0, 0, 0.22);
}

.template-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 39px;
}

.template-card__number {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.template-card__category {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 650;
}

.template-card__content {
    position: relative;
    z-index: 1;
}

.template-card h3 {
    margin: 0 0 15px;
    font-size: 26px;
    font-weight: 720;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.template-card__description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.template-card__features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.template-card__features li {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.template-card__link {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 31px;
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 750;
}

.template-card__arrow {
    display: inline-flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    background: var(--accent-soft);
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.template-card:hover .template-card__arrow,
.template-card:focus-visible .template-card__arrow {
    background: rgba(255, 157, 87, 0.16);
    transform: translateX(3px);
}

.showcase-group--funnels .section-heading__eyebrow,
.showcase-group--funnels .template-card__link {
    color: var(--accent-purple);
}

.showcase-group--funnels .template-card::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(220, 148, 186, 0.55),
        rgba(188, 138, 221, 0.62),
        transparent
    );
}

.showcase-group--funnels .template-card:hover,
.showcase-group--funnels .template-card:focus-visible {
    border-color: rgba(188, 138, 221, 0.38);
}

.showcase-group--funnels .template-card__arrow {
    border-color: rgba(188, 138, 221, 0.30);
    background: rgba(188, 138, 221, 0.09);
}

.cta-panel {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    padding: clamp(32px, 5vw, 54px);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(188, 138, 221, 0.16),
            transparent 25rem
        ),
        radial-gradient(
            circle at 0 100%,
            rgba(255, 157, 87, 0.11),
            transparent 26rem
        ),
        linear-gradient(
            145deg,
            var(--surface-elevated),
            var(--surface-soft)
        );
}

.cta-panel::before {
    position: absolute;
    top: 0;
    right: 48px;
    left: 48px;
    height: 1px;
    background: var(--accent-gradient);
    content: "";
    opacity: 0.72;
}

.cta-panel__content,
.cta-panel__actions {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    max-width: 770px;
    margin: 0;
    font-size: clamp(30px, 4vw, 47px);
    font-weight: 730;
    line-height: 1.1;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.cta-panel__text {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.72;
}

.cta-panel__actions {
    min-width: max-content;
    margin-top: 0;
}

.site-footer {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding-block: 36px;
    color: var(--text-muted);
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--text-secondary);
    font-weight: 650;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-footer a:hover {
    color: var(--accent-orange);
}

.site-footer a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(242, 160, 149, 0.28);
    outline-offset: 4px;
}
