/* ============================================
   VECTOLIFT — Inline Styles (extracted from index.html)
   Core Web Vitals optimization: moved from <head> to external file
   ============================================ */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    max-width: 24px;
    max-height: 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover:hover {
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 56, 212, 0.3)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(107, 56, 212, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(107, 56, 212, 0)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-glow:hover {
    box-shadow: 0 8px 30px -4px rgba(107, 56, 212, 0.3);
}



/* Flow Styles */
.flow-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 0;
}

.flow-sequence {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.flow-connector {
    flex: 0 0 48px;
    height: 2px;
    background: #e2e8f8;
    position: relative;
    overflow: hidden;
}

.flow-connector-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #6b38d4;
}

.flow-node {
    flex: 0 0 200px;
    background: #ffffff;
    border: 1px solid #cbc3d7;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
    opacity: 0;
    transform: scale(0.85) translateY(16px);
}

.flow-node.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.flow-node:hover {
    box-shadow: 0 10px 20px -5px rgba(21, 28, 39, 0.08);
    transform: translateY(-2px);
}

.flow-node-active {
    border-color: #6b38d4;
    box-shadow: 0 0 20px rgba(107, 56, 212, 0.12);
    transform: scale(1.03) translateY(-2px) !important;
}

.flow-node-icon {
    width: 64px;
    height: 64px;
    background: #f9f9ff;
    border: 1px solid #cbc3d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background-color 0.4s, border-color 0.4s;
}

.flow-node-icon .material-symbols-outlined {
    color: #555f6f;
    transition: color 0.4s;
}

/* When active, make icon background gradient and icon white */
.flow-node-active .flow-node-icon {
    background: linear-gradient(135deg, #6b38d4, #8455ef);
    border-color: #6b38d4;
}

.flow-node-active .flow-node-icon .material-symbols-outlined {
    color: #ffffff;
}

.flow-node-title {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #151c27;
    margin-bottom: 8px;
}

.flow-node-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #555f6f;
    opacity: 0.6;
    transition: opacity 0.4s;
}

.flow-node-active .flow-node-desc {
    opacity: 1;
}

@media (max-width:768px) {
    .flow-sequence {
        flex-direction: column;
    }

    .flow-connector {
        flex: 0 0 32px;
        width: 2px;
        height: 32px;
    }

    .flow-connector-fill {
        width: 100% !important;
        height: 0%;
    }

    .flow-node {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
    }
}

/* Calculator */
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(107, 56, 212, 0.3);
    transition: transform 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(107, 56, 212, 0.3);
}

.calc-value {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Countdown Timer */
.countdown-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.countdown-value {
    font-family: 'Geist', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    background: linear-gradient(135deg, #6b38d4 0%, #8455ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-family: 'Geist', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6e6e73;
    margin-top: 4px;
}

.countdown-separator {
    font-family: 'Geist', sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: #d2d2d7;
    line-height: 1;
    padding-top: 2px;
}

@media (max-width:480px) {
    .countdown-value {
        font-size: 28px;
    }

    .countdown-unit {
        min-width: 56px;
    }

    .countdown-separator {
        font-size: 24px;
    }
}

.urgency-pulse {
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    padding: 40px 36px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    opacity: 0;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6e6e73;
    font-size: 24px;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #1d1d1f;
}

/* ─── CALC ACCENT ─── */
.calc-accent { color: #9867C5 !important; }
.calc-accent-bg { background: #9867C5 !important; }
.calc-accent-border { border-color: rgba(152, 103, 197, 0.2) !important; }
.calc-accent-border-strong { border-color: rgba(152, 103, 197, 0.35) !important; }

/* ─── LIGHT SLIDER ─── */
.calc-slider-light {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.calc-slider-light::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #9867C5;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(152, 103, 197, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-slider-light::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(152, 103, 197, 0.4);
}

.calc-slider-light::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #9867C5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(152, 103, 197, 0.3);
}

.calc-slider-light::-moz-range-track {
    height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
}

/* ─── DEMO SECTION ─── */
.demo-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #d2d2d7;
    border-bottom: 1px solid #d2d2d7;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(107, 56, 212, 0.06) 0%, rgba(107, 56, 212, 0.02) 40%, transparent 70%);
    pointer-events: none;
}

.demo-orb-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(107, 56, 212, 0.12);
}

.demo-ring-1 {
    width: 100%;
    height: 100%;
    animation: demoRingPulse 3s ease-in-out infinite;
}

.demo-ring-2 {
    width: 75%;
    height: 75%;
    animation: demoRingPulse 3s ease-in-out 0.5s infinite;
    border-color: rgba(107, 56, 212, 0.18);
}

.demo-ring-3 {
    width: 50%;
    height: 50%;
    animation: demoRingPulse 3s ease-in-out 1s infinite;
    border-color: rgba(107, 56, 212, 0.25);
}

@keyframes demoRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.5;
    }
}

.demo-phone-icon {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #6b38d4 0%, #8455ef 60%, #a67bff 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(107, 56, 212, 0.2), 0 0 80px rgba(107, 56, 212, 0.06);
}

.demo-phone-icon .material-symbols-outlined {
    font-size: 36px;
    color: #fff;
}

.demo-wave-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.demo-wave-bar {
    width: 3px;
    border-radius: 2px;
    background: rgba(107, 56, 212, 0.45);
    animation: demoWave 1.2s ease-in-out infinite;
}

.demo-wave-bar:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.demo-wave-bar:nth-child(2) {
    height: 16px;
    animation-delay: 0.1s;
}

.demo-wave-bar:nth-child(3) {
    height: 24px;
    animation-delay: 0.2s;
}

.demo-wave-bar:nth-child(4) {
    height: 18px;
    animation-delay: 0.3s;
}

.demo-wave-bar:nth-child(5) {
    height: 10px;
    animation-delay: 0.4s;
}

@keyframes demoWave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.6);
    }
}

.demo-phone-number {
    font-family: 'Geist', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.demo-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #6b38d4 0%, #8455ef 100%);
    color: #fff;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 24px rgba(107, 56, 212, 0.25);
    position: relative;
    overflow: hidden;
}

.demo-cta-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8455ef 0%, #a67bff 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.demo-cta-link:hover::before {
    opacity: 1;
}

.demo-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(107, 56, 212, 0.4);
}

.demo-cta-link span,
.demo-cta-link .material-symbols-outlined {
    position: relative;
    z-index: 1;
}

.demo-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 8px 20px;
    background: rgba(107, 56, 212, 0.04);
    border: 1px solid rgba(107, 56, 212, 0.1);
    border-radius: 100px;
}

.demo-status-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }
}

.demo-status-text {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    color: #6e6e73;
    letter-spacing: 0.03em;
}

.demo-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e6e73;
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.demo-feature .material-symbols-outlined {
    font-size: 16px;
    color: #6b38d4;
}
