/* ============================================
   NEUMORPHIC DESIGN - Haorinko Validator
   Palette Viking: Deep slate gray, vibrant yellow, cool blue, warm red-brown
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette Viking - Extracted from image (ASSOMBRIE) */
    --bg-primary: #1F2329;        /* Deep slate gray (dark backdrop) - ASSOMBRI */
    --bg-secondary: #2A2F38;      /* Lighter slate variant - ASSOMBRI */
    --accent-yellow: #F8D847;     /* Vibrant yellow (hair) */
    --accent-blue: #4AB3E6;       /* Cool blue (eyes) */
    --accent-red: #A52A2A;        /* Warm red-brown (clothing) */
    --neutral-silver: #A9A9A9;    /* Silver-gray (helmet) */
    --earth-brown: #8B4513;       /* Earthy brown (mug) */
    
    /* Neumorphic shadows (ajustées pour fond plus sombre) */
    --shadow-convex: 8px 8px 16px rgba(0, 0, 0, 0.4), -8px -8px 16px rgba(255, 255, 255, 0.02);
    --shadow-concave: inset 8px 8px 16px rgba(0, 0, 0, 0.4), inset -8px -8px 16px rgba(255, 255, 255, 0.02);
    --shadow-inset: inset 5px 5px 10px #15181D, inset -5px -5px 10px #2A2F38;
    --shadow-raised: 5px 5px 10px #15181D, -5px -5px 10px #2A2F38;
    
    /* Text colors */
    --text-primary: #E8E8E8;
    --text-secondary: #B8B8B8;
    --text-muted: #888888;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
}

/* Highlight Haorinko in text */
.highlight-haorinko {
    color: var(--accent-yellow);
    font-weight: 600;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 80px; /* Space for sticky nav */
}

body.loading {
    overflow: hidden;
}

/* ============================================
   NEUMORPHIC UTILITY CLASSES
   ============================================ */

.neu-convex {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-convex);
    border: none;
}

.neu-concave {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-concave);
    border: none;
}

.neu-inset {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-inset);
    border: none;
}

.neu-raised {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised);
    border: none;
}

/* ============================================
   PAGE LOADER
   ============================================ */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-yellow);
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

.page-loader p {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   STICKY NAV BAR (NEUMORPHIC)
   ============================================ */

.neu-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 0.05em;
}

/* Hide #Haorinko on mobile */
@media (max-width: 768px) {
    .nav-logo-text {
        display: none;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.language-selector-neu {
    display: flex;
    gap: var(--spacing-xs);
}

.neu-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    box-shadow: var(--shadow-convex);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neu-btn-icon:hover {
    box-shadow: var(--shadow-inset);
    transform: scale(0.95);
}

.neu-btn-icon.active {
    box-shadow: var(--shadow-inset);
    background: var(--accent-blue);
}

.nav-cta {
    padding: 12px 24px;
    font-size: 14px;
    white-space: nowrap;
}

/* ============================================
   HERO SECTION (NEUMORPHIC)
   ============================================ */

.hero-neu {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(145deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-neu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.hero-avatar-wrapper {
    position: relative;
}

.hero-avatar-wrapper a,
.hero-avatar-link {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.hero-avatar-wrapper a:hover,
.hero-avatar-link:hover {
    transform: scale(1.05);
}

.hero-avatar-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-yellow) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(20px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

.hero-avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 216, 71, 0.6) 0%, transparent 60%);
    opacity: 0.6;
    filter: blur(10px);
    z-index: -1;
    animation: glow-pulse 2s ease-in-out infinite;
}

.hero-avatar-neu {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: var(--shadow-convex),
                0 0 30px rgba(248, 216, 71, 0.5),
                0 0 60px rgba(248, 216, 71, 0.3),
                0 0 90px rgba(248, 216, 71, 0.1);
    border: 4px solid var(--accent-yellow);
    animation: float 3s ease-in-out infinite;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

@keyframes glow-pulse {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-text-neu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 600px;
}

.hero-title-neu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.hero-title-primary {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-yellow);
    text-transform: uppercase;
}

.hero-title-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-badges-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-sm);
    justify-content: flex-start;
}

.status-badge-neu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    font-size: 15px;
    font-weight: 500;
    width: fit-content;
    flex-shrink: 0;
}

.status-dot-neu {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px #10b981;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-metrics-neu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.metric-badge-neu {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.metric-badge-merged .metric-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.metric-badge-merged .metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 4px;
}

.metric-badge-merged .metric-value {
    font-weight: 600;
    color: var(--accent-yellow);
    margin-right: 4px;
}

.metric-badge-merged .metric-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-right: var(--spacing-xs);
}

.metric-separator {
    color: var(--text-muted);
    margin: 0 var(--spacing-xs);
    font-size: 0.9rem;
}

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

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.metric-value {
    font-weight: 600;
    color: var(--accent-yellow);
}

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

.hero-social-neu {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.neu-btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-raised);
    flex-shrink: 0;
    white-space: nowrap;
}

.neu-btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 15px rgba(74, 179, 230, 0.4), -5px -5px 15px rgba(74, 179, 230, 0.2);
}

.neu-btn-social.chatbot-btn {
    background: var(--accent-yellow);
    color: var(--bg-primary);
}

.neu-btn-social.chatbot-btn:hover {
    box-shadow: 5px 5px 15px rgba(248, 216, 71, 0.4), -5px -5px 15px rgba(248, 216, 71, 0.2);
}

.telegram-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.chatbot-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* ASI Cards Row */
.asi-cards-neu {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.asi-card-neu {
    flex: 1;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
}

.asi-card-neu h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.asi-card-neu p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    line-height: 1.6;
}

.neu-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.neu-link:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

/* ============================================
   BUTTONS (NEUMORPHIC)
   ============================================ */

.neu-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    background: var(--accent-yellow);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-raised);
    border: none;
    cursor: pointer;
    text-align: center;
}

.neu-btn-primary .icon-svg-inline {
    width: 18px;
    height: 18px;
    color: currentColor;
    flex-shrink: 0;
}

.neu-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 8px 8px 20px rgba(248, 216, 71, 0.4), -8px -8px 20px rgba(248, 216, 71, 0.2);
    background: #FFE066;
}

.neu-btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow-inset);
}

/* ============================================
   STATS SECTION (NEUMORPHIC DASHBOARD)
   ============================================ */

.stats-section-neu {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-title-neu {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    font-weight: 700;
}

.stats-grid-neu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.stat-card-neu {
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-neu:hover {
    box-shadow: var(--shadow-convex);
    transform: translateY(-5px);
}

.stat-icon-neu {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-neu .icon-svg {
    width: 48px;
    height: 48px;
    color: var(--accent-blue);
}

.stat-icon-emoji {
    font-size: 3rem;
    filter: hue-rotate(200deg) saturate(2) brightness(0.9);
    display: inline-block;
    line-height: 1;
}

.stat-label-neu {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.stat-value-neu {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: var(--spacing-xs);
}

.stat-unit-neu {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   FEATURES SECTION (ACCORDION)
   ============================================ */

.features-section-neu {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, rgba(248, 216, 71, 0.02) 0%, rgba(74, 179, 230, 0.02) 100%);
}

.features-accordion-neu {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item-neu {
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    overflow: hidden;
}

.feature-toggle-neu {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-toggle-neu:hover {
    background: rgba(255, 255, 255, 0.02);
}

.feature-toggle-neu[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.feature-icon-neu {
    font-size: 2rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-neu .icon-svg {
    width: 24px;
    height: 24px;
    color: var(--accent-blue);
}

.feature-toggle-neu h3 {
    flex: 1;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    transition: transform 0.3s ease;
}

.feature-content-neu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--spacing-md);
}

.feature-item-neu[aria-expanded="true"] .feature-content-neu {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.feature-content-neu p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   DELEGATION GUIDE (WALLET-BY-WALLET)
   ============================================ */

.delegation-guide-neu {
    padding: var(--spacing-xl) var(--spacing-md);
}

.delegation-guide-neu .section-title-neu {
    color: var(--accent-yellow);
}

.guide-intro-neu {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.guide-intro-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.guide-prerequisite-neu {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-inset);
    border-left: 4px solid var(--accent-yellow);
}

.guide-prerequisite-neu strong {
    color: var(--accent-yellow);
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.guide-prerequisite-neu p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.guide-prerequisite-neu ul {
    margin: var(--spacing-sm) 0 0 var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

.guide-prerequisite-neu li {
    margin-bottom: var(--spacing-xs);
}

.wallet-guides-neu {
    max-width: 900px;
    margin: 0 auto;
}

.wallet-guide-item-neu {
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    overflow: hidden;
}

.wallet-guide-toggle-neu {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.wallet-guide-toggle-neu:hover {
    background: rgba(255, 255, 255, 0.02);
}

.wallet-guide-toggle-neu[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.wallet-guide-title-neu {
    flex: 1;
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin: 0;
    min-width: 200px;
}

.wallet-guide-badge-neu {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--accent-blue);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-guide-content-neu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--spacing-md);
}

.wallet-guide-item-neu[aria-expanded="true"] .wallet-guide-content-neu {
    max-height: 2000px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.wallet-guide-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.wallet-guide-steps-neu {
    margin-top: var(--spacing-md);
}

.wallet-guide-steps-neu h4 {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.wallet-guide-steps-neu ol {
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-sm);
}

.wallet-guide-steps-neu li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    color: var(--text-secondary);
}

.wallet-guide-steps-neu a {
    color: var(--accent-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wallet-guide-steps-neu a:hover {
    color: var(--accent-yellow);
}

.guide-important-list-neu {
    margin-left: var(--spacing-md);
    list-style: none;
}

.guide-important-list-neu li {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-md);
}

.guide-important-list-neu li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.guide-important-list-neu li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stepper-neu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.step-neu {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.step-node-neu {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-raised);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-neu:hover .step-node-neu {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 8px 8px 20px rgba(74, 179, 230, 0.4), -8px -8px 20px rgba(74, 179, 230, 0.2);
}

.step-content-neu {
    flex: 1;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
}

.step-content-neu h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.step-content-neu p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector-neu {
    width: 2px;
    height: 30px;
    background: var(--neutral-silver);
    margin-left: 25px;
    opacity: 0.3;
}

.delegate-cta-wrapper-neu {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.delegate-cta-neu {
    font-size: 18px;
    padding: 20px 50px;
    position: relative;
    overflow: hidden;
}

.delegate-cta-neu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.delegate-cta-neu:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   TECH INFO (TABLE)
   ============================================ */

.tech-info-neu {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-secondary);
}

.tech-table-neu {
    max-width: 900px;
    margin: 0 auto;
}

.tech-row-neu {
    display: flex;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-md);
}

.tech-row-neu:nth-child(even) {
    box-shadow: var(--shadow-convex);
}

.tech-row-neu strong {
    color: var(--accent-blue);
    min-width: 150px;
    font-weight: 600;
}

.tech-row-neu span {
    color: var(--text-secondary);
    flex: 1;
}

/* ============================================
   FAQ SECTION (SEARCHABLE ACCORDIONS)
   ============================================ */

.faq-section-neu {
    padding: var(--spacing-xl) var(--spacing-md);
}


.neu-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.neu-input:focus {
    outline: none;
    box-shadow: var(--shadow-convex);
}

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

.faq-list-neu {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-neu {
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-inset);
    overflow: hidden;
}

.faq-item-neu.hidden {
    display: none;
}

.faq-toggle-neu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-toggle-neu:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-toggle-neu[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.faq-toggle-neu h3 {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 600;
    flex: 1;
}

.faq-content-neu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--spacing-md);
}

.faq-item-neu[aria-expanded="true"] .faq-content-neu {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-content-neu p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin: var(--spacing-md) 0;
}

.faq-steps-list li {
    counter-increment: step-counter;
    margin-bottom: var(--spacing-md);
    padding-left: 40px;
    position: relative;
}

.faq-steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-raised);
}

.faq-steps-list li strong {
    display: block;
    color: var(--accent-yellow);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.faq-steps-list li p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Chatbot Teaser */

/* ============================================
   FOOTER
   ============================================ */

.footer-neu {
    padding: var(--spacing-xl) var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-secondary);
}

.footer-content-neu {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-content-neu p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links-neu {
    display: flex;
    gap: var(--spacing-md);
}

/* ============================================
   BACK TO TOP BUTTON (FLOATING FAB)
   ============================================ */

.back-to-top-neu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: var(--shadow-raised);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top-neu.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-neu:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 8px 8px 20px rgba(74, 179, 230, 0.4), -8px -8px 20px rgba(74, 179, 230, 0.2);
}

/* ============================================
   MOBILE DELEGATE BAR
   ============================================ */

.mobile-delegate-bar-neu {
    display: none;
}

/* ============================================
   STAKE MODAL (Wallet Selection)
   ============================================ */

.stake-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.stake-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.stake-modal-content {
    width: 100%;
    max-width: 500px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-convex), 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.stake-modal.active .stake-modal-content {
    transform: scale(1);
}

.stake-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stake-modal-header h3 {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.stake-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    color: var(--accent-yellow);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-inset);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stake-modal-close:hover {
    transform: rotate(90deg);
    box-shadow: var(--shadow-convex);
}

.stake-modal-body {
    padding: var(--spacing-lg);
}

.stake-modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-size: 0.95rem;
}

.wallet-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.wallet-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-lg);
    background: var(--wallet-bg-color, var(--bg-secondary));
    border: none;
    border-radius: var(--radius-md);
    color: var(--wallet-text-color, var(--text-primary));
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-inset);
    font-size: 1rem;
    font-weight: 700;
    min-height: 90px;
    position: relative;
    overflow: hidden;
}

.wallet-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-convex);
    opacity: 0.95;
}

.wallet-name {
    font-size: 1.2rem;
    color: var(--wallet-text-color, var(--text-primary));
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

/* Keplr - Light gray text on black background with glow */
.wallet-btn-keplr {
    background: #000000;
    box-shadow: inset 5px 5px 10px #000000, inset -5px -5px 10px #1a1a1a;
}

.wallet-btn-keplr .wallet-name {
    color: #E5E7EB;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(229, 231, 235, 0.3);
    letter-spacing: 1px;
}

.wallet-btn-keplr:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.05);
}

.wallet-btn-keplr:hover .wallet-name {
    text-shadow: 0 0 12px rgba(229, 231, 235, 0.5);
}

/* Ping.pub - White text on dark blue background */
.wallet-btn-pingpub {
    background: #1a1a2e;
    box-shadow: inset 5px 5px 10px #0f0f1a, inset -5px -5px 10px #252542;
}

.wallet-btn-pingpub .wallet-name {
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 1px;
}

.wallet-btn-pingpub:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5), -8px -8px 16px rgba(255, 255, 255, 0.02);
}

/* Mintscan - White text on blue background */
.wallet-btn-mintscan {
    background: #1E40AF;
    box-shadow: inset 5px 5px 10px #1e3a8a, inset -5px -5px 10px #2563eb;
}

.wallet-btn-mintscan .wallet-name {
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 1px;
}

.wallet-btn-mintscan:hover {
    box-shadow: 8px 8px 16px rgba(30, 64, 175, 0.4), -8px -8px 16px rgba(37, 99, 235, 0.2);
}

/* Leap - White text on black background */
.wallet-btn-leap {
    background: #000000;
    box-shadow: inset 5px 5px 10px #000000, inset -5px -5px 10px #1a1a1a;
}

.wallet-btn-leap .wallet-name {
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.wallet-btn-leap:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5), -8px -8px 16px rgba(255, 255, 255, 0.02);
}

/* Cosmostation - Dark text on light beige background */
.wallet-btn-cosmostation {
    background: #F5F5F0;
    box-shadow: inset 5px 5px 10px #E5E5E0, inset -5px -5px 10px #FFFFFF;
}

.wallet-btn-cosmostation .wallet-name {
    color: #374151;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
}

.wallet-btn-cosmostation:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

/* ASI Wallet - Dark text on white background with red dot */
.wallet-btn-asiwallet {
    background: #FFFFFF;
    box-shadow: inset 5px 5px 10px #E5E5E5, inset -5px -5px 10px #FFFFFF;
}

.wallet-btn-asiwallet .wallet-name {
    color: #1F2937;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wallet-btn-asiwallet:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 1);
}

.stake-modal-divider {
    display: flex;
    align-items: center;
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.stake-modal-divider::before,
.stake-modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stake-modal-divider span {
    padding: 0 var(--spacing-md);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stake-btn-mintscan {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-raised);
}

.stake-btn-mintscan:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 20px rgba(74, 179, 230, 0.4), -8px -8px 20px rgba(74, 179, 230, 0.2);
}

@media (max-width: 768px) {
    .stake-modal-content {
        max-width: 100%;
        margin: var(--spacing-md);
    }
    
    .wallet-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .wallet-btn {
        min-height: 80px;
        padding: var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .wallet-name {
        font-size: 1rem;
    }
    
    /* Fix Cosmostation text truncation on mobile */
    .wallet-btn-cosmostation .wallet-name {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.2;
        word-break: break-word;
        text-align: center;
    }
}

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

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .nav-container {
        padding: 0 var(--spacing-sm);
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }

    /* Le bouton "stake with me" reste visible sur mobile dans la nav */
    .nav-cta {
        padding: 10px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .language-selector-neu {
        order: 1;
    }
    
    .nav-cta {
        order: 2;
    }

    .hero-content-neu {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .hero-text-neu {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-badges-container {
        align-items: center;
        justify-content: center;
    }
    
    .status-badge-neu,
    .metric-badge-neu,
    .neu-btn-social {
        align-self: center;
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .neu-btn-social span {
        display: inline-block;
    }
    
    /* Force modal visibility on mobile */
    .stake-modal.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
    }
    
    .stake-modal-content {
        max-width: 95%;
        margin: 20px;
    }
    
    .status-badge-neu {
        margin: 0;
    }
    
    .metric-badge-merged {
        padding: 8px 12px;
        font-size: 0.75rem;
        max-width: 100%;
    }
    
    .metric-badge-merged .metric-content {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .metric-badge-merged .metric-label {
        font-size: 0.65rem;
        margin-right: 2px;
    }
    
    .metric-badge-merged .metric-value {
        font-size: 0.75rem;
        margin-right: 2px;
    }
    
    .metric-separator {
        margin: 0 4px;
        font-size: 0.7rem;
    }
    
    .neu-btn-social {
        font-size: 13px;
        padding: 10px 18px;
    }

    .hero-avatar-neu {
        width: 200px;
        height: 200px;
    }

    .hero-title-primary {
        font-size: 2rem;
    }

    .hero-title-subtitle {
        font-size: 1.1rem;
    }

    .asi-cards-neu {
        flex-direction: column;
    }

    .stats-grid-neu {
        grid-template-columns: 1fr;
    }

    .stepper-neu {
        gap: var(--spacing-sm);
    }
    
    .wallet-guide-item-neu {
        margin-bottom: var(--spacing-sm);
    }
    
    .wallet-guide-toggle-neu {
        padding: var(--spacing-sm);
        flex-wrap: wrap;
    }
    
    .wallet-guide-title-neu {
        font-size: 1.1rem;
        min-width: auto;
    }
    
    .wallet-guide-badge-neu {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .step-connector-neu {
        height: 20px;
    }

    .tech-row-neu {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .tech-row-neu strong {
        min-width: auto;
    }

    .footer-content-neu {
        flex-direction: column;
        text-align: center;
    }

    /* Barre mobile désactivée car le bouton reste dans la nav */
    .mobile-delegate-bar-neu {
        display: none;
    }

    .back-to-top-neu {
        bottom: 90px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #FFFFFF;
        --text-secondary: #CCCCCC;
        --bg-primary: #1A1A1A;
    }
}

