/* ===============================
   GoRanked — Seller Apply (Glass UI)
   =============================== */

:root {
    --gr-bg: #0c0f14;
    --gr-bg-soft: #11151c;
    --gr-card: #121722;
    --gr-border: rgba(255, 255, 255, 0.08);

    --gr-text: #e7ecf3;
    --gr-text-dim: #aab2c0;

    --gr-primary: #ff8036; /* Flame Orange */
    --gr-primary-2: #a96915; /* Warm Gold */
    --grad-primary: linear-gradient(
        135deg,
        var(--gr-primary) 0%,
        var(--gr-primary-2) 100%
    );

    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;

    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}
html,
body {
    background: var(--gr-bg);
    color: var(--gr-text);
    margin: 0;
}
a {
    color: var(--gr-primary-2);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}
.i {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}

/* Header */
.gr-header {
    background: var(--gr-bg-soft);
    border-bottom: 1px solid var(--gr-border);
}
.gr-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}
.brand-img {
    height: 34px;
}

/* Hero */
.seller-hero {
    position: relative;
    padding: 64px 0 28px;
    background:
        radial-gradient(
            1200px 300px at 50% -80px,
            rgba(255, 128, 54, 0.25),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            rgba(255, 178, 77, 0.08),
            rgba(12, 15, 20, 0) 30%
        ),
        var(--gr-bg);
}
.hero-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--gr-border);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--gr-text-dim);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.02)
    );
}
.title {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 900;
    margin: 16px 0 8px;
    letter-spacing: 0.2px;
}
.subtitle {
    color: var(--gr-text-dim);
    font-size: 1.1rem;
    margin: 0 0 6px;
}
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px;
}
.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dfe6f1;
    margin-bottom: 8px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    background: var(--grad-primary);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow:
        0 16px 40px rgba(255, 128, 54, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: 0.18s ease;
    border: 0;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 60px rgba(255, 128, 54, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--gr-border);
    color: var(--gr-text);
    text-decoration: none;
    cursor: pointer;
}

.hero-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--gr-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--gr-border);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 8px;
}
.hero-note {
    margin: 0;
    color: var(--gr-text-dim);
}

/* Alerts */
.alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 10px;
    font-weight: 600;
    border: 1px solid var(--gr-border);
}
.alert-success {
    background: rgba(35, 193, 153, 0.12);
    color: #9cf2dd;
    border-color: rgba(35, 193, 153, 0.25);
}
.alert-error {
    background: rgba(255, 77, 109, 0.12);
    color: #ffb0be;
    border-color: rgba(255, 77, 109, 0.25);
}

/* Sections */
.section-head {
    margin: 10px 0 18px;
}
.section-head h2 {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 900;
    margin: 0 0 6px;
}
.section-head .hint {
    color: var(--gr-text-dim);
    margin: 0;
}

/* Cards (benefits) */
.seller-benefits {
    padding: 18px 0 10px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--gr-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}
.card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 178, 77, 0.3);
    box-shadow: 0 24px 70px rgba(255, 128, 54, 0.18);
}
.card-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--grad-primary);
    box-shadow: 0 6px 18px rgba(255, 128, 54, 0.35);
}
.card-ico .i {
    width: 20px;
    height: 20px;
}
.card h3 {
    margin: 12px 0 6px;
    font-size: 1.1rem;
    font-weight: 800;
}
.card p {
    color: var(--gr-text-dim);
    margin: 0;
}

/* Form */
.seller-form {
    padding: 24px 0;
}
.progress-container {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gr-border);
    overflow: hidden;
    margin: 8px 0 16px;
}
.progress {
    width: 0;
    height: 100%;
    background: var(--grad-primary);
    transition: width 0.25s ease;
}

.form-step {
    display: none;
}
.form-step.active {
    display: block;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.grid-2 .full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-label {
    font-weight: 800;
}
.help-text {
    color: var(--gr-text-dim);
    font-size: 0.9rem;
}

.form-input,
textarea.form-input {
    width: 100%;
    background: #0f131a;
    color: var(--gr-text);
    border: 1px solid var(--gr-border);
    border-radius: 12px;
    padding: 12px 12px;
    outline: none;
    min-height: 46px;
}
textarea.form-input {
    min-height: 110px;
    resize: vertical;
}
.form-input:focus {
    border-color: rgba(255, 178, 77, 0.35);
}

.tally-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gr-border);
    border-radius: 14px;
    padding: 10px 12px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    cursor: pointer;
    user-select: none;
    position: relative;
}
.tally-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tally-checkbox .checkbox-visual {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #0f131a;
    color: transparent;
    border: 1px solid var(--gr-border);
}
.tally-checkbox .checkbox-text {
    color: #e8eef6;
}
.tally-checkbox:hover {
    border-color: rgba(255, 178, 77, 0.25);
}
.tally-checkbox input:checked + .checkbox-visual {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(255, 128, 54, 0.35);
}
.tally-checkbox input:checked + .checkbox-visual + .checkbox-text {
    color: #fff;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

/* Results */
.result-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--gr-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
}
.result-card .result-ico {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
}
.result-card.success .result-ico {
    background: linear-gradient(135deg, #23c199, #44e0b9);
}
.result-card.error .result-ico {
    background: linear-gradient(135deg, #ff4d6d, #ff758f);
}
.result-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
}
.muted {
    color: var(--gr-text-dim);
}

/* CTA */
.seller-cta {
    padding: 26px 0 46px;
}
.cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 128, 54, 0.18),
        rgba(255, 178, 77, 0.08)
    );
    border: 1px solid rgba(255, 178, 77, 0.25);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow);
}
.cta-text h2 {
    margin: 0 0 4px;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
