/* ═══════════════════════════════════════
   MENTORIS HUB — Dark Premium Theme
   ═══════════════════════════════════════ */

:root {
    --accent: #1988FE;
    --accent-light: #4da3ff;
    --accent-dark: #0b6fd4;
    --accent-glow: rgba(25, 136, 254, 0.35);
    --accent-subtle: rgba(25, 136, 254, 0.08);
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1520;
    --bg-card: #131a28;
    --bg-card-hover: #1a2338;
    --surface: #182032;
    --text-primary: #f0f4fc;
    --text-secondary: #8b9dc3;
    --text-muted: #5a6f94;
    --border: rgba(25, 136, 254, 0.12);
    --border-hover: rgba(25, 136, 254, 0.3);
    --gold: #f0a830;
    --gold-glow: rgba(240, 168, 48, 0.25);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 100px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px var(--accent-glow), 0 0 80px rgba(25,136,254,0.1);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ── Background Effects ── */
#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(25, 136, 254, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(60, 160, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 90% 60% at 50% 110%, rgba(25, 100, 254, 0.06) 0%, transparent 50%);
    animation: auroraShift 12s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% {
        background:
            radial-gradient(ellipse 80% 50% at 20% -10%, rgba(25, 136, 254, 0.12) 0%, transparent 60%),
            radial-gradient(ellipse 60% 40% at 80% 10%, rgba(60, 160, 255, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse 90% 60% at 50% 110%, rgba(25, 100, 254, 0.06) 0%, transparent 50%);
    }
    33% {
        background:
            radial-gradient(ellipse 70% 55% at 40% -5%, rgba(40, 150, 254, 0.15) 0%, transparent 55%),
            radial-gradient(ellipse 50% 45% at 70% 20%, rgba(25, 136, 254, 0.1) 0%, transparent 55%),
            radial-gradient(ellipse 100% 50% at 30% 105%, rgba(50, 130, 254, 0.08) 0%, transparent 45%);
    }
    66% {
        background:
            radial-gradient(ellipse 60% 45% at 60% 0%, rgba(30, 140, 254, 0.13) 0%, transparent 50%),
            radial-gradient(ellipse 70% 50% at 20% 15%, rgba(70, 170, 255, 0.09) 0%, transparent 60%),
            radial-gradient(ellipse 80% 55% at 70% 108%, rgba(25, 120, 254, 0.07) 0%, transparent 50%);
    }
    100% {
        background:
            radial-gradient(ellipse 85% 55% at 30% -8%, rgba(45, 150, 254, 0.14) 0%, transparent 55%),
            radial-gradient(ellipse 55% 40% at 75% 5%, rgba(25, 136, 254, 0.11) 0%, transparent 50%),
            radial-gradient(ellipse 95% 65% at 45% 112%, rgba(35, 110, 254, 0.07) 0%, transparent 48%);
    }
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(25, 136, 254, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 136, 254, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.bg-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 75% 65% at 50% 40%, transparent 40%, rgba(6, 9, 15, 0.7) 100%);
}

.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* Floating Flares */
.bg-flare {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.bg-flare--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(25, 136, 254, 0.1) 0%, rgba(25, 136, 254, 0.03) 30%, transparent 65%);
    top: -200px;
    right: -200px;
    animation: flare1 16s ease-in-out infinite;
}

.bg-flare--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(80, 170, 255, 0.07) 0%, rgba(50, 140, 255, 0.02) 35%, transparent 60%);
    bottom: -100px;
    left: -150px;
    animation: flare2 20s ease-in-out infinite;
}

.bg-flare--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(100, 190, 255, 0.06) 0%, transparent 55%);
    top: 40%;
    left: 60%;
    animation: flare3 14s ease-in-out infinite;
}

@keyframes flare1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    25% { transform: translate(-60px, 50px) scale(1.2); opacity: 0.8; }
    50% { transform: translate(-30px, 80px) scale(0.9); opacity: 1; }
    75% { transform: translate(40px, 20px) scale(1.15); opacity: 0.7; }
}

@keyframes flare2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(70px, -40px) scale(1.3); }
    60% { transform: translate(30px, -70px) scale(0.85); }
    80% { transform: translate(-20px, -20px) scale(1.1); }
}

@keyframes flare3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-50px, 40px) scale(1.4); opacity: 1; }
}

/* Horizontal Scan Line */
.bg-scan {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(25, 136, 254, 0.03) 20%,
        rgba(25, 136, 254, 0.08) 50%,
        rgba(25, 136, 254, 0.03) 80%,
        transparent 100%
    );
    animation: scanDown 8s linear infinite;
    opacity: 0.7;
}

@keyframes scanDown {
    0% { top: -2px; }
    100% { top: 100%; }
}

/* ── Hub Container ── */
.hub {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 0 auto;
    padding: 48px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── Animate In ── */
.animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Logo ── */
.hub__logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hub__logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(25, 136, 254, 0.2));
    transition: var(--transition);
}

.hub__logo img:hover {
    filter: drop-shadow(0 0 40px rgba(25, 136, 254, 0.4));
    transform: scale(1.03);
}

/* ── Title ── */
.hub__title {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hub__title-sep {
    opacity: 0.3;
    margin: 0 4px;
    -webkit-text-fill-color: var(--text-muted);
}

/* ── Description ── */
.hub__desc {
    text-align: center;
    width: 100%;
}

.hub__desc-main {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.hub__desc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--accent-subtle);
    border: 1px solid var(--border);
    color: var(--accent-light);
    transition: var(--transition);
    white-space: nowrap;
}

.tag:hover {
    border-color: var(--border-hover);
    background: rgba(25, 136, 254, 0.12);
    transform: translateY(-1px);
}

/* ── CTA Main Button ── */
.cta-main {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-glow), 0 4px 20px rgba(25, 136, 254, 0.3);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    width: 100%;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.cta-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.cta-main:hover::before {
    transform: translateX(100%);
}

.cta-main:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 50px var(--accent-glow), 0 0 100px rgba(25,136,254,0.15), 0 8px 30px rgba(25,136,254,0.3);
}

.cta-main:active {
    transform: translateY(0) scale(0.98);
}

.cta-main__pulse {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: ctaPulse 2.5s ease-out infinite;
}

.cta-main__pulse--2 {
    animation-delay: 1.25s;
}

@keyframes ctaPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.12); opacity: 0; }
}

.cta-main__icon {
    display: flex;
    align-items: center;
}

.cta-main__arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.cta-main:hover .cta-main__arrow {
    transform: translateX(4px);
}

/* ── Features Section ── */
.features {
    width: 100%;
    overflow: hidden;
}

.features__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}

.features__badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.features__dots {
    display: flex;
    gap: 6px;
}

.features__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
}

.features__dot.active {
    background: var(--accent);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

.features__carousel {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ── Feature Card ── */
.feature-card {
    min-width: calc(100% / 1 - 0px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    cursor: default;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(25,136,254,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(25,136,254,0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: 14px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
    border-color: var(--border-hover);
    background: rgba(25, 136, 254, 0.12);
    transform: scale(1.08);
}

.feature-card__icon svg {
    width: 32px;
    height: 32px;
}

.feature-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-card__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Link Buttons ── */
.hub__links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.link-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(25,136,254,0.04) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.link-btn:hover::after {
    transform: translateX(100%);
}

.link-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.link-btn:active {
    transform: translateY(0) scale(0.98);
}

.link-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-subtle);
    border: 1px solid var(--border);
    flex-shrink: 0;
    color: var(--accent);
    transition: var(--transition);
}

.link-btn:hover .link-btn__icon {
    background: rgba(25, 136, 254, 0.15);
    border-color: var(--border-hover);
}

.link-btn__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.link-btn__label {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.link-btn__sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.link-btn__chevron {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition);
}

.link-btn:hover .link-btn__chevron {
    color: var(--accent);
    transform: translateX(3px);
}

/* Gold variant */
.link-btn--gold .link-btn__icon {
    background: rgba(240, 168, 48, 0.08);
    border-color: rgba(240, 168, 48, 0.15);
    color: var(--gold);
}

.link-btn--gold:hover {
    border-color: rgba(240, 168, 48, 0.3);
}

.link-btn--gold:hover .link-btn__icon {
    background: rgba(240, 168, 48, 0.15);
    border-color: rgba(240, 168, 48, 0.3);
}

.link-btn--gold:hover .link-btn__chevron {
    color: var(--gold);
}

.link-btn--gold::after {
    background: linear-gradient(90deg, transparent 0%, rgba(240,168,48,0.04) 50%, transparent 100%);
}

/* ── Login Link ── */
.login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: 1px solid transparent;
}

.login-link:hover {
    color: var(--accent-light);
    border-color: var(--border);
    background: var(--accent-subtle);
}

.login-link svg {
    transition: transform 0.3s;
}

.login-link:hover svg {
    transform: translateX(2px);
}

/* ── Footer ── */
.hub__footer {
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
}

.hub__footer p {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (min-width: 500px) {
    .feature-card {
        min-width: calc(50% - 8px);
    }
}

@media (min-width: 768px) {
    .feature-card {
        min-width: calc(33.333% - 11px);
    }

    .hub {
        padding: 60px 24px 48px;
        gap: 32px;
    }

    .hub__logo img {
        width: 240px;
    }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--surface);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* ── Selection ── */
::selection {
    background: rgba(25, 136, 254, 0.3);
    color: #fff;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .bg-orb, .particle {
        display: none;
    }
}

/* ============ BOTÃO EM DESTAQUE — Planner de Estudos (verde) ============ */
@property --pavio-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.link-btn--featured {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(34, 197, 94, 0.04));
    border: 1px solid rgba(16, 185, 129, 0.25);
    overflow: hidden;
    isolation: isolate;
}

/* Pavio girando na borda */
.link-btn--featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--pavio-angle),
        transparent 0%,
        transparent 70%,
        #10b981 82%,
        #34d399 88%,
        #10b981 94%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pavio-rotate 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes pavio-rotate {
    to { --pavio-angle: 360deg; }
}

/* Shine passando a cada 2s */
.link-btn--featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(16, 185, 129, 0.06) 48%,
        rgba(52, 211, 153, 0.18) 50%,
        rgba(16, 185, 129, 0.06) 52%,
        transparent 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shine-sweep 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shine-sweep {
    0%, 100% { left: -100%; }
    50%      { left: 180%; }
}

/* Garante que o conteúdo do botão fique acima dos efeitos */
.link-btn--featured > * {
    position: relative;
    z-index: 3;
}

/* Tonalização verde sutil nos elementos internos */
.link-btn--featured .link-btn__icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.link-btn--featured .link-btn__chevron {
    color: #10b981;
}

/* Hover — intensifica o verde sem mudar tamanho */
.link-btn--featured:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(34, 197, 94, 0.08));
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 32px -10px rgba(16, 185, 129, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .link-btn--featured::before,
    .link-btn--featured::after {
        animation: none !important;
    }
}

/* ============ PAVIO + GLOW BLUE-HOT — CTA Promoção ============ */
@property --cta-pavio-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Glow blue-hot pulsante atrás do botão (não depende de overflow) */
.cta-main {
    box-shadow:
        0 0 0 1px rgba(67, 178, 255, 0.4),
        0 8px 24px -4px rgba(25, 136, 254, 0.6),
        0 0 50px -8px rgba(67, 178, 255, 0.8),
        0 0 100px -20px rgba(0, 162, 255, 0.9) !important;
    animation: cta-hot-glow 2.5s ease-in-out infinite;
}

@keyframes cta-hot-glow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(67, 178, 255, 0.4),
            0 8px 24px -4px rgba(25, 136, 254, 0.6),
            0 0 50px -8px rgba(67, 178, 255, 0.8),
            0 0 100px -20px rgba(0, 162, 255, 0.9);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.6),
            0 12px 32px -4px rgba(25, 136, 254, 0.85),
            0 0 80px -8px rgba(67, 178, 255, 1),
            0 0 150px -20px rgba(0, 162, 255, 1);
    }
}

/* Pavio rotacionando DENTRO do botão (borda interna brilhante) */
.cta-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
        from var(--cta-pavio-angle),
        transparent 0%,
        transparent 60%,
        rgba(186, 230, 253, 0.6) 72%,
        #43b2ff 80%,
        #ffffff 86%,
        #ffffff 88%,
        #43b2ff 94%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: cta-pavio-rotate 2.5s linear infinite;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 0 8px #43b2ff) drop-shadow(0 0 16px rgba(67, 178, 255, 0.8));
}

@keyframes cta-pavio-rotate {
    to { --cta-pavio-angle: 360deg; }
}

/* Hover — acelera tudo */
.cta-main:hover {
    animation-duration: 1.2s;
}

.cta-main:hover::after {
    animation-duration: 1.5s;
}

@media (prefers-reduced-motion: reduce) {
    .cta-main,
    .cta-main::after {
        animation: none !important;
    }
}