/* GAIA Minimalist Luxury Styles */

:root {
    --bg-color: #FDFCF9; /* Warm Linen */
    --gold: #D4AF37;    /* Classic Muted Gold */
    --gold-dim: rgba(212, 175, 55, 0.1);
    --text-primary: #3A332B; /* Deep Espresso */
    --text-secondary: #8D8A85;
    --input-bg: #FFFFFF;
    --border-color: #E8E5DF;
    --transition-speed: 0.4s;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Better for scrolling */
    min-height: 100vh;
    padding: 30px 24px; /* Reduced from 60px */
    -webkit-font-smoothing: antialiased;
    font-size: 16px; /* Increased base size */
}

.container {
    width: 100%;
    max-width: 400px; /* Slightly wider for better text flow */
    text-align: center;
    position: relative;
    padding-bottom: 40px; /* Reduced from 80px */
}

.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.logo-container {
    margin-bottom: 1rem; /* Reduced from 2rem */
    display: flex;
    justify-content: center;
}

.logo-img {
    height: 70px; /* Slightly smaller logo */
    width: auto;
    object-fit: contain;
}

h1 {
    font-size: 1.15rem; /* Slightly smaller h1 */
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2D2926;
}

h2 {
    font-size: 1.25rem; /* Slightly smaller h2 */
    margin-bottom: 1.2rem; /* Reduced from 2rem */
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.subtitle {
    font-size: 0.9rem; /* Slightly smaller subtitle */
    color: var(--text-secondary);
    margin-bottom: 1.5rem; /* Reduced from 4rem */
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

select,
input[type="date"],
input[type="text"],
textarea {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px; /* Reduced from 16px */
    border-radius: 10px; /* Slightly more compact corners */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem; /* Slightly smaller input text */
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

select:focus,
input[type="date"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-dim);
}

textarea {
    height: 110px; /* Reduced height */
    resize: none;
    line-height: 1.5;
}

/* Legendary Rating System */
.rating-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.rating-group.center {
    text-align: center;
    align-items: center;
}

.rating-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
}

.rating-group.center .stars {
    gap: 20px;
}

.star {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-svg {
    width: 28px;
    height: 28px;
    stroke: #E8E5DF; /* var(--border-color) equivalent for consistency */
    fill: transparent;
    transition: all 0.3s ease;
}

.stars.big .star-svg {
    width: 44px;
    height: 44px;
}

.star:hover {
    transform: scale(1.25);
}

.star.active .star-svg {
    stroke: var(--gold);
    fill: var(--gold);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.star.hovered:not(.active) .star-svg {
    stroke: var(--gold);
    transform: scale(1.1);
}

/* Rating Footer */
.rating-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 4px;
}

.rating-hint {
    font-size: 0.6rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.4;
}

.rating-label {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-style: italic;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rating-label.visible {
    opacity: 1;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background-color: var(--gold);
    color: #FFF;
    padding: 16px; /* Reduced from 18px */
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: #D4AF37;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 18px; /* Reduced padding */
    border-radius: 8px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #FFF;
    border-color: var(--gold);
    color: var(--gold);
}

.promotion-section {
    margin: 2rem 0;
    text-align: center;
}

.section-tag {
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.banner-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promo-banner {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Very soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* More pronounced on hover */
}

/* Success / Thank You State */
#step-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    display: none; /* Controlled by .active */
    justify-content: center;
    align-items: center;
    padding: 24px;
}

#step-success.active {
    display: flex !important;
}

.success-container {
    max-width: 320px;
    width: 100%;
    text-align: center;
}

.success-mark {
    margin: 2.5rem 0;
}

.luxury-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.success-content .subtitle {
    margin-bottom: 2rem;
    font-style: normal;
    color: var(--text-primary);
    line-height: 1.6;
}

.divider.mini {
    width: 40px;
    margin: 2rem auto;
    border-top: 2px solid var(--gold);
}

.social-section {
    margin-top: 1rem;
}

.social-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.social-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.dot {
    color: var(--border-color);
    font-size: 0.6rem;
}

.bottom-actions {
    margin-top: 4rem;
}

.btn-minimal {
    background: none;
    border: none;
    border-bottom: 1px solid var(--gold);
    color: var(--gold);
    padding: 4px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-minimal:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.left-align {
    text-align: left;
    margin-top: 0.5rem; /* Reduced from 1rem */
}

.section-label {
    display: block;
    font-size: 0.95rem; /* Slightly smaller label */
    font-weight: 600;
    margin-bottom: 1rem; /* Reduced from 1.2rem */
    color: var(--text-primary);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* Reduced from 1.2rem */
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.radio-label:hover {
    color: var(--gold);
}

.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
}

.radio-label input[type="radio"]:checked {
    border-color: var(--gold);
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 2.5rem 0;
}

.category-section {
    padding: 0.5rem 0;
}

/* Visibility Fix */
section {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

section.active {
    display: block !important;
    opacity: 1 !important;
}

.hidden {
    display: none !important;
}

/* Success Page */
.success-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.mt-large {
    margin-top: 2rem;
}