/* SwipeSave Logo - Pure CSS Implementation */
/* Recreated to match the PNG logo design */

.swipesave-logo {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 25%, #6b46c1 75%, #2d1b69 100%);
    clip-path: polygon(
        25% 10%, 
        30% 15%, 
        75% 45%, 
        78% 50%, 
        75% 55%, 
        30% 85%, 
        25% 90%, 
        22% 85%, 
        22% 15%
    );
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 
        0 4px 15px rgba(0, 212, 255, 0.3),
        inset 1px 1px 3px rgba(255, 255, 255, 0.1);
}

.swipesave-logo:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 212, 255, 0.4),
        inset 1px 1px 3px rgba(255, 255, 255, 0.2);
}

.swipesave-logo:active {
    transform: scale(0.98);
}

/* Add a subtle inner glow effect */
.swipesave-logo::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    clip-path: inherit;
    border-radius: inherit;
    pointer-events: none;
}

/* Smaller version for nav/header */
.swipesave-logo-sm {
    width: 40px;
    height: 40px;
}

/* Extra small version for favicon-like use */
.swipesave-logo-xs {
    width: 24px;
    height: 24px;
}

/* Large version for hero sections */
.swipesave-logo-lg {
    width: 120px;
    height: 120px;
}

/* Alternative flat version without shadows */
.swipesave-logo-flat {
    box-shadow: none;
}

.swipesave-logo-flat:hover {
    box-shadow: none;
    transform: scale(1.02);
}

/* Dark theme variant */
.swipesave-logo-dark {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 25%, #553c9a 75%, #1a202c 100%);
    box-shadow: 
        0 4px 15px rgba(26, 54, 93, 0.4),
        inset 1px 1px 3px rgba(255, 255, 255, 0.05);
}

.swipesave-logo-dark:hover {
    box-shadow: 
        0 6px 20px rgba(26, 54, 93, 0.5),
        inset 1px 1px 3px rgba(255, 255, 255, 0.1);
}

/* Animated pulse effect */
@keyframes logo-pulse {
    0% { 
        box-shadow: 
            0 4px 15px rgba(0, 212, 255, 0.3),
            inset 1px 1px 3px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 6px 25px rgba(0, 212, 255, 0.5),
            inset 1px 1px 3px rgba(255, 255, 255, 0.2);
    }
    100% { 
        box-shadow: 
            0 4px 15px rgba(0, 212, 255, 0.3),
            inset 1px 1px 3px rgba(255, 255, 255, 0.1);
    }
}

.swipesave-logo-animated {
    animation: logo-pulse 2s ease-in-out infinite;
}

.swipesave-logo-sm::after {
    width: 12px;
    height: 12px;
    background-size: 
        2px 6px,
        2px 10px,
        2px 14px,
        2px 8px;
    background-position: 
        0px 6px,
        3px 2px,
        6px 0px,
        9px 4px;
}

/* Large version */
.swipesave-logo-lg {
    width: 120px;
    height: 120px;
}

.swipesave-logo-lg::after {
    width: 36px;
    height: 36px;
    background-size: 
        6px 18px,
        6px 30px,
        6px 42px,
        6px 24px;
    background-position: 
        0px 18px,
        9px 6px,
        18px 0px,
        27px 12px;
}

/* Alternative implementation with better bars */
.swipesave-logo-alt {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #9b59b6 0%, #5e72e4 40%, #2c3e50 100%);
    clip-path: polygon(20% 20%, 80% 15%, 85% 50%, 80% 85%, 20% 80%);
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.swipesave-logo-alt:hover {
    transform: scale(1.05);
}

.swipesave-logo-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    transform: translateX(-2px);
}

.swipesave-logo-bar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1px;
    width: 3px;
    transition: height 0.3s ease;
}

.swipesave-logo-bar:nth-child(1) { height: 8px; }
.swipesave-logo-bar:nth-child(2) { height: 14px; }
.swipesave-logo-bar:nth-child(3) { height: 18px; }
.swipesave-logo-bar:nth-child(4) { height: 10px; }

.swipesave-logo-alt:hover .swipesave-logo-bar:nth-child(1) { height: 12px; }
.swipesave-logo-alt:hover .swipesave-logo-bar:nth-child(2) { height: 18px; }
.swipesave-logo-alt:hover .swipesave-logo-bar:nth-child(3) { height: 20px; }
.swipesave-logo-alt:hover .swipesave-logo-bar:nth-child(4) { height: 14px; }

/* Usage Examples */
.logo-examples {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #a8e6cf;
    border-radius: 8px;
    margin: 20px 0;
}

/* Animated version */
@keyframes pulse-bars {
    0%, 100% { 
        transform: scaleY(1); 
    }
    50% { 
        transform: scaleY(1.2); 
    }
}

.swipesave-logo-animated .swipesave-logo-bar {
    animation: pulse-bars 2s ease-in-out infinite;
}

.swipesave-logo-animated .swipesave-logo-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.swipesave-logo-animated .swipesave-logo-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.swipesave-logo-animated .swipesave-logo-bar:nth-child(4) {
    animation-delay: 0.6s;
}
