.trend-categories {
    background: white;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tab {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .category-tab:hover {
        background: #f8f9fa;
        color: #495057;
    }

    .category-tab.active {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }

.featured-trend-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

    .featured-trend-banner:hover {
        transform: translateY(-5px);
    }

    .featured-trend-banner::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        transform: translate(30px, -30px);
    }

.trend-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-trend-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-trend-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.featured-trend-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.featured-trend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trend-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.featured-trend-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

    .featured-trend-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.trend-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .trend-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

.trend-rank {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.trend-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.trend-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trend-card:hover .trend-image {
    transform: scale(1.05);
}

.trend-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trend-card:hover .trend-overlay {
    opacity: 1;
}

.trend-stats {
    display: flex;
    gap: 1rem;
    color: white;
    font-size: 0.9rem;
    margin-top: auto;
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend-action {
    text-align: center;
}

.trend-info {
    padding: 1.5rem;
}

.trend-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.trend-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.trend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.style-tag {
    background: #e3f2fd;
    color: #1565c0;
}

.occasion-tag {
    background: #f3e5f5;
    color: #7b1fa2;
}

.difficulty-tag {
    background: #fff3e0;
    color: #ef6c00;
}

.trend-creator {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
    margin-bottom: 1rem;
}

.trending-metrics {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.metric {
    flex: 1;
}

.metric-value {
    display: block;
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
}

.metric-label {
    color: #718096;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-stat {
    text-align: center;
}

    .insight-stat h3 {
        margin: 0;
        font-size: 2rem;
        font-weight: 700;
    }

    .insight-stat small {
        opacity: 0.8;
    }

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
.face-model-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

    .face-model-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

.face-model-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.face-model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.face-model-card:hover .face-model-image {
    transform: scale(1.05);
}

.face-model-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.model-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.model-actions {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    gap: 0.5rem;
}

.face-model-card:hover .model-actions {
    opacity: 1;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.characteristic-item {
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
    border: 1px solid #e9ecef;
}

    .characteristic-item small {
        display: block;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
    }

    .characteristic-item .fw-medium {
        font-size: 0.85rem;
    }

.model-features {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.feature-tag {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    color: #495057;
}

.model-status .badge {
    font-size: 0.7rem;
}

.btn-group-sm .btn,
.btn-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .face-model-image-container {
        height: 220px;
    }

    .characteristics-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .model-actions {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        opacity: 1;
        margin-top: 1rem;
        justify-content: center;
    }

    .btn-group {
        flex-wrap: wrap;
    }

        .btn-group .btn {
            margin: 0.125rem;
        }
}

/* Accessibility improvements */
.face-model-card:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.model-actions .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
.tutorial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .tutorial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.tutorial-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    .tutorial-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.tutorial-card:hover .tutorial-thumbnail img {
    transform: scale(1.05);
}

.tutorial-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tutorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.5) 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tutorial-duration {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.tutorial-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutorial-card:hover .tutorial-play-button {
    opacity: 1;
}

.tutorial-stats {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.tutorial-preview {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.required-tools {
    font-size: 0.85rem;
}

.tutorial-actions .btn {
    font-size: 0.8rem;
}

.badge {
    font-size: 0.7rem;
}
.face-model-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .face-model-card:hover {
        border-color: #0d6efd;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .face-model-card.selected {
        border-color: #0d6efd;
        background-color: #f8f9fa;
    }

.face-model-img {
    height: 120px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.face-preview-img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.makeup-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.color-swatch-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.makeup-preview {
    top: 20px;
}

.u-tab-link {
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

    .u-tab-link.active {
        background-color: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }

.design-info .badge {
    margin-right: 5px;
}
@media (max-width: 768px) {
    .tutorial-thumbnail {
        height: 150px;
    }

    .tutorial-overlay {
        padding: 0.5rem;
    }

    .btn-group-sm .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}
.camera-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.camera-placeholder {
    border: 2px dashed #dee2e6;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.characteristic-item {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
    border: 1px solid #e9ecef;
}

    .characteristic-item small {
        display: block;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
        color: #6c757d;
    }

    .characteristic-item .fw-medium {
        font-size: 0.85rem;
        color: #495057;
    }

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: #e9ecef;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

.nav-pills .nav-link {
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    font-weight: 500;
}

    .nav-pills .nav-link.active {
        background-color: #0d6efd;
    }

.model-preview-container {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
}
.color-picker-item {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

.remove-color-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.makeup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.makeup-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.form-range {
    margin-bottom: 5px;
}

.form-check {
    margin-bottom: 5px;
}

.eye-makeup-component,
.lip-makeup-component,
.face-makeup-component,
.brow-makeup-component,
.contour-makeup-component {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .characteristics-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .characteristic-item {
        background: #343a40;
        border-color: #495057;
        color: #f8f9fa;
    }

    .feature-tag {
        background: #495057;
        color: #f8f9fa;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .featured-trend-title {
        font-size: 1.8rem;
    }

    .featured-trend-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-tabs {
        justify-content: center;
    }

    .category-tab {
        flex: 1;
        text-align: center;
        padding: 0.5rem 1rem;
    }

    .trending-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Active state for makeup navigation items */
.nav-link[href="/makeup-studio"].active,
.nav-link[href="/makeup-gallery"].active,
.nav-link[href="/makeup-tutorials"].active,
.nav-link[href="/face-models"].active {
    background-color: var(--bs-primary);
    color: white !important;
}

/* Dropdown item active states */
.dropdown-item[href="/makeup-studio"].active,
.dropdown-item[href="/makeup-gallery"].active,
.dropdown-item[href="/makeup-tutorials"].active,
.dropdown-item[href="/face-models"].active {
    background-color: var(--bs-primary);
    color: white;
}

/* Icon spacing in navigation */
.nav-link i,
.dropdown-item i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

        .navbar-nav .nav-link:last-child {
            border-bottom: none;
        }
}

/* Dropdown divider styling */
.dropdown-divider {
    margin: 0.5rem 0;
}

.dropdown-header {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-secondary);
}
.makeup-design-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .makeup-design-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.card-img-top-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.makeup-design-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.makeup-design-card:hover .makeup-design-img {
    transform: scale(1.05);
}

.face-model-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.makeup-overlay-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.eye-indicator {
    position: absolute;
    top: 35%;
    left: 30%;
    width: 40%;
    height: 8px;
    border-radius: 4px;
    opacity: 0.8;
}

.lip-indicator {
    position: absolute;
    bottom: 30%;
    left: 40%;
    width: 20%;
    height: 6px;
    border-radius: 3px;
    opacity: 0.9;
}

.color-palette-preview {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card-img-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%);
}

.badge {
    font-size: 0.7rem;
}

.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.makeup-design-card .card-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .col-xl-3, .col-lg-4, .col-md-6 {
        margin-bottom: 1rem;
    }

    .card-img-top-container {
        height: 200px;
    }
}
.nav-section {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.nav-section-header {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .nav-section-header i {
        margin-right: 0.5rem;
        width: 16px;
        text-align: center;
    }

.nav-section:last-child {
    border-bottom: none;
}
.ai-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .ai-preview .ai-preview-loading {
        color: black;
    }

    .ai-preview .nail-canvas {
        width: 150px;
        height: 250px;
        flex: 1 1 20%;
    }

        .ai-preview .nail-canvas .nail-overlay img {
            height: 100px;
            width: 100px;
            opacity: 0.5;
            /* Sets the image to 50% transparent */
        }

.design-studio-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b9d, #c44569, #f8b500);
    color: white !important;
    text-decoration: none !important;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0 10px;
    border: none !important;
}

    .design-studio-link::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: left 0.5s;
    }

    .design-studio-link:hover::before {
        left: 100%;
    }

    .design-studio-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
        color: white !important;
        text-decoration: none !important;
    }

    .design-studio-link:focus {
        color: white !important;
        text-decoration: none !important;
        outline: none;
        box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4), 0 0 0 3px rgba(255, 107, 157, 0.3);
    }

.new-badge {
    background: #fff;
    color: #c44569;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    animation: pulse-badge 2s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-badge {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.design-studio-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .design-studio-link {
        margin: 8px 0;
        width: fit-content;
    }

    .navbar-nav .design-studio-link {
        border-radius: 20px;
        padding: 10px 20px;
    }
}

/* Make sure it works with Bootstrap nav-item */
.nav-item .design-studio-link {
    margin: 0;
}

/* Active state styling */
.design-studio-link.active {
    background: linear-gradient(135deg, #e55a87, #b23a5a, #e6a000);
    box-shadow: 0 6px 30px rgba(229, 90, 135, 0.5);
}

/* Ensure proper spacing in navbar */
.navbar-nav .design-studio-item {
    display: flex;
    align-items: center;
}

/* Modern Home Page Styles for Palette Polish */
.design-card {
    transition: all 0.2s ease;
}

    .design-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .design-card.border-primary {
        border-width: 2px !important;
    }

/* Modern Nail Shapes */
.modern-nail {
    transition: all 0.2s ease;
    overflow: hidden;
}

    .modern-nail:hover {
        transform: scale(1.1) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        z-index: 20 !important;
    }

    .modern-nail.selected {
        animation: pulse-blue 1.5s infinite;
    }

    .modern-nail.designed {
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.4) !important;
    }

/* Nail Shape Styles */
.nail-round {
    border-radius: 50%;
}

.nail-square {
    border-radius: 4px;
}

.nail-almond {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.nail-oval {
    border-radius: 50%;
    transform: scaleX(0.8);
}

.nail-coffin {
    border-radius: 40% 40% 4px 4px / 50% 50% 4px 4px;
    position: relative;
}

    .nail-coffin:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20%;
        right: 20%;
        height: 20%;
        background: inherit;
        border-radius: 0 0 2px 2px;
    }

.nail-stiletto {
    border-radius: 50% 50% 0% 100% / 60% 60% 0% 40%;
    transform: scaleX(0.7);
}

/* Mini nail variations */
.mini-nail.nail-round {
    border-radius: 50%;
}

.mini-nail.nail-square {
    border-radius: 2px;
}

.mini-nail.nail-almond {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.mini-nail.nail-oval {
    border-radius: 50%;
    transform: scaleX(0.8);
}

.mini-nail.nail-coffin {
    border-radius: 40% 40% 2px 2px / 50% 50% 2px 2px;
}

.mini-nail.nail-stiletto {
    border-radius: 50% 50% 0% 100% / 60% 60% 0% 40%;
    transform: scaleX(0.7);
}

/* Large nail variations */
.large-nail.nail-round {
    border-radius: 50%;
}

.large-nail.nail-square {
    border-radius: 6px;
}

.large-nail.nail-almond {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.large-nail.nail-oval {
    border-radius: 50%;
    transform: scaleX(0.8);
}

.large-nail.nail-coffin {
    border-radius: 40% 40% 6px 6px / 50% 50% 6px 6px;
}

.large-nail.nail-stiletto {
    border-radius: 50% 50% 0% 100% / 60% 60% 0% 40%;
    transform: scaleX(0.7);
}

@keyframes pulse-blue {

    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 16px rgba(0, 123, 255, 0.8);
    }
}

.design-preview {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.hands-interface {
    min-height: 400px;
}

.hand-container {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    border-radius: 15px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    .hand-container:before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        animation: subtle-rotate 20s linear infinite;
        pointer-events: none;
    }

@keyframes subtle-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modern-hand-layout {
    z-index: 1;
    position: relative;
}

.finger-label {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hand-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mini-hand-grid {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mini-hand {
    height: 80px;
    position: relative;
}

.large-hand-layout {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .design-preview {
        position: static !important;
        margin-top: 20px;
        max-height: none;
    }

    .modern-nail {
        transform: scale(0.9);
    }

    .hands-interface {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .modern-nail {
        transform: scale(0.8);
    }

    .fingertips-row {
        gap: 8px !important;
    }

    .thumbs-pinkies-row {
        width: 120px !important;
    }
}

/* Enhanced visual feedback */
.modern-nail:active {
    transform: scale(0.95) !important;
}

.designed.modern-nail {
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3), 0 4px 12px rgba(40, 167, 69, 0.2) !important;
}

.selected.modern-nail {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4), 0 6px 16px rgba(0, 123, 255, 0.3) !important;
}

/* Custom CSS Variables */
:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    overflow-x: hidden;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.floating-nails {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-nail {
    position: absolute;
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float 6s ease-in-out infinite;
}

.nail-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.nail-2 {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.nail-3 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.nail-4 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.nail-5 {
    top: 40%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    animation: slideInUp 0.6s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 0.6s ease-out 0.6s both;
}

.hero-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

    .hero-btn-primary:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

.hero-btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transition);
}

    .hero-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: slideInUp 0.6s ease-out 0.8s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.hero-design-showcase {
    position: relative;
    width: 100%;
    height: 500px;
}

.design-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
}

.featured-design {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    text-align: center;
    z-index: 3;
}

.floating-design-1 {
    top: 20%;
    left: 20%;
    width: 120px;
    z-index: 1;
    animation-delay: 1s;
}

.floating-design-2 {
    bottom: 20%;
    right: 20%;
    width: 120px;
    z-index: 1;
    animation-delay: 2s;
}

.nail-preview-large {
    width: 100px;
    height: 120px;
    margin: 0 auto 15px;
}

.nail-preview-small {
    width: 50px;
    height: 60px;
    margin: 0 auto;
}

.nail-sample {
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gradient-nail {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.galaxy-nail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

    .galaxy-nail::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
        background-size: 20px 20px;
    }

.floral-nail {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.design-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
}

.design-info p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
    color: white;
}

.ai-badge {
    position: absolute;
    top: 10%;
    right: 10%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    position: relative;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: var(--transition);
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-medium);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.ai-feature {
    background: var(--gradient-primary);
}

.color-feature {
    background: var(--gradient-secondary);
}

.tutorial-feature {
    background: var(--gradient-accent);
}

.pattern-feature {
    background: var(--gradient-warm);
}

.preview-feature {
    background: var(--gradient-primary);
}

.export-feature {
    background: var(--gradient-secondary);
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.color-demo {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-item {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #6c757d;
    transition: var(--transition);
}

    .step-item.active {
        background: var(--gradient-primary);
        color: white;
    }

.pattern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 1rem;
}

.pattern-sample {
    width: 100%;
    height: 30px;
    border-radius: 8px;
}

.gradient-pattern {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
}

.dots-pattern {
    background: #667eea;
    background-image: radial-gradient(circle at 25% 25%, white 2px, transparent 2px);
    background-size: 10px 10px;
}

.marble-pattern {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
}

.geometric-pattern {
    background: #4facfe;
    background-image: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.3) 25%);
    background-size: 8px 8px;
}

.preview-demo {
    text-align: center;
    margin-top: 1rem;
}

.nail-shape-preview {
    width: 40px;
    height: 50px;
    margin: 0 auto 10px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: var(--gradient-primary);
}

.shape-options {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.shape-option {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 12px;
    background: #f8f9fa;
    color: #6c757d;
    transition: var(--transition);
}

    .shape-option.active {
        background: var(--gradient-primary);
        color: white;
    }

.export-options {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.export-option {
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: var(--transition);
}

    .export-option:hover {
        background: #e9ecef;
    }

    .export-option i {
        display: block;
        font-size: 1.2rem;
        margin-bottom: 4px;
        color: #667eea;
    }

    .export-option span {
        font-size: 0.75rem;
        color: #6c757d;
    }

/* Showcase Section */
.showcase-section {
    background: white;
    padding: 120px 0;
}

.design-showcase {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 4/3;
    transition: var(--transition);
    cursor: pointer;
}

    .showcase-item:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-medium);
    }

.showcase-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nail-design-sample {
    width: 120px;
    height: 150px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sample-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sample-2 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.sample-3 {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
}

.sample-4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sample-5 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.sample-6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.showcase-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    height: 100%;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-medium);
    }

.featured-plan {
    border-color: #667eea;
    transform: scale(1.05);
}

    .featured-plan:hover {
        transform: scale(1.05) translateY(-5px);
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
}

.period {
    font-size: 1rem;
    color: #6c757d;
}

.plan-description {
    color: #6c757d;
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #2d3748;
}

    .feature-item i {
        width: 20px;
        flex-shrink: 0;
    }

    .feature-item.disabled {
        color: #a0aec0;
    }

.pricing-btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

/* Testimonials Section */
.testimonials-section {
    background: white;
    padding: 120px 0;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    border-left: 4px solid var(--gradient-primary);
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-soft);
    }

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 2rem;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.875rem;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.cta-section .container-fluid {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.9;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

    .cta-feature i {
        color: #4ade80;
    }

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 2rem;
        justify-content: center;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        text-align: center;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-features {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .floating-nail {
        width: 40px;
        height: 50px;
    }
}

/* Enhanced Modern Variables */
:root {
    /* Sophisticated gradient system */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-secondary: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-accent: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-warm: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
    --gradient-cool: linear-gradient(135deg, #c3cfe2 0%, #c3cfe2 100%);
    --gradient-luxe: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 75%, #f5576c 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    /* Advanced shadow system */
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 30px 80px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 40px 100px rgba(0, 0, 0, 0.16);
    --shadow-colored: 0 20px 60px rgba(102, 126, 234, 0.2);
    /* Enhanced spacing and radius */
    --border-radius: 24px;
    --border-radius-sm: 16px;
    --border-radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    /* Modern color palette */
    --color-primary: #667eea;
    --color-secondary: #764ba2;
    --color-accent: #f093fb;
    --color-warm: #fcb69f;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-surface: #f7fafc;
}

/* Enhanced global styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    overflow-x: hidden;
    background: var(--color-bg);
    scroll-behavior: smooth;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: inline-block;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

    .section-badge:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
        border-color: rgba(102, 126, 234, 0.3);
    }

/* Enhanced Header */
.u-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

    .u-header .u-sheet-1 {
        min-height: 90px;
        display: flex;
        align-items: center;
    }

    .u-header .u-image-1 {
        width: 75px;
        height: 90px;
        margin: 0;
    }

    .u-header .u-logo-image-1 {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 4px 20px rgba(102, 126, 234, 0.3));
    }

    .u-header .u-nav-1 a {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0.5px;
        color: var(--color-text) !important;
        transition: var(--transition-fast);
        position: relative;
    }

        .u-header .u-nav-1 a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
            transition: var(--transition-fast);
        }

        .u-header .u-nav-1 a:hover::after {
            width: 100%;
        }

    .u-header .u-btn-1 {
        background: var(--gradient-primary);
        border: none;
        border-radius: 50px;
        padding: 12px 30px;
        font-weight: 600;
        letter-spacing: 1px;
        box-shadow: var(--shadow-colored);
        transition: var(--transition);
    }

        .u-header .u-btn-1:hover {
            transform: translateY(-3px);
            box-shadow: 0 25px 70px rgba(102, 126, 234, 0.35);
        }

main {
    margin-top: 107px;
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: var(--gradient-luxe);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-luxe);
    z-index: -2;
}

    /* Animated background pattern */
    .hero-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)" opacity="0.5"><animate attributeName="opacity" values="0.3;0.7;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.08)" opacity="0.4"><animate attributeName="opacity" values="0.2;0.6;0.2" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="80" r="1" fill="rgba(255,255,255,0.06)" opacity="0.3"><animate attributeName="opacity" values="0.1;0.5;0.1" dur="5s" repeatCount="indefinite"/></circle></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
        animation: float 20s ease-in-out infinite;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

    .hero-badge:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
    }

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-btn {
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

    .hero-btn.primary {
        background: rgba(255, 255, 255, 0.95);
        color: var(--color-primary);
        box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
    }

        .hero-btn.primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 70px rgba(255, 255, 255, 0.4);
            background: white;
        }

    .hero-btn.secondary {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

        .hero-btn.secondary:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        }

/* Enhanced floating animations */
.floating-nails {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-nail {
    position: absolute;
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.nail-1 {
    top: 15%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 0s;
}

.nail-2 {
    top: 60%;
    right: 15%;
    animation: float 10s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.nail-3 {
    top: 30%;
    left: 80%;
    animation: float 12s ease-in-out infinite;
    animation-delay: -4s;
}

.nail-4 {
    top: 80%;
    left: 20%;
    animation: float 9s ease-in-out infinite reverse;
    animation-delay: -6s;
}

@keyframes float {

    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) translateX(15px) rotate(5deg);
    }

    50% {
        transform: translateY(-20px) translateX(-10px) rotate(-3deg);
    }

    75% {
        transform: translateY(-40px) translateX(20px) rotate(7deg);
    }
}

/* Enhanced Features Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

    .features-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(102,126,234,0.05)"/><circle cx="80" cy="80" r="1" fill="rgba(240,147,251,0.05)"/></svg>') repeat;
        pointer-events: none;
    }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.7;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: var(--transition);
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-strong);
        border-color: rgba(102, 126, 234, 0.1);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-colored);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--color-text);
}

.feature-description {
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: center;
}

/* Enhanced Services Section */
.services-section {
    padding: 120px 0;
    background: white;
    position: relative;
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

    .service-card:hover {
        transform: translateY(-15px);
        box-shadow: var(--shadow-strong);
    }

.service-image {
    height: 250px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

    .service-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
    }

.service-content {
    padding: 2.5rem;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-description {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Enhanced CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-luxe);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sparkle" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite"/></circle><circle cx="90" cy="90" r="0.5" fill="rgba(255,255,255,0.08)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite" begin="1s"/></circle><circle cx="50" cy="30" r="0.8" fill="rgba(255,255,255,0.06)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite" begin="2s"/></circle></pattern></defs><rect width="100" height="100" fill="url(%23sparkle)"/></svg>') repeat;
    }

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
    }

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .feature-card {
        margin-bottom: 2rem;
    }

    .u-header .u-btn-1 {
        margin: 0;
        position: relative;
        top: 0;
        left: 0;
    }
}

/* Enhanced scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Additional premium touches */
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glow-on-hover {
    transition: var(--transition);
}

    .glow-on-hover:hover {
        box-shadow: 0 0 50px rgba(102, 126, 234, 0.5);
    }

/* Enhanced Nail Design Styles */
.tutorial-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-compact {
    transition: all 0.2s ease;
}

    .step-compact:hover {
        background-color: rgba(0, 123, 255, 0.05) !important;
    }

.step-detail {
    transition: all 0.3s ease;
}

.color-dot {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pro-tips {
    border-left: 3px solid #ffc107;
}

@media (max-width: 768px) {
    .tutorial-control {
        padding: 0.75rem;
    }

    .step-detail {
        padding: 0.75rem !important;
    }
}

.nail-design {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .nail-design:hover {
        transform: scale(1.02);
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
    }

/* Nail Shape Variations */
.nail-shape-almond {
    border-radius: 50px 50px 40% 40%;
}

.nail-shape-square {
    border-radius: 20px 20px 15px 15px;
}

.nail-shape-oval {
    border-radius: 60% 60% 50% 50%;
}

.nail-shape-coffin {
    border-radius: 40px 40px 20px 20px;
    clip-path: polygon(20% 0%, 80% 0%, 90% 70%, 70% 100%, 30% 100%, 10% 70%);
}

.nail-shape-stiletto {
    border-radius: 50px 50px 30% 30%;
    clip-path: polygon(30% 0%, 70% 0%, 85% 80%, 50% 100%, 15% 80%);
}

/* Overlay and Decoration Layers */
.nail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.nail-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

/* Realistic Shine Effect */
.nail-shine {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 30%;
    height: 40%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    border-radius: 50% 30% 40% 60%;
    pointer-events: none;
    z-index: 4;
    opacity: 0.7;
}

/* Animation Effects */
.nail-design.animated {
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%, 100% {
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.25);
    }
}

/* Holographic Effect */
.nail-design.holographic {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color)) !important;
    background-size: 400% 400% !important;
    animation: hologram 4s ease-in-out infinite;
}

@keyframes hologram {

    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Canvas Hover Effects */
.nail-canvas:hover .nail-design {
    transform: scale(1.02) rotateY(5deg);
}

.nail-canvas:hover .nail-shine {
    opacity: 0.9;
    transform: translateX(2px) translateY(-1px);
}

/* Small Nail Preview Adjustments */
.nail-canvas[style*="width: 120px"] .nail-shine {
    width: 25%;
    height: 35%;
    top: 15%;
    left: 20%;
}

.nail-canvas[style*="width: 150px"] .nail-shine {
    width: 28%;
    height: 38%;
    top: 12%;
    left: 18%;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .nail-canvas {
        transform: scale(0.9);
    }

        .nail-canvas:hover {
            transform: scale(0.95);
        }

    .nail-shine {
        opacity: 0.6;
    }
}

/* Pattern-specific enhancements */
.nail-design[style*="holographic"] {
    overflow: visible;
}

.nail-design[style*="glitter"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.8) 0.5px, transparent 0.5px), radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.9) 0.3px, transparent 0.3px), radial-gradient(circle at 45% 60%, rgba(255, 255, 255, 0.7) 0.4px, transparent 0.4px);
    background-size: 18px 18px, 22px 22px, 16px 16px;
    pointer-events: none;
    z-index: 5;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Metallic Enhancement */
.nail-design[style*="metallic"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 20%, rgba(255, 255, 255, 0.2) 40%, transparent 60%, rgba(255, 255, 255, 0.1) 80%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Galaxy Pattern Enhancement */
.nail-design[style*="galaxy"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.9) 0.2px, transparent 0.2px), radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.8) 0.3px, transparent 0.3px), radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.7) 0.1px, transparent 0.1px), radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.6) 0.4px, transparent 0.4px);
    background-size: 40px 40px, 60px 60px, 30px 30px, 50px 50px;
    pointer-events: none;
    z-index: 2;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {

    0%, 100% {
        opacity: 0.7;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    75% {
        opacity: 0.9;
    }
}

/*begin-commonstyles library*/
/*!
 * froala_editor v4.0.6 (https://www.froala.com/wysiwyg-editor)
 * License https://froala.com/wysiwyg-editor/terms/
 * Copyright 2014-2021 Froala Labs
 */
.nail-canvas {
    width: 300px;
    height: 400px;
    border: 2px solid #ddd;
    border-radius: 50px 50px 45% 45%;
    background: linear-gradient(to bottom, #ffeef0 0%, #ffe4e6 100%);
    position: relative;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .nail-canvas:hover {
        transform: scale(1.05);
    }

.color-palette {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

    .color-swatch:hover {
        transform: scale(1.15);
    }

    .color-swatch.active {
        border-color: #007bff;
        box-shadow: 0 0 0 3px #007bff;
    }

.design-preview {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-gradient {
    background: linear-gradient(45deg, #ff6b9d, #ffc3a0);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

    .btn-gradient:hover {
        background: linear-gradient(45deg, #ff5a8a, #ffb088);
        color: white;
        transform: translateY(-2px);
    }

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 15px;
}

    .card:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        transform: translateY(-3px);
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
