/* RuXt AI Sales Engine Custom Styling */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --ruxt-pine: #173d34;
    --ruxt-pine-hover: #285c4e;
    --ruxt-pine-deep: #0f2620;
    --ruxt-cream: #fcfaf5;
    --ruxt-panel: #f5f2e9;
    --ruxt-line: #ddd8cc;
    --ruxt-line-soft: #e8e3d9;
    --ruxt-text: #202725;
    --ruxt-muted: #68716d;
    --ruxt-gold: #b7843f;
    --ruxt-sage: #799a87;
}

html {
    scroll-behavior: smooth;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--ruxt-cream);
    color: var(--ruxt-text);
    overflow-x: hidden;
}

/* Typography Helpers */
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Subtle Hero Glow */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 92, 78, 0.15) 0%, rgba(23, 61, 52, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(221, 216, 204, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(23, 61, 52, 0.4);
    box-shadow: 0 16px 32px -12px rgba(23, 61, 52, 0.08);
}

.dark-glass-card {
    background: rgba(15, 38, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(121, 154, 135, 0.25);
    box-shadow: 0 25px 50px -12px rgba(7, 21, 17, 0.4);
}

/* Smooth Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
    opacity: 0;
}

.faq-content.open {
    max-height: 400px;
    opacity: 1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f2e9;
}
::-webkit-scrollbar-thumb {
    background: #c3cfca;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #799a87;
}

/* Range Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd8cc;
    border-radius: 9999px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ruxt-pine);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(23, 61, 52, 0.3);
    border: 2px solid #ffffff;
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Pulsing Live Dot */
@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.6;
    }
}

.live-pulse {
    animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Shimmer Highlight Button */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(30deg);
    animation: shimmerSlide 5s infinite;
}

@keyframes shimmerSlide {
    0% { transform: translateX(-150%) rotate(30deg); }
    30% { transform: translateX(150%) rotate(30deg); }
    100% { transform: translateX(150%) rotate(30deg); }
}

/* Hero CTA pair */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(100%, 570px);
    margin-inline: auto;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 260px;
    min-height: 60px;
    padding: 8px 10px 8px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(23, 61, 52, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
}

.hero-cta:active {
    transform: translateY(-1px) scale(0.985);
}

.hero-cta:focus-visible {
    outline: 3px solid rgba(183, 132, 63, 0.32);
    outline-offset: 4px;
}

.hero-cta-primary {
    color: var(--ruxt-cream);
    background: linear-gradient(135deg, var(--ruxt-pine-deep), var(--ruxt-pine-hover));
    box-shadow: 0 14px 32px rgba(23, 61, 52, 0.25);
}

.hero-cta-primary:hover {
    color: #fff;
    box-shadow: 0 18px 38px rgba(23, 61, 52, 0.3);
}

.hero-cta-secondary {
    color: var(--ruxt-pine);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(23, 61, 52, 0.16);
    box-shadow: 0 12px 28px rgba(23, 61, 52, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-cta-secondary:hover {
    color: var(--ruxt-pine-deep);
    background: #fff;
    border-color: rgba(23, 61, 52, 0.3);
    box-shadow: 0 17px 34px rgba(23, 61, 52, 0.13);
}

.hero-cta-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.hero-cta-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

.hero-cta-primary .hero-cta-icon {
    color: var(--ruxt-pine-deep);
    background: rgba(252, 250, 245, 0.94);
}

.hero-cta-secondary .hero-cta-icon {
    color: var(--ruxt-gold);
    background: rgba(183, 132, 63, 0.1);
    border: 1px solid rgba(183, 132, 63, 0.2);
}

@media (max-width: 639px) {
    .hero-cta-group {
        flex-direction: column;
        width: min(100%, 360px);
    }

    .hero-cta {
        width: 100%;
        min-width: 0;
    }
}

/* Deployment package cards */
.deployment-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 213, 128, 0.17), transparent 31rem),
        linear-gradient(180deg, #f7f4ec 0%, #f3f0e7 100%);
}

.deployment-section::before,
.deployment-section::after {
    content: '';
    position: absolute;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(23, 61, 52, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.deployment-section::before {
    top: -15rem;
    left: -8rem;
}

.deployment-section::after {
    right: -9rem;
    bottom: -16rem;
}

.deployment-shell {
    position: relative;
    z-index: 1;
}

.deployment-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #a96e25;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.deployment-eyebrow::before,
.deployment-eyebrow::after {
    content: '';
    width: 22px;
    height: 1px;
    background: rgba(183, 132, 63, 0.5);
}

.deployment-title {
    color: var(--ruxt-pine);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.deployment-intro {
    max-width: 42rem;
    margin: 14px auto 0;
    color: var(--ruxt-sage);
    font-size: clamp(0.94rem, 1.5vw, 1.08rem);
    line-height: 1.7;
}

.edition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.edition-card {
    position: relative;
    display: flex;
    min-height: 545px;
    padding: 30px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(23, 61, 52, 0.13);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(23, 61, 52, 0.065), inset 0 1px 0 #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.edition-card:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 61, 52, 0.25);
    box-shadow: 0 22px 48px rgba(23, 61, 52, 0.11), inset 0 1px 0 #fff;
}

.edition-card--featured {
    border-color: var(--ruxt-pine);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    box-shadow: 0 24px 58px rgba(23, 61, 52, 0.16), inset 0 0 0 1px rgba(23, 61, 52, 0.07);
}

.edition-card--featured:hover {
    transform: translateY(-7px);
    border-color: var(--ruxt-pine);
    box-shadow: 0 30px 66px rgba(23, 61, 52, 0.2), inset 0 0 0 1px rgba(23, 61, 52, 0.07);
}

.edition-popular-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin: -16px 0 20px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #ffe1a5;
    background: var(--ruxt-pine);
    box-shadow: 0 8px 18px rgba(23, 61, 52, 0.2);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.edition-popular-badge svg {
    width: 13px;
    height: 13px;
}

.edition-plan-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.edition-kicker {
    display: block;
    margin-bottom: 7px;
    color: #9a6d31;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.edition-plan-head h4 {
    color: var(--ruxt-charcoal);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.edition-card--featured .edition-plan-head h4 {
    color: var(--ruxt-pine);
}

.edition-audience {
    flex: 0 0 auto;
    padding: 7px 9px;
    border: 1px solid rgba(23, 61, 52, 0.08);
    border-radius: 999px;
    color: var(--ruxt-sage);
    background: rgba(245, 242, 233, 0.9);
    font-size: 0.57rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.edition-card--featured .edition-audience {
    color: var(--ruxt-pine);
    background: rgba(23, 61, 52, 0.08);
}

.edition-card--agency .edition-audience {
    color: #a96e25;
    background: rgba(183, 132, 63, 0.1);
}

.edition-description {
    min-height: 58px;
    margin: 17px 0 19px;
    color: var(--ruxt-sage);
    font-size: 0.78rem;
    line-height: 1.55;
}

.edition-type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 10px;
    color: var(--ruxt-pine);
    background: rgba(23, 61, 52, 0.07);
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.edition-card--agency .edition-type {
    color: #a96e25;
    background: rgba(183, 132, 63, 0.1);
}

.edition-features {
    display: grid;
    gap: 12px;
    margin: 25px 0 30px;
    color: var(--ruxt-charcoal);
    font-size: 0.76rem;
    line-height: 1.45;
}

.edition-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.edition-features li > svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: #0b9a72;
    stroke-width: 2.2;
}

.edition-features li.text-\[\#9ca3af\] > svg {
    color: #a8afac;
}

.edition-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 48px;
    padding: 8px 9px 8px 18px;
    border: 1px solid rgba(23, 61, 52, 0.42);
    border-radius: 999px;
    color: var(--ruxt-pine);
    background: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    font-weight: 800;
    transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.edition-action svg {
    display: grid;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(23, 61, 52, 0.08);
}

.edition-action:hover {
    color: #fff;
    border-color: var(--ruxt-pine);
    background: var(--ruxt-pine);
    box-shadow: 0 12px 24px rgba(23, 61, 52, 0.16);
    transform: translateY(-2px);
}

.edition-action:hover svg {
    background: rgba(255, 255, 255, 0.14);
}

.edition-action--primary {
    color: #fff;
    border-color: var(--ruxt-pine);
    background: linear-gradient(135deg, var(--ruxt-pine), var(--ruxt-pine-hover));
    box-shadow: 0 13px 26px rgba(23, 61, 52, 0.2);
}

.edition-action--primary svg {
    color: var(--ruxt-pine);
    background: #ffe0a0;
}

.edition-action--primary:hover {
    border-color: var(--ruxt-pine-hover);
    background: linear-gradient(135deg, var(--ruxt-pine-hover), var(--ruxt-pine));
    box-shadow: 0 17px 30px rgba(23, 61, 52, 0.26);
}

.edition-action--primary:hover svg {
    background: #ffe0a0;
}

@media (max-width: 1023px) {
    .edition-grid {
        grid-template-columns: 1fr;
        max-width: 44rem;
        margin-inline: auto;
    }

    .edition-card {
        min-height: 0;
    }

    .edition-description {
        min-height: 0;
    }
}

@media (max-width: 639px) {
    .deployment-heading {
        margin-bottom: 2.25rem;
    }

    .edition-card {
        padding: 24px;
        border-radius: 22px;
    }

    .edition-plan-head {
        align-items: flex-start;
    }

    .edition-audience {
        max-width: 105px;
        white-space: normal;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .edition-card,
    .edition-action {
        transition: none;
    }
}


/* ==========================================================================
   Sign In Introduction Video Gateway Styles
   ========================================================================== */
.video-gateway-modal {
    animation: gatewayFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.soundwave-bar {
    display: inline-block;
    width: 3.5px;
    border-radius: 9999px;
    background: #52b788;
    transform-origin: bottom center;
    animation: soundwaveAnim 1.2s ease-in-out infinite;
}

@keyframes soundwaveAnim {
    0%, 100% {
        height: 6px;
        opacity: 0.6;
    }
    50% {
        height: 22px;
        opacity: 1;
    }
}

/* Skip button strictly locked state during video intro delay */
.skip-btn-locked,
.skip-btn-counting {
    opacity: 0.35 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    user-select: none !important;
    box-shadow: none !important;
    transform: none !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.4s ease !important;
}

.skip-btn-locked:hover,
.skip-btn-counting:hover {
    opacity: 0.35 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Skip button active state ONLY when delay completes */
.skip-btn-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: auto !important;
    filter: none !important;
    animation: skipBtnGlow 2s infinite !important;
    transition: all 0.3s ease !important;
}

@keyframes skipBtnGlow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(23, 61, 52, 0.2);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 8px 24px rgba(183, 132, 63, 0.45);
        transform: translateY(-1px);
    }
}

