/* Modern Project Creation Modal Styles - Dark Red & Grey Theme with Left Sidebar */

/* Modal Base Styles */
#project-creation-modal {
    z-index: 10000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
}

#project-creation-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-creation-content {
    width: 100%;
    max-width: 1200px;
    max-height: 95vh;
    height: 90vh;
    background: #1a1a1a;
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    border: none;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.94);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Left Sidebar Header */
.project-creation-header {
    width: 320px;
    min-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 30%, #991b1b 70%, #7f1d1d 100%);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.project-creation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
    animation: headerShimmer 8s infinite;
}

@keyframes headerShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.project-creation-header .content {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.project-creation-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, #f8fafc, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
    to { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.2); }
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.package-badge {
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.package-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.package-price {
    font-size: 28px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    text-align: center;
    letter-spacing: -0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.package-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.package-price:hover::before {
    left: 100%;
}

/* Sidebar Footer with Decorative Elements */
.sidebar-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.sidebar-decorative {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    animation: decorativePulse 4s ease-in-out infinite;
}

@keyframes decorativePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* Close Button */
.project-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-modal-close:hover {
    background: rgba(220, 38, 38, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

/* Main Content Area */
.modal-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    min-height: 100%;
}

/* Progress Indicator Styles */
.progress-container {
    padding: 30px 40px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    border-left: 4px solid #dc2626;
    overflow: visible; /* Allow glow effects to be visible */
    min-height: 120px; /* Ensure minimum height for glow visibility */
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(107, 114, 128, 0.3);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px;
    box-shadow: 
        0 0 25px rgba(220, 38, 38, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    overflow: visible; /* Allow glow effects to be visible */
    padding: 15px 0; /* Add padding for glow effects */
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #374151, #4b5563);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-number span {
    position: relative;
    z-index: 1;
}

.step-indicator.active .step-number {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 
        0 0 35px rgba(220, 38, 38, 0.7),
        0 6px 20px rgba(0, 0, 0, 0.4);
    transform: scale(1.15);
}

.step-indicator.active .step-number::before {
    opacity: 1;
}

.step-indicator.completed .step-number {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-color: rgba(5, 150, 105, 0.4);
    box-shadow: 0 0 25px rgba(5, 150, 105, 0.6);
}

.step-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.step-indicator.active .step-label {
    color: #dc2626;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.step-indicator.completed .step-label {
    color: #059669;
}

/* Form Content Styles */
.project-creation-form {
    padding: 50px;
    background: #1a1a1a;
    color: #e5e7eb;
    min-height: 400px;
    overflow-y: auto;
    flex: 1;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 114, 128, 0.03) 0%, transparent 50%);
    border: none;
    margin: 0;
}

.form-step {
    display: none;
    animation: stepFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 32px;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #dc2626, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.step-description {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

/* Form Groups */
.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group label.required::after {
    content: " *";
    color: #ef4444;
    font-weight: 800;
}

/* Input Styles */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 24px;
    background: rgba(30, 30, 30, 0.95) !important;
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: rgba(35, 35, 35, 0.98) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    transform: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af !important;
    transition: color 0.3s ease;
    font-weight: 400;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #9ca3af;
}

/* Select dropdown specific styles */
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(30, 30, 30, 0.95) !important;
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 20px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: none;
    box-shadow: none;
    max-height: 300px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.form-group select:hover {
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(35, 35, 35, 0.98) !important;
    color: #ffffff !important;
    transform: none;
}

.form-group select:focus {
    outline: none;
    border-color: #dc2626;
    background: rgba(50, 50, 50, 0.9);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    transform: none;
    background-image: none;
}

/* Style select options for better visibility */
.form-group select option {
    background-color: #2d2d2d;
    color: #f3f4f6;
    padding: 10px 16px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

.form-group select option:hover,
.form-group select option:focus {
    background-color: #dc2626;
    color: white;
}

.form-group select option:checked {
    background-color: #dc2626;
    color: white;
    font-weight: 600;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.7;
}

/* Checkbox and Radio Styles */
.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Modern Design Preferences Styling */
.design-preferences-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.preference-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preference-title {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    padding-bottom: 8px;
}

/* Style Cards Grid */
.style-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.style-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.style-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.style-card-label {
    display: block;
    padding: 24px 20px;
    background: rgba(45, 45, 45, 0.8);
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.style-card:hover .style-card-label {
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(50, 50, 50, 0.9);
    transform: translateY(-2px);
}

.style-card input:checked + .style-card-label {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.style-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.style-name {
    font-size: 16px;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 8px;
}

.style-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.4;
}

/* Color Cards Grid */
.color-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.color-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.color-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.color-card-label {
    display: block;
    padding: 20px 16px;
    background: rgba(45, 45, 45, 0.8);
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.color-card:hover .color-card-label {
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(50, 50, 50, 0.9);
    transform: translateY(-2px);
}

.color-card input:checked + .color-card-label {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.color-preview {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    margin: 0 auto 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.neutral-colors {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0, #94a3b8);
}

.brand-colors {
    background: linear-gradient(135deg, #dc2626, #f59e0b, #3b82f6);
}

.blue-tones {
    background: linear-gradient(135deg, #dbeafe, #3b82f6, #1e40af);
}

.green-tones {
    background: linear-gradient(135deg, #dcfce7, #22c55e, #16a34a);
}

.warm-colors {
    background: linear-gradient(135deg, #fed7d7, #f56565, #e53e3e);
}

.purple-tones {
    background: linear-gradient(135deg, #ede9fe, #8b5cf6, #7c3aed);
}

.orange-tones {
    background: linear-gradient(135deg, #fed7aa, #f97316, #ea580c);
}

.pink-tones {
    background: linear-gradient(135deg, #fce7f3, #ec4899, #db2777);
}

.yellow-tones {
    background: linear-gradient(135deg, #fef3c7, #f59e0b, #d97706);
}

.monochrome-colors {
    background: linear-gradient(135deg, #ffffff, #6b7280, #111827);
}

.dark-theme {
    background: linear-gradient(135deg, #1a1a1a, #374151, #6b7280);
}

.vibrant-colors {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
}

/* Custom Color Section */
.custom-color-section {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-color-card {
    max-width: 200px;
}

.custom-label {
    border: 2px dashed rgba(107, 114, 128, 0.5) !important;
    background: rgba(45, 45, 45, 0.6) !important;
}

.custom-color-card:hover .custom-label {
    border-color: rgba(220, 38, 38, 0.7) !important;
    background: rgba(50, 50, 50, 0.8) !important;
}

.custom-color-card input:checked + .custom-label {
    border-color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.1) !important;
    border-style: solid !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.custom-color-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.custom-description {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

.custom-color-input {
    animation: slideDown 0.3s ease-out;
}

.custom-color-input textarea {
    width: 100%;
    min-height: 80px;
    padding: 16px;
    background: rgba(45, 45, 45, 0.8);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    color: #f3f4f6;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.custom-color-input textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: rgba(50, 50, 50, 0.9);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.custom-color-input textarea::placeholder {
    color: #6b7280;
    font-style: italic;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: #f3f4f6;
}

/* Layout Cards Grid */
.layout-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.layout-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.layout-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.layout-card-label {
    display: block;
    padding: 24px 20px;
    background: rgba(45, 45, 45, 0.8);
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.layout-card:hover .layout-card-label {
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(50, 50, 50, 0.9);
    transform: translateY(-2px);
}

.layout-card input:checked + .layout-card-label {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.layout-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.layout-name {
    font-size: 16px;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 8px;
}

.layout-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.4;
}

.checkbox-item,
.radio-item {
    position: relative;
}

.checkbox-item input,
.radio-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-item label,
.radio-item label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.6), rgba(38, 38, 38, 0.6));
    border: 2px solid rgba(107, 114, 128, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.checkbox-item label::before,
.radio-item label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-item label:hover,
.radio-item label:hover {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8), rgba(38, 38, 38, 0.8));
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.checkbox-item input:checked + label,
.radio-item input:checked + label {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(239, 68, 68, 0.2));
    border-color: #dc2626;
    color: #f3f4f6;
    box-shadow: 
        0 0 0 4px rgba(220, 38, 38, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(220, 38, 38, 0.4);
    transform: translateY(-3px);
}

.checkbox-item input:checked + label::before,
.radio-item input:checked + label::before {
    opacity: 1;
}

/* Custom Checkbox/Radio Indicators */
.checkbox-item label::after,
.radio-item label::after {
    content: '';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(75, 85, 99, 0.3));
    border: 2px solid rgba(107, 114, 128, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
}

.checkbox-item label::after {
    border-radius: 6px;
}

.radio-item label::after {
    border-radius: 50%;
}

.checkbox-item input:checked + label::after {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: #dc2626;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
}

.radio-item input:checked + label::after {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: #dc2626;
    box-shadow: 
        inset 0 0 0 4px #1a1a1a,
        0 0 20px rgba(220, 38, 38, 0.6);
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}
/* Navigation Buttons */
.form-navigation {
    padding: 40px 50px;
    background: linear-gradient(135deg, #262626, #1a1a1a);
    border-top: 2px solid rgba(220, 38, 38, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.nav-button {
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 140px;
    justify-content: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.nav-button.prev {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(75, 85, 99, 0.3));
    color: #d1d5db;
    border: 2px solid rgba(107, 114, 128, 0.4);
}

.nav-button.prev:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(75, 85, 99, 0.5));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(107, 114, 128, 0.6);
}

.nav-button.next {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.nav-button.next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-button.next:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(220, 38, 38, 0.5),
        0 0 40px rgba(220, 38, 38, 0.3);
}

.nav-button.next:hover:not(:disabled)::before {
    left: 100%;
}

.nav-button.submit {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: 2px solid transparent;
    font-size: 18px;
    padding: 18px 36px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.nav-button.submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(5, 150, 105, 0.5),
        0 0 40px rgba(5, 150, 105, 0.3);
}

/* Pricing Display */
.pricing-summary {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(239, 68, 68, 0.08));
    padding: 32px;
    border-radius: 20px;
    border: 2px solid rgba(220, 38, 38, 0.3);
    margin: 40px 0;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-summary h3 {
    color: #dc2626;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-breakdown {
    display: grid;
    gap: 16px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    color: #e5e7eb;
}

.pricing-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #CD853F;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(139, 69, 19, 0.3);
}

.pricing-item .label {
    font-weight: 500;
}

.pricing-item .value {
    font-weight: 700;
}

/* Error States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ffffff !important;
    animation: inputShake 0.5s ease-in-out;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes fieldHighlight {
    0% { 
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.4);
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.2);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        transform: scale(1);
    }
}

.field-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-error::before {
    content: "⚠";
}

/* Loading States */
.nav-button.loading {
    position: relative;
    color: transparent;
}

.nav-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: buttonSpin 1s linear infinite;
}

@keyframes buttonSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-creation-content {
        width: 95%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .project-creation-header,
    .project-creation-form,
    .form-navigation {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Fix for glowing step indicators being cut off */
    .progress-container {
        padding: 60px 20px 40px 20px !important; /* Increased top/bottom padding for glow effects */
        overflow: visible !important; /* Ensure glow effects are not clipped */
        min-height: 160px; /* Ensure minimum height for glow visibility */
    }
    
    .project-creation-header h2 {
        font-size: 24px;
    }
    
    .step-indicators {
        gap: 8px;
        padding: 30px 0; /* Increased padding around step indicators for glow space */
        overflow: visible !important; /* Prevent clipping of glow effects */
        margin: 10px 0; /* Add margin for extra glow space */
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Ensure active step glow is not clipped */
    .step-indicator.active .step-number {
        box-shadow: 
            0 0 25px rgba(220, 38, 38, 0.7), /* Slightly reduced glow for mobile */
            0 4px 15px rgba(0, 0, 0, 0.4);
        transform: scale(1.1); /* Slightly reduced scale for mobile */
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-button {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .project-creation-header .content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .package-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .step-indicators {
        overflow-x: auto;
        overflow-y: visible !important; /* Allow vertical glow overflow */
        padding: 20px 10px; /* Increased vertical padding for glow effects */
        margin: 10px 0; /* Extra margin for glow space */
    }
    
    .step-indicator {
        min-width: 60px;
    }
}

/* Form Help Text */
.form-help {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    display: block;
    line-height: 1.5;
}

/* Error States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Additional Mobile Styles */
@media (max-width: 768px) {
    .project-creation-content {
        flex-direction: column;
        height: 100vh;
    }
}

/* Enhanced Input Visibility - Force proper text color contrast */
.modal-main-content input,
.modal-main-content textarea,
.modal-main-content select,
.project-creation-content input,
.project-creation-content textarea,
.project-creation-content select {
    color: #ffffff !important;
    background: rgba(25, 25, 25, 0.98) !important;
    border: 2px solid rgba(107, 114, 128, 0.4) !important;
}

.modal-main-content input:focus,
.modal-main-content textarea:focus,
.modal-main-content select:focus,
.project-creation-content input:focus,
.project-creation-content textarea:focus,
.project-creation-content select:focus {
    color: #ffffff !important;
    background: rgba(30, 30, 30, 1) !important;
    border-color: #dc2626 !important;
}

/* Force placeholder visibility */
.modal-main-content input::placeholder,
.modal-main-content textarea::placeholder,
.project-creation-content input::placeholder,
.project-creation-content textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* Additional text color enforcement */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .project-creation-content {
        max-height: none;
        border-radius: 0;
    }
    
    .project-creation-header {
        width: 100%;
        min-width: auto;
        height: auto;
        flex-direction: row;
        padding: 0;
    }
    
    .project-creation-header .content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
        gap: 20px;
    }
    
    .project-creation-header h2 {
        font-size: 24px;
    }
    
    .package-info {
        flex-direction: row;
        gap: 15px;
        margin-top: 0;
    }
    
    .package-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .package-price {
        font-size: 20px;
        padding: 8px 16px;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .modal-main-content {
        flex: 1;
    }
    
    .progress-container {
        padding: 50px 30px 40px 30px !important; /* Maintain glow space even on larger mobile screens */
        min-height: 150px; /* Ensure minimum height for glow visibility */
    }
    
    .project-creation-form {
        padding: 30px;
    }
    
    .form-navigation {
        padding: 20px 30px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.radio-label input:checked ~ .radio-checkmark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.feature-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.feature-price {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    background: #d1fae5;
    padding: 4px 8px;
    border-radius: 12px;
}

.feature-card p {
    margin: 0 0 15px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Feature Toggle Switch */
.feature-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.feature-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.feature-toggle input:checked + .toggle-slider {
    background-color: #3b82f6;
}

.feature-toggle input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Modern Features Grid Styling */
.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.modern-feature-card {
    background: rgba(45, 45, 45, 0.8);
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modern-feature-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(50, 50, 50, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.modern-feature-card.selected {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-name {
    font-size: 18px;
    font-weight: 700;
    color: #f3f4f6;
    margin: 0;
    line-height: 1.3;
}

.feature-description {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.5;
    margin: 0;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.benefit {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.4;
}

.feature-selector {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.feature-selector input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.modern-toggle {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(107, 114, 128, 0.3);
    border: 2px solid rgba(107, 114, 128, 0.5);
    border-radius: 25px;
    color: #d1d5db;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 80px;
}

.modern-toggle:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    color: #f3f4f6;
}

.feature-selector input:checked + .modern-toggle {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.feature-selector input:checked + .modern-toggle .toggle-text::before {
    content: "✓ ";
}

/* Pricing Info Card */
.pricing-info-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(107, 114, 128, 0.1));
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pricing-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.pricing-content {
    flex: 1;
}

.pricing-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
    margin: 0 0 12px 0;
}

.pricing-content p {
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.1);
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
}

.note-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-note span:last-child {
    color: #f3f4f6;
    font-size: 14px;
}

.pricing-note strong {
    color: #dc2626;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-info-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .modern-feature-card {
        padding: 20px;
    }
}

/* Pricing Info Card */
.pricing-row.package-price {
    background: rgba(220, 38, 38, 0.1);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.pricing-row.package-price span {
    color: #dc2626;
    font-weight: 500;
}

.pricing-row.package-price strong {
    color: #dc2626;
    font-size: 1.1rem;
}

.pricing-info-card {
    background: rgba(220, 38, 38, 0.05);
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pricing-icon {
    font-size: 1.5rem;
    background: rgba(220, 38, 38, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-details h5 {
    color: #dc2626;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.pricing-details p {
    color: #a1a1aa;
    margin: 0 0 12px 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #dc2626;
}

.note-icon {
    font-size: 1rem;
}

/* Pricing Summary */
.pricing-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    position: sticky;
    top: 20px;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.pricing-row.total {
    border-top: 2px solid #3b82f6;
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
}

.payment-breakdown {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

/* Modern Review Styles */
.review-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
}

.review-section {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.review-section:hover {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.review-section h4 {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    padding-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Modern Grid Layout */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.review-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background: rgba(45, 45, 45, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
}

.review-item-modern:hover {
    background: rgba(50, 50, 50, 0.8);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateX(5px);
}

.review-label {
    color: #9ca3af;
    font-weight: 600;
    font-size: 14px;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

.highlight-package {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.description-item {
    flex-direction: column;
    align-items: flex-start;
}

.description-item .review-value {
    text-align: left;
    margin-left: 0;
    margin-top: 10px;
    line-height: 1.6;
}

/* Features Display */
.features-display {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: rgba(45, 45, 45, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.feature-tag-modern {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #4b5563, #374151);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-tag-modern:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.no-features-modern {
    color: #6b7280;
    font-style: italic;
    font-size: 14px;
    text-align: center;
    width: 100%;
    padding: 20px;
}

/* Pricing Section Specific Styles */
.pricing-section {
    border: 2px solid rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98), rgba(25, 25, 25, 0.95));
}

.pricing-review-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-row-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8), rgba(55, 55, 55, 0.6));
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pricing-label {
    color: #9ca3af;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-value {
    color: #dc2626;
    font-size: 24px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, #dc2626, #991b1b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-info-card-modern {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.95));
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pricing-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.2);
}

.pricing-card-header h5 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.pricing-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.pricing-card-content p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.delivery-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    color: #fca5a5;
    font-weight: 600;
    font-size: 13px;
}

.timeline-icon {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .review-section {
        padding: 20px;
        margin: 0 -10px;
    }
    
    .review-item-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .review-value {
        text-align: left;
        margin-left: 0;
    }
    
    .pricing-row-main {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .pricing-value {
        font-size: 20px;
    }
}

/* Modern Custom Scrollbar Styles */
/* Webkit browsers (Chrome, Safari, Edge) */
.project-creation-content::-webkit-scrollbar,
.modal-main-content::-webkit-scrollbar,
.review-container::-webkit-scrollbar,
.project-creation-form::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.project-creation-content::-webkit-scrollbar-track,
.modal-main-content::-webkit-scrollbar-track,
.review-container::-webkit-scrollbar-track,
.project-creation-form::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.project-creation-content::-webkit-scrollbar-thumb,
.modal-main-content::-webkit-scrollbar-thumb,
.review-container::-webkit-scrollbar-thumb,
.project-creation-form::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.project-creation-content::-webkit-scrollbar-thumb:hover,
.modal-main-content::-webkit-scrollbar-thumb:hover,
.review-container::-webkit-scrollbar-thumb:hover,
.project-creation-form::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
    transform: scale(1.1);
}

.project-creation-content::-webkit-scrollbar-thumb:active,
.modal-main-content::-webkit-scrollbar-thumb:active,
.review-container::-webkit-scrollbar-thumb:active,
.project-creation-form::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
}

.project-creation-content::-webkit-scrollbar-corner,
.modal-main-content::-webkit-scrollbar-corner,
.review-container::-webkit-scrollbar-corner,
.project-creation-form::-webkit-scrollbar-corner {
    background: rgba(30, 30, 30, 0.3);
}

/* Firefox scrollbar styling */
.project-creation-content,
.modal-main-content,
.review-container,
.project-creation-form {
    scrollbar-width: thin;
    scrollbar-color: #dc2626 rgba(30, 30, 30, 0.3);
}

/* Enhanced scrollbar for specific form elements */
.form-group select::-webkit-scrollbar {
    width: 6px;
}

.form-group select::-webkit-scrollbar-track {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 6px;
}

.form-group select::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.form-group select::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

/* Scrollbar for textarea elements */
.form-group textarea::-webkit-scrollbar {
    width: 6px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 6px;
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

/* Terms Container */
.terms-container {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.terms-container .checkbox-label {
    border: none;
    padding: 0;
    background: none;
}

.terms-container a {
    color: #3b82f6;
    text-decoration: none;
}

.terms-container a:hover {
    text-decoration: underline;
}

/* Navigation Buttons */
.modal-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover:not(:disabled) {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Error Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-creation-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .project-creation-header {
        padding: 20px 20px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-creation-header h2 {
        font-size: 20px;
    }
    
    .progress-container {
        padding: 40px 20px 35px 20px !important; /* Maintain glow space on small mobile screens */
        min-height: 140px; /* Ensure minimum height for glow visibility */
    }
    
    .step-indicators {
        gap: 5px;
        padding: 25px 0; /* Increased padding for glow effects */
        overflow: visible !important; /* Ensure glow effects are not clipped */
        margin: 8px 0; /* Extra margin for glow space */
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .project-creation-form {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-navigation {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .review-item strong {
        min-width: auto;
        display: block;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .step-indicators {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-indicator {
        flex: 0 0 auto;
        min-width: 60px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .package-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Loading States */
.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
.project-creation-content::-webkit-scrollbar {
    width: 6px;
}

.project-creation-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.project-creation-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.project-creation-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Feature Info Tooltip Styles */
.feature-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52, #ff4757);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 14px rgba(255, 107, 107, 0.4),
        0 2px 8px rgba(255, 107, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.feature-info-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(238, 90, 82, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-info-icon:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b, #ff3742);
    transform: scale(1.15) translateY(-1px);
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.5),
        0 4px 15px rgba(255, 107, 107, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-info-icon:hover::before {
    opacity: 1;
}

.feature-info-icon:active {
    transform: scale(1.05) translateY(0px);
    transition: all 0.1s ease;
}

.feature-info-icon:focus {
    outline: none;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.5),
        0 4px 15px rgba(255, 107, 107, 0.3),
        0 0 0 3px rgba(255, 107, 107, 0.3);
}

/* Old tooltip styles (keeping for backwards compatibility) */
.feature-tooltip {
    position: fixed;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 107, 107, 0.2);
    backdrop-filter: blur(8px);
}

/* New Notification-Style Tooltip */
.feature-notification {
    position: fixed;
    width: 420px;
    max-width: 90vw;
    background: linear-gradient(135deg, 
        rgba(30, 30, 30, 0.95) 0%,
        rgba(20, 20, 20, 0.98) 50%,
        rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.9),
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 5px 20px rgba(255, 107, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 999999 !important;
    opacity: 0;
    transform: translateY(-15px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(1.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    pointer-events: auto !important;
    overflow: hidden;
}

.feature-notification::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%,
        rgba(238, 90, 82, 0.05) 50%,
        rgba(255, 71, 87, 0.08) 100%);
    z-index: -1;
}

.feature-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.notification-header {
    display: flex;
    align-items: center;
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid rgba(255, 107, 107, 0.15);
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.12) 0%,
        rgba(238, 90, 82, 0.08) 50%,
        rgba(255, 71, 87, 0.06) 100%);
    position: relative;
}

.notification-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 107, 107, 0.3) 50%,
        transparent 100%);
}

.notification-icon {
    font-size: 24px;
    margin-right: 16px;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% { filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.4)) drop-shadow(0 0 6px rgba(255, 215, 0, 0.2)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.3)); }
}

.notification-title {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notification-close {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(238, 90, 82, 0.05));
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.notification-close::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(238, 90, 82, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(238, 90, 82, 0.1));
    border-color: rgba(255, 107, 107, 0.4);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.notification-close:hover::before {
    opacity: 1;
}

.notification-close:active {
    transform: scale(0.95) rotate(90deg);
    transition: all 0.1s ease;
}

.notification-content {
    padding: 20px 24px 24px 24px;
    color: #e8e8e8;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
    position: relative;
}

.notification-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

/* Arrow for notification */
.feature-notification::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 14px solid transparent;
    border-bottom-color: rgba(30, 30, 30, 0.95);
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.3));
}

/* Arrow border */
.feature-notification::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-bottom-color: rgba(255, 107, 107, 0.3);
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

/* Adjust arrow when positioned above icon */
.feature-notification.above::after {
    border-bottom-color: transparent;
    border-top-color: rgba(30, 30, 30, 0.95);
    top: 100%;
    margin-top: 0;
}

.feature-notification.above::before {
    border-bottom-color: transparent;
    border-top-color: rgba(255, 107, 107, 0.3);
    top: 100%;
    margin-top: 2px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .feature-notification {
        width: 380px;
        max-width: 95vw;
        border-radius: 16px;
        left: 50% !important;
        transform: translateX(-50%) translateY(-15px) scale(0.9);
        margin: 0 10px;
    }
    
    .feature-notification.show {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .notification-header {
        padding: 18px 20px 14px 20px;
    }
    
    .notification-content {
        padding: 18px 20px 20px 20px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .notification-title {
        font-size: 17px;
    }
    
    .notification-icon {
        font-size: 22px;
        margin-right: 14px;
    }
    
    .notification-close {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    
    .feature-info-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .feature-notification {
        width: 340px;
        border-radius: 14px;
    }
    
    .notification-header {
        padding: 16px 18px 12px 18px;
    }
    
    .notification-content {
        padding: 16px 18px 18px 18px;
        font-size: 13px;
        line-height: 1.5;
    }
    
    .notification-title {
        font-size: 16px;
    }
    
    .notification-icon {
        font-size: 20px;
        margin-right: 12px;
    }
    
    .notification-close {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .feature-info-icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
        margin-left: 6px;
    }
}
