/* =========================================================
   GLOBAL RESET & BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* =====================================================
   JOIN PAGE (ADD-ON ONLY)
   Old CSS untouched
===================================================== */

/* JOIN PAGE BACKGROUND */
.join-hero{
    min-height:100vh;
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url('/site_assets/images/model/hero.png') center/cover no-repeat;
    padding:90px 20px;
}

/* JOIN PAGE LAYOUT */
.join-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

/* LEFT DETAILS SECTION */
.join-details{
    color:#fff;
}
.join-details h2{
    font-size:38px;
    font-weight:700;
    margin-bottom:15px;
}
.join-desc{
    font-size:16px;
    opacity:.9;
    margin-bottom:25px;
}
.join-benefits{
    list-style:none;
    margin-bottom:30px;
}
.join-benefits li{
    margin-bottom:10px;
}
.join-fee{
    background:rgba(255,255,255,.12);
    padding:22px;
    border-radius:18px;
    margin-bottom:30px;
    width:max-content;
}
.join-fee h3{
    font-size:34px;
    color:#ff7a18;
}
.join-steps{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}
.join-steps div{
    background:rgba(255,255,255,.15);
    padding:12px 18px;
    border-radius:30px;
    font-size:14px;
}

/* RIGHT FORM CARD (USING EXISTING .model-form BASE) */
.join-form-card{
    background:#fff;
    padding:45px;
    border-radius:28px;
    box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.join-form-card h2{
    text-align:center;
}
.form-note{
    text-align:center;
    font-size:14px;
    color:#666;
    margin-bottom:25px;
}

/* PLATFORM SELECTION – BETTER UI */
.platform-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}
.platform-card{
    border:2px solid #eee;
    border-radius:18px;
    padding:20px 10px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
}
.platform-card input{
    display:none;
}
.platform-icon{
    font-size:26px;
    display:block;
    margin-bottom:6px;
}
.platform-name{
    font-size:14px;
    font-weight:600;
}

/* SELECTED STATE */
.platform-card:has(input:checked){
    background:linear-gradient(135deg,#ff7a18,#ff3d00);
    color:#fff;
    border-color:#ff7a18;
    box-shadow:0 14px 35px rgba(255,122,24,.45);
    transform:translateY(-4px);
}

/* JOIN BUTTON (STRONG CTA) */
.btn-join{
    width:100%;
    margin-top:30px;
    padding:16px;
    border:none;
    border-radius:35px;
    background:linear-gradient(135deg,#ff7a18,#ff3d00);
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}
.btn-join:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(255,122,24,.5);
}

/* ===============================
   FORM FIX (IMPORTANT)
================================ */

/* FORM ROW GRID */
.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:16px;
}

/* INPUTS FULL WIDTH */
.join-form-card input,
.join-form-card select{
    width:100%;
    height:48px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:14px;
    background:#fff;
}

/* PLATFORM HEADING */
.platform-heading{
    margin:20px 0 12px;
    font-size:16px;
    font-weight:600;
}

/* PLATFORM GRID */
.platform-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

/* BUTTON FIX */
.btn-join{
    width:100%;
    height:56px;
    margin-top:28px;
    font-size:18px;
    border-radius:40px;
}
/* ===============================
   JOIN PAGE (RENAMED CLASSES)
================================ */

.mh-join-hero{
    min-height:100vh;
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url('/site_assets/images/model/hero.png') center/cover no-repeat;
    padding:90px 20px;
}

.mh-join-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.mh-join-details{ color:#fff; }

.mh-join-details h2{
    font-size:38px;
    font-weight:700;
    margin-bottom:15px;
}

.mh-join-desc{
    font-size:16px;
    opacity:.9;
    margin-bottom:25px;
}

.mh-join-benefits{
    list-style:none;
    margin-bottom:30px;
}

.mh-join-benefits li{ margin-bottom:10px; }

.mh-join-fee{
    background:rgba(255,255,255,.12);
    padding:22px;
    border-radius:18px;
    margin-bottom:30px;
    width:max-content;
}

.mh-join-fee h3{
    font-size:34px;
    color:#ff7a18;
}

.mh-join-steps{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.mh-join-steps div{
    background:rgba(255,255,255,.15);
    padding:12px 18px;
    border-radius:30px;
    font-size:14px;
}

/* FORM */
.mh-join-form-card{
    background:#fff;
    padding:45px;
    border-radius:28px;
    box-shadow:0 30px 70px rgba(0,0,0,.35);
}

.mh-form-note{
    text-align:center;
    font-size:14px;
    color:#666;
    margin-bottom:25px;
}

.mh-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:16px;
}

.mh-join-form-card input,
.mh-join-form-card select{
    width:100%;
    height:48px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:14px;
    background:#fff;
}

/* PLATFORM */
.mh-platform-heading{
    margin:20px 0 12px;
    font-size:16px;
    font-weight:600;
}

.mh-platform-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));
    gap:12px;
}

.mh-platform-card{
    background:#fff;
    border:1.5px solid #e5e5e5;
    border-radius:14px;
    padding:12px 6px;
    text-align:center;
    cursor:pointer;
    transition:.25s;
}

.mh-platform-card input{ display:none; }

.mh-platform-icon{
    font-size:20px;
    display:block;
    margin-bottom:4px;
}

.mh-platform-name{
    font-size:12.5px;
    font-weight:600;
}

.mh-platform-card:has(input:checked){
    background:linear-gradient(135deg,#ff7a18,#ff3d00);
    color:#fff;
    border-color:#ff7a18;
    box-shadow:0 8px 18px rgba(255,122,24,.35);
}

/* BUTTON */
.mh-btn-join{
    width:100%;
    height:56px;
    margin-top:28px;
    border:none;
    border-radius:40px;
    background:linear-gradient(135deg,#ff7a18,#ff3d00);
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}

.mh-secure-line{
    margin-top:15px;
    font-size:12px;
    color:#777;
    text-align:center;
}

/* RESPONSIVE */
@media(max-width:768px){
    .mh-join-container{ grid-template-columns:1fr; }
    .mh-form-row{ grid-template-columns:1fr; }
}
/* ===============================
   SELECT DROPDOWN FIX
================================ */

/* REMOVE DEFAULT STYLE */
.mh-join-form-card select{
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    background-color:#fff;
    cursor:pointer;
}

/* CUSTOM ARROW */
.mh-join-form-card select{
    background-image:
        linear-gradient(45deg, transparent 50%, #999 50%),
        linear-gradient(135deg, #999 50%, transparent 50%);
    background-position:
        calc(100% - 20px) center,
        calc(100% - 14px) center;
    background-size:6px 6px, 6px 6px;
    background-repeat:no-repeat;
    padding-right:40px; /* space for arrow */
}

/* FOCUS STATE */
.mh-join-form-card select:focus{
    outline:none;
    border-color:#ff7a18;
    box-shadow:0 0 0 3px rgba(255,122,24,.15);
}

/* OPTION FIX (Safari) */
.mh-join-form-card select option{
    color:#222;
}

/* MOBILE FIX */
@media(max-width:768px){
    .form-row{
        grid-template-columns:1fr;
    }
    .platform-grid{
        grid-template-columns:1fr;
    }
}

/* SECURITY LINE */
.secure-line{
    margin-top:15px;
    font-size:12px;
    color:#777;
    text-align:center;
}

/* RESPONSIVE */
@media(max-width:900px){
    .join-container{
        grid-template-columns:1fr;
    }
    .join-details{
        text-align:center;
        margin-bottom:30px;
    }
    .platform-grid{
        grid-template-columns:1fr;
    }
}

body {
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

a { text-decoration: none; }

/* =========================================================
   HEADER / NAVBAR
========================================================= */
.model-header {
    background: #fff;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.model-header img { height: 40px; }

.model-nav a {
    margin: 0 15px;
    color: #333;
    font-weight: 500;
}

.model-nav a:hover { color: #ff7a18; }

/* =========================================================
   BUTTONS
========================================================= */
.btn-main {
    background: linear-gradient(135deg,#ff7a18,#ff3d00);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all .3s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,122,24,.45);
}

.btn-main.big {
    font-size: 20px;
    padding: 16px 42px;
}

/* ======================================
   PLATFORM GRID – COMPACT & SCALABLE
   (Works with your exact HTML)
====================================== */

.platform-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));
    gap:12px;
    margin-top:10px;
}

/* PLATFORM CARD – SMALL & CLEAN */
.platform-card{
    background:#fff;
    border:1.5px solid #e5e5e5;
    border-radius:14px;
    padding:12px 6px;
    text-align:center;
    cursor:pointer;
    transition:all .25s ease;
    user-select:none;
}

/* HIDE CHECKBOX */
.platform-card input{
    display:none;
}

/* ICON */
.platform-icon{
    font-size:20px;
    display:block;
    margin-bottom:4px;
}

/* NAME */
.platform-name{
    font-size:12.5px;
    font-weight:600;
    line-height:1.2;
    word-break:break-word;
}

/* HOVER */
.platform-card:hover{
    border-color:#ff7a18;
    transform:translateY(-1px);
}

/* SELECTED STATE */
.platform-card:has(input:checked){
    background:linear-gradient(135deg,#ff7a18,#ff3d00);
    color:#fff;
    border-color:#ff7a18;
    box-shadow:0 8px 18px rgba(255,122,24,.35);
}

/* MOBILE TUNING */
@media(max-width:768px){
    .platform-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* =========================================================
   HERO SECTION (UNCHANGED CORE)
========================================================= */
.hero {
    height: 85vh;
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        url('/site_assets/images/model/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 40px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin: 20px 0;
    opacity: .9;
}

/* =========================================================
   TRUST STRIP
========================================================= */
.trust-strip {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 25px;
    background: #fff;
    font-weight: 600;
}

.trust-box {
    color: #ff5a1f;
    margin: 10px;
}

/* =========================================================
   SECTION TITLE
========================================================= */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.section-title.white { color: #fff; }

/* =========================================================
   HOW IT WORKS (PREMIUM)
========================================================= */
.how-premium {
    padding: 80px 60px;
    background: #000000;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 30px;
}

.how-card {
    background: #7b5858;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transition: .3s;
}

.how-card:hover { transform: translateY(-8px); }

.how-card span {
    font-size: 42px;
    font-weight: 700;
    color: #ff5a1f;
}

/* =========================================================
   WHY US (GLASS EFFECT)
========================================================= */
.why-us {
    padding: 90px 60px;
    background: linear-gradient(135deg,#111,#222);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.why-card {
    padding: 30px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    text-align: center;
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.18);
}

/* =========================================================
   CATEGORIES (PREMIUM)
========================================================= */
.categories-premium {
    padding: 90px 60px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 30px;
}

.cat-card {
    height: 220px;
    border-radius: 20px;
    background: linear-gradient(135deg,#ff7a18,#ff3d00);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(255,90,31,.4);
    transition: .3s;
}

.cat-card:hover { transform: scale(1.05); }

/* =========================================================
   SUCCESS STORIES
========================================================= */
.success {
    padding: 80px 60px;
    background: #000000;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 25px;
}

.success-card {
    background: #890000;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.1);
    text-align: center;
}

/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
    padding: 90px 40px;
    background: linear-gradient(135deg,#ff7a18,#ff3d00);
    text-align: center;
    color: #fff;
}

/* =========================================================
   FORMS (JOIN)
========================================================= */
.model-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.model-form input,
.model-form select {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* PLATFORM SELECT */
.platform-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-item {
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: .3s;
}

.platform-item:hover {
    background: #ff7a18;
    color: #fff;
}

/* =========================================================
   PAYMENT BOX
========================================================= */
.payment-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.payment-box h3 {
    font-size: 28px;
    color: #ff3d00;
}

/* =========================================================
   ADMIN PANEL
========================================================= */
.admin-sidebar {
    width: 260px;
    height: 100vh;
    background: #111;
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px 20px;
}

.admin-sidebar a {
    display: block;
    color: #bbb;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.admin-sidebar a:hover {
    background: #ff7a18;
    color: #fff;
}

.admin-content {
    margin-left: 280px;
    padding: 40px;
}

/* =========================================================
   TABLE
========================================================= */
.table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.table th, .table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.table th { background: #f7f7f7; }

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: #111;
    color: #bbb;
    padding: 40px;
    text-align: center;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:768px){
    .hero h1 { font-size: 32px; }
    .model-header { padding: 15px 25px; }
    .how-premium,
    .categories-premium,
    .why-us,
    .success { padding: 60px 25px; }
}
