/* Expound Start Project funnel — premium conversion surface */
.ec-funnel-hub {
    --eg-navy: #070b14;
    --eg-blue: #155eef;
    --eg-sky: #38bdf8;
    --eg-ink: #0f172a;
    --eg-muted: #64748b;
    --eg-line: #e2e8f0;
    --eg-soft: #f8fafc;
    --eg-ease: cubic-bezier(0.22, 1, 0.36, 1);
    overflow: clip;
}

.ec-funnel-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10040;
    background: transparent;
    pointer-events: none;
}
.ec-funnel-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--eg-blue), var(--eg-sky));
    transition: width 0.1s linear;
}

/* Hero */
.ec-funnel-hero {
    position: relative;
    padding: clamp(72px, 10vw, 110px) 0 clamp(48px, 6vw, 72px);
    color: #fff;
    overflow: hidden;
    background: var(--eg-navy);
}
.ec-funnel-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 12% 20%, rgba(21, 94, 239, 0.5), transparent 55%),
        radial-gradient(ellipse 45% 55% at 88% 75%, rgba(56, 189, 248, 0.2), transparent 50%),
        linear-gradient(165deg, #020617 0%, #0b1220 55%, #111827 100%);
    pointer-events: none;
}
.ec-funnel-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
    animation: ecFunnelGrid 28s linear infinite;
}
.ec-funnel-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: ecFunnelFloat 12s var(--eg-ease) infinite;
}
.ec-funnel-orb--a { width: 280px; height: 280px; top: -60px; left: 8%; background: #155eef; }
.ec-funnel-orb--b { width: 220px; height: 220px; bottom: 5%; right: 12%; background: #0ea5e9; animation-delay: -4s; }
.ec-funnel-orb--c { width: 160px; height: 160px; top: 40%; left: 45%; background: #6366f1; opacity: 0.25; animation-delay: -7s; }

.ec-funnel-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}
.ec-funnel-hero__title {
    margin: 14px 0 16px;
    font-size: clamp(2.05rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
}
.ec-funnel-hero__lead {
    margin: 0 0 26px;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #cbd5e1;
    max-width: 34em;
}
.ec-funnel-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.ec-funnel-hero__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.ec-funnel-hero__checks li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}
.ec-funnel-hero__checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.2);
    box-shadow: inset 0 0 0 2px #4ade80;
}

.ec-funnel-hero__panel {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.ec-funnel-live {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}
.ec-funnel-live__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: ecFunnelPulse 1.6s ease infinite;
}
.ec-funnel-proof--panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.ec-funnel-proof--panel li {
    padding: 14px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.16);
}
.ec-funnel-proof--panel strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.ec-funnel-proof--panel span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.35;
    color: #94a3b8;
}
.ec-funnel-hero__panel-cta {
    display: inline-flex;
    color: #93c5fd !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.25s var(--eg-ease);
}
.ec-funnel-hero__panel-cta:hover { transform: translateX(4px); }

/* Entrance */
.ec-funnel-fade {
    opacity: 0;
    transform: translateY(18px);
    animation: ecFunnelIn 0.75s var(--eg-ease) forwards;
}
.ec-funnel-fade--1 { animation-delay: 0.08s; }
.ec-funnel-fade--2 { animation-delay: 0.16s; }
.ec-funnel-fade--3 { animation-delay: 0.24s; }
.ec-funnel-fade--4 { animation-delay: 0.32s; }

.ec-funnel-pulse {
    animation: ecFunnelIn 0.75s var(--eg-ease) 0.24s forwards, ecFunnelGlow 2.8s ease-in-out 1.2s infinite;
}

/* Marquee */
.ec-funnel-marquee {
    overflow: hidden;
    border-block: 1px solid rgba(148, 163, 184, 0.12);
    background: #0b1220;
    padding: 14px 0;
}
.ec-funnel-marquee__track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: ecFunnelMarquee 28s linear infinite;
}
.ec-funnel-marquee span {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ec-funnel-marquee span::before {
    content: "●";
    color: #155eef;
    margin-right: 12px;
    font-size: 8px;
    vertical-align: middle;
}

/* Quick path chips in hero */
.ec-funnel-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 22px;
}
.ec-funnel-quicklinks__label {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}
.ec-funnel-quicklinks__chip {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.45);
    text-decoration: none !important;
    transition: transform 0.25s var(--eg-ease), border-color 0.25s ease, background 0.25s ease;
}
.ec-funnel-quicklinks__chip:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(21, 94, 239, 0.25);
}
.ec-funnel-quicklinks__chip strong {
    font-size: 12px;
    color: #e2e8f0;
}
.ec-funnel-quicklinks__chip code {
    font-size: 11px;
    color: #93c5fd;
    background: none;
    padding: 0;
}

/* Cross-nav on vertical pages */
.ec-funnel-crossnav {
    position: relative;
    z-index: 2;
    background: rgba(2, 6, 23, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 10px 0;
}
.ec-funnel-crossnav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    justify-content: space-between;
}
.ec-funnel-crossnav__home {
    color: #93c5fd !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}
.ec-funnel-crossnav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ec-funnel-crossnav__links a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ec-funnel-crossnav__links a.is-active,
.ec-funnel-crossnav__links a:hover {
    background: rgba(21, 94, 239, 0.3);
    border-color: rgba(56, 189, 248, 0.45);
    color: #fff !important;
}
.ec-funnel-crossnav__links code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: 12px;
}

/* URL directory bar */
.ec-funnel-urlbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
.ec-funnel-urlbar__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(21, 94, 239, 0.35);
    background: linear-gradient(180deg, #eff6ff, #fff);
    text-decoration: none !important;
    transition: transform 0.3s var(--eg-ease), box-shadow 0.3s ease;
}
.ec-funnel-urlbar__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(21, 94, 239, 0.12);
}
.ec-funnel-urlbar__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--eg-ink);
}
.ec-funnel-urlbar__url {
    font-size: 13px;
    font-weight: 700;
    color: var(--eg-blue);
    background: none;
    padding: 0;
}

/* Paths */
.ec-funnel-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.ec-funnel-path {
    position: relative;
    border: 1px solid var(--eg-line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--eg-ease), box-shadow 0.35s var(--eg-ease), border-color 0.3s ease;
}
.ec-funnel-path::before {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--eg-blue), var(--eg-sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--eg-ease);
    z-index: 1;
}
.ec-funnel-path:hover,
.ec-funnel-path.is-selected {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(21, 94, 239, 0.45);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}
.ec-funnel-path:hover::before,
.ec-funnel-path.is-selected::before { transform: scaleX(1); }
.ec-funnel-path.is-selected {
    background: linear-gradient(180deg, #eff6ff 0%, #fff 42%);
}
.ec-funnel-path__cover {
    display: block;
    padding: 26px 24px 18px;
    text-decoration: none !important;
    color: inherit;
    flex: 1;
}
.ec-funnel-path__metric {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #0b1220;
    color: #93c5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ec-funnel-path__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--eg-blue);
    font-weight: 800;
    font-size: 16px;
    transition: transform 0.4s var(--eg-ease);
}
.ec-funnel-path:hover .ec-funnel-path__icon {
    transform: scale(1.1) rotate(-6deg);
}
.ec-funnel-path h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--eg-ink);
}
.ec-funnel-path p {
    margin: 0 0 14px;
    color: var(--eg-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.ec-funnel-path__url code {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--eg-blue);
    font-size: 12px;
    font-weight: 700;
}
.ec-funnel-path__open {
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    color: var(--eg-blue);
}
.ec-funnel-path__hit {
    margin: 0 16px 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(21, 94, 239, 0.25);
    background: #eff6ff;
    color: #1d4ed8;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ec-funnel-path__hit:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

/* Conviction strip */
.ec-funnel-conviction {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.ec-funnel-conviction__card {
    padding: 22px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--eg-line);
    animation: ecFunnelCardIn 0.7s var(--eg-ease) both;
    animation-delay: calc(var(--ec-i, 0) * 0.08s);
    transition: transform 0.3s var(--eg-ease), box-shadow 0.3s ease;
}
.ec-funnel-conviction__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.ec-funnel-conviction__num {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--eg-blue);
}
.ec-funnel-conviction__card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--eg-ink);
}
.ec-funnel-conviction__card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--eg-muted);
    line-height: 1.5;
}

.ec-funnel-lead__nudge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #052e16;
    color: #bbf7d0;
    font-size: 13px;
    font-weight: 600;
}
.ec-funnel-lead__nudge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: ecFunnelPulse 1.6s ease infinite;
}

/* Exit intent */
.ec-funnel-exit[hidden] { display: none !important; }
.ec-funnel-exit {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ec-funnel-exit__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(6px);
    animation: ecFunnelFade 0.3s ease;
}
.ec-funnel-exit__card {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    padding: 32px 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
    animation: ecFunnelPop 0.4s var(--eg-ease);
}
.ec-funnel-exit__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 22px;
    cursor: pointer;
    color: #64748b;
}
.ec-funnel-exit__card h2 {
    margin: 8px 0 10px;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--eg-ink);
    letter-spacing: -0.02em;
}
.ec-funnel-exit__card > p {
    margin: 0 0 20px;
    color: var(--eg-muted);
    line-height: 1.55;
}
.ec-funnel-exit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ec-funnel-exit__paths {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.ec-funnel-exit__paths a {
    text-decoration: none !important;
}
.ec-funnel-exit__paths code {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--eg-blue);
    font-size: 12px;
    font-weight: 700;
}

@keyframes ecFunnelCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes ecFunnelFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ecFunnelPop {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to { opacity: 1; transform: none; }
}

/* Lead form */
.ec-funnel-lead {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
}
.ec-funnel-lead__perks {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}
.ec-funnel-lead__perks li {
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--eg-line);
    color: #334155;
    font-size: 14px;
    line-height: 1.45;
}
.ec-funnel-lead__selected {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid rgba(21, 94, 239, 0.2);
    color: #1e3a8a;
    font-size: 14px;
}
.ec-funnel-form {
    padding: clamp(22px, 3vw, 32px);
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--eg-line);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.ec-funnel-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ec-funnel-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}
.ec-funnel-field--full { grid-column: 1 / -1; }
.ec-funnel-field span {
    font-size: 13px;
    font-weight: 700;
    color: var(--eg-ink);
}
.ec-funnel-field em { color: #ef4444; font-style: normal; }
.ec-funnel-field input,
.ec-funnel-field select,
.ec-funnel-field textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid var(--eg-line);
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--eg-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ec-funnel-field input:focus,
.ec-funnel-field select:focus,
.ec-funnel-field textarea:focus {
    outline: none;
    border-color: rgba(21, 94, 239, 0.55);
    box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.12);
}
.ec-funnel-field.is-invalid input,
.ec-funnel-field.is-invalid select,
.ec-funnel-field.is-invalid textarea {
    border-color: #ef4444;
}
.ec-funnel-form__note,
.ec-funnel-form__alt {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--eg-muted);
    line-height: 1.45;
}
.ec-funnel-form__error {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}

.ec-funnel-success[hidden] { display: none !important; }
.ec-funnel-success {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 40px);
    border-radius: 22px;
    background: linear-gradient(160deg, #0b1220 0%, #111827 55%, #0f172a 100%);
    color: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.35);
    text-align: center;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
}
.ec-funnel-success.is-visible {
    animation: ecFunnelSuccessIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ec-funnel-success__glow {
    position: absolute;
    inset: -20% auto auto 50%;
    width: 280px;
    height: 280px;
    margin-left: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 94, 239, 0.45), transparent 70%);
    pointer-events: none;
}
.ec-funnel-success__check {
    position: relative;
    display: inline-flex;
    margin-bottom: 12px;
}
.ec-funnel-success__check svg {
    display: block;
}
.ec-funnel-success__check circle {
    stroke: rgba(74, 222, 128, 0.35);
    stroke-width: 2;
}
.ec-funnel-success__check path {
    stroke: #4ade80;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}
.ec-funnel-success.is-visible .ec-funnel-success__check path {
    animation: ecFunnelCheck 0.55s 0.2s ease forwards;
}
.ec-funnel-success.is-visible .ec-funnel-success__check circle {
    animation: ecFunnelRing 0.7s ease forwards;
}
.ec-funnel-success .ec-eyebrow {
    position: relative;
    color: #93c5fd;
}
.ec-funnel-success__title {
    position: relative;
    margin: 10px 0 12px;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}
.ec-funnel-success__text {
    position: relative;
    margin: 0 auto 20px;
    max-width: 34em;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}
.ec-funnel-success__next {
    position: relative;
    list-style: none;
    margin: 0 auto 22px;
    padding: 0;
    max-width: 28em;
    text-align: left;
}
.ec-funnel-success__next li {
    margin-bottom: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.45;
}
.ec-funnel-success__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@keyframes ecFunnelSuccessIn {
    to { opacity: 1; transform: none; }
}
@keyframes ecFunnelCheck {
    to { stroke-dashoffset: 0; }
}
@keyframes ecFunnelRing {
    from { stroke: rgba(74, 222, 128, 0.15); }
    to { stroke: rgba(74, 222, 128, 0.55); }
}

/* Cards / steps / quotes */
.ec-funnel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.ec-funnel-card {
    padding: 28px 26px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--eg-line);
    transition: transform 0.3s var(--eg-ease), box-shadow 0.3s ease;
}
.ec-funnel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.ec-funnel-card__num {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--eg-blue);
}
.ec-funnel-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--eg-ink);
}
.ec-funnel-card p {
    margin: 0;
    color: var(--eg-muted);
    line-height: 1.55;
    font-size: 0.95rem;
}

.ec-funnel-vertical { display: grid; gap: 14px; }
.ec-funnel-vertical__item {
    padding: 22px 24px;
    border-left: 3px solid var(--eg-blue);
    background: var(--eg-soft);
    border-radius: 0 14px 14px 0;
    transition: transform 0.25s var(--eg-ease);
}
.ec-funnel-vertical__item:hover { transform: translateX(4px); }
.ec-funnel-vertical__item h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--eg-ink);
}
.ec-funnel-vertical__item p {
    margin: 0;
    color: var(--eg-muted);
    line-height: 1.55;
}

.ec-funnel-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ec-funnel-steps__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid var(--eg-line);
    background: #fff;
    transition: transform 0.3s var(--eg-ease);
}
.ec-funnel-steps__item:hover { transform: translateY(-3px); }
.ec-funnel-steps__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--eg-navy);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}
.ec-funnel-steps__item h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--eg-ink);
}
.ec-funnel-steps__item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--eg-muted);
    line-height: 1.5;
}

.ec-funnel-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.ec-funnel-quote {
    margin: 0;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--eg-line);
}
.ec-funnel-quote p {
    margin: 0 0 16px;
    color: var(--eg-ink);
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 600;
}
.ec-funnel-quote footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ec-funnel-quote strong { color: var(--eg-ink); font-size: 14px; }
.ec-funnel-quote span { color: var(--eg-muted); font-size: 12px; }

.ec-funnel-fit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ec-funnel-fit__col {
    padding: 26px 24px;
    border-radius: 16px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}
.ec-funnel-fit__col--no {
    border-color: #fecaca;
    background: #fef2f2;
}
.ec-funnel-fit__col h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--eg-ink);
}
.ec-funnel-fit__col ul { margin: 0; padding: 0 0 0 18px; }
.ec-funnel-fit__col li {
    margin-bottom: 8px;
    color: #334155;
    line-height: 1.45;
}

.ec-funnel-faq { max-width: 760px; margin: 0 auto; }
.ec-funnel-faq__item {
    border: 1px solid var(--eg-line);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 10px;
    padding: 4px 18px;
    transition: box-shadow 0.25s ease;
}
.ec-funnel-faq__item[open] {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.ec-funnel-faq__item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--eg-ink);
    padding: 14px 0;
    list-style: none;
}
.ec-funnel-faq__item summary::-webkit-details-marker { display: none; }
.ec-funnel-faq__item p {
    margin: 0 0 16px;
    color: var(--eg-muted);
    line-height: 1.6;
}

.ec-funnel-cta {
    padding: 80px 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(21, 94, 239, 0.4), transparent 60%),
        linear-gradient(180deg, #020617 0%, #0b1220 100%);
    color: #fff;
    text-align: center;
}
.ec-funnel-cta__inner { max-width: 640px; }
.ec-funnel-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.ec-funnel-cta p {
    margin: 0 0 24px;
    color: #cbd5e1;
    line-height: 1.6;
}
.ec-funnel-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Sticky conversion bar */
.ec-funnel-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10030;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    border-top: 1px solid var(--eg-line);
    box-shadow: 0 -10px 36px rgba(7, 11, 20, 0.1);
    transform: translateY(110%);
    transition: transform 0.4s var(--eg-ease);
}
.ec-funnel-sticky.is-visible { transform: translateY(0); }
.ec-funnel-sticky__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ec-funnel-sticky__text {
    font-size: 14px;
    font-weight: 700;
    color: var(--eg-ink);
    margin-right: 6px;
}

@keyframes ecFunnelIn {
    to { opacity: 1; transform: none; }
}
@keyframes ecFunnelFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.05); }
}
@keyframes ecFunnelPulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@keyframes ecFunnelGlow {
    0%, 100% { box-shadow: 0 10px 28px rgba(21, 94, 239, 0.35); }
    50% { box-shadow: 0 14px 36px rgba(21, 94, 239, 0.55); }
}
@keyframes ecFunnelMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes ecFunnelGrid {
    from { background-position: 0 0, 0 0; }
    to { background-position: 56px 56px, 56px 56px; }
}

@media (max-width: 991px) {
    .ec-funnel-hero__layout,
    .ec-funnel-lead,
    .ec-funnel-quotes,
    .ec-funnel-steps {
        grid-template-columns: 1fr;
    }
    .ec-funnel-paths,
    .ec-funnel-grid,
    .ec-funnel-fit,
    .ec-funnel-urlbar,
    .ec-funnel-conviction {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .ec-funnel-paths,
    .ec-funnel-grid,
    .ec-funnel-fit,
    .ec-funnel-form__grid,
    .ec-funnel-urlbar,
    .ec-funnel-conviction {
        grid-template-columns: 1fr;
    }
    .ec-funnel-hero__actions,
    .ec-funnel-cta__actions,
    .ec-funnel-exit__actions {
        flex-direction: column;
    }
    .ec-funnel-hero__actions .ec-btn,
    .ec-funnel-cta__actions .ec-btn,
    .ec-funnel-exit__actions .ec-btn {
        width: 100%;
        justify-content: center;
    }
    .ec-funnel-sticky__text { display: none; }
    body.ec-funnel-sticky-on { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .ec-funnel-fade,
    .ec-funnel-pulse,
    .ec-funnel-orb,
    .ec-funnel-marquee__track,
    .ec-funnel-live__dot,
    .ec-funnel-hero__bg::after {
        animation: none !important;
    }
    .ec-funnel-fade { opacity: 1; transform: none; }
}
