* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow-primary: #FFD700;
    --yellow-light: #FFED4E;
    --yellow-dark: #FFC700;
    --black: #1a1a1a;
    --black-light: #2d2d2d;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.6s ease-out;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px var(--shadow);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--black-light);
    font-weight: 400;
}

/* Workflow Grid */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow-primary), var(--yellow-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-hover);
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

.card:nth-child(5) {
    animation-delay: 0.5s;
}

.card:nth-child(6) {
    animation-delay: 0.6s;
}

.card-yellow {
    background: linear-gradient(135deg, var(--yellow-light) 0%, var(--yellow-primary) 100%);
    color: var(--black);
}

.card-black {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    color: var(--white);
}

.card-white {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--yellow-primary);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-black .card-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.card-white .card-header {
    border-bottom-color: var(--yellow-primary);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-red {
    background: #ff4444;
    color: var(--white);
}

.badge-yellow {
    background: var(--yellow-primary);
    color: var(--black);
}

.badge-black {
    background: var(--black);
    color: var(--yellow-primary);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.response-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.button-container {
    margin-top: auto;
    padding-top: 1rem;
}

.issues-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.card-black .issues-section {
    background: rgba(255, 255, 255, 0.05);
}

.card-white .issues-section {
    background: rgba(255, 215, 0, 0.1);
}

.issues-section h3,
.response-section h3,
.tips-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: inherit;
}

.issues-list {
    list-style: none;
    padding-left: 0;
}

.issues-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.issues-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--yellow-primary);
    font-weight: bold;
}

.card-yellow .issues-list li::before {
    color: var(--black);
}

.response-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.response-section p:last-child {
    margin-bottom: 0;
}

.tips-section {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--yellow-primary);
}

.card-black .tips-section {
    background: rgba(255, 255, 255, 0.05);
}

.tips-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.tips-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tips-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--yellow-primary);
    font-weight: bold;
}

.card-yellow .tips-section li::before {
    color: var(--black);
}

/* Filter Container */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--yellow-primary);
    background: var(--white);
    color: var(--black);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    background: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-dark));
    color: var(--black);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Card Hidden State */
.card.hidden {
    display: none;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem 0.5rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }
}