/*
Theme Name: QCY Recruitment
Description: Modern recruitment theme for QCY Recruitment System
Version: 3.0.0
Author: QCY
*/

/* ==================== CSS Variables - QCY Design System ==================== */
:root {
    /* QCY Brand Colors */
    --qcy-primary: #000000;
    --qcy-primary-hover: #18181b;
    --qcy-primary-light: #f3f4f6;
    --qcy-primary-dark: #27272a;

    /* Neutral Colors */
    --qcy-secondary: #64748b;
    --qcy-success: #52C41A;
    --qcy-success-bg: #F6FFED;
    --qcy-warning: #FAAD14;
    --qcy-warning-bg: #FFFBE6;
    --qcy-error: #FF4D4F;
    --qcy-error-bg: #FFF1F0;
    --qcy-info: #1890FF;
    --qcy-info-bg: #E6F7FF;

    /* Text Colors */
    --qcy-text-primary: #262626;
    --qcy-text-secondary: #595959;
    --qcy-text-muted: #8C8C8C;
    --qcy-text-light: #BFBFBF;

    /* Background Colors */
    --qcy-bg-primary: #ffffff;
    --qcy-bg-secondary: #FAFAFA;
    --qcy-bg-tertiary: #F5F5F5;
    --qcy-bg-dark: #1F1F1F;

    /* Border Colors */
    --qcy-border-light: #E8E8E8;
    --qcy-border-medium: #D9D9D9;
    --qcy-border-dark: #BFBFBF;

    /* Border Radius */
    --qcy-radius-sm: 4px;
    --qcy-radius-md: 8px;
    --qcy-radius-lg: 12px;
    --qcy-radius-xl: 16px;
    --qcy-radius-full: 50%;

    /* Shadows */
    --qcy-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --qcy-shadow-md: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    --qcy-shadow-lg: 0 8px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.04);
    --qcy-shadow-xl: 0 12px 24px 0 rgba(0, 0, 0, 0.12);

    /* Transitions */
    --qcy-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --qcy-transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --qcy-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --qcy-space-xs: 4px;
    --qcy-space-sm: 8px;
    --qcy-space-md: 16px;
    --qcy-space-lg: 24px;
    --qcy-space-xl: 32px;
    --qcy-space-xxl: 48px;

    /* Typography */
    --qcy-font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --qcy-font-label: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --qcy-font-size-base: 16px;
    --qcy-line-height: 1.6;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Material Symbols Outlined */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', var(--qcy-font-family);
    font-size: var(--qcy-font-size-base);
    line-height: var(--qcy-line-height);
    color: var(--qcy-text-primary);
    margin: 0;
    padding: 0;
    background: #f9fafb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.custom-logo{display:initial;}
a {
    color: var(--qcy-primary);
    text-decoration: none;
    transition: color var(--qcy-transition-fast);
}

a:hover {
    color: var(--qcy-primary-hover);
}

/* ==================== Layout ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--qcy-space-md);
}

/* ==================== Main Content ==================== */
.site-main {
    min-height: 60vh;
}

/* ==================== Site Footer ==================== */
.site-footer {
    background: var(--qcy-bg-dark);
    color: var(--qcy-text-light);
    padding: var(--qcy-space-xxl) 0 var(--qcy-space-xl);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--qcy-space-lg);
}

.footer-brand {
    text-align: center;
}

.footer-brand .footer-logo {
    margin-bottom: var(--qcy-space-sm);
}

.footer-brand .footer-logo img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

.footer-brand h3 {
    margin: 0 0 var(--qcy-space-sm);
    font-size: 20px;
    font-weight: 700;
}

.footer-navigation {
    display: flex;
    align-items: center;
    gap: var(--qcy-space-lg);
}

.footer-navigation a {
    color: var(--qcy-text-light);
    font-size: 14px;
    opacity: 0.8;
    transition: opacity var(--qcy-transition-fast);
}

.footer-navigation a:hover {
    opacity: 1;
    color: var(--qcy-primary);
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    opacity: 0.6;
}

/* ==================== Stitch Homepage: Updated Image Style ==================== */

/* -- Navigation (Stitch Style) -- */
.stitch-nav {
    background: #f9f9f9;
    border-bottom: 1px solid #c4c7c7;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.stitch-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stitch-brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stitch-logo {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.stitch-logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--qcy-primary, #000000);
}

.stitch-logo-img {
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.stitch-drawer-header .stitch-logo-img {
    height: 28px;
}

@media (max-width: 768px) {
    .stitch-logo-img {
        height: 28px;
        max-width: 140px;
    }
}

.stitch-nav-links {
    display: flex;
    gap: 24px;
}

.stitch-nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #444748;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.stitch-nav-link:hover {
    color: #000;
}

.stitch-nav-link.active {
    color: #000;
    font-weight: 700;
    border-bottom-color: #000;
}

.stitch-nav-auth {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stitch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 24px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.stitch-btn-text {
    background: none;
    color: #444748;
    gap: 4px;
    padding: 8px 12px;
}

.stitch-btn-text:hover {
    color: #000;
}

.stitch-btn-primary {
    background: #000;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stitch-btn-primary:hover {
    background: #18181b;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.stitch-btn-secondary {
    background: #fff;
    color: #000;
    border: 1px solid #c4c7c7;
}

.stitch-btn-secondary:hover {
    background: #f3f3f3;
    border-color: #747878;
}

.stitch-btn-outline {
    background: transparent;
    color: #1a1c1c;
    border: 1px solid #c4c7c7;
    padding: 10px 28px;
}

.stitch-btn-outline:hover {
    background: #f3f3f3;
    border-color: #747878;
}

.stitch-btn-lg {
    padding: 12px 32px;
    font-size: 15px;
}

/* ==================== Mobile Navigation ==================== */

/* Hamburger toggle - hidden on desktop */
.stitch-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.stitch-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.stitch-hamburger span {
    display: block;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.stitch-mobile-toggle.active .stitch-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.stitch-mobile-toggle.active .stitch-hamburger span:nth-child(2) {
    opacity: 0;
}
.stitch-mobile-toggle.active .stitch-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.stitch-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stitch-mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Drawer */
.stitch-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.stitch-mobile-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.stitch-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.stitch-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #444748;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.stitch-drawer-close:hover {
    background: #f3f4f6;
}

/* Drawer Body */
.stitch-drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 0;
    overflow-y: auto;
}

/* Drawer Nav Links */
.stitch-drawer-nav {
    display: flex;
    flex-direction: column;
}

.stitch-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #444748;
    text-decoration: none;
    transition: all 0.15s;
}

.stitch-drawer-link .material-symbols-outlined {
    font-size: 20px;
    color: #9ca3af;
}

.stitch-drawer-link:hover {
    background: #f9fafb;
    color: #000;
}

.stitch-drawer-link:hover .material-symbols-outlined {
    color: #000;
}

.stitch-drawer-link.active {
    color: #000;
    font-weight: 700;
    background: #f9fafb;
}

.stitch-drawer-link.active .material-symbols-outlined {
    color: #000;
}

/* Drawer Footer */
.stitch-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.stitch-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 4px;
}

.stitch-drawer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.stitch-drawer-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stitch-drawer-username {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stitch-drawer-email {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stitch-drawer-logout {
    color: #ef4444;
    margin-top: 4px;
}

.stitch-drawer-logout .material-symbols-outlined {
    color: #ef4444;
}

.stitch-drawer-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.stitch-drawer-logout:hover .material-symbols-outlined {
    color: #dc2626;
}

/* -- Layout -- */
.stitch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.stitch-homepage {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 24px;
    padding-bottom: 48px;
}

/* -- Hero Banner -- */
.stitch-hero-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.stitch-hero-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #c4c7c7;
    display: block;
}

.stitch-hero-img-placeholder {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #ffddc1 100%);
    border: 1px solid #c4c7c7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.stitch-hero-img-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: var(--qcy-primary, #000000);
}

.stitch-hero-img-placeholder h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0;
}

/* -- Hero Banner Carousel -- */
.stitch-hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.stitch-hero-carousel-track {
    position: relative;
    width: 100%;
}

.stitch-hero-slide {
    display: none;
    width: 100%;
}

.stitch-hero-slide.active {
    display: block;
}

.stitch-hero-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #c4c7c7;
    display: block;
}

.stitch-hero-slide a {
    display: block;
    text-decoration: none;
}

.stitch-hero-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.stitch-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.stitch-hero-dot:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.2);
}

.stitch-hero-dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* -- Program Benefits -- */
.stitch-benefits {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    padding: 48px 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.stitch-section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0 0 32px;
    text-align: center;
}

.stitch-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stitch-benefit-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 16px;
}

.stitch-benefit-col:not(:last-child) {
    border-right: 1px solid #c4c7c7;
}

.stitch-benefit-col h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0;
}

.stitch-benefit-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stitch-benefit-col li {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #444748;
    line-height: 1.6;
}

.stitch-benefit-icon {
    margin-top: auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #c4c7c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stitch-benefit-icon .material-symbols-outlined {
    font-size: 36px;
    color: #444748;
}

/* -- Featured Projects -- */
.stitch-projects {
    /* section wrapper */
}

.stitch-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* -- Project Card (Stitch Updated Image Style) -- */
.stitch-card {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}

.stitch-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.06));
    pointer-events: none;
    z-index: 1;
}

.stitch-card:hover {
    box-shadow:
        0 8px 30px rgba(0,0,0,0.10),
        0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-6px);
}

.stitch-card:hover::after {
    opacity: 1;
}

.stitch-card-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #f5f5f5;
    /* height: 60%; */
}

.stitch-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: none;
}

.stitch-card-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f3f3f3, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stitch-card-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: #747878;
}

.stitch-card-body {
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.stitch-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0;
    line-height: 1.3;
}

.stitch-card-excerpt {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #444748;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -- Card Stats -- */
.stitch-card-stats {
    display: flex;
    border-top: 1px solid #c4c7c7;
    border-bottom: 1px solid #c4c7c7;
    padding: 5px 0;
    margin-top: auto;
}

.stitch-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stitch-stat:not(:last-child) {
    border-right: 1px solid #c4c7c7;
}

.stitch-stat-value {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1c1c;
}

.stitch-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #444748;
}

/* -- Progress Bar (matches /projects page) -- */
.project-progress {
    margin: 5px 0;
}

.project-progress .progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: #666;
}

.project-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.project-progress .progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* -- Card Meta -- */
.stitch-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* -- Card Valid In tag -- */
.stitch-card-valid-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* padding: 4px 12px; */
    background: #f3f4f6;
    border-radius: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    width: fit-content;
    margin: 8px auto 0;
    text-align: center;
}

.stitch-card-valid-in .material-symbols-outlined {
    font-size: 14px;
}

/* ==================== Countdown Timer ==================== */
.stitch-countdown-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.stitch-countdown-timer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: center;
}

.stitch-countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stitch-countdown-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.stitch-countdown-unit {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1;
}

.stitch-countdown-sep {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.stitch-countdown-deadline {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.stitch-countdown-deadline .material-symbols-outlined {
    font-size: 14px;
}

/* -- Card countdown (small) -- */
.stitch-countdown-card {
    margin-top: 8px;
}
.stitch-countdown-card .stitch-countdown-num {
    font-size: 18px;
}
.stitch-countdown-card .stitch-countdown-unit {
    font-size: 8px;
}
.stitch-countdown-card .stitch-countdown-sep {
    font-size: 14px;
}

/* -- Detail countdown (large, own line) -- */
.stitch-countdown-detail {
    margin-top: 16px;
    padding: 16px 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.stitch-countdown-detail .stitch-countdown-num {
    font-size: 36px;
}
.stitch-countdown-detail .stitch-countdown-unit {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stitch-countdown-detail .stitch-countdown-sep {
    font-size: 28px;
    margin: 0 2px;
}
.stitch-countdown-detail .stitch-countdown-deadline {
    font-size: 14px;
    margin-top: 4px;
}
.stitch-countdown-detail .stitch-countdown-deadline .material-symbols-outlined {
    font-size: 16px;
}

.stitch-meta-item {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #444748;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stitch-meta-item .material-symbols-outlined {
    font-size: 14px;
}

/* -- Card Action -- */
.stitch-card-action {
    margin-top: 5px;
}

.stitch-btn-card {
    width: 100%;
    padding: 10px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.stitch-btn-card:hover {
    background: #18181b;
    color: #fff;
}

/* -- Badges -- */
.stitch-badge {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stitch-badge .material-symbols-outlined {
    font-size: 18px;
}

.stitch-badge-approved {
    background: #f0fdf4;
    color: #166534;
}

.stitch-badge-pending {
    background: #fffbeb;
    color: #854d0e;
}

.stitch-badge-rejected {
    background: #fef2f2;
    color: #991b1b;
}

.stitch-badge-closed {
    background: #fdf2e9;
    color: #444748;
}

/* -- View More -- */
.stitch-view-more {
    text-align: center;
    margin-top: 32px;
}

/* -- Empty State -- */
.stitch-empty {
    text-align: center;
    padding: 64px 24px;
}

.stitch-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.stitch-empty-icon .material-symbols-outlined {
    font-size: 36px;
    color: #747878;
}

.stitch-empty h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0 0 8px;
}

.stitch-empty p {
    font-size: 14px;
    color: #444748;
    margin: 0 0 24px;
}

/* -- Stitch Responsive -- */
@media (max-width: 1024px) {
    .stitch-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stitch-nav-container {
        padding: 12px 16px;
    }
    
    .stitch-nav-links {
        display: none;
    }

    .stitch-nav-auth {
        display: none;
    }

    .stitch-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stitch-benefits-grid {
        grid-template-columns: 1fr;
    }

    .stitch-benefit-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #c4c7c7;
        padding-bottom: 24px;
    }

    .stitch-projects-grid {
        grid-template-columns: 1fr;
    }

    .stitch-section-title {
        font-size: 22px;
    }

    .stitch-benefits {
        padding: 32px 16px;
    }

    .stitch-homepage {
        padding: 16px 0 32px;
    }
}

/* ==================== Single Project Page - Stitch Design ==================== */
.stitch-single-project {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

/* -- Project Header -- */
.stitch-project-header {
    margin-bottom: 32px;
}

.stitch-project-hero {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #c4c7c7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stitch-project-hero-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.stitch-project-hero-placeholder {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid #c4c7c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.stitch-project-hero-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: #747878;
}

.stitch-project-header-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stitch-project-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stitch-project-title {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.stitch-project-stats {
    display: flex;
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.stitch-project-stats .stitch-stat {
    padding: 16px 0;
}

/* -- Valid In region tag -- */
.stitch-project-valid-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    
}

/* -- Badge: Open status -- */
.stitch-badge-open {
    background: #f0f9ff;
    color: #0369a1;
}

/* -- Project Content -- */
.stitch-project-content {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: #444748;
    line-height: 1.8;
}

.stitch-project-content h1,
.stitch-project-content h2,
.stitch-project-content h3,
.stitch-project-content h4 {
    color: #1a1c1c;
    font-weight: 700;
}

/* -- Application Form Section -- */
.stitch-project-form-section {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ==================== Application Status Card ==================== */
.stitch-app-status-card {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* -- Success Icon -- */
.stitch-app-success-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.stitch-app-success-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #c4c7c7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stitch-app-check-icon {
    font-size: 64px;
    color: #000;
}

/* -- Success Message -- */
.stitch-app-success-msg {
    text-align: center;
    margin-bottom: 32px;
}

.stitch-app-success-title {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0 0 12px;
}

.stitch-app-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: #595959;
    margin: 4px 0;
}

.stitch-app-meta strong {
    color: #1a1c1c;
}

/* -- Applied Position Card -- */
.stitch-app-position-card {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stitch-app-position-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stitch-app-position-icon .material-symbols-outlined {
    font-size: 32px;
    color: #000;
}

.stitch-app-position-info {
    flex: 1;
}

.stitch-app-position-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #595959;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stitch-app-position-title {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0;
}

/* ==================== 3-Step Progress ==================== */
.stitch-app-progress {
    padding: 32px 16px;
}

.stitch-progress-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 512px;
    margin: 0 auto;
    position: relative;
}

/* Background line */
.stitch-progress-line-bg {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

/* Active line overlay */
.stitch-progress-line-active {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: #000;
    z-index: 1;
    transition: width 0.5s ease;
}

/* Step container */
.stitch-progress-step {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* Dot base */
.stitch-progress-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
}

.stitch-progress-dot .material-symbols-outlined {
    font-size: 20px;
}

/* Active dot (black) */
.stitch-progress-dot-active {
    background: #000;
    border-color: #f3f4f6;
}

.stitch-progress-dot-active .material-symbols-outlined {
    color: #fff;
}

/* Inactive dot */
.stitch-progress-dot-inactive {
    background: #f3f4f6;
    border: 2px solid #c4c7c7;
}

.stitch-progress-dot-inactive .material-symbols-outlined {
    color: #747878;
}

/* Final step dot (approved=green, rejected=red) */
.stitch-progress-dot-final {
    border-color: #f3f4f6;
}

.stitch-progress-dot-final .material-symbols-outlined {
    color: #fff;
}

/* Step labels */
.stitch-progress-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.stitch-progress-label-active {
    font-weight: 700;
    color: #000;
}

.stitch-progress-label-inactive {
    color: #747878;
}

.stitch-progress-label-final {
    font-weight: 700;
}

/* ==================== Status Message Card ==================== */
.stitch-app-status-msg-card {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.stitch-app-status-msg-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stitch-app-status-msg-icon-wrap .material-symbols-outlined {
    font-size: 24px;
}

/* Pending */
.stitch-app-status-msg-icon-wrap--pending {
    background: #f3f4f6;
}

.stitch-app-status-msg-icon-wrap--pending .material-symbols-outlined {
    color: #000;
}

/* Approved */
.stitch-app-status-msg-icon-wrap--approved {
    background: #f0fdf4;
}

.stitch-app-status-msg-icon-wrap--approved .material-symbols-outlined {
    color: #22c55e;
}

/* Rejected */
.stitch-app-status-msg-icon-wrap--rejected {
    background: #fef2f2;
}

.stitch-app-status-msg-icon-wrap--rejected .material-symbols-outlined {
    color: #d9534f;
}

.stitch-app-status-msg-text {
    flex: 1;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #1a1c1c;
    margin: 0;
    line-height: 1.6;
}

/* ==================== What Happens Next Section ==================== */
.stitch-app-next-section {
    background: #fff;
    border: 1px solid #c4c7c7;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.stitch-app-next-title {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1c1c;
    margin: 0 0 24px;
    text-align: center;
}

.stitch-app-next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stitch-app-next-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.stitch-app-next-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #c4c7c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stitch-app-next-card-icon .material-symbols-outlined {
    font-size: 24px;
    color: #000;
}

.stitch-app-next-card-icon--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.stitch-app-next-card-icon--success .material-symbols-outlined {
    color: #22c55e;
}

.stitch-app-next-card-icon--muted {
    background: #f3f3f6;
    border-color: #c4c7c7;
}

.stitch-app-next-card-icon--muted .material-symbols-outlined {
    color: #747878;
}

.stitch-app-next-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1c1c;
    margin: 0;
}

.stitch-app-next-card-text {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #595959;
    margin: 0;
    line-height: 1.6;
}

/* ==================== Action Buttons ==================== */
.stitch-app-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* ==================== Help Text ==================== */
.stitch-app-help-text {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #595959;
    text-align: center;
    margin: 0;
    padding-top: 8px;
}

.stitch-app-help-link {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #c4c7c7;
    transition: border-color 0.2s;
}

.stitch-app-help-link:hover {
    border-color: #000;
}

/* ==================== Single Project Responsive ==================== */
@media (max-width: 768px) {
    .stitch-single-project {
        padding: 16px 8px 32px;
    }

    .stitch-project-title {
        font-size: 22px;
    }

    .stitch-project-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stitch-project-stats {
        flex-wrap: wrap;
    }

    .stitch-project-stats .stitch-stat {
        min-width: calc(50% - 16px);
    }

    .stitch-app-success-title {
        font-size: 22px;
    }

    .stitch-app-next-grid {
        grid-template-columns: 1fr;
    }

    .stitch-app-actions {
        flex-direction: column;
    }

    .stitch-app-actions .stitch-btn {
        width: 100%;
        justify-content: center;
    }

    .stitch-progress-track {
        max-width: 320px;
    }

    .stitch-progress-label {
        font-size: 12px;
    }
}

/* ============================================================
   AUTH PAGES — Login / Register
   ============================================================ */

.auth-page-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #fafafa;
}

.auth-container {
    display: flex;
    max-width: 960px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.auth-card {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.auth-body {
    flex: 1;
}

.auth-body .form-group {
    margin-bottom: 20px;
}

.auth-body .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.auth-body .form-group .input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}

.auth-body .form-group .input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

.auth-body .form-group .input::placeholder {
    color: #aaa;
}

/* Password field with toggle */
.auth-body .form-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 40px;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
}

.password-toggle:hover {
    color: #333;
}

/* Checkbox */
.form-group-checkbox,
.auth-body .form-group-checkbox {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000;
    cursor: pointer;
}

.checkbox-label a {
    color: #000;
    text-decoration: underline;
}

/* Submit button */
.auth-submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
}

.auth-submit-btn:hover {
    background: #222;
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form actions */
.form-actions {
    position: relative;
    display: flex;
    align-items: center;
}

/* Auth footer links */
.auth-footer {
    margin-top: 24px;
    text-align: center;
}

.auth-forgot-password {
    margin-bottom: 12px;
}

.auth-forgot-password a,
.auth-register-link a,
.auth-login-link a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot-password a:hover,
.auth-register-link a:hover,
.auth-login-link a:hover {
    text-decoration: underline;
}

.auth-register-link,
.auth-login-link {
    font-size: 14px;
    color: #666;
}

/* Social login */
.auth-social {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin-bottom: 16px;
}

.auth-divider span {
    background: #fff;
    padding: 0 16px;
    color: #999;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #eee;
}

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Visual side panel */
.auth-visual {
    flex: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.auth-visual-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.auth-illustration {
    margin-bottom: 32px;
}

.auth-illustration svg {
    width: 200px;
    height: 200px;
}

.auth-visual-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.auth-visual-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
}

.auth-features li svg {
    flex-shrink: 0;
}

/* Notification */
.auth-notification {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.notification-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

/* Error message inline */
.login-error-message {
    margin-bottom: 15px;
    padding: 12px 16px;
    background: #FFF1F0;
    border: 1px solid #FFCCC7;
    border-radius: 8px;
    color: #CF1322;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-error-message .error-icon {
    font-size: 16px;
}

.login-spinner {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.login-spinner svg {
    animation: auth-spin 1s linear infinite;
}

@keyframes auth-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- Auth page responsive ---- */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-visual {
        display: none;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .auth-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .auth-page-wrapper {
        padding: 20px 12px;
    }

    .auth-card {
        padding: 24px 16px;
    }

    .auth-title {
        font-size: 20px;
    }

    .auth-body .form-group .input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .auth-submit-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* ===== FAQ Accordion ===== */
.stitch-faq-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
}

.stitch-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.stitch-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #000;
    color: #fff;
    border-radius: 14px;
    font-size: 24px;
    margin-bottom: 16px;
}

.stitch-faq-header .stitch-section-title {
    margin-bottom: 8px;
}

.stitch-faq-list {
    margin: 0 auto;
}

.stitch-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    background: #fff;
}

.stitch-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stitch-faq-item.active {
    border-color: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.stitch-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    transition: color 0.2s;
    line-height: 1.5;
}

.stitch-faq-question:hover {
    color: #000;
}

.stitch-faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    transition: all 0.3s ease;
}

.stitch-faq-toggle svg {
    transition: transform 0.3s ease;
}

.stitch-faq-item.active .stitch-faq-toggle {
    background: #000;
    color: #fff;
}

.stitch-faq-item.active .stitch-faq-toggle svg {
    transform: rotate(180deg);
}

.stitch-faq-answer {
    display: none;
    padding: 0 24px 20px;
}

.stitch-faq-answer p {
    font-size: 14px;
    line-height: 1.75;
    color: #6b7280;
    margin: 0;
}

@media (max-width: 768px) {
    .stitch-faq-section {
        margin-top: 40px;
        padding-top: 32px;
    }

    .stitch-faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .stitch-faq-answer {
        padding: 0 18px 16px;
    }

    .stitch-faq-answer p {
        font-size: 13px;
    }
}

/* ==================== Generic Page Template ==================== */
.stitch-page-wrapper {
    padding: 60px 0 80px;
    min-height: 60vh;
}

.stitch-page-article {
    max-width: 800px;
    margin: 0 auto;
}

.stitch-page-header {
    margin-bottom: 40px;
}

.stitch-page-title {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--qcy-text-primary, #262626);
    line-height: 1.3;
}

.stitch-page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--qcy-text-secondary, #595959);
}

.stitch-page-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--qcy-text-primary, #262626);
    margin: 32px 0 16px;
}

.stitch-page-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--qcy-text-primary, #262626);
    margin: 24px 0 12px;
}

.stitch-page-content p {
    margin-bottom: 16px;
}

.stitch-page-content ul,
.stitch-page-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.stitch-page-content li {
    margin-bottom: 8px;
}

.stitch-page-content a {
    color: var(--qcy-primary, #000000);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.stitch-page-content a:hover {
    opacity: 0.7;
}

.stitch-page-content blockquote {
    border-left: 4px solid var(--qcy-primary, #000000);
    padding: 12px 20px;
    margin: 20px 0;
    background: var(--qcy-bg-secondary, #FAFAFA);
    border-radius: 0 var(--qcy-radius-md, 8px) var(--qcy-radius-md, 8px) 0;
}

.stitch-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--qcy-radius-md, 8px);
    margin: 20px 0;
}

.stitch-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.stitch-page-content th,
.stitch-page-content td {
    padding: 12px 16px;
    border: 1px solid var(--qcy-border-light, #E8E8E8);
    text-align: left;
}

.stitch-page-content th {
    background: var(--qcy-bg-tertiary, #F5F5F5);
    font-weight: 600;
    color: var(--qcy-text-primary, #262626);
}

@media (max-width: 768px) {
    .stitch-page-wrapper {
        padding: 40px 16px 60px;
    }

    .stitch-page-title {
        font-size: 28px;
    }

    .stitch-page-content {
        font-size: 15px;
    }
}

/* ===== Homepage Fullscreen Page ===== */

/* Fullscreen page wrapper */
.qcy-fullscreen-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Top Navigation Bar */
.qcy-page-topbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    min-height: 56px;
    flex-shrink: 0;
}

.qcy-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    background: none;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.qcy-back-btn:hover {
    background: #f3f4f6;
}

.qcy-page-topbar-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qcy-page-topbar-spacer {
    width: 100px;
    flex-shrink: 0;
}

/* Scrollable Body */
.qcy-page-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hero Banner */
.qcy-page-hero {
    position: relative;
    min-height: 320px;
    background: linear-gradient(135deg, #000000 0%, #27272a 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 48px;
}

.qcy-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
}

.qcy-page-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    width: 100%;
    max-width: 800px;
}

.qcy-page-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.qcy-page-hero-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.qcy-page-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.qcy-page-meta-item {
    font-size: 14px;
    opacity: 0.9;
    color: #fff;
}

/* Content Sections */
.qcy-page-content {
    background: #fff;
}

.qcy-page-content-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px 120px;
}

.qcy-page-section {
    margin-bottom: 40px;
}

.qcy-page-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.qcy-page-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.qcy-page-desc h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 24px 0 16px;
    line-height: 1.3;
}

.qcy-page-desc h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 20px 0 12px;
    line-height: 1.4;
}

.qcy-page-desc h3 {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin: 16px 0 10px;
    line-height: 1.4;
}

.qcy-page-desc h4 {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin: 14px 0 8px;
}

.qcy-page-desc p { margin-bottom: 12px; }
.qcy-page-desc ul, .qcy-page-desc ol { padding-left: 24px; margin-bottom: 12px; }
.qcy-page-desc li { margin-bottom: 8px; }

.qcy-page-form-section {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
}

.qcy-page-form-section h3 {
    border-bottom-color: #000;
}

/* Single Project Privacy Agreement Gate */
.stitch-project-privacy-section {
    margin-bottom: 32px;
}

.stitch-project-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.stitch-project-agree-section {
    margin: 24px 0 32px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Fixed Bottom Action Bar */
.qcy-page-bottombar {
    position: relative;
    z-index: 10;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    flex-shrink: 0;
}

.qcy-page-bottombar-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.qcy-page-notice-area {
    flex: 1;
}

.qcy-page-notice {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.qcy-page-notice.notice-pending { background: #FFF8E1; color: #F57C00; }
.qcy-page-notice.notice-approved { background: #E8F5E9; color: #388E3C; }

.qcy-page-actions-btns {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    width: 100%;
}

.qcy-btn-close {
    flex: 1;
    padding: 14px 20px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-align: center;
}
.qcy-btn-close:hover { background: #e5e7eb; }

.qcy-btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 14px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.qcy-btn-apply:hover {
    background: #18181b;
    transform: translateY(-1px);
}

.qcy-btn-apply:disabled, .qcy-btn-apply.qcy-btn-disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Homepage card hover handled by style.css */

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .qcy-page-topbar {
        padding: 8px 12px;
        min-height: 48px;
    }

    .qcy-back-btn span {
        display: none;
    }

    .qcy-page-hero {
        min-height: 220px;
        padding: 24px;
    }

    .qcy-page-hero-content h1 {
        font-size: 24px;
    }

    .qcy-page-content-inner {
        padding: 24px 16px 100px;
    }

    .qcy-page-section h3 {
        font-size: 18px;
    }

    .qcy-page-bottombar {
        padding: 12px 16px;
    }

    .qcy-page-bottombar-inner {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .qcy-btn-close, .qcy-btn-apply {
        width: 100%;
    }
}
