/* ========================================
   Homepage Styles
   ======================================== */

/* ── Page background ── */
.home-page {
    background: #f4f4f5;
    min-height: calc(100vh - 3rem); /* subtract header height */
    padding: 2rem 1.5rem;
}

/* ── Centered container ── */
.home-container {
    display: flex;
    gap: 1.5rem;
    max-width: 72rem; /* ~1152px, matches max-w-6xl */
    margin: 0 auto;
    align-items: flex-start;
}

/* ── Left column (flex) ── */
.home-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

/* ── Right column (fixed width) ── */
.home-right {
    flex: 0 0 30rem; /* 480px */
}

/* ── Cards ── */
.home-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.home-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e1e1e;
    margin: 0 0 0.25rem 0;
}

.home-card-subtitle {
    font-size: 0.875rem;
    color: #71717a;
    margin: 0 0 1.25rem 0;
}

/* ── Getting Started Steps ── */
.home-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    background: #f4f4f5;
    color: #3B3B3B;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-text {
    font-size: 0.875rem;
    color: #3f3f46;
    line-height: 1.5;
}

/* ── Accent Button ── */
.home-btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #C5F41D;
    color: #3B3B3B;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.home-btn-accent:hover {
    background: #b0dc0f;
    text-decoration: none;
    color: #3B3B3B;
}

.home-btn-accent:active {
    transform: scale(0.98);
}

.home-btn-accent .oi {
    font-size: 0.75rem;
}

/* ── Note text ── */
.home-note {
    font-size: 0.8125rem;
    color: #71717a;
    margin: 1rem 0 0 0;
    line-height: 1.5;
}

/* ── Features List ── */
.home-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    background: #f0fcd4; /* light lime tint */
    color: #4d7c0f;     /* dark green for contrast */
    border-radius: 0.375rem;
    font-size: 0.8rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.3;
}

.feature-text span {
    font-size: 13px;
    color: #71717a;
    line-height: 1.3;
}

/* ── Demo Projects Panel ── */
.demo-panel {
    background: #f7fee7; /* light green tint */
    border: 1px solid #C5F41D;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

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

.demo-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #65a30d;
    border-radius: 50%;
    flex-shrink: 0;
}

.demo-panel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e1e1e;
    margin: 0;
}

.demo-panel-desc {
    font-size: 0.8125rem;
    color: #4b5563;
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
}

/* ── Demo Cards ── */
.demo-card {
    padding: 1rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.625rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.demo-card:hover {
    border-color: #C5F41D;
    box-shadow: 0 4px 12px rgba(197, 244, 29, 0.2);
}

.demo-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0 0 0.25rem 0;
}

.demo-card-desc {
    font-size: 0.8125rem;
    color: #71717a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

/* "Load Project" button inside demo cards */
.demo-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3B3B3B;
    background: white;
    border: 1px solid #3B3B3B;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.demo-load-btn:hover {
    background: #3B3B3B;
    color: white;
    text-decoration: none;
}

.demo-load-btn .oi {
    font-size: 0.65rem;
}

/* ── Info Note ── */
.demo-info-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: #71717a;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.demo-info-icon {
    color: #a1a1aa;
    font-size: 0.85rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* ── Responsive: stack on narrower screens ── */
@media (max-width: 1024px) {
    .home-container {
        flex-direction: column;
    }

    .home-right {
        flex: none;
        width: 100%;
    }
}
