.hero {
    padding: 4rem 2rem 6rem;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 840px;
    margin-bottom: 4rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: var(--fs-h1);
    font-weight: 500;
    font-style: italic;
    color: var(--primary-green);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: var(--fs-body);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.check-icon {
    color: var(--primary-green);
}

/* HERO VISUAL SECTION */
.hero-visual {
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 0 2rem;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 600px; 
    display: flex;
    justify-content: center;
}

.visual-bg {
    width: 100%;
    height: 100%;
    background-color: var(--bg-green);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Push person to bottom */
}

.main-person {
    height: 95%;
    width: auto;
    object-fit: cover;
    object-position: bottom center;
}

.floating-badge-reskill {
    position: absolute;
    bottom: 25%;
    left: 20%;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    transition: all 0.3s ease;
}

.floating-badge-reskill.highlight {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* FLOATING CARDS (Common) */
.floating-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

/* PROFILE CARD */
.profile-card {
    top: 2rem;
    left: 2rem;
    padding: 1rem 1.25rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.profile-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: var(--fs-body);
}

.match-badge {
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.match-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.profile-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}
.profile-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* LEFT COURSE CARD */
.course-card {
    top: 50%;
    left: -4rem;
    transform: translateY(-50%);
    width: 280px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.course-card.highlight {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
}

.course-title {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.course-item {
    margin-bottom: 1rem;
}

.course-item:last-child {
    margin-bottom: 0;
}

.course-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-main);
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-green);
    border-radius: 2px;
    transition: width 0.5s ease-out;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    width: 24px;
    text-align: right;
}

/* RIGHT CARDS CONTAINER */
.right-cards-container {
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 20;
}

/* RIGHT AGENT CARD */
.agent-card {
    position: relative; /* relative to right-cards-container */
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 280px;
    padding: 1.25rem;
    transition: transform 0.3s ease;
}

.agent-card.highlight {
    transform: scale(1.02);
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.agent-interaction {
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.file-attachment {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.file-icon-bg {
    width: 24px;
    height: 24px;
    background: #F3F4F6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}

.file-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.project-status-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-main);
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #F59E0B; /* Orange for analyzing/training */
    animation: blink 1.5s infinite;
}

.status-indicator.ready {
    background-color: var(--primary-green);
    animation: none;
}

@keyframes blink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* MENTOR FEEDBACK CARD */
.feedback-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 280px;
    padding: 1.25rem;
    transition: transform 0.3s ease;
}

.feedback-card.highlight {
    transform: scale(1.02);
}

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feedback-item {
    font-size: 0.8125rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
}

.feedback-item.completed {
    color: var(--primary-green);
}

.feedback-item.action {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.feedback-item.action.highlighted {
    color: var(--primary-green);
}

/* ANIMATED CURSOR */
.demo-cursor {
    position: absolute;
    width: 32px;
    height: 32px;
    z-index: 50;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.demo-cursor.clicking {
    transform: translate(-50%, -50%) scale(0.85);
}

/* TECH LABELS BOTTOM */
.tech-labels-container {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0 1rem; /* Prevent edge touching on small screens */
    box-sizing: border-box;
}

.tech-labels {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px; /* Keep it contained on desktop */
}

.tech-pill {
    background: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: var(--fs-small);
    font-weight: 500; /* slightly less aggressive weight */
    color: var(--text-muted); /* muted treatment as requested */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    white-space: nowrap; /* Prevent pill text from wrapping internally */
}

.tech-icon {
    font-size: 1.125rem; /* consistent icon size */
    line-height: 1;
    display: flex;
    align-items: center;
}
