/* ================================
   MindsSpark — Navy + Orange Professional Theme v20
   Logo Colors: Blue #1565C0 → Orange #F57C00
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --blue-deep:    #0F1F35;
  --blue-main:    #1B2E4B;
  --blue-mid:     #243D60;
  --blue-light:   #EAF0F8;

  --orange-deep:  #D96A00;
  --orange-main:  #F57C00;
  --orange-mid:   #FF8F00;
  --orange-light: #FFF3E0;

  --primary:       var(--orange-main);
  --primary-dark:  var(--orange-deep);
  --primary-light: var(--orange-light);

  --accent:        var(--blue-main);
  --accent-light:  var(--blue-light);

  --text:          #1B2E4B;
  --text-secondary:#374151;
  --text-muted:    #7A8CA3;
  --border:        #E2E8F0;
  --bg:            #F5F7FA;
  --white:         #FFFFFF;

  --teal:          #0D7A5F;
  --teal-light:    #D1FAE5;

  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 2px 10px rgba(27,46,75,.08);
  --shadow-md:     0 4px 20px rgba(27,46,75,.12);
  --shadow-blue:   0 4px 16px rgba(27,46,75,.20);
  --shadow-orange: 0 4px 16px rgba(245,124,0,.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; font-size: 14px; }
textarea { resize: vertical; }

/* ── NAVBAR ── */
.navbar::before { content: ''; display: block; height: 3px; background: var(--orange-main); }
.navbar { background: #ffffff; border-bottom: 1px solid #E8E8E8; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 62px; display: flex; align-items: center; gap: 28px; }

/* ── LOGO — bigger and more visible ── */
.logo { display: flex; align-items: center; flex-shrink: 0; height: 62px; }
.logo-text-styled { display: flex; align-items: baseline; gap: 0; line-height: 1; }
.logo-minds {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1565C0;
  -webkit-text-fill-color: #1565C0;
  letter-spacing: -0.5px;
}
.logo-spark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF8F00 0%, #F57C00 50%, #E65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.logo:hover .logo-minds { opacity: 0.85; }
.logo:hover .logo-spark { filter: drop-shadow(0 2px 6px rgba(245,124,0,0.4)); }
.logo-dot { display: none; }
.logo-img { display: none; }
.logo-text { display: none; }

.nav-links { display: flex; gap: 2px; font-size: 14px; }
.nav-links a { color: var(--text-muted); padding: 6px 14px; border-radius: 8px; transition: all .15s; font-weight: 500; }
.nav-links a:hover { color: var(--orange-main); background: var(--orange-light); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── BUTTONS ── */
.btn-fill { background: linear-gradient(135deg, var(--orange-main) 0%, var(--orange-deep) 100%); color: #fff; border: none; padding: 10px 22px; border-radius: 22px; cursor: pointer; font-size: 13px; font-weight: 700; transition: all .18s; display: inline-block; letter-spacing: .1px; box-shadow: var(--shadow-orange); }
.btn-fill:hover { background: linear-gradient(135deg, var(--orange-deep) 0%, #BF360C 100%); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245,124,0,.45); }
.btn-fill.btn-lg { padding: 13px 32px; font-size: 15px; border-radius: 26px; }
.btn-fill.btn-blue { background: linear-gradient(135deg, var(--blue-main) 0%, var(--blue-mid) 100%); box-shadow: var(--shadow-blue); }
.btn-fill.btn-blue:hover { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-main) 100%); box-shadow: 0 6px 20px rgba(21,101,192,.45); }
.btn-outline { background: transparent; color: #1565C0; border: 1.5px solid #1565C0; padding: 9px 18px; border-radius: 22px; cursor: pointer; font-size: 13px; font-weight: 600; display: inline-block; transition: all .15s; }
.btn-outline:hover { border-color: var(--orange-main); color: var(--orange-main); background: var(--orange-light); }
.w-full { width: 100%; text-align: center; display: block; }

/* ── USER MENU ── */
.user-menu { position: relative; cursor: pointer; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-main); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-orange); transition: transform .15s; user-select: none; }
.user-menu.open .user-avatar { transform: scale(1.07); }
.dropdown { display: none; position: absolute; right: 0; top: 48px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); min-width: 240px; box-shadow: 0 10px 36px rgba(0,0,0,.14); z-index: 999; overflow: hidden; }
.dropdown::before { content: ''; position: absolute; top: -8px; right: 10px; width: 14px; height: 14px; background: var(--white); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); z-index: 1; }
.user-menu.open .dropdown { display: block; animation: fadeInDown .18s ease; }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-7px); } to { opacity:1; transform:translateY(0); } }
.dropdown-header { padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--blue-light); }
.dropdown-header strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.dropdown-header span { font-size: 12px; color: var(--text-muted); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 13px; color: var(--text); transition: background .12s; font-weight: 500; }
.dropdown a:hover { background: var(--orange-light); color: var(--orange-main); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.logout-link { color: #cc3333 !important; }
.logout-link:hover { background: #fff0f0 !important; color: #E24B4A !important; }

/* ── FLASH MESSAGES ── */
.flash { padding: 13px 24px; font-size: 14px; text-align: center; font-weight: 500; animation: slideDown .3s ease; }
.flash-success { background: var(--teal-light); color: var(--teal); border-bottom: 1px solid #A7F3D0; }
.flash-error { background: #FEE2E2; color: #B91C1C; border-bottom: 1px solid #FECACA; }
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

/* ── LAYOUT ── */
.page-wrap { max-width: 1120px; margin: 0 auto; padding: 24px 20px; }
.main-grid { display: grid; grid-template-columns: 1fr 290px; gap: 22px; align-items: start; }
@media(max-width:768px) { .main-grid { grid-template-columns: 1fr; } .nav-links { display:none; } }

/* ── HERO BANNER (home page top) ── */
.home-hero { background: linear-gradient(135deg, var(--blue-main) 0%, var(--blue-mid) 100%); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 20px; color: white; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; box-shadow: var(--shadow-orange); }
.home-hero h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.home-hero p { font-size: 14px; opacity: 0.88; }
.home-hero .btn-fill { background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border: 2px solid rgba(255,255,255,0.5); box-shadow: none; }
.home-hero .btn-fill:hover { background: rgba(255,255,255,0.35); }

/* ── CATEGORIES BAR ── */
.cats-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-pill { font-size: 13px; padding: 7px 18px; border-radius: 22px; border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted); cursor: pointer; transition: all .15s; font-weight: 500; }
.cat-pill:hover { border-color: var(--orange-main); color: var(--orange-main); background: var(--orange-light); }
.cat-pill.active { background: linear-gradient(135deg, var(--orange-main) 0%, var(--orange-deep) 100%); color: #fff; border-color: var(--orange-main); font-weight: 700; box-shadow: var(--shadow-orange); }

/* ── ASK BOX ── */
.ask-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.ask-box:hover { border-color: var(--orange-main); }
.ask-box-guest { justify-content: center; gap: 14px; flex-wrap: wrap; padding: 28px; background: var(--blue-light); border-color: var(--border); }
.ask-box-guest p { width: 100%; text-align: center; color: var(--text-secondary); font-size: 15px; font-weight: 600; }
.ask-input-fake { flex: 1; font-size: 14px; color: var(--text-muted); border: 1.5px solid var(--border); border-radius: 22px; padding: 9px 18px; background: var(--bg); cursor: pointer; display: block; transition: all .15s; }
.ask-input-fake:hover { border-color: var(--orange-main); color: var(--orange-main); }

/* ── AVATAR ── */
.av { display: flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 50%; flex-shrink: 0; text-transform: uppercase; }
.av-sm { width: 34px; height: 34px; font-size: 14px; background: linear-gradient(135deg, var(--orange-light), #FFE0B2); color: var(--orange-deep); }

/* ── POST CARD ── */
.post-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; transition: all .2s; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.post-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--orange-main), var(--blue-main)); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.post-card:hover { border-color: var(--border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card:hover::after { transform: scaleX(1); }
.post-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.post-meta { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-meta strong { color: var(--text); }
.dot-sep { color: var(--border); }
.user-type-badge { font-size: 11px; background: var(--orange-light); color: var(--orange-deep); padding: 2px 9px; border-radius: 10px; font-weight: 600; text-transform: capitalize; }
.cat-tag { font-size: 11px; padding: 3px 11px; border-radius: 12px; margin-left: auto; font-weight: 600; letter-spacing: .2px; }
.post-title { display: block; font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--text); line-height: 1.4; }
.post-title:hover { color: var(--orange-main); }
.post-body { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.55; }
.post-footer { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--border); }
.post-action { cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; transition: all .15s; }
.post-action:hover { color: var(--orange-main); background: var(--orange-light); }
.vote-btn { background: transparent; border: 1.5px solid var(--border); border-radius: 18px; padding: 5px 13px; font-size: 13px; cursor: pointer; color: var(--text-muted); transition: all .15s; font-weight: 600; }
.vote-btn:hover, .vote-btn.voted { border-color: var(--orange-main); color: var(--orange-main); background: var(--orange-light); box-shadow: 0 2px 8px rgba(245,124,0,.2); }

/* ── AD SLOT ── */
.ad-slot-banner { background: linear-gradient(135deg, var(--orange-light), #FFF9F0); border: 1.5px dashed #FFCC80; border-radius: var(--radius-sm); padding: 14px; text-align: center; margin-bottom: 12px; font-size: 12px; color: var(--text-muted); }
.ad-label { font-size: 10px; background: var(--orange-light); color: var(--orange-deep); padding: 2px 8px; border-radius: 5px; font-weight: 700; letter-spacing: .4px; }
.adsense-placeholder { padding: 18px; font-size: 13px; }
.adsense-placeholder a { color: var(--orange-main); font-weight: 600; }

/* ── SIDEBAR ── */
.side-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.side-title { font-size: 14px; font-weight: 800; margin-bottom: 12px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.side-item { font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--border); cursor: pointer; color: var(--text-muted); transition: color .15s; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.side-item:last-child { border-bottom: none; }
.side-item:hover { color: var(--orange-main); }
.side-cta { background: linear-gradient(135deg, var(--orange-light) 0%, var(--blue-light) 100%); border-color: #FFCC80; }
.side-cta .side-title { color: var(--orange-deep); }
.side-cta p { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.sidebar-ad { margin-bottom: 14px; }
.ad-title { font-size: 13px; margin-top: 8px; font-weight: 600; }

/* ── QUESTION DETAIL ── */
.question-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); border-top: 3px solid var(--orange-main); }
.question-title { font-size: 23px; font-weight: 800; margin: 12px 0; line-height: 1.35; }
.question-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; flex-wrap: wrap; padding: 12px; background: var(--bg); border-radius: var(--radius-sm); }
.question-body { font-size: 15px; line-height: 1.75; color: var(--text-secondary); white-space: pre-wrap; }
.section-title { font-size: 17px; font-weight: 800; margin-bottom: 14px; color: var(--text); }
.answer-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.answer-card.accepted { border-color: var(--teal); box-shadow: 0 2px 12px rgba(13,122,95,.1); }
.accepted-badge { font-size: 12px; color: var(--teal); font-weight: 700; margin-bottom: 10px; background: var(--teal-light); display: inline-block; padding: 3px 10px; border-radius: 8px; }
.answer-body { font-size: 14px; line-height: 1.75; white-space: pre-wrap; margin: 12px 0; color: var(--text-secondary); }
.answer-form-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 20px; box-shadow: var(--shadow); }
.answer-form-card textarea { width: 100%; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; line-height: 1.6; transition: border-color .15s; }
.answer-form-card textarea:focus { outline: none; border-color: var(--orange-main); box-shadow: 0 0 0 3px rgba(245,124,0,.1); }
.auth-cta-box { text-align: center; padding: 28px; background: linear-gradient(135deg, var(--orange-light), var(--blue-light)); border: 1.5px solid #FFCC80; border-radius: var(--radius); margin-top: 20px; display: flex; gap: 12px; justify-content: center; }

/* ── FORMS ── */
.form-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.form-group select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange-main); box-shadow: 0 0 0 3px rgba(245,124,0,.10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; display: block; }
.req { color: #E24B4A; }
.page-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.tip-box { background: var(--orange-light); border: 1px solid #FFCC80; border-radius: var(--radius-sm); padding: 13px 16px; font-size: 13px; color: #7A3800; margin-bottom: 20px; }

/* ── AUTH PAGES ── */
.auth-wrap { min-height: calc(100vh - 62px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: linear-gradient(135deg, var(--blue-light) 0%, #F5F7FA 100%); }
.auth-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 18px; padding: 40px; width: 100%; max-width: 500px; box-shadow: var(--shadow-md); }
.auth-logo { font-size: 17px; font-weight: 800; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.auth-logo-img { height: 42px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(245,124,0,0.2)); }
.auth-logo-text { background: linear-gradient(90deg, var(--orange-deep) 0%, var(--orange-main) 50%, var(--blue-main) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 20px; font-weight: 800; }
.auth-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.auth-form { display: flex; flex-direction: column; gap: 2px; }
.auth-switch { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-muted); }
.auth-switch a { color: var(--orange-main); font-weight: 700; }

/* ── ADS PAGE ── */
.ads-hero { text-align: center; padding: 52px 20px; background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange-main) 50%, var(--blue-main) 100%); border-radius: var(--radius); margin-bottom: 24px; color: white; position: relative; overflow: hidden; }
.ads-hero::before { content: ''; position: absolute; top: -30%; right: -5%; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.ads-hero h1 { font-size: 30px; font-weight: 800; margin-bottom: 10px; position: relative; }
.ads-hero p { font-size: 16px; margin-bottom: 22px; opacity: 0.9; position: relative; }
.ads-hero .btn-fill { background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); box-shadow: none; position: relative; }
.ads-hero .btn-fill:hover { background: rgba(255,255,255,0.35); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
@media(max-width:600px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: all .2s; }
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-orange); border-color: var(--orange-main); }
.pricing-icon { font-size: 30px; margin-bottom: 12px; }
.pricing-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.ad-size { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.price-rows { margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.price-row:last-child { border-bottom: none; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
@media(max-width:600px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
.step-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 18px; text-align: center; box-shadow: var(--shadow); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-main) 0%, var(--blue-main) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 10px; font-size: 15px; box-shadow: var(--shadow-orange); }
.step-card strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.step-card p { font-size: 12px; color: var(--text-muted); }
.payment-info-box { background: var(--orange-light); border: 1.5px solid #FFCC80; border-radius: var(--radius); padding: 22px; margin-bottom: 32px; }
.payment-info-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--orange-deep); }
.payment-info-box p { font-size: 14px; margin-bottom: 4px; color: #633806; }
.my-ads-list { display: flex; flex-direction: column; gap: 12px; }
.my-ad-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.ad-thumb { width: 80px; height: 52px; object-fit: cover; border-radius: 8px; }
.ad-info { flex: 1; }
.ad-stats { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.status-badge { font-size: 11px; padding: 4px 11px; border-radius: 12px; font-weight: 700; }
.status-active { background: var(--teal-light); color: var(--teal); }
.status-pending { background: var(--orange-light); color: var(--orange-deep); }
.status-rejected { background: #FEE2E2; color: #B91C1C; }
.status-paused { background: #f0f0f0; color: #666; }

/* ── CREATE AD FORM ── */
.upload-zone { border: 2px dashed #FFCC80; border-radius: var(--radius-sm); padding: 34px; text-align: center; cursor: pointer; transition: all .15s; background: var(--orange-light); }
.upload-zone:hover { border-color: var(--orange-main); background: #FFE8CC; }
.price-display { background: linear-gradient(135deg, var(--orange-light), #FFE0B2); border: 1.5px solid #FFCC80; border-radius: var(--radius-sm); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 15px; }
.price-display strong { color: var(--orange-deep); font-size: 20px; font-weight: 800; }
.payment-box { background: var(--orange-light); border: 1.5px solid #FFCC80; border-radius: var(--radius-sm); padding: 18px; margin-bottom: 16px; }
.payment-box h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--orange-deep); }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.payment-option { background: rgba(255,255,255,.8); border-radius: 10px; padding: 12px; font-size: 13px; border: 1px solid #FFCC80; }
.payment-option strong { display: block; margin-bottom: 2px; font-weight: 700; color: var(--orange-deep); }

/* ── TARGETING ── */
.targeting-box { background: var(--bg); border: 1.5px solid #FFCC80; border-radius: var(--radius-sm); padding: 18px; margin-bottom: 18px; }
.targeting-title { font-size: 14px; font-weight: 800; margin-bottom: 16px; color: var(--orange-main); }
.placement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.placement-card { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; background: var(--white); transition: all .15s; }
.placement-card:hover { border-color: var(--orange-main); }
.placement-card.active { border-color: var(--orange-main); background: var(--orange-light); }
.pl-icon { font-size: 20px; margin-bottom: 6px; }
.pl-label { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.pl-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* ── MISC ── */
.back-link { font-size: 14px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; margin-bottom: 16px; padding: 6px 12px; border-radius: 8px; transition: all .15s; font-weight: 500; }
.back-link:hover { color: var(--orange-main); background: var(--orange-light); }
.empty-state { text-align: center; padding: 48px; color: var(--text-muted); font-size: 14px; background: var(--white); border-radius: var(--radius); border: 1.5px dashed var(--border); }
.empty-state a { color: var(--orange-main); font-weight: 700; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; background: var(--white); cursor: pointer; font-weight: 600; transition: all .15s; }
.page-btn:hover { border-color: var(--orange-main); color: var(--orange-main); }
.page-btn.active { background: linear-gradient(135deg, var(--orange-main) 0%, var(--orange-deep) 100%); color: #fff; border-color: var(--orange-main); box-shadow: var(--shadow-orange); }
.answers-section { margin-top: 22px; }

/* ── FOOTER ── */
.footer { background: linear-gradient(135deg, #1A0A00 0%, #0D1B3E 100%); border-top: 3px solid var(--orange-main); margin-top: 64px; padding: 28px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 10px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,0.45); transition: color .15s; }
.footer-links a:hover { color: var(--orange-main); }
.footer-brand { font-weight: 700; color: rgba(255,255,255,0.8); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #FFCC80; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-main); }

/* ── PASSWORD TOGGLE ── */
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; padding: 4px; transition: color .15s; }
.pw-toggle:hover { color: var(--orange-main); }

/* ── DELETE BUTTON ── */
.btn-delete { background: transparent; border: 1.5px solid #FECACA; color: #B91C1C; padding: 5px 13px; border-radius: 18px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all .15s; }
.btn-delete:hover { background: #FEE2E2; border-color: #E24B4A; }

/* ── SEARCH BAR (Google News style) ── */
.nav-search-form { flex: 1; max-width: 520px; margin: 0 24px; }
.nav-search-wrap { display: flex; align-items: center; background: var(--bg); border: 1.5px solid var(--border); border-radius: 28px; padding: 0 18px; height: 42px; transition: all .2s; gap: 10px; }
.nav-search-wrap:focus-within { border-color: var(--orange-main); background: var(--white); box-shadow: 0 0 0 3px rgba(245,124,0,.10); }
.nav-search-icon { font-size: 16px; flex-shrink: 0; }
.nav-search-input { flex: 1; border: none; background: transparent; font-size: 14px; color: var(--text); outline: none; font-family: inherit; }
.nav-search-input::placeholder { color: var(--text-muted); }
@media(max-width:768px) { .nav-search-form { display: none; } }


/* visibility fix */
.btn-fill { color: #ffffff !important; }

/* ══════════════════════════════
   POSTS FEED STYLES
══════════════════════════════ */

/* Create Post Card */
.create-post-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.create-post-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.create-post-trigger { flex: 1; background: var(--bg); border: 2px solid var(--border); border-radius: 22px; padding: 10px 18px; text-align: left; color: var(--text-muted); cursor: pointer; font-size: 14px; transition: all .15s; }
.create-post-trigger:hover { border-color: var(--orange); background: var(--orange-light); color: var(--orange); }

.post-type-btns { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.post-type-btn { flex: 1; padding: 8px; border: 2px solid var(--border); border-radius: 10px; background: var(--white); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-muted); transition: all .15s; }
.post-type-btn:hover, .post-type-btn.active { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* Post Form */
#postForm { flex-direction: row; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
#postForm textarea { width: 100%; border: 2px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.5; transition: border-color .15s; background: var(--bg); }
#postForm textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.post-form-inner { display: flex; gap: 10px; width: 100%; }
.post-form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.btn-sm { padding: 7px 16px !important; font-size: 13px !important; border-radius: 18px !important; }

/* Upload Drop Zone */
.upload-drop-zone { display: block; border: 2px dashed var(--border); border-radius: 12px; padding: 24px; text-align: center; cursor: pointer; transition: all .2s; background: var(--bg); }
.upload-drop-zone:hover, .upload-drop-zone.dragover { border-color: var(--orange); background: var(--orange-light); }
.upload-drop-zone p { font-size: 13px; color: var(--text-muted); margin: 6px 0; }
.upload-drop-zone span { font-size: 11px; color: var(--text-muted); background: var(--border); padding: 2px 8px; border-radius: 8px; }

/* Post Feed Card */
.post-feed-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.post-feed-card:hover { border-color: #FFD180; box-shadow: 0 4px 20px rgba(245,124,0,.10); }
.post-feed-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; flex-wrap: wrap; }
.post-feed-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-feed-meta strong { font-size: 14px; color: var(--text); }
.post-time { font-size: 12px; color: var(--text-muted); }
.post-feed-caption { font-size: 15px; line-height: 1.6; color: var(--text); padding: 0 16px 12px; white-space: pre-wrap; }
.post-feed-media { width: 100%; background: #000; max-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-feed-media img { width: 100%; max-height: 480px; object-fit: contain; background: #000; display: block; }
.post-feed-media video { width: 100%; max-height: 480px; display: block; }
.post-feed-actions { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--border); }
.like-btn { background: none; border: none; cursor: pointer; font-size: 13px; color: var(--text-muted); font-weight: 500; padding: 5px 10px; border-radius: 8px; transition: all .15s; display: flex; align-items: center; gap: 4px; }
.like-btn:hover { background: #FFF0F0; color: #E24B4A; }
.comment-form { display: flex; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid var(--border); }
.comment-form input { flex: 1; border: 2px solid var(--border); border-radius: 22px; padding: 8px 14px; font-size: 13px; transition: border-color .15s; background: var(--bg); }
.comment-form input:focus { outline: none; border-color: var(--primary); background: #fff; }

/* ══════════════════════════════
   STATIC PAGES (About/Contact/Privacy)
══════════════════════════════ */
.static-page-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 32px; }
.static-page-hero { background: linear-gradient(135deg, var(--primary-light), var(--orange-light)); padding: 48px 40px 36px; text-align: center; border-bottom: 2px solid var(--border); }
.static-page-icon { font-size: 52px; margin-bottom: 16px; }
.static-page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.static-page-hero p { font-size: 16px; color: var(--text-muted); }
.static-section { padding: 28px 40px; border-bottom: 1px solid var(--border); }
.static-section:last-child { border-bottom: none; }
.static-section h2 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.static-section h2::before { content: ''; display: inline-block; width: 4px; height: 18px; background: linear-gradient(var(--primary), var(--orange)); border-radius: 2px; }
.static-section p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 10px; }
.static-list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.static-list li { font-size: 14px; line-height: 1.6; color: #444; padding: 10px 14px; background: var(--bg); border-radius: 9px; border-left: 3px solid var(--orange); }

/* Feature grid for About page */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
@media(max-width:600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { background: var(--bg); border: 2px solid var(--border); border-radius: 12px; padding: 18px; text-align: center; transition: border-color .15s; }
.feature-item:hover { border-color: var(--orange); }
.feature-item span { font-size: 30px; display: block; margin-bottom: 8px; }
.feature-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.feature-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media(max-width:650px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-side { padding: 28px 30px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 22px; background: linear-gradient(180deg, var(--primary-light), #fff); }
.contact-form-side { padding: 28px 30px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.contact-info-item p { font-size: 14px; color: var(--primary); font-weight: 500; margin: 0; }
.contact-info-item small { font-size: 12px; color: var(--text-muted); }

/* Footer links vertical stack */
.footer-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.footer-links a:hover { color: var(--orange); }

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero-section { background: linear-gradient(135deg, #1B2E4B 0%, #243D60 60%, #1B2E4B 100%); padding: 80px 24px 72px; }
.hero-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: 38px; font-weight: 800; color: #FFFFFF; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 28px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; flex-wrap: wrap; }
.btn-hero-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); padding: 13px 28px; border-radius: 26px; font-size: 15px; font-weight: 600; transition: all .18s; display: inline-block; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 22px; font-weight: 800; color: var(--orange-main); line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.hero-stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

/* Hero card stack */
.hero-visual { position: relative; }
.hero-card-stack { position: relative; padding: 16px; }
.hero-q-card { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); margin-bottom: 12px; }
.hero-q-card--2 { margin-left: 24px; opacity: 0.85; }
.hero-q-tag { display: inline-block; background: var(--orange-light); color: var(--orange-main); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.hero-q-title { font-size: 14px; font-weight: 700; color: #1B2E4B; line-height: 1.5; margin-bottom: 10px; }
.hero-q-meta { font-size: 12px; color: #7A8CA3; }

/* Categories grid for guest */
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 8px; }
.cat-grid-item { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; transition: all .15s; cursor: pointer; }
.cat-grid-item:hover { border-color: var(--orange-main); color: var(--orange-main); transform: translateY(-1px); box-shadow: var(--shadow); }
.cat-grid-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Professional empty state */
.empty-state-pro { text-align: center; padding: 56px 32px; background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); margin-bottom: 16px; }
.empty-icon { font-size: 44px; margin-bottom: 16px; }
.empty-state-pro h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state-pro p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

/* Side join card */
.side-join-card { border: none; background: var(--blue-light); }

/* Remove old side-cta orange border */
.side-cta { background: var(--blue-light); border-color: var(--border); }
.side-cta .side-title { color: var(--blue-main); }



/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVE — Complete
   Breakpoints: 768px (tablet), 480px (mobile)
═══════════════════════════════════════════════════ */

/* ── TABLET (max 768px) ── */
@media(max-width: 768px) {

  /* Navbar */
  .nav-inner { padding: 0 16px; gap: 12px; height: 56px; }
  .logo-minds, .logo-spark { font-size: 26px; }
  .btn-outline { padding: 7px 12px; font-size: 12px; }
  .btn-fill { padding: 8px 16px; font-size: 12px; }
  .btn-fill.btn-lg { padding: 12px 24px; font-size: 14px; }
  .nav-right { gap: 8px; }

  /* Hero */
  .hero-section { padding: 48px 20px 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-title { font-size: 30px; margin-bottom: 12px; }
  .hero-sub { font-size: 15px; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .btn-hero-outline { padding: 11px 22px; font-size: 14px; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 20px; }

  /* Page wrap */
  .page-wrap { padding: 20px 16px; }

  /* Categories grid */
  .cats-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .cat-grid-item { padding: 10px 14px; font-size: 13px; }

  /* Category pills */
  .cats-bar { gap: 6px; margin-bottom: 16px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .cats-bar::-webkit-scrollbar { display: none; }
  .cat-pill { white-space: nowrap; flex-shrink: 0; padding: 6px 14px; font-size: 12px; }

  /* Main grid — stack sidebar below feed */
  .main-grid { grid-template-columns: 1fr; gap: 16px; }
  .sidebar { display: none; }

  /* Post cards */
  .post-card { padding: 14px; margin-bottom: 10px; }
  .post-title { font-size: 15px; }
  .post-body { font-size: 13px; }

  /* Ask box */
  .ask-box { padding: 12px 14px; gap: 10px; }
  .ask-input-fake { font-size: 13px; }

  /* Side cards */
  .side-card { padding: 14px; }

  /* Auth */
  .auth-card { padding: 28px 20px; }
  .auth-title { font-size: 22px; }

  /* Static pages */
  .static-page-card { padding: 24px 16px; }
}

/* ── MOBILE (max 480px) ── */
@media(max-width: 480px) {

  /* Navbar */
  .nav-inner { padding: 0 12px; height: 52px; }
  .logo-minds, .logo-spark { font-size: 22px; }
  .nav-right { gap: 6px; }
  .btn-outline { padding: 6px 10px; font-size: 11px; }
  .btn-fill { padding: 7px 14px; font-size: 11px; }

  /* Hero */
  .hero-section { padding: 36px 16px 32px; }
  .hero-title { font-size: 24px; line-height: 1.25; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-fill.btn-lg { width: 100%; text-align: center; padding: 13px 20px; font-size: 15px; }
  .btn-hero-outline { width: 100%; text-align: center; padding: 12px 20px; font-size: 14px; }
  .hero-stats { gap: 12px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 18px; }
  .hero-stat-label { font-size: 11px; }

  /* Page wrap */
  .page-wrap { padding: 16px 12px; }

  /* Categories grid — 2 columns on small mobile */
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-grid-item { padding: 10px 12px; font-size: 12px; }

  /* Post cards */
  .post-card { padding: 12px; border-radius: 10px; }
  .post-title { font-size: 14px; line-height: 1.4; }
  .post-body { font-size: 12px; display: none; }
  .post-footer { gap: 10px; flex-wrap: wrap; }
  .post-action { font-size: 12px; }

  /* Vote button */
  .vote-btn { font-size: 12px; padding: 5px 10px; }

  /* Ask box */
  .ask-box { flex-wrap: wrap; }
  .ask-input-fake { width: 100%; order: 2; }
  .btn-fill.ask-btn { order: 3; width: 100%; text-align: center; }

  /* Empty state */
  .empty-state-pro { padding: 36px 20px; }
  .empty-icon { font-size: 36px; }
  .empty-state-pro h3 { font-size: 16px; }

  /* Auth */
  .auth-wrap { padding: 24px 12px; }
  .auth-card { padding: 24px 16px; border-radius: 14px; }
  .auth-title { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Pagination */
  .pagination { gap: 4px; }
  .page-btn { padding: 6px 12px; font-size: 12px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  /* Section labels */
  .section-label { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════
   HAMBURGER MENU & MOBILE NAV
═══════════════════════════════════════════════════ */

/* Hide/show helpers */
.nav-desktop-only { display: inline-flex; }
.nav-mobile-only  { display: none !important; }

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background .15s;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.15); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  background: #162640;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  gap: 10px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}

@media(max-width: 640px) {
  .nav-desktop-only { display: none !important; }
  .hamburger { display: flex; }
  .nav-mobile-only { display: flex !important; }

  /* Navbar tighter on mobile */
  .nav-inner { padding: 0 14px; height: 54px; gap: 8px; }
  .logo-minds, .logo-spark { font-size: 24px; }
  .nav-right { gap: 8px; }

  /* Flash messages full width */
  .flash { padding: 10px 16px; font-size: 13px; }

  /* Home hero compact */
  .home-hero { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-hero h2 { font-size: 18px; }
  .home-hero p { font-size: 13px; }

  /* Ask box full width */
  .ask-box { flex-direction: column; gap: 10px; }
  .ask-input-fake { width: 100%; }
  .ask-btn { width: 100%; text-align: center; }

  /* Profile page */
  .profile-header { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .profile-tabs { overflow-x: auto; flex-wrap: nowrap; gap: 0; }
  .profile-tabs a { white-space: nowrap; flex-shrink: 0; }

  /* Question/post detail */
  .question-header { padding: 16px; }
  .question-body { padding: 14px 16px; font-size: 14px; }
  .answer-card { padding: 14px; }

  /* Forms full width */
  .form-group { margin-bottom: 16px; }
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; } /* Prevent iOS zoom */

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr; }

  /* Ads pages */
  .ads-grid { grid-template-columns: 1fr; }
  .ad-card { padding: 14px; }

  /* Section headings */
  .section-title { font-size: 18px; }
  .section-sub { font-size: 13px; }

  /* Landing page sections */
  .landing-section { padding: 40px 16px; }
  .landing-title { font-size: 26px; }
  .landing-sub { font-size: 14px; }

  /* Stats row */
  .stats-row { flex-direction: column; align-items: center; gap: 16px; }
  .stat-item { width: 100%; text-align: center; }

  /* Pricing cards stacked */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Dropdown for logged-in mobile users */
  .dropdown { min-width: 200px; right: -6px; }
}

/* ── Extra tiny (360px) ── */
@media(max-width: 380px) {
  .logo-minds, .logo-spark { font-size: 20px; }
  .nav-inner { padding: 0 10px; }
  .page-wrap { padding: 14px 10px; }
  .post-card { padding: 10px; }
  .auth-card { padding: 20px 14px; }
}
