/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 2rem;
}

.hero-left {
    flex: 1;
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* IMAGE */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-height: 1500px;
}

/* Hide both by default (safety) */
.hero-image {
    display: none;
}

/* Light mode */
[data-theme="light"] .light-img {
    display: block;
}

/* Dark mode */
[data-theme="dark"] .dark-img {
    display: block;
}

/* FEATURES */
.features {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.feature-item p {
    margin: 0.5rem 0;
}

.icon {
    width: 18px;
    height: 18px;
    fill: currentColor; /* KEY LINE */
}

.feature-icon {
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.feature-icon {
    color: var(--text-secondary);
}

.feature-item:hover .feature-icon {
    color: var(--text-color);
}

/* SUB PAGES */

.page-nav {
    margin: 2rem 0;
}

.nav-links {
    margin: 0;
    padding-left: 2rem;
    list-style: decimal;
}

.nav-links li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.nav-links ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 2rem;
    list-style: disc;
}

.nav-links ul li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

.nav-links a {
    text-decoration: none;
    color: #0066cc;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-links ul a {
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #0052a3;
    text-decoration: underline;
}

[data-theme="dark"] .nav-links a {
    color: #4d9fff;
}

[data-theme="dark"] .nav-links a:hover {
    color: #66b3ff;
}

/* MAIN CONTENT */
.last-updated {
    display: block;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.last-updated:last-of-type {
    margin-bottom: 2rem;
}

/* STEP IMAGES */
.step-image {
    margin: 2rem auto;
    text-align: center;
    max-width: 400px;
}

.step-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.step-image img:hover {
    transform: scale(1.02);
}

[data-theme="dark"] .step-image img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.image-caption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}
