/* styles/svg-morph.css */
.feature-demo {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(30, 30, 50, 0.5);
    border-radius: 10px;
}

.demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    padding: 40px;
    background: rgba(10, 10, 20, 0.7);
    border-radius: 10px;
}

/* SVG Container */
svg {
    width: 300px;
    height: 300px;
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Morph Path Styling */
#morph-path {
    fill: var(--accent);
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 10, 2;
    filter: drop-shadow(0 0 10px rgba(65, 216, 191, 0.5));
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Hover effect on SVG */
svg:hover #morph-path {
    filter: drop-shadow(0 0 15px rgba(65, 216, 191, 0.8));
    opacity: 1;
    stroke-dasharray: 5, 1;
}

/* Morph Button Styling */
#morph-btn {
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    color: var(--dark);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(65, 216, 191, 0.3);
    position: relative;
    overflow: hidden;
}

#morph-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

#morph-btn:hover::before {
    left: 100%;
}

#morph-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(65, 216, 191, 0.5);
}

#morph-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(65, 216, 191, 0.4);
}

.feature-usage {
    background: rgba(30, 30, 50, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.feature-usage ul {
    list-style-position: inside;
    margin-top: 15px;
}

.feature-usage li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--secondary);
}
