:root {
    /* Comic Colors */
    --primary-red: #FF4141;
    --primary-yellow: #FFE600;
    --primary-blue: #4196FF;
    --comic-black: #000000;
    --comic-white: #FFFFFF;

    /* Fonts */
    --font-heading-1: 'Luckiest Guy', cursive;
    --font-heading-2: 'Bangers', cursive;
    --font-body: 'Roboto', sans-serif;
    --font-marker: 'Permanent Marker', cursive;

    /* Borders & Shadows */
    --border-thick: 4px solid var(--comic-black);
    --border-thin: 2px solid var(--comic-black);
    --shadow-hard: 6px 6px 0px var(--comic-black);
    --shadow-soft: 4px 4px 0px var(--comic-black);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--comic-white);
    background-image: radial-gradient(var(--comic-black) 1px, transparent 1px);
    background-size: 20px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 20px 40px 20px;
    overflow-x: hidden;
}

/* Logo Header */
.logo-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
    padding-top: 20px;
}

.logo {
    height: 100px;
    /* Smaller size */
    width: 100px;
    border-radius: 50%;
    /* Circular */
    border: var(--border-thick);
    box-shadow: var(--shadow-hard);
    object-fit: cover;
    background-color: var(--comic-white);
}

.briefing-app {
    width: 100%;
    max-width: 800px;
    position: relative;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--comic-white);
    border: var(--border-thin);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-yellow);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 14.28%;
    /* 1/7 */
    border-right: var(--border-thin);
}

/* Card Container */
.card-container {
    position: relative;
    width: 100%;
}

/* Cards */
.card {
    position: absolute;
    width: 100%;
    background: var(--comic-white);
    border: var(--border-thick);
    border-radius: 0;
    padding: 40px;
    box-shadow: var(--shadow-hard);
    opacity: 0;
    transform: translateX(100px) rotate(2deg);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.active {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    pointer-events: all;
    position: relative;
}

.card.exit-left {
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
}

.card.exit-right {
    opacity: 0;
    transform: translateX(100px) scale(0.9);
}

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-number {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--comic-white);
    padding: 8px 20px;
    border: var(--border-thin);
    box-shadow: var(--shadow-soft);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-title {
    font-family: var(--font-heading-2);
    font-size: 2rem;
    color: var(--comic-black);
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px var(--comic-white), 4px 4px 0px var(--comic-black);
}

.card-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 10px;
}

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

.options-grid.multi-select {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Option Cards */
.option-card {
    background: var(--comic-white);
    border: var(--border-thick);
    border-radius: 0;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-soft);
}

.option-card::before {
    display: none;
}

.option-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--comic-black);
    border-color: var(--primary-blue);
}

.option-card.selected {
    border-color: var(--comic-black);
    background: var(--primary-yellow);
    color: var(--comic-black);
    transform: rotate(-2deg);
    box-shadow: var(--shadow-hard);
}

.option-card.selected h3,
.option-card.selected p {
    color: var(--comic-black);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.option-card h3 {
    font-family: var(--font-heading-2);
    font-size: 1.3rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    color: var(--comic-black);
}

.option-card p {
    font-size: 0.9rem;
    color: #666;
    position: relative;
    z-index: 1;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading-2);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--comic-black);
}

.form-group input {
    padding: 15px;
    border: var(--border-thin);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--comic-white);
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(65, 150, 255, 0.2);
}

/* Observations Textarea */
.observations-input {
    width: 100%;
    padding: 15px;
    border: var(--border-thick);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--comic-white);
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.observations-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-soft);
}

.observations-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Buttons */
.btn-next,
.btn-submit {
    background-color: var(--primary-yellow);
    color: var(--comic-black);
    border: var(--border-thick);
    padding: 18px 40px;
    border-radius: 0;
    font-family: var(--font-heading-2);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-hard);
    margin-top: 20px;
    text-transform: uppercase;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--comic-black);
    background-color: #FFF066;
}

.btn-next:active,
.btn-submit:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--comic-black);
}

.btn-back {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-red);
    border: var(--border-thick);
    color: var(--comic-white);
    padding: 12px 24px;
    border-radius: 0;
    font-family: var(--font-heading-2);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    text-transform: uppercase;
}

.btn-back:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--comic-black);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 30px 20px;
    }

    .card-title {
        font-size: 1.5rem;
    }

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

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

    .option-card {
        padding: 20px 15px;
    }

    .option-icon {
        font-size: 2rem;
    }

    .option-card h3 {
        font-size: 1.1rem;
    }

    .btn-back {
        bottom: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .options-grid.multi-select {
        grid-template-columns: 1fr;
    }
}