/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* 3D Cube Decorations */
.cube-decoration {
    position: fixed;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 50%, #FFA67E 100%);
    border-radius: 8px;
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.cube-decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: 8px;
}

.cube-top-left {
    top: -60px;
    left: -60px;
    width: 160px;
    height: 160px;
}

.cube-bottom-right {
    bottom: 50px;
    right: 100px;
    width: 200px;
    height: 200px;
}

.cube-left-middle {
    top: 50%;
    left: -80px;
    width: 140px;
    height: 140px;
    opacity: 0.1;
}

.cube-right-bottom {
    bottom: -70px;
    right: -70px;
    width: 180px;
    height: 180px;
    opacity: 0.12;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: relative;
    z-index: 10;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #2D2D2D;
    letter-spacing: 0.5px;
}

.exit-link {
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
}

.exit-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #555555;
    transition: width 0.3s ease;
}

.exit-link:hover {
    color: #000000;
}

.exit-link:hover::after {
    width: 100%;
}

/* Progress Bar */
.progress-container {
    position: relative;
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    z-index: 5;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6B35 0%, #FF8C5A 100%);
    transition: width 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    z-index: 5;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 60px 80px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.step-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

/* Options Container */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.option-card {
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 24px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #555555;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
    transition: width 0.4s ease;
}

.option-card:hover {
    border-color: #FF6B35;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}

.option-card:hover::before {
    width: 100%;
}

.option-card.selected {
    border-color: #FF6B35;
    border-width: 3px;
    color: #FF6B35;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
}

.option-card.selected::before {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back-header {
    background: transparent;
    color: #555555;
    border: 2px solid #E0E0E0;
}

.btn-back-header:hover {
    background: #F5F5F5;
    border-color: #CCCCCC;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 20px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-right {
        gap: 16px;
    }

    .content-card {
        padding: 40px 32px;
    }

    .step-title {
        font-size: 32px;
    }

    .option-card {
        padding: 20px 24px;
        font-size: 16px;
    }

    .cube-decoration {
        width: 80px;
        height: 80px;
    }

    .cube-top-left,
    .cube-bottom-right {
        width: 100px;
        height: 100px;
    }
}

/* Animation for step transitions */
/* Base Card - No default animation */
.content-card {
    opacity: 1;
    transform: translateY(0);
}

/* Exit State */
.content-card.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

/* Entry State */
.content-card.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

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