/* --- APP STORE / MAC STYLE THEME --- */

:root {
    --bg-body: #f5f5f7;       /* Apple Light Grey */
    --bg-card: #ffffff;       /* Pure White */
    --text-main: #1d1d1f;     /* Almost Black */
    --text-sub: #86868b;      /* Apple Grey */
    --accent: #0071e3;        /* Apple Blue */
    --accent-hover: #0077ED;
    --card-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); /* Soft, expensive shadow */
    --radius: 24px;           /* Large, friendly corners */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    margin: 0;
    padding: 0;
    color: var(--text-main);
}

.role-showcase-container {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.instruction-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.instruction-header p {
    font-size: 1.2rem;
    color: var(--text-sub);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* THE GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* THE CARD (The Magic Part) */
.role-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.02); /* Very subtle border */
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Lifts up and gets clearer */
.role-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
}

/* ICON */
.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: #f5f5f7;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

/* TYPOGRAPHY */
.role-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.definition {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.definition strong {
    color: var(--accent); /* Highlight keywords in Blue */
}

/* TECH STACK (Pills) */
.tech-stack {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    background: #f2f2f7;
    color: #424245;
    padding: 6px 12px;
    border-radius: 100px; /* Pill shape */
    font-size: 0.75rem;
    font-weight: 600;
}

/* DREAM LINKS (The 'See the Goal' Box) */
.dream-links {
    background: #f5f7fa;
    padding: 1.2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.dream-links p {
    color: var(--text-sub);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.link-btn {
    display: block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}
.link-btn:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* VIBE CHECK */
.vibe-check {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-left: 12px;
    border-left: 3px solid #e5e5ea;
    font-style: italic;
}

/* BUTTON (App Store Style) */
.choose-btn {
    margin-top: auto;
    width: 100%;
    padding: 14px;
    background: var(--bg-body); /* Light Grey background */
    color: var(--accent);       /* Blue Text */
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.choose-btn a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%; height: 100%;
}

.choose-btn:hover {
    background: var(--accent); /* Turns Blue on hover */
    color: white;              /* Text turns White */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .role-showcase-container { padding: 3rem 1.5rem; }
    .instruction-header h2 { font-size: 2rem; }
}