:root {
    --primary: #d4a373;
    --primary-dark: #bc8a5f;
    --secondary: #faedcd;
    --accent: #ccd5ae;
    --white: #ffffff;
    --bg: #fefae0;
    --text: #4a4e69;
    --gray: #9a8c98;
    --success: #25d366;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.85);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-image: url('assets/cake-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}

.app-container {
    width: 100%;
    max-width: 500px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--text);
}

header p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Progress Bar */
.progress-container {
    position: relative;
    margin-bottom: 40px;
}

.steps-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.3);
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--primary);
    transform: translateY(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Steps */
.step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

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

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 25px;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.option-card {
    background: var(--white);
    border: 2px solid transparent;
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.option-card.selected {
    border-color: var(--primary);
    background-color: var(--secondary);
}

.option-name {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.option-info {
    font-size: 0.85rem;
    color: var(--gray);
}

.option-price {
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
    display: block;
}

/* Selection Status */
.selection-status {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Input Styles */
.premium-input {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid var(--secondary);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
}

.premium-input:focus {
    border-color: var(--primary);
}

/* Summary Card */
.summary-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.summary-item {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
}

.summary-item strong {
    color: var(--gray);
}

.total-price-display {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Controls */
.controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 15px;
    border-radius: 15px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-whatsapp {
    background-color: var(--success);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

.hidden {
    display: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    .app-container {
        padding: 25px;
        border-radius: 20px;
    }
    
    .logo {
        font-size: 2rem;
    }
}
