/* Components - Buttons, Cards, Visual Elements */

/* Enhanced CTA Button */
.cta-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    border: 1px solid rgba(0, 186, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer effect */
.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 186, 255, 0.15) 50%,
        transparent 70%
    );
    animation: shimmer 3s ease-in-out infinite;
}

/* Glow pulse effect */
.cta-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(45deg, #00BAFF, #0ea5e9, #00BAFF);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderGlow 3s ease-in-out infinite;
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:hover,
.cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 186, 255, 0.3);
}

/* Touch feedback for mobile */
.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(0, 186, 255, 0.25);
}

/* Arrow animation */
.cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Signal dot */
.signal-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00BAFF;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 186, 255, 0.7);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Beam Animations */
.beam {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00BAFF, transparent);
    pointer-events: none;
}

.beam-horizontal {
    height: 2px;
    width: 100%;
    left: 0;
    animation: beamSlideH 8s ease-in-out infinite;
}

.beam-vertical {
    width: 2px;
    height: 100%;
    top: 0;
    animation: beamSlideV 10s ease-in-out infinite;
}

/* Animated Noodles (curved paths) */
.noodle-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.095;
}

.noodle {
    position: absolute;
    stroke: #00BAFF;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.noodle-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawNoodle 22s ease-in-out infinite;
}

/* Organic Blob Styles */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(40px);
    opacity: 0.2;
    will-change: transform, border-radius;
    animation: morph 20s ease-in-out infinite, float-blob 25s ease-in-out infinite;
}

.blob-1 {
    background: linear-gradient(135deg, rgba(0, 186, 255, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    animation-delay: 0s;
}

.blob-2 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.15) 100%);
    top: 60%;
    right: 10%;
    width: 500px;
    height: 500px;
    animation-delay: -7s;
}

.blob-3 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(0, 186, 255, 0.15) 100%);
    bottom: 20%;
    left: 50%;
    width: 350px;
    height: 350px;
    animation-delay: -14s;
}

/* Commerce Stack Logos */
.commerce-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.commerce-logo {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%) brightness(0.5) contrast(1.2);
    opacity: 0.5;
    transition: all 0.3s ease;
    mix-blend-mode: luminosity;
}

.commerce-logo-container:hover .commerce-logo {
    opacity: 1;
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.05);
    mix-blend-mode: normal;
}

/* Backed By Logos - Color Style */
.backed-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.backed-logo {
    height: auto;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0%);
}

.backed-logo-container:hover .backed-logo {
    opacity: 1;
    transform: scale(1.15);
    filter: brightness(1.1);
}

.backed-logo-container:hover {
    transform: translateY(-6px);
}
