/* ===== SIDEBAR NAVIGATION (Tanssi-style) ===== */

/* Main app layout - vertical stack: header then content */
.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header stays at top, full width */
.app-layout > header {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Content area with sidebar */
.content-with-sidebar {
    display: flex;
    flex: 1;
}

/* Sidebar - starts below header */
.sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 60px; /* Below header */
    height: calc(100vh - 60px);
    overflow-y: auto;
    transition: transform 0.3s ease;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 8px 12px 8px;
    margin-bottom: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.nav-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.nav-item.active .nav-icon {
    filter: none;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

.nav-external {
    width: 14px;
    height: 14px;
}

.nav-external svg {
    width: 14px;
    height: 14px;
}

.nav-label {
    flex: 1;
}

.nav-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-badge.live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.nav-badge.soon {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.nav-external {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.2s;
}

.nav-item:hover .nav-external {
    opacity: 1;
}

/* Nav divider */
.nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 12px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.network-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-dot.offline {
    background: #ef4444;
}

/* Main Area */
.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

.page-content {
    flex: 1;
    padding: 0;
}

/* ===== HOME PAGE ===== */

.home-page {
    padding: 0 40px 40px 40px; /* Pas de padding top */
    max-width: 1200px;
    margin: 0 auto;
}

.home-hero {
    text-align: center;
    margin-bottom: 0;
    padding: 80px 20px 40px; /* Réduit le padding bottom de 60px à 40px */
    position: relative;
    /* Prendre la largeur sans empiéter sur sidebar */
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
    /* Gradient avec teal dans tous les coins (dark mode) */
    background: 
        radial-gradient(ellipse at top left, rgba(0, 223, 193, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(0, 223, 193, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(0, 223, 193, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 223, 193, 0.2) 0%, transparent 50%),
        linear-gradient(
            180deg, 
            #00DFC1 0%,           /* Teal/Cyan très lumineux en haut */
            #00BFA5 15%,          /* Teal lumineux */
            #008B7A 30%,          /* Teal moyen */
            #006B5E 45%,          /* Teal foncé */
            #004D45 60%,          /* Teal très foncé */
            #002D28 75%,          /* Presque noir avec nuance teal */
            #001A18 85%,          /* Noir teinté */
            #000000 100%          /* Noir pur */
        );
}

/* Light mode - Gradient sobre et doux */
[data-theme="light"] .home-hero {
    background: 
        radial-gradient(ellipse at top left, rgba(0, 223, 193, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at top right, rgba(0, 223, 193, 0.15) 0%, transparent 40%),
        linear-gradient(
            180deg,
            #E0F7F3 0%,           /* Teal très très clair */
            #C8F2E9 20%,          /* Teal ultra clair */
            #B8EDE4 40%,          /* Teal clair doux */
            #D5D5D5 70%,          /* Gris clair */
            #E8E8E8 100%          /* Gris neutre (bg-primary light) */
        );
}

.home-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 4px 16px rgba(0, 223, 193, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.home-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Hero Stats - Social Proof (fade to black on edges) */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    padding: 32px 48px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 223, 193, 0.02) 10%,
        rgba(0, 223, 193, 0.05) 20%,
        rgba(0, 223, 193, 0.05) 80%,
        rgba(0, 223, 193, 0.02) 90%,
        transparent 100%
    );
    border: none;
    border-top: 1px solid rgba(0, 223, 193, 0.15);
    border-bottom: 1px solid rgba(0, 223, 193, 0.15);
    border-radius: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Effet de bordure dégradée ultra-douce sur les côtés */
.hero-stats::before,
.hero-stats::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 10%,
        rgba(0, 223, 193, 0.1) 30%,
        rgba(0, 223, 193, 0.15) 50%,
        rgba(0, 223, 193, 0.1) 70%,
        transparent 90%,
        transparent 100%
    );
}

.hero-stats::before {
    left: 0;
}

.hero-stats::after {
    right: 0;
}

.hero-stat {
    text-align: center;
    flex: 1;
}

.hero-stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 4px 16px rgba(0, 223, 193, 0.4);
    margin-bottom: 8px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Feature Cards - Rapprochées du hero */
.feature-cards {
    display: grid;
    gap: 20px;
    margin-top: 20px;  /* Réduit de 60px à 20px pour rapprocher du hero */
    margin-bottom: 60px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 223, 193, 0.25);
}

.feature-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.feature-content {
    flex: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-badge.live {
    background: var(--color-primary);
    color: #000000;
    box-shadow: 0 4px 12px rgba(0, 223, 193, 0.4);
}

.feature-badge.soon {
    background: #EAB308;
    color: #000000;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s, color 0.3s;
}

.feature-card:hover .feature-arrow {
    transform: translateX(4px);
    color: var(--color-primary);
}

/* Resources Section */
.resources-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.resource-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
}

.resource-icon {
    font-size: 1.2rem;
}

.resource-title {
    flex: 1;
}

.resource-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== COMING SOON PAGES ===== */

.coming-soon-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px;
}

.coming-soon-content {
    max-width: 500px;
    text-align: center;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.coming-soon-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.coming-soon-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.coming-soon-features {
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.coming-soon-features h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.coming-soon-features ul {
    list-style: none;
    padding: 0;
}

.coming-soon-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.coming-soon-features li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: bold;
}

.coming-soon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.coming-soon-link:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.link-arrow {
    font-size: 0.9rem;
}

/* ===== MASSLOAD PAGE ===== */

.massload-page {
    padding: 0 40px 40px;
}

/* ===== EXPLORE PAGE ===== */

.explore-page {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.explore-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.search-icon {
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.explore-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.explore-results {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px 40px;
}

.results-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.hint {
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ===== REGISTER PAGE (style register.allfeat.org - EXACT) ===== */

.register-page {
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero section - centered title like MIDDS */
.register-hero {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.register-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.register-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card groups - side by side like MIDDS */
.register-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.register-group {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.register-group:hover {
    border-color: var(--color-primary);
}

/* Group header with circle icon like MIDDS */
.group-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: none;
}

.group-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 167, 148, 0.1);
    border-radius: 50%;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.group-icon svg {
    width: 32px;
    height: 32px;
}

.group-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* MIDDS-style action buttons */
.group-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 24px;
    flex: 1;
}

.midds-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    padding: 0 24px;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.midds-card:hover {
    background: var(--color-primary);
    color: white;
}

.midds-card:hover .card-icon {
    filter: brightness(0) invert(1);
}

.midds-card.coming-soon {
    opacity: 0.5;
    border-style: dashed;
}

.midds-card.coming-soon:hover {
    background: transparent;
    color: var(--text-primary);
}

.midds-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: color 0.2s;
}

.midds-card .card-icon svg {
    width: 20px;
    height: 20px;
}

.midds-card:hover .card-icon {
    color: white;
}

.midds-card .card-label {
    font-size: 0.95rem;
}

/* Note under parties */
.group-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 4px;
    margin-top: auto;
}

/* Mass Load section - gradient card */
.massload-section {
    margin-top: 0;
}

.massload-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(27, 167, 148, 0.1) 0%, rgba(27, 167, 148, 0.03) 100%);
    border: 2px solid var(--color-primary);
    border-radius: 16px;
}

.massload-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.massload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.massload-icon svg {
    width: 40px;
    height: 40px;
}

.massload-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.massload-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.massload-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.massload-btn svg {
    width: 18px;
    height: 18px;
}

.massload-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 167, 148, 0.35);
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge.soon {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.badge.live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* Responsive for register page */
@media (max-width: 900px) {
    .register-page {
        padding: 40px 20px;
    }
    
    .register-hero h1 {
        font-size: 2rem;
    }
    
    .register-groups {
        grid-template-columns: 1fr;
    }
    
    .massload-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .massload-content {
        flex-direction: column;
    }
}

/* ===== REGISTER FORM PAGE ===== */

.register-form-page {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--color-primary);
}

.form-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
}

.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.creator-list {
    margin-bottom: 16px;
}

.creator-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.add-creator {
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
}

.form-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== HOW IT WORKS PAGE ===== */

.how-it-works-page {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.concepts-section {
    margin-bottom: 60px;
}

.concepts-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.concept-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.concept-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.concept-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cta-section {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.cta-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        bottom: 0;
        z-index: 50;
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .content-with-sidebar {
        flex-direction: column;
    }
    
    .home-page {
        padding: 20px;
    }
    
    .home-title {
        font-size: 2rem;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
}

/* ===== SVG ICON STYLES FOR ALL PAGES ===== */

/* Feature icons (Home page) */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 167, 148, 0.1);
    border-radius: 12px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-arrow {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.feature-arrow svg {
    width: 20px;
    height: 20px;
}

.feature-card:hover .feature-arrow {
    color: var(--color-primary);
}

/* Resource icons */
.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.resource-icon svg {
    width: 20px;
    height: 20px;
}

.resource-arrow {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.resource-arrow svg {
    width: 16px;
    height: 16px;
}

/* Step icons (How it works page) */
.step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 167, 148, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    margin: 16px 0;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

/* Placeholder icons (Explore page) */
.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.placeholder-icon svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

/* Coming soon page icon (Protect page) */
.coming-soon-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 167, 148, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    margin: 0 auto 24px auto;
}

.coming-soon-icon svg {
    width: 40px;
    height: 40px;
}

/* Search icon */
.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.search-icon svg {
    width: 20px;
    height: 20px;
}

/* Link arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

.link-arrow svg {
    width: 14px;
    height: 14px;
}

/* Button icons */
.btn-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

