/* //** Homepage Desktop CSS - START **// */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 12%, rgba(14, 165, 233, 0.18), transparent 30%),
        radial-gradient(circle at 86% 30%, rgba(147, 51, 234, 0.16), transparent 32%),
        #020712;
    color: #f8fafc;
}

a {
    color: inherit;
    text-decoration: none;
}

.st-home {
    width: 100%;
    min-height: 100vh;
    padding: 22px 18px;
}

.st-home-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.st-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-bottom: 52px;
}

.st-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 27px;
    font-weight: 900;
    white-space: nowrap;
}

.st-logo-mark {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    font-weight: 900;
}

.home-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #cbd5e1;
    font-size: 14px;
}

.st-nav-actions {
    display: flex;
    gap: 10px;
}

.st-btn {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.62);
    color: #ffffff;
}

.st-btn-primary {
    border: none;
    background: linear-gradient(135deg, #0ea5ff, #9333ea);
}

.st-btn-dark {
    background: rgba(2, 6, 23, 0.58);
}

.st-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.02fr);
    gap: 22px;
    align-items: center;
}

.st-hero,
.dashboard-preview,
.chart-box,
.setup-box,
.feature-card,
.stats-section,
.demo-box,
.footer {
    min-width: 0;
}

.st-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.st-badge {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.st-badge.blue { color: #93c5fd; }
.st-badge.green { color: #4ade80; }
.st-badge.purple { color: #c084fc; }

.st-hero h1 {
    margin: 0;
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.06;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5ff, #2563eb 42%, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.st-hero p {
    margin: 22px 0 0;
    max-width: 560px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}

.st-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.st-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    color: #cbd5e1;
    font-size: 12px;
}

.st-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.st-icon { color: #22c55e; }
.st-icon.purple { color: #a855f7; }
.st-icon.orange { color: #f59e0b; }

.dashboard-preview {
    width: 100%;
    max-width: 620px;
    justify-self: end;
    padding: 18px;
    border-radius: 24px;
    background: rgba(2, 10, 24, 0.82);
    border: 1px solid rgba(59, 130, 246, 0.24);
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    overflow: hidden;
}

.preview-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.preview-live,
.green-text {
    color: #22c55e !important;
}


.red-text {
    color: #ef4444 !important;
}

.preview-market {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    color: #cbd5e1;
    font-size: 13px;
}

.coin-select {
    padding: 9px 13px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #ffffff;
    font-weight: 900;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.metric-card {
    min-height: 104px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.12);
    position: relative;
    overflow: hidden;
}

.metric-card small {
    display: block;
    color: #94a3b8;
    margin-bottom: 9px;
    font-size: 12px;
}

.metric-card strong {
    display: block;
    font-size: 21px;
    margin-bottom: 5px;
}

.metric-card span {
    color: #22c55e;
    font-size: 12px;
    font-weight: 800;
}

.metric-icon {
    position: absolute;
    right: 12px;
    top: 20px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.12);
}

.chart-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}

.chart-box,
.setup-box {
    min-width: 0;
    padding: 15px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.chart-title {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 900;
}

#homeMarketPrice {
    text-align: right;
    color: #cbd5e1;
    overflow-wrap: anywhere;
}

.fake-chart {
    height: 190px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, transparent 0 24%, rgba(148,163,184,.08) 25%, transparent 26% 49%, rgba(148,163,184,.08) 50%, transparent 51% 74%, rgba(148,163,184,.08) 75%, transparent 76%),
        linear-gradient(90deg, transparent 0 18%, rgba(148,163,184,.06) 19%, transparent 20% 38%, rgba(148,163,184,.06) 39%, transparent 40% 58%, rgba(148,163,184,.06) 59%, transparent 60% 78%, rgba(148,163,184,.06) 79%, transparent 80%),
        linear-gradient(135deg, rgba(14,165,233,.16), rgba(147,51,234,.13));
}

.home-chart-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.chart-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 900;
}

.chart-loading.hidden {
    display: none;
}

.setup-box small {
    color: #94a3b8;
}

.setup-box strong {
    display: block;
    margin: 18px 0 12px;
    color: #00ff99;
    font-size: 21px;
    line-height: 1.08;
}

.gauge {
    width: 96px;
    height: 48px;
    margin: 30px auto 0;
    border-radius: 96px 96px 0 0;
    border: 11px solid rgba(20,184,166,.28);
    border-bottom: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 54px;
}

.feature-card {
    min-height: 300px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(2, 10, 24, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.12);
    font-size: 27px;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 14px;
}

.stats-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 18px;
    margin-top: 42px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(2, 10, 24, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 22px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(14,165,233,.12);
}

.stat-item strong,
.stat-item span {
    display: block;
}

.stat-item strong {
    font-size: 23px;
}

.stat-item span {
    color: #cbd5e1;
    font-size: 12px;
}

.demo-box {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14,165,233,.55), rgba(147,51,234,.88));
    overflow: hidden;
}

.demo-box h3 {
    margin: 0 0 8px;
}

.demo-box p {
    margin: 0 0 16px;
    color: #e5e7eb;
    line-height: 1.45;
}

.timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
}

.timer div {
    text-align: center;
    padding: 9px 4px;
    background: rgba(2,6,23,.22);
}

.timer strong {
    display: block;
    font-size: 20px;
}

.timer span {
    font-size: 10px;
    color: #cbd5e1;
}

.demo-box-btn {
    width: 100%;
}

.why-title {
    text-align: center;
    margin: 38px 0 16px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(2, 10, 24, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.why-item {
    text-align: center;
    font-size: 14px;
}

.why-item div {
    font-size: 26px;
    margin-bottom: 10px;
}

.trusted {
    text-align: center;
    color: #94a3b8;
    margin: 28px 0 16px;
}

.exchange-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    color: #94a3b8;
    font-size: 21px;
    font-weight: 900;
}

.footer {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(2, 10, 24, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.18);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
}

.footer-brand {
    color: #ffffff;
    font-weight: 900;
    font-size: 17px;
}

.footer-links {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
}

/* //** Homepage Desktop CSS - END **// */

/* //** Homepage Utility CSS - START **// */

.muted-text {
    color: #cbd5e1;
}

/* //** Homepage Utility CSS - END **// */

/* ==========================================================================
   HOMEPAGE MOBILE OPTIMIZATION (CSS DOSYANIZIN EN ALTINA EKLEYİN)
   ========================================================================== */

@media (max-width: 1024px) {
    /* Genel Alan Ayarları */
    .st-home {
        padding: 16px 12px;
        overflow-x: hidden; /* Taşmaları engeller */
    }

    /* Navigasyon */
    .st-nav {
        grid-template-columns: 1fr auto;
        gap: 16px;
        margin-bottom: 24px;
    }

    .home-menu {
        display: none;
    }

    /* Hero Alanı Düzenlemesi */
    .st-hero-grid {
        display: flex; /* Grid yerine Flex daha kontrollü olabilir */
        flex-direction: column; 
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    /* Yazı boyutlarını mobil için optimize etme */
    .st-hero h1 {
        font-size: 32px !important; /* Çok büyük olduğu için çakışıyor */
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .st-hero p {
        font-size: 16px;
        max-width: 100%;
        margin: 0 auto;
    }

    .st-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .st-hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    /* Dashboard Önizleme Paneli (Görüntüdeki karışık kısım) */
    .dashboard-preview {
        width: 100%;
        max-width: 400px; /* Mobilde çok yayılmasın */
        margin: 0 auto;
        padding: 16px;
        box-sizing: border-box;
    }

    /* Kartların içindeki yazı taşmalarını düzeltme */
    .preview-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* BTC/USDT rozetinin üst üste binmesini engelleme */
    .preview-market {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 10px;
    }

    /* Dashboard içindeki fiyat listesi dikey kalmış, onu düzeltiyoruz */
    .preview-bottom-stats { 
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 14px;
    }

    /* Özellikler ve Diğer Grid Yapıları */
    .feature-grid, .stats-section, .why-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .stat-item {
        padding: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* 480px ve altı için mikro dokunuşlar */
@media (max-width: 480px) {
    .st-hero h1 {
        font-size: 28px !important;
    }

    .dashboard-preview {
        padding: 10px;
        transform: scale(0.95); /* Çok küçük ekranlarda hafif küçültme */
    }

    /* Görüntüdeki dikey sayıları (fiyatları) yatay yapma veya gizleme */
    .preview-price-list {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
    }
}