/* ============================================================
   Linkweb Automação - Stylesheet Principal
   ============================================================ */

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

:root {
  --primary: #0099FF;
  --primary-dark: #0077CC;
  --primary-light: #33AAFF;
  --secondary: #1a2a3a;
  --secondary-light: #243447;
  --bg: #f7f9fc;
  --white: #ffffff;
  --text: #1a2a3a;
  --text-muted: #6b7a8d;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,153,255,0.35); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f8ff; }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; }

/* ── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0,153,255,0.12);
  color: var(--primary);
  border: 1px solid rgba(0,153,255,0.2);
  margin-bottom: 1rem;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}
.navbar.scrolled, .navbar.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 87px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-logo-img {
  height: 75px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* Logo tem fundo branco; filtro mantém visibilidade no header transparente */
}
.navbar.transparent .navbar-logo-img {
  /* Logo branco já é visível em fundo escuro */
  filter: brightness(1);
}
@media (max-width: 768px) {
  .navbar-logo-img { height: 50px; }
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.navbar.scrolled .nav-links a, .navbar.solid .nav-links a { color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span, .navbar.solid .hamburger span { background: var(--text); }
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: rgba(0,153,255,0.06); }
.mobile-menu .btn { margin: 0.5rem 1.5rem; width: calc(100% - 3rem); justify-content: center; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d45 50%, #0f2035 100%);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 25%; right: 20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(0,153,255,0.06);
  filter: blur(60px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.72); margin-bottom: 2rem; line-height: 1.7; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-tag { display: flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.hero-tag svg { color: var(--primary); }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-orbit {
  position: relative;
  width: 340px; height: 340px;
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(0,153,255,0.1);
  border: 1px solid rgba(0,153,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.orbit-icon {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transform: translate(-50%, -50%);
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

/* ── Section ─────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-dark { background: var(--secondary); color: #fff; }
.section-muted { background: #f0f4f8; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-dark .section-title { color: #fff; }
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-dark .section-desc { color: rgba(255,255,255,0.65); }

/* ── Stats ───────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-value { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ── Cards ───────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,153,255,0.2); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(0,153,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.card-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Blog Cards ──────────────────────────────────────────── */
.post-card { overflow: hidden; padding: 0; }
.post-card-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(0,153,255,0.15), rgba(26,42,58,0.2));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.post-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; line-height: 1.4; }
.post-title a:hover { color: var(--primary); }
.post-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.3rem; }
.read-more:hover { gap: 0.6rem; }

/* ── Portfolio Cards ─────────────────────────────────────── */
.project-card { overflow: hidden; padding: 0; }
.project-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  position: relative;
  overflow: hidden;
}
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary); color: #fff; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.project-card-body { padding: 1.25rem; }
.project-title { font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.project-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-location { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0066bb 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
.cta-desc { color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d45 50%, #0f2035 100%);
  padding: 7rem 0 4rem;
  margin-top: 0;
}
.page-hero-title { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
.page-hero-desc { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 600px; line-height: 1.7; }

/* ── About ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.mission-card { border-left: 4px solid var(--primary); }
.vision-card { border-left: 4px solid var(--secondary); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.check-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.stat-box { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1rem 1.25rem; }
.stat-box-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat-box-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* ── Services ────────────────────────────────────────────── */
.service-card { position: relative; overflow: hidden; }
.service-step { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.service-subtitle { font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }
.service-features { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.service-feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; color: var(--text-muted); }
.service-feature svg { color: var(--primary); flex-shrink: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.process-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.process-step-title { font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.tech-tag { display: flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 500; box-shadow: var(--shadow); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,153,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-item-label { font-size: 0.78rem; color: var(--text-muted); }
.contact-item-value { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.whatsapp-highlight { background: #f0fdf4; border: 2px solid rgba(37,211,102,0.3); }
.whatsapp-highlight .contact-item-icon { background: #25D366; color: #fff; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,153,255,0.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success svg { color: #22c55e; margin: 0 auto 1rem; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }
.alert { padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }

/* ── Blog Post ───────────────────────────────────────────── */
.post-content {
  max-width: 780px;
  margin: 0 auto;
}
.post-content h1, .post-content h2, .post-content h3 { font-family: 'Poppins', sans-serif; color: var(--text); margin: 1.5rem 0 0.75rem; }
.post-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--text-muted); }
.post-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.post-content blockquote { border-left: 4px solid var(--primary); padding: 0.75rem 1.25rem; background: rgba(0,153,255,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; font-style: italic; color: var(--text-muted); }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--secondary); color: #fff; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 1rem 0; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: #fff;
}
.social-btn:hover { background: var(--primary); }
.social-btn.whatsapp:hover { background: #25D366; }
.footer-col h4 { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.87rem; color: rgba(255,255,255,0.6); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-contact-item a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  color: #fff;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* ── Admin ───────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--secondary); padding: 1.5rem 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-logo { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1rem; }
.admin-logo .brand { font-size: 1rem; font-weight: 800; color: #fff; }
.admin-logo .brand span { color: var(--primary); }
.admin-logo .tagline { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.admin-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,0.08); }
.admin-nav a.active { border-left: 3px solid var(--primary); }
.admin-nav .nav-section { padding: 1rem 1.5rem 0.4rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }
.admin-main { background: #f7f9fc; }
.admin-header { background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.admin-header h1 { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.admin-content { padding: 2rem; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.admin-stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.admin-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.admin-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.admin-stat-label { font-size: 0.82rem; color: var(--text-muted); }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.admin-card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-card-header h2 { font-size: 1rem; font-weight: 600; color: var(--text); }
.admin-card-body { padding: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 0.9rem 1rem; font-size: 0.88rem; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f9fafb; }
.status-badge { display: inline-flex; align-items: center; padding: 0.2rem 0.65rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.status-published { background: #dcfce7; color: #16a34a; }
.status-draft { background: #f1f5f9; color: #64748b; }
.status-unread { background: #dbeafe; color: #1d4ed8; }
.status-read { background: #f1f5f9; color: #64748b; }
.action-btns { display: flex; gap: 0.4rem; }
.action-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); }
.action-btn.danger:hover { border-color: #ef4444; color: #ef4444; }
.editor-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.5rem;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.editor-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.editor-btn:hover { background: #e2e8f0; color: var(--text); }
.editor-area {
  width: 100%;
  min-height: 350px;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  resize: vertical;
  outline: none;
  transition: var(--transition);
}
.editor-area:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,153,255,0.1); }
.login-page { min-height: 100vh; background: linear-gradient(135deg, #0d1b2a, #1a2d45); display: flex; align-items: center; justify-content: center; }
.login-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo .brand { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.login-logo .brand span { color: var(--primary); }
.login-logo p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state svg { margin: 0 auto 1rem; opacity: 0.3; }
.message-box { background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.page-btn { padding: 0.5rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-muted); background: #fff; cursor: pointer; transition: var(--transition); text-decoration: none; }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
