/* ============================================================
   DishUrdu.com — Complete Responsive Website CSS
   Theme: Clean White + Electric Blue + Midnight Tech
   Fonts: Sora (headings/body) + JetBrains Mono (code/data)
   ============================================================ */

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

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { background: #ffffff; color: #1a1f2e; font-family: 'Sora', system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
code { font-family: 'JetBrains Mono', monospace; }

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --blue:       #1e6bff;
  --blue-dark:  #1451cc;
  --blue-light: #e8f0ff;
  --blue-mid:   #4d8aff;
  --navy:       #0d1528;
  --navy2:      #131c34;
  --teal:       #00b4aa;
  --green:      #12b76a;
  --orange:     #f97316;
  --red:        #ef4444;
  --purple:     #7c3aed;
  --white:      #ffffff;
  --off-white:  #f8fafd;
  --gray-50:    #f3f6fb;
  --gray-100:   #e8edf5;
  --gray-200:   #d0d8e8;
  --gray-400:   #8fa3c0;
  --gray-600:   #4a5a7a;
  --gray-800:   #1e2a40;
  --text:       #1a1f2e;
  --text2:      #3d4a60;
  --text3:      #6b7fa0;
  --border:     #e2e8f5;
  --shadow-sm:  0 1px 4px rgba(30,60,120,.06);
  --shadow-md:  0 4px 20px rgba(30,60,120,.10);
  --shadow-lg:  0 12px 48px rgba(30,60,120,.14);
  --shadow-xl:  0 24px 72px rgba(30,60,120,.18);
  --radius:     8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 9999px;
  --nav-h:      68px;
  --section-py: 80px;
}

/* ── Utilities ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-py) 0; }
.bg-gray { background: var(--gray-50); }
.center-btn { text-align: center; margin-top: 48px; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes spin     { to { transform:rotate(360deg); } }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes pulse-dot { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.4); opacity:.6; } }
@keyframes orbit    { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar { background: var(--navy); color: rgba(255,255,255,.65); font-size: 12.5px; padding: 7px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-item { display: flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 13px; height: 13px; stroke: var(--teal); fill: none; stroke-width: 2; flex-shrink: 0; }
.topbar-item strong { color: var(--teal); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-link { color: rgba(255,255,255,.55); transition: color .18s; }
.topbar-link:hover { color: var(--white); }
.topbar-div { color: rgba(255,255,255,.2); }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--nav-h); position: relative;
}

.nav-logo {
  display: flex; align-items: center; gap: 11px;
  flex-shrink: 0; text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; stroke: white; fill: none; }
.logo-main { display: block; font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: -0.3px; line-height: 1.1; }
.logo-accent { color: var(--blue); }
.logo-sub { display: block; font-size: 10px; color: var(--text3); font-weight: 400; letter-spacing: 0.2px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
  list-style: none;
}
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--text2);
  transition: all .18s; white-space: nowrap;
}
.nav-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-light); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px; z-index: 100;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all .2s ease;
}
.dropdown a {
  display: block; padding: 9px 12px;
  border-radius: var(--radius); font-size: 13.5px;
  color: var(--text2); transition: all .15s;
}
.dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.search-btn {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--gray-50); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: all .18s;
}
.search-btn:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue); }
.search-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 36px; height: 36px; gap: 5px;
  border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--border);
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Search Bar */
.search-bar {
  background: var(--blue); padding: 12px 0;
  display: none;
}
.search-bar.active { display: block; animation: fadeIn .2s; }
.search-bar .container { display: flex; align-items: center; gap: 12px; }
.search-input {
  flex: 1; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.35);
  border-radius: var(--radius-full); padding: 10px 18px;
  color: white; font-size: 14px; outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,.6); }
.search-input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.25); }
.search-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
  color: white; transition: background .18s;
}
.search-close:hover { background: rgba(255,255,255,.3); }
.search-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Mobile Menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px; box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mob-link {
  padding: 11px 14px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--text2);
  transition: all .15s;
}
.mob-link:hover, .mob-link.active { background: var(--blue-light); color: var(--blue); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,107,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,107,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(30,107,255,.12);
  pointer-events: none;
}
.orbit-1 { width: 600px; height: 600px; right: -200px; top: -200px; }
.orbit-2 { width: 400px; height: 400px; right: -100px; top: -100px; border-color: rgba(0,180,170,.1); }

.hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center; position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,107,255,.15); border: 1px solid rgba(30,107,255,.3);
  color: #7eb8ff; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-full);
  margin-bottom: 20px; letter-spacing: 0.3px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); animation: pulse-dot 1.8s infinite;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(135deg, #4d8aff 0%, #00d4c8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 15.5px; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 520px; margin-bottom: 28px;
}

.hero-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full); padding: 6px 6px 6px 18px;
  gap: 10px; max-width: 500px; margin-bottom: 24px;
  transition: border-color .2s;
}
.hero-search:focus-within { border-color: rgba(77,138,255,.6); background: rgba(255,255,255,.12); }
.hero-search svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.4); fill: none; stroke-width: 2; flex-shrink: 0; }
.hero-search input {
  flex: 1; background: none; border: none; outline: none;
  color: white; font-size: 14px;
}
.hero-search input::placeholder { color: rgba(255,255,255,.35); }
.btn-search {
  background: var(--blue); color: white; font-size: 13px; font-weight: 600;
  padding: 9px 20px; border-radius: var(--radius-full);
  border: none; cursor: pointer; white-space: nowrap;
  transition: background .18s;
}
.btn-search:hover { background: var(--blue-dark); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: var(--radius-full);
  transition: all .18s;
}
.tag:hover { background: rgba(30,107,255,.2); border-color: rgba(30,107,255,.4); color: white; }

/* Hero satellite card */
.hero-visual { animation: float 6s ease-in-out infinite; }

.satellite-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 22px;
  backdrop-filter: blur(8px);
}
.sat-card-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.5);
  margin-bottom: 18px; font-weight: 500;
}
.sat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sat-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }

.freq-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 6px; transition: background .15s;
}
.freq-row:hover { background: rgba(30,107,255,.1); border-color: rgba(30,107,255,.2); }
.freq-label { flex: 1; font-size: 13px; color: rgba(255,255,255,.8); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freq-row code { font-size: 12px; color: var(--teal); background: rgba(0,180,170,.1); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.freq-band { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: var(--radius-full); }
.freq-band.ku { background: rgba(30,107,255,.25); color: #7eb8ff; }
.freq-band.c  { background: rgba(249,115,22,.2); color: #fdba74; }

.sat-card-footer {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 12px; color: rgba(255,255,255,.4);
}
.sat-card-footer svg { width: 13px; height: 13px; stroke: var(--blue-mid); fill: none; stroke-width: 2; }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar { background: var(--navy2); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.05); }
.stats-inner {
  display: flex; align-items: center;
  justify-content: space-around; gap: 16px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.45); font-weight: 500; letter-spacing: 0.3px; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.08); }

/* ── SECTION HEADS ───────────────────────────────────────── */
.section-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
  padding: 5px 14px; background: var(--blue-light);
  border-radius: var(--radius-full);
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 12px;
}
.section-head p { font-size: 15px; color: var(--text3); line-height: 1.7; }

/* ── CATEGORIES ──────────────────────────────────────────── */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block; padding: 28px 24px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all .25s; position: relative; overflow: hidden;
  text-decoration: none;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  opacity: 0; transition: opacity .3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { opacity: 1; }

.cat-blue:hover { background: linear-gradient(135deg, #eff5ff 0%, #dbeafe 100%); border-color: #bfdbfe; }
.cat-green:hover { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border-color: #bbf7d0; }
.cat-orange:hover { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); border-color: #fed7aa; }
.cat-red:hover { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-color: #fecaca; }
.cat-purple:hover { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); border-color: #ddd6fe; }
.cat-teal:hover { background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); border-color: #99f6e4; }

.cat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cat-blue .cat-icon { background: #dbeafe; }
.cat-green .cat-icon { background: #dcfce7; }
.cat-orange .cat-icon { background: #ffedd5; }
.cat-red .cat-icon { background: #fee2e2; }
.cat-purple .cat-icon { background: #ede9fe; }
.cat-teal .cat-icon { background: #ccfbf1; }

.cat-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 2; }
.cat-blue .cat-icon svg { stroke: var(--blue); }
.cat-green .cat-icon svg { stroke: var(--green); }
.cat-orange .cat-icon svg { stroke: var(--orange); }
.cat-red .cat-icon svg { stroke: var(--red); }
.cat-purple .cat-icon svg { stroke: var(--purple); }
.cat-teal .cat-icon svg { stroke: var(--teal); }

.cat-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cat-card p { font-size: 13.5px; color: var(--text3); line-height: 1.6; margin-bottom: 16px; }
.cat-count {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--gray-100); color: var(--text3);
}
.cat-blue .cat-count { background: var(--blue-light); color: var(--blue); }
.cat-green .cat-count { background: #dcfce7; color: #166534; }
.cat-orange .cat-count { background: #ffedd5; color: #9a3412; }
.cat-red .cat-count { background: #fee2e2; color: #991b1b; }
.cat-purple .cat-count { background: #ede9fe; color: #5b21b6; }
.cat-teal .cat-count { background: #ccfbf1; color: #115e59; }

/* ── SATELLITES GRID ─────────────────────────────────────── */
.sat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 18px;
  display: block; position: relative; transition: all .22s;
  text-decoration: none;
}
.sat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.sat-pos {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--blue); font-weight: 600;
  background: var(--blue-light); padding: 3px 8px;
  border-radius: var(--radius-full); display: inline-block;
  margin-bottom: 10px;
}
.sat-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sat-bands { display: flex; gap: 6px; margin-bottom: 10px; }
.band { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); }
.band.ku { background: #dbeafe; color: #1d4ed8; }
.band.c  { background: #ffedd5; color: #c2410c; }
.sat-meta { font-size: 12px; color: var(--text3); margin-bottom: 10px; }
.sat-channels { font-size: 13px; font-weight: 600; color: var(--text2); }
.sat-arrow {
  position: absolute; right: 16px; bottom: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-50); display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.sat-card:hover .sat-arrow { background: var(--blue); }
.sat-arrow svg { width: 14px; height: 14px; stroke: var(--text3); fill: none; stroke-width: 2.5; transition: stroke .2s; }
.sat-card:hover .sat-arrow svg { stroke: white; }

/* ── FREQUENCY TABLE ─────────────────────────────────────── */
.table-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.table-search {
  padding: 9px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-full); font-size: 13.5px;
  outline: none; color: var(--text); width: 220px;
  transition: border-color .18s;
}
.table-search:focus { border-color: var(--blue); }
.table-filter-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 14px; border-radius: var(--radius-full);
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  background: var(--gray-50); border: 1px solid var(--border);
  color: var(--text3); transition: all .15s;
}
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

.table-responsive { overflow-x: auto; }
.freq-table { width: 100%; border-collapse: collapse; }
.freq-table th {
  background: var(--gray-50); padding: 12px 16px;
  text-align: left; font-size: 11.5px; font-weight: 700;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.freq-table td {
  padding: 13px 16px; font-size: 13.5px; color: var(--text2);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.freq-table tr:last-child td { border-bottom: none; }
.freq-table tbody tr:hover { background: var(--gray-50); }
.freq-table tbody tr.hidden { display: none; }

.ch-name { font-weight: 600; color: var(--text); }
.freq-table td code {
  background: var(--gray-50); color: var(--blue);
  padding: 3px 8px; border-radius: 5px; font-size: 12px;
}
.lnb { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); }
.lnb.ku { background: #dbeafe; color: #1d4ed8; }
.lnb.c  { background: #ffedd5; color: #c2410c; }

.cat-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); }
.cat-badge.news { background: #fef9c3; color: #854d0e; }
.cat-badge.sports { background: #dcfce7; color: #166534; }
.cat-badge.ent { background: #fce7f3; color: #9d174d; }

.table-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--border);
  background: var(--gray-50);
}
.table-info { font-size: 12.5px; color: var(--text3); }
.btn-text-link { font-size: 13px; font-weight: 600; color: var(--blue); transition: opacity .15s; }
.btn-text-link:hover { opacity: .75; }

/* ── SOFTWARE CARDS ──────────────────────────────────────── */
.software-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.software-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: all .22s;
}
.software-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }

.sw-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sw-icon.orange { background: #ffedd5; }
.sw-icon.blue   { background: var(--blue-light); }
.sw-icon.green  { background: #dcfce7; }
.sw-icon.purple { background: #ede9fe; }
.sw-icon.red    { background: #fee2e2; }
.sw-icon.teal   { background: #ccfbf1; }
.sw-icon svg { width: 20px; height: 20px; fill: none; stroke-width: 2; }
.sw-icon.orange svg { stroke: var(--orange); }
.sw-icon.blue   svg { stroke: var(--blue); }
.sw-icon.green  svg { stroke: var(--green); }
.sw-icon.purple svg { stroke: var(--purple); }
.sw-icon.red    svg { stroke: var(--red); }
.sw-icon.teal   svg { stroke: var(--teal); }

.sw-info { flex: 1; min-width: 0; }
.sw-brand { font-size: 15px; font-weight: 700; color: var(--text); }
.sw-model { font-size: 12px; color: var(--text3); margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-date { font-size: 11px; color: var(--text3); }

.sw-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-full);
  background: var(--gray-50); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--text2);
  white-space: nowrap; transition: all .18s;
}
.sw-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }
.sw-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── GUIDE SECTION ───────────────────────────────────────── */
.guide-layout {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 64px; align-items: center;
}
.guide-text .eyebrow { margin-bottom: 12px; }
.guide-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 16px; }
.guide-desc { font-size: 15px; color: var(--text3); line-height: 1.7; margin-bottom: 32px; }

.guide-steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.guide-step { display: flex; gap: 18px; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700; color: var(--blue);
  min-width: 44px; opacity: .25; line-height: 1.2;
}
.guide-step strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.guide-step p { font-size: 13.5px; color: var(--text3); line-height: 1.6; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white; font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-full);
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,107,255,.3); }

.btn-outline-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue); font-size: 14px; font-weight: 600;
  padding: 11px 24px; border-radius: var(--radius-full);
  border: 2px solid var(--blue); cursor: pointer; transition: all .2s;
}
.btn-outline-primary:hover { background: var(--blue); color: white; }

/* LNB Info Card */
.lnb-info-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-md);
}
.lnb-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.lnb-row { display: flex; gap: 14px; align-items: flex-start; }
.lnb-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.ku-icon { background: var(--blue-light); color: var(--blue); }
.c-icon  { background: #ffedd5; color: var(--orange); }
.lnb-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.lnb-freq { font-size: 12.5px; color: var(--text3); margin-bottom: 4px; }
.lnb-freq code { background: var(--gray-50); padding: 1px 6px; border-radius: 4px; font-size: 11.5px; color: var(--blue); }
.lnb-note { font-size: 12px; color: var(--text3); }
.lnb-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* ── NEWS CARDS ──────────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 20px;
}
.news-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: all .22s;
}
.news-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.news-card.featured { border-color: var(--blue); }
.news-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--blue-light); color: var(--blue);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.4px;
}
.news-card h3 { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 10px; }
.news-card.featured h3 { font-size: 18px; }
.news-card p { font-size: 13px; color: var(--text3); line-height: 1.6; margin-bottom: 14px; }
.news-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.news-date { font-size: 11.5px; color: var(--text3); }
.news-link { font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.news-link:hover { opacity: .7; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,.65); }
.footer-top { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-top-inner {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-brand { }
.foot-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.foot-logo svg { width: 30px; height: 30px; stroke: var(--blue-mid); fill: none; flex-shrink: 0; }
.foot-logo span { font-size: 20px; font-weight: 800; color: white; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }

.foot-social { display: flex; gap: 8px; }
.soc-btn {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: all .18s;
}
.soc-btn:hover { background: var(--blue); border-color: var(--blue); color: white; }
.soc-btn svg { width: 15px; height: 15px; }

.foot-title { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links a { font-size: 13.5px; color: rgba(255,255,255,.5); transition: color .15s; }
.foot-links a:hover { color: white; }

.foot-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fc-item { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.fc-item svg { width: 14px; height: 14px; stroke: var(--blue-mid); fill: none; stroke-width: 2; flex-shrink: 0; }

.foot-form { display: flex; flex-direction: column; gap: 8px; }
.foot-input {
  width: 100%; padding: 9px 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); color: white; font-size: 13px; outline: none;
  transition: border-color .18s; resize: vertical;
}
.foot-input::placeholder { color: rgba(255,255,255,.3); }
.foot-input:focus { border-color: rgba(30,107,255,.6); background: rgba(255,255,255,.1); }
.foot-submit {
  padding: 10px 18px; background: var(--blue); color: white;
  border: none; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .18s;
}
.foot-submit:hover { background: var(--blue-dark); }

.footer-bottom {
  padding: 18px 0; font-size: 12.5px; color: rgba(255,255,255,.3);
}
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom-links { display: flex; gap: 16px; }
.foot-bottom-links a { color: rgba(255,255,255,.3); transition: color .15s; }
.foot-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ── SCROLL TOP ──────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: white;
  border: none; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(30,107,255,.4);
  opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: all .3s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-2px); }
.scroll-top svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2.5; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-text { max-width: 680px; margin: 0 auto; }
  .hero { padding: 60px 0 56px; }
  .sat-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: 1 / -1; }
  .footer-top-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-layout { grid-template-columns: 1fr; gap: 40px; }
  .guide-visual { max-width: 500px; }
  .software-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; --nav-h: 60px; }
  .topbar { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { gap: 24px; }
  .stat-div { display: none; }
  .hero h1 { font-size: 30px; }
  .hero-search { max-width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .software-grid { grid-template-columns: 1fr; }
  .table-toolbar { flex-direction: column; align-items: flex-start; }
  .table-search { width: 100%; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .sat-grid { grid-template-columns: 1fr 1fr; }
  .hero-tags { display: none; }
  .stat-num { font-size: 26px; }
  .stats-inner { flex-wrap: wrap; justify-content: center; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}
