/* ============================================================
   PCUser2User.com — Main Stylesheet
   ============================================================ */

:root {
  --navy:    #0a1628;
  --navy2:   #112240;
  --navy3:   #1d3a5f;
  --teal:    #00c9a7;
  --teal2:   #00a88e;
  --amber:   #f5a623;
  --amber2:  #e8941a;
  --red:     #e74c3c;
  --green:   #27ae60;
  --white:   #f8f9fa;
  --gray1:   #e9ecef;
  --gray2:   #adb5bd;
  --gray3:   #6c757d;
  --text:    #1a1a2e;
  --card-bg: #ffffff;
  --radius:  10px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(10,22,40,.10);
  --shadow-lg: 0 8px 40px rgba(10,22,40,.16);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Lora', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --header-h:  70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: #f4f6fb; line-height: 1.7; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--teal); }

/* ── TOPBAR ──────────────────────────────────────────────── */
#topbar { background: var(--navy); color: var(--gray2); font-family: var(--font-head); font-size: 12px; padding: 6px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-flag { margin-right: 4px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
#topbar a { color: var(--gray2); text-decoration: none; }
#topbar a:hover { color: var(--teal); }
.topbar-register { color: var(--teal) !important; font-weight: 600; }
.teal { color: var(--teal); }
#live-time { font-family: var(--font-mono); font-size: 11px; }

/* ── HEADER ──────────────────────────────────────────────── */
header { background: var(--navy2); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--teal), var(--teal2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; letter-spacing: -1px; flex-shrink: 0; }
.logo-brand { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--teal); display: block; line-height: 1; }
.logo-tld { font-size: 14px; color: var(--gray2); }
.logo-sub { font-family: var(--font-head); font-size: 10px; color: var(--gray2); letter-spacing: .5px; text-transform: uppercase; display: block; margin-top: 3px; }

nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
nav a { font-family: var(--font-head); font-size: 13px; color: var(--gray2); text-decoration: none; padding: 8px 11px; border-radius: 6px; transition: all .2s; white-space: nowrap; }
nav a:hover, nav a.active { color: #fff; background: rgba(0,201,167,.15); }
.btn-register { background: var(--teal) !important; color: #fff !important; border-radius: 20px !important; padding: 8px 18px !important; font-weight: 600 !important; }
.btn-register:hover { background: var(--teal2) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all .3s; }

/* ── TICKER ──────────────────────────────────────────────── */
.ticker-bar { background: var(--amber); color: var(--navy); font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 10px 0; overflow: hidden; position: relative; }
.ticker-track { display: flex; width: max-content; animation: ticker 55s linear infinite; white-space: nowrap; }
.ticker-track span { padding: 0 8px; }
.ticker-track a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; cursor: pointer; pointer-events: auto; }
.ticker-track a:hover { color: #1a2b4a; text-decoration: none; }
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HERO ────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 60%, #0f3460 100%); padding: 80px 24px 64px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,201,167,.12) 0%, transparent 70%); pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(245,166,35,.08) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,201,167,.15); border: 1px solid rgba(0,201,167,.3); color: var(--teal); font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(26px,4vw,50px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p { color: var(--gray2); font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 40px; }
.hero-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 16px; text-align: center; }
.hero-stat .num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--teal); }
.hero-stat .lbl { font-family: var(--font-head); font-size: 10px; color: var(--gray2); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }
.hero-visual { display: flex; flex-direction: column; gap: 12px; }
.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 14px; transition: all .3s; text-decoration: none; }
.hero-card:hover { background: rgba(0,201,167,.1); border-color: rgba(0,201,167,.3); }
.hero-card-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hero-card h4 { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.hero-card p { font-size: 12px; color: var(--gray2); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { font-family: var(--font-head); font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; transition: all .2s; line-height: 1; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy3); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber2); }
.btn-full { width: 100%; justify-content: center; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

/* ── FEATURES STRIP ──────────────────────────────────────── */
.features-strip { background: var(--navy2); padding: 32px 24px; }
.features-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 24px; }
.feat { display: flex; align-items: center; gap: 14px; }
.feat-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(0,201,167,.15); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.feat h4 { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.feat p { font-size: 12px; color: var(--gray2); }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-alt { background: #eef2f8; }
.section-dark { background: var(--navy); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section h2 { font-family: var(--font-head); font-size: clamp(22px,3vw,36px); font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.section-dark h2 { color: #fff; }
.section p.lead { font-size: 16px; color: var(--gray3); max-width: 600px; margin: 0 auto; }
.section-dark .lead { color: var(--gray2); }

/* ── CARDS ───────────────────────────────────────────────── */
.card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transition: all .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }

/* ── BLOG CARDS ──────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 28px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-img { height: 190px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-img.emoji-img { display: flex; align-items: center; justify-content: center; font-size: 54px; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-family: var(--font-head); font-size: 11px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.blog-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; flex: 1; }
.blog-card p { font-size: 13px; color: var(--gray3); line-height: 1.65; margin-bottom: 14px; }
.blog-meta { display: flex; gap: 10px; align-items: center; font-family: var(--font-head); font-size: 12px; color: var(--gray2); flex-wrap: wrap; margin-top: auto; }
.blog-meta .author { color: var(--navy); font-weight: 600; }
.read-more { font-family: var(--font-head); font-size: 13px; color: var(--teal); font-weight: 600; text-decoration: none; margin-top: 12px; display: inline-block; }
.read-more:hover { text-decoration: underline; }

/* ── FEATURED ARTICLE ────────────────────────────────────── */
.featured-section { background: var(--navy2); padding: 48px 24px; }
.featured-inner { max-width: 1000px; margin: 0 auto; }
.featured-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--navy); font-family: var(--font-head); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.featured-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 420px 1fr; }
.featured-img { min-height: 320px; position: relative; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-img .emoji-cover { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.featured-content { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-content .f-cat { font-family: var(--font-head); font-size: 11px; font-weight: 600; color: var(--amber); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.featured-content h2 { font-family: var(--font-head); font-size: clamp(18px,2.5vw,26px); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 14px; }
.featured-content p { font-size: 14px; color: var(--gray2); line-height: 1.8; margin-bottom: 20px; }
.featured-meta { font-family: var(--font-head); font-size: 12px; color: var(--gray3); margin-bottom: 20px; }
.featured-meta span { color: var(--gray2); }

/* ── FEATURED SOFTWARE OF THE DAY ───────────────────────── */
.software-feature { background: linear-gradient(135deg, var(--navy3) 0%, #0d2137 100%); border: 1px solid rgba(0,201,167,.2); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
.sf-left { padding: 36px; }
.sf-day-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,201,167,.15); border: 1px solid rgba(0,201,167,.3); color: var(--teal); font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.sf-left h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.sf-ver { font-family: var(--font-mono); font-size: 12px; color: var(--gray2); margin-bottom: 14px; }
.sf-desc { font-size: 15px; color: var(--gray2); line-height: 1.8; margin-bottom: 20px; }
.sf-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.sf-right { padding: 36px; background: rgba(255,255,255,.04); display: flex; flex-direction: column; }
.sf-detail { font-size: 14px; color: var(--gray2); line-height: 1.9; flex: 1; }
.sf-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.sf-vendor { font-family: var(--font-head); font-size: 12px; color: var(--gray3); margin-top: 10px; text-align: center; }
.sf-vendor a { color: var(--teal); }

/* ── Q&A SECTION ─────────────────────────────────────────── */
.qa-search-bar { display: flex; gap: 10px; max-width: 700px; margin: 0 auto 32px; position: relative; }
.qa-search-bar input { flex: 1; padding: 14px 48px 14px 18px; border-radius: 30px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #fff; font-family: var(--font-head); font-size: 14px; outline: none; }
.qa-search-bar input::placeholder { color: var(--gray2); }
.qa-search-bar input:focus { border-color: var(--teal); }
.search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--teal); color: #fff; border: none; border-radius: 20px; padding: 8px 18px; font-family: var(--font-head); font-size: 13px; font-weight: 600; cursor: pointer; }
.qa-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.qa-tab { font-family: var(--font-head); font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: 20px; border: 1.5px solid #ced4da; color: #495057; background: #fff; cursor: pointer; transition: all .2s; }
.qa-tab.active, .qa-tab:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.qa-results-info { font-family: var(--font-head); font-size: 13px; color: #6c757d; margin-bottom: 16px; }
.qa-list { max-width: 860px; margin: 0 auto; }
.qa-item { border: 1px solid #dee2e6; border-left: 3px solid var(--teal); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: #ffffff !important; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow .2s; }
.qa-item:hover { box-shadow: 0 3px 12px rgba(0,201,167,.15); }
.qa-q { padding: 16px 20px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; transition: background .2s; }
.qa-q:hover { background: rgba(0,201,167,.06); }
.qa-q-num { font-family: var(--font-mono); font-size: 11px; color: var(--teal); min-width: 40px; padding-top: 3px; font-weight: 700; }
.qa-q-text { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: #1a2b4a !important; flex: 1; line-height: 1.5; }
.qa-q-icon { color: var(--teal); font-size: 16px; transition: transform .3s; margin-left: 8px; margin-top: 2px; flex-shrink: 0; }
.qa-item.open .qa-q-icon { transform: rotate(180deg); }
.qa-a { display: none; padding: 0 20px 18px 72px; font-size: 14px; color: #343a40 !important; line-height: 1.85; border-top: 1px solid #f0f0f0; }
.qa-item.open .qa-a { display: block; }
.qa-a code { background: rgba(0,201,167,.12); color: #00967d; padding: 2px 7px; border-radius: 4px; font-family: var(--font-mono); font-size: 12px; }
.qa-a strong { color: #1a2b4a; }
.qa-nav { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.qa-nav button { font-family: var(--font-head); font-size: 13px; padding: 8px 14px; border-radius: 6px; border: 1.5px solid #ced4da; background: #fff; color: #495057; cursor: pointer; transition: all .2s; }
.qa-nav button.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.qa-nav button:hover:not(.active) { border-color: var(--teal); color: var(--teal); }
.ask-panel { background: #f0fdf9; border: 1.5px dashed rgba(0,201,167,.5); border-radius: var(--radius); padding: 28px; max-width: 700px; margin: 40px auto 0; text-align: center; }
.ask-panel h3 { font-family: var(--font-head); font-size: 18px; color: #1a2b4a; margin-bottom: 8px; }
.ask-panel p { font-size: 14px; color: #495057; margin-bottom: 20px; }

/* ── SOFTWARE ROOM ───────────────────────────────────────── */
.soft-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; justify-content: center; }
.soft-cat-btn { font-family: var(--font-head); font-size: 12px; font-weight: 600; padding: 7px 15px; border-radius: 16px; border: 1.5px solid var(--gray1); background: transparent; color: var(--gray3); cursor: pointer; transition: all .2s; }
.soft-cat-btn.active, .soft-cat-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.soft-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.soft-tile { background: #fff; border: 1.5px solid var(--gray1); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: all .2s; position: relative; overflow: visible; display: flex; flex-direction: column; }
.soft-tile:hover { border-color: var(--teal); box-shadow: 0 4px 20px rgba(0,201,167,.15); }
.soft-tile-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.soft-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.soft-icon img { width: 100%; height: 100%; object-fit: contain; }
.soft-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.soft-ver { font-family: var(--font-mono); font-size: 10px; color: var(--gray2); }
.soft-desc { font-size: 12px; color: var(--gray3); line-height: 1.6; margin-bottom: 10px; flex: 1; }
.soft-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.soft-tag { font-family: var(--font-head); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: var(--gray1); color: var(--gray3); }
.soft-tag.free { background: #e6f9f5; color: #0a7c63; }
.soft-tag.paid { background: #fff4e0; color: #a0650b; }
.soft-dl-btn { width: 100%; font-family: var(--font-head); font-size: 12px; font-weight: 600; padding: 9px; border-radius: 6px; border: none; background: var(--navy); color: #fff; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; }
.soft-dl-btn:hover { background: var(--teal); }
.soft-tooltip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 12px; padding: 12px 14px; border-radius: 8px; width: 260px; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .2s; box-shadow: 0 6px 24px rgba(0,0,0,.35); line-height: 1.6; text-align: left; }
.soft-tile:hover .soft-tooltip { opacity: 1; }
.soft-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--navy); }

/* ── NOTICES ─────────────────────────────────────────────── */
.notice { padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 14px; margin: 20px 0; line-height: 1.7; }
.notice-teal  { background: rgba(0,201,167,.1);  border-left: 4px solid var(--teal);  color: #0a4a3d; }
.notice-amber { background: rgba(245,166,35,.12); border-left: 4px solid var(--amber); color: #6a4a00; }
.notice-red   { background: rgba(231,76,60,.1);   border-left: 4px solid var(--red);   color: #7a1e18; }
.notice strong { font-weight: 700; }

/* ── TAGS ────────────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: .5px; }
.tag-teal   { background: #e6f9f5; color: #0a7c63; }
.tag-amber  { background: #fff4e0; color: #a0650b; }
.tag-navy   { background: #e8edf5; color: var(--navy); }
.tag-red    { background: #fdecea; color: #c0392b; }
.tag-green  { background: #e8f9e8; color: #1a6b1a; }

/* ── MODALS ──────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,22,40,.75); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 36px; max-width: 460px; width: 100%; position: relative; animation: slideUp .3s ease; max-height: 90vh; overflow-y: auto; }
.modal-lg { max-width: 560px; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--gray3); margin-bottom: 22px; }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray2); line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--red); }
.modal-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.modal-logo .logo-icon { width: 48px; height: 48px; font-size: 17px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray1); border-radius: 8px; font-family: var(--font-body); font-size: 14px; color: var(--text); outline: none; transition: border .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-check { margin-bottom: 16px; font-size: 13px; color: var(--gray3); display: flex; gap: 8px; align-items: flex-start; }
.form-check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.modal-divider { height: 1px; background: var(--gray1); margin: 16px 0; }
.modal-alt { text-align: center; font-family: var(--font-head); font-size: 13px; color: var(--gray3); }
.modal-alt a { color: var(--teal); font-weight: 600; }
.success-msg { text-align: center; padding: 20px; }
.success-icon { font-size: 52px; margin-bottom: 14px; }
.success-msg h3 { font-family: var(--font-head); font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.success-msg p { font-size: 14px; color: var(--gray3); line-height: 1.7; }
.dl-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.dl-method { border: 1.5px solid var(--gray1); border-radius: 8px; padding: 16px 10px; text-align: center; cursor: pointer; transition: all .2s; }
.dl-method:hover { border-color: var(--teal); background: #e6f9f5; }
.dl-method-icon { font-size: 28px; margin-bottom: 6px; }
.dl-method h5 { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.dl-method p { font-size: 11px; color: var(--gray3); line-height: 1.5; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--navy); color: var(--gray2); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { grid-column: 1; }
.footer-logo { display: inline-flex; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: var(--gray2); margin-top: 8px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.social-btn { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; color: #adb5bd; }
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.social-fb { color: #1877f2; } .social-fb:hover { background: #1877f2; color: #fff !important; }
.social-x  { color: #fff; }   .social-x:hover  { background: #000; color: #fff !important; }
.social-wa { color: #25d366; } .social-wa:hover { background: #25d366; color: #fff !important; }
.social-yt { color: #ff0000; } .social-yt:hover { background: #ff0000; color: #fff !important; }
.social-tg { color: #229ed9; } .social-tg:hover { background: #229ed9; color: #fff !important; }
.footer-col h4 { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--gray2); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px 0; margin-bottom: 20px; font-size: 12px; color: var(--gray3); line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-head); font-size: 12px; color: var(--gray3); }
.footer-bottom strong { color: var(--teal); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#back-top { position: fixed; bottom: 24px; right: 24px; background: var(--teal); color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 20px; cursor: pointer; z-index: 999; opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,201,167,.4); }
#back-top.show { opacity: 1; }

/* ── MISC ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray1); margin: 12px 0; }
.page-breadcrumb { max-width: 1280px; margin: 0 auto; padding: 14px 24px; font-family: var(--font-head); font-size: 12px; color: var(--gray2); }
.page-breadcrumb a { color: var(--teal); text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.empty-state { text-align: center; padding: 60px 20px; color: #6c757d; font-family: var(--font-head); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 14px; }
code { background: rgba(0,201,167,.12); color: var(--teal2); padding: 2px 7px; border-radius: 5px; font-family: var(--font-mono); font-size: 13px; }

/* ── ADMIN PANEL STYLES ──────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy2); padding: 24px; }
.admin-sidebar h3 { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 13px; color: var(--gray2); text-decoration: none; padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; transition: all .2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(0,201,167,.15); color: #fff; }
.admin-main { background: #f4f6fb; padding: 32px; }
.admin-main h1 { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.admin-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.admin-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--gray3); text-transform: uppercase; letter-spacing: .5px; padding: 10px 14px; border-bottom: 2px solid var(--gray1); text-align: left; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--gray1); font-size: 13px; color: var(--text); }
.admin-table tr:hover { background: #f8f9fa; }
.status-badge { font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 10px; text-transform: uppercase; }
.status-published { background: #e6f9f5; color: #0a7c63; }
.status-draft     { background: #fff4e0; color: #a0650b; }
.status-pending   { background: #fdecea; color: #c0392b; }
.schedule-badge   { background: #e8edf5; color: var(--navy); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { display: none; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy2); padding: 16px; border-top: 1px solid rgba(255,255,255,.1); z-index: 999; }
  nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .software-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-row-2 { grid-template-columns: 1fr; }
  .dl-methods { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 16px 40px; }
  .section { padding: 48px 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .soft-grid { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }
  .features-inner { grid-template-columns: 1fr 1fr; }
  #topbar { font-size: 11px; }
  .topbar-left { display: none; }
}
