/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Live Nation Inspired - Sober, Modern, Professional */
    --color-primary: hsl(0, 0%, 100%);
    /* Clean White */
    --color-primary-dark: hsl(0, 0%, 90%);
    --color-accent: hsl(210, 100%, 55%);
    /* Subtle Blue accent */
    --color-highlight: hsl(0, 0%, 15%);
    /* Dark Gray */

    /* Grayscale Palette */
    --color-black: hsl(0, 0%, 0%);
    --color-gray-900: hsl(0, 0%, 10%);
    --color-gray-800: hsl(0, 0%, 15%);
    --color-gray-700: hsl(0, 0%, 25%);
    --color-gray-600: hsl(0, 0%, 40%);
    --color-gray-500: hsl(0, 0%, 60%);
    --color-gray-400: hsl(0, 0%, 75%);
    --color-gray-300: hsl(0, 0%, 85%);
    --color-gray-200: hsl(0, 0%, 92%);
    --color-gray-100: hsl(0, 0%, 97%);
    --color-white: hsl(0, 0%, 100%);

    /* Neutrals */
    --color-bg: var(--color-black);
    --color-surface: var(--color-gray-900);
    --color-text: var(--color-white);
    --color-text-muted: var(--color-gray-500);
    --color-border: var(--color-gray-800);

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Shadows - Subtle */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.7);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ===== BODY & CONTAINER ===== */
body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

/* ===== BACKGROUND SHAPES ===== */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -15%;
    left: -10%;
    animation-delay: -7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #FFD700, #C13584);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: var(--color-white);
    width: 0%;
    transition: width var(--transition-normal);
}

/* ===== FORM CONTAINER ===== */
.form-container {
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

/* ===== QUESTIONS ===== */
.question {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp var(--transition-slow) forwards;
}

.question.active {
    display: block;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-content {
    background: var(--color-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.question-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.question-label {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.required {
    color: var(--color-accent);
    font-weight: 400;
}

.optional {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* ===== INPUTS ===== */
.question-input,
.question-textarea {
    width: 100%;
    background: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 4px;
    padding: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
    outline: none;
}

.question-input::placeholder,
.question-textarea::placeholder {
    color: var(--color-text-muted);
}

.question-input:focus,
.question-textarea:focus {
    background: var(--color-gray-900);
    border-color: var(--color-white);
    box-shadow: 0 0 0 1px var(--color-white);
}

.question-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== NAVIGATION BUTTONS ===== */
.navigation-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.btn-primary,
.btn-secondary {
    border: none;
    border-radius: 12px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    outline: none;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-black);
    flex: 1;
    justify-content: center;
    box-shadow: none;
    border-radius: 4px;
}

.btn-primary:hover {
    background: var(--color-gray-200);
    transform: translateY(-1px);
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-gray-800);
    color: var(--color-text);
    width: 50px;
    justify-content: center;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: var(--color-gray-900);
    border-color: var(--color-white);
}

.btn-primary svg,
.btn-secondary svg {
    width: 20px;
    height: 20px;
}

.arrow-icon {
    transition: transform var(--transition-fast);
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

/* ===== HINT TEXT ===== */
.hint {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
}

.hint strong {
    color: var(--color-primary);
}

/* ===== WELCOME SCREEN ===== */
.welcome-screen {
    text-align: center;
    padding: var(--spacing-xl);
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-lg);
    filter: brightness(1.1);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

.welcome-screen .btn-primary {
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}

/* ===== OPTIONS GRID ===== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.option-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    font-family: var(--font-primary);
    color: var(--color-text);
}

.option-card:hover {
    background: var(--color-gray-800);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.option-card.selected {
    background: var(--color-gray-800);
    border-color: var(--color-white);
    box-shadow: 0 0 0 2px var(--color-white);
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.option-text {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== CONFIRMATION SCREEN ===== */
.confirmation-screen {
    text-align: center;
    padding: var(--spacing-xl);
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-black);
    font-size: 3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    animation: scaleIn 0.4s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.confirmation-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.summary-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.summary-item strong {
    color: var(--color-text-muted);
    font-weight: 500;
}

.confirmation-note {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
}

.confirmation-screen .btn-primary {
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }

    .question-content {
        padding: var(--spacing-lg);
    }

    .question-label {
        font-size: 1.5rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .logo {
        max-width: 200px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shape {
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    .question-label {
        font-size: 1.25rem;
    }

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

    .welcome-subtitle {
        font-size: 1rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}