/* Link Market / Link Panel landing - ornek-index temalı */
:root {
    --bg-main: #050612;
    --bg-card: #0c0f1d;
    --bg-card-soft: rgba(15, 18, 35, 0.88);
    --accent: #00f2fe;
    --accent-soft: rgba(0, 242, 254, 0.2);
    --accent-alt: #00f5ff;
    --text-main: #f5f5f5;
    --text-soft: #8b90ad;
    --border-soft: rgba(255, 255, 255, 0.08);
    --radius-xl: 18px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: "Space Grotesk", "Poppins", system-ui, sans-serif;
    background: radial-gradient(circle at top, #0b1022 0, #050612 55%, #02030b 100%);
    color: var(--text-main);
    min-height: 100vh;
}

.page-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAV */
.landing-nav {
    padding: 16px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-wrap img {
    max-height: 42px;
    width: auto;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #22c1ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(0, 242, 254, .5);
    font-weight: 700;
    font-size: 18px;
    color: #050612;
}

.logo-text-main {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.logo-text-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-theme-btn.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-soft);
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.landing-theme-btn.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.landing-theme-btn.theme-toggle-btn i {
    font-size: 1.1rem;
}

.nav-link {
    font-size: 13px;
    color: var(--text-soft);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: all .2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.btn-pill {
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--text-main);
    background: rgba(0, 242, 254, 0.1);
    padding: 8px 18px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-pill:hover {
    background: rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.btn-pill-primary {
    background: linear-gradient(135deg, var(--accent), #22c1ff);
    color: #050612;
    border: none;
    font-weight: 600;
}

.btn-pill-primary:hover {
    background: linear-gradient(135deg, #22c1ff, var(--accent));
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}

/* HERO */
.landing-hero {
    padding: 50px 6vw 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }
}

.hero-kicker {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-alt);
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title .accent {
    background: linear-gradient(120deg, #00f5ff, #22c1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-soft);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn-pill {
    padding: 10px 22px;
    font-size: 14px;
}

/* Özellikler */
.landing-section {
    padding: 40px 6vw 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 24px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--bg-card-soft);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 20px;
    transition: all .2s ease;
}

.feature-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.feature-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.55;
}

/* Giriş formu bölümü */
.login-section {
    padding: 50px 6vw 60px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.login-box {
    background: var(--bg-card-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.login-box h2 {
    font-size: 20px;
    margin: 0 0 24px;
    text-align: center;
}

.login-form-group {
    margin-bottom: 18px;
}

.login-form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.login-form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: rgba(5, 9, 25, 0.8);
    color: var(--text-main);
    font-size: 14px;
}

.login-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.login-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #22c1ff);
    color: #050612;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 8px;
    transition: all .2s ease;
}

.login-btn:hover {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.login-error {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 8px;
    color: #f87171;
    font-size: 13px;
}

.login-register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-soft);
}

.login-register-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.login-register-link a:hover {
    text-decoration: underline;
}

.login-success {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 8px;
    color: #4ade80;
    font-size: 13px;
}

/* Modal */
.landing-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.landing-modal.show {
    opacity: 1;
    visibility: visible;
}
.landing-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 11, 0.85);
    backdrop-filter: blur(6px);
}
.landing-modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.landing-modal-box-wide {
    max-width: 440px;
}
.landing-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text-main);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
    z-index: 1;
}
.landing-modal-close:hover {
    background: rgba(255,255,255,0.14);
}

/* Footer */
.landing-footer {
    padding: 24px 6vw;
    border-top: 1px solid var(--border-soft);
    font-size: 12px;
    color: var(--text-soft);
    text-align: center;
    margin-top: auto;
}

.landing-footer a {
    color: var(--text-soft);
    text-decoration: none;
}

.landing-footer a:hover {
    color: var(--accent);
}

@media (max-width: 600px) {
    .landing-nav, .landing-hero, .landing-section, .login-section {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}
