/* Restored original hash.css with two updates: 
   1. Brand logo height set to 24px
   2. lang-wrapper and lang-select set for flag-only view
*/

:root { 
    --primary: #334155; --bg: #f8fafc; --card: #ffffff; --text: #0f172a; --muted: #64748b; --border: #e2e8f0; 
}

[data-theme="dark"] { 
    --bg: #0f172a; --card: #1e293b; --text: #f8fafc; --muted: #94a3b8; --border: #334155; 
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; transition: 0.3s; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }

nav { 
    padding: 10px 8%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: var(--card); 
    border-bottom: 1px solid var(--border); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-img { height: 24px; width: auto; object-fit: contain; }

.lang-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.lang-select { 
    background: transparent; 
    border: none; 
    color: transparent; /* Makes text invisible in header */
    width: 20px;       /* Narrow to only show flag */
    cursor: pointer; 
    outline: none; 
    appearance: none; 
}

.lang-select option { color: #000; background: #fff; }
#current-flag { position: absolute; left: 6px; pointer-events: none; }

.container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.main-card { background: var(--card); border-radius: 24px; padding: 40px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.02); margin-bottom: 60px; }
.input-toggle { display: flex; background: var(--bg); padding: 5px; border-radius: 12px; margin-bottom: 30px; border: 1px solid var(--border); }
.toggle-btn { flex: 1; padding: 12px; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; background: transparent; color: var(--muted); }
.toggle-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(51, 65, 85, 0.2); }
.input-box { width: 100%; padding: 15px; border-radius: 12px; border: 1px solid var(--border); outline: none; background: var(--bg); color: var(--text); margin-top: 10px; }
.btn-run { width: 100%; padding: 18px; background: #000; color: white; border: none; border-radius: 14px; font-weight: 800; cursor: pointer; font-size: 17px; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-run:disabled { opacity: 0.6; cursor: not-allowed; }
.step-list { display: flex; flex-direction: column; gap: 30px; margin-bottom: 60px; }
.step-item { background: var(--card); border-radius: 24px; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.step-visual { width: 100%; padding: 30px; display: flex; justify-content: center; align-items: center; font-size: 60px; border-bottom: 1px solid var(--border); }
.step-red { background: rgba(239, 68, 68, 0.05); color: #ef4444; }
.step-yellow { background: rgba(245, 158, 11, 0.05); color: #f59e0b; }
.step-green { background: rgba(16, 185, 129, 0.05); color: #10b981; }
.fa-bounce-slow { animation: bounce 3s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.step-text { padding: 30px; text-align: center; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; }
article { background: var(--card); padding: 25px; border-radius: 20px; border: 1px solid var(--border); }
.hidden { display: none; }

.footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #000000;
}

.footer-link:hover {
    background: #111827;
    border-color: #111827;
}

/* 1. Default Desktop Style */
#txt-title {
    font-size: 2.2rem; /* The size you like for desktop */
    line-height: 1.2;
    padding: 0 10px;
}

/* 2. Mobile Specific Style */
@media (max-width: 768px) {
    #txt-title {
        font-size: 1.4rem; /* Significantly smaller for mobile screens */
        margin-bottom: 8px;
    }
    
    #txt-subtitle {
        font-size: 13px; /* Slightly smaller subtitle for better balance */
    }
}

/* Solutions landing & floating button */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.solution-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 18px 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.solution-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.solution-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}

#solutions-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

@media (max-width: 640px) {
    #solutions-button {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

.token-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #0f172a;
    color: #f9fafb;
}
