/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Arial, sans-serif;
    background: #050816;
    color: #e5e7eb;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== HEADER / NAVBAR ========== */
.header {
    height: 64px;
    background: #020617;
    border-bottom: 1px solid #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    color: #38bdf8;
    font-size: 22px;
    font-weight: 700;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #cbd5f5;
    font-size: 15px;
    opacity: 0.85;
    transition: 0.2s ease;
}

.nav-link:hover {
    opacity: 1;
    color: #38bdf8;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
    transition: 0.2s ease;
    border: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.6);
}

.btn-ghost {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    font-weight: 500;
    font-size: 14px;
    transition: 0.2s ease;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

/* ========== GENERIC PAGES (wallet, explorer, и т.н.) ========== */
.page {
    width: 95%;
    max-width: 1100px;
    margin: 40px auto 60px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Карти */
.card {
    background: #020617;
    border-radius: 16px;
    border: 1px solid #111827;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.55);
}

/* Таблици за explorer */
.explorer-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.explorer-table th {
    text-align: left;
    padding: 8px 4px;
    border-bottom: 1px solid #1f2937;
    color: #9ca3af;
    font-weight: 500;
}

.explorer-table td {
    padding: 8px 4px;
    border-bottom: 1px solid #020617;
}

.explorer-table tr:hover td {
    background: #020617;
}

/* Forms */
.input {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

.input:focus {
    outline: none;
    border-color: #38bdf8;
}

/* ========== LANDING / HERO ========== */
.landing {
    width: 100%;
    max-width: 1200px;
    margin: 36px auto 64px;
    padding: 0 18px;
}

/* Градиентна секция като blockchain.com */
.hero {
    background: radial-gradient(circle at top,
        rgba(56, 189, 248, 0.18),
        transparent 55%),
        radial-gradient(circle at bottom left,
        rgba(147, 51, 234, 0.22),
        transparent 55%);
    padding: 36px 0 12px;
}

.hero-inner {
    background: linear-gradient(135deg, #0b1120, #020617 60%, #020617 100%);
    border-radius: 28px;
    border: 1px solid #1f2937;
    padding: 38px 36px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 30px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.9);
}

.hero-left h1 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-left p {
    color: #9ca3af;
    font-size: 15px;
    max-width: 460px;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-btn {
    min-width: 160px;
    text-align: center;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #a5b4fc;
}

.hero-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(79, 70, 229, 0.7);
    background: rgba(15,23,42,0.9);
}

/* Дясната карта с цена и статистики */
.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-card {
    width: 100%;
    max-width: 320px;
    background: radial-gradient(circle at top left, #1d4ed8, transparent 55%),
                radial-gradient(circle at bottom right, #6d28d9, transparent 55%),
                #020617;
    border-radius: 20px;
    padding: 20px 18px 18px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card-label {
    font-size: 13px;
    color: #e5e7eb;
    opacity: 0.85;
}

.hero-card-price {
    font-size: 32px;
    font-weight: 700;
    margin-top: 8px;
}

.hero-card-sub {
    font-size: 12px;
    color: #c4b5fd;
    margin-top: 2px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin-top: 18px;
}

.hero-stat {
    background: rgba(15,23,42,0.9);
    border-radius: 12px;
    padding: 8px 9px;
    border: 1px solid rgba(148,163,184,0.4);
}

.hero-stat-label {
    font-size: 11px;
    color: #a5b4fc;
}

.hero-stat-value {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

/* ========== FEATURES SECTION ========== */
.section {
    margin-top: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.feature-card {
    background: #020617;
    border: 1px solid #111827;
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.6);
    transition: 0.22s ease;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.feature-link {
    font-size: 13px;
    color: #38bdf8;
}

.feature-card:hover {
    border-color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(37,99,235,0.45);
}

/* ========== SMALL UTILS ========== */
.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }
    .hero-right {
        justify-content: flex-start;
    }
    .page {
        width: 94%;
    }
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
    font-size: 13px;
}

.lang-active {
    font-weight: 700;
    color: #38bdf8;
}

.lang-passive {
    color: #9ca3af;
}

.lang-passive:hover {
    color: #e5e7eb;
}
