:root {
    --primary-gradient: linear-gradient(135deg, #020408 0%, #040b1d 100%);
    --secondary-gradient: linear-gradient(135deg, #050b16 0%, #101c2b 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(1, 4, 8, 0.2);
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.12);
    --text-primary: #000000;
    --text-secondary: #6b7280;
    --accent-blue: #08142c;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 20px;
}

/* Animated Background Elements */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #020408, #040c1b);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #60a5fa, #93c5fd);
    border-radius: 20px;
    top: 20%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #93c5fd, #dbeafe);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 20%;
    left: 5%;
    animation-delay: -10s;
    animation-duration: 35s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg) scale(1.05);
    }
}

/* Gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orb-float 25s infinite ease-in-out;
    opacity: 0.3;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    top: 15%;
    left: 75%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    bottom: 25%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-50px, -30px) scale(1.2);
    }
    66% {
        transform: translate(30px, 40px) scale(0.8);
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Heading Container */
.heading-container {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    position: relative;
}

.premium-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #02050e 0%, #0a1527 50%, #0c1841 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    position: relative;
}

.title-decoration {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    margin: 1rem auto;
    border-radius: 2px;
}

.premium-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Step Navigation */
.step-navigation {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.step-nav::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}

.step-nav::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: var(--accent-blue);
    z-index: 0;
    transition: width 0.4s ease;
}

.step-nav[data-progress="1"]::after { width: 0%; }
.step-nav[data-progress="2"]::after { width: 33.33%; }
.step-nav[data-progress="3"]::after { width: 66.66%; }
.step-nav[data-progress="4"]::after { width: 100%; }

.step-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-nav-item.active .step-number {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(8, 20, 44, 0.3);
}

.step-nav-item.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-nav-item.error .step-number {
    border-color: #dc3545;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.step-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.step-nav-item.active .step-text {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.form-container {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.premium-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.premium-input,
.premium-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.premium-input:focus,
.premium-select:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
    transform: translateY(-1px);
}

textarea.premium-input {
    resize: vertical;
    min-height: 100px;
}

/* Review Section */
.review-section {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    gap: 1rem;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
}

.review-value {
    flex: 1;
    color: var(--text-secondary);
    word-break: break-word;
}

.edit-btn {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.375rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.edit-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.03));
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    font-size: 1rem;
}

.price-item:last-of-type {
    margin-bottom: 0;
}

.price-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    border-top: 2px solid rgba(37, 99, 235, 0.2);
    padding-top: 1rem;
    margin-top: 1rem;
    border-bottom: none;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover:not(:disabled) {
    background: #030918;
    transform: scale(1.1);
}

.quantity-btn:disabled {
    background: rgba(37, 99, 235, 0.3);
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Step Buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.step-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.step-btn-prev {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid rgba(108, 117, 125, 0.3);
}

.step-btn-prev:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: translateX(-2px);
}


.step-btn-next {
    background: linear-gradient(to right top, rgb(255, 30, 206) 15.923566878980886%, rgb(156, 50, 176) 50.63694267515923%, rgb(96, 0, 255) 99.68152866242038%);
    color: white;
    flex: 1;
    position: relative;
    overflow: hidden;
}
.step-btn-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.step-btn-next:hover::before {
    left: 100%;
}

.step-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255, 30, 206, 0.4), 0 4px 20px rgba(96, 0, 255, 0.3);
}
.step-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.premium-button {
    width: 100%;
    padding: 1.125rem 2rem;
    background:  linear-gradient(to right top, rgb(255, 30, 206) 15.923566878980886%, rgb(156, 50, 176) 50.63694267515923%, rgb(96, 0, 255) 99.68152866242038%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.premium-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Validation */
.validation-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.validation-message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .heading-container {
        padding: 1.5rem 0.5rem;
    }

    .premium-title {
        font-size: 1.75rem;
    }

    .step-text {
        font-size: 0.75rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .step-buttons {
        flex-direction: column-reverse;
    }

    .step-btn {
        width: 100%;
    }

    .review-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .review-label {
        min-width: auto;
    }

    .edit-btn {
        align-self: flex-end;
    }

    .price-total {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .premium-title {
        font-size: 1.5rem;
    }

    .glass-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .step-text {
        display: none;
    }

    .price-item {
        font-size: 0.9rem;
    }

    .price-total {
        font-size: 1.2rem;
    }
}