﻿/* ==========================================================================
   WiFi HD Camera - Ultra Premium Stylesheet (Modern, Sleek, 2026 Tech Portal)
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #0a0f1d;       /* Deep Luxury Obsidian */
  --secondary-light: #151f38;
  --accent: #06b6d4;          /* Cyber Cyan */
  --accent-glow: rgba(6, 182, 212, 0.25);
  --success: #10b981;
  --text-main: #475569;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 16px -2px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 30px -6px rgba(15, 23, 42, 0.1), 0 10px 15px -4px rgba(15, 23, 42, 0.05);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --content-width: 840px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* ================= Header & Navigation ================= */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.brand-logo .logo-badge {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ================= Premium Hero Section ================= */
.hero-section {
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 70%, #f8fafc 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #ffffff;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.category-tag-link {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-tag-link:hover {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

/* ================= Featured Hero Banner (Two-Column Sleek) ================= */
.featured-hero {
  background: linear-gradient(135deg, #0a0f1d 0%, #172554 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1e293b;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-hero .hero-tag-white {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.featured-hero h2 {
  color: #ffffff;
  font-size: 2.15rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.featured-hero p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.featured-hero .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #0a0f1d;
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
  transition: all 0.25s ease;
}

.featured-hero .btn-primary:hover {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.45);
}

.featured-img-wrap {
  text-align: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= AdSense Placeholder Slots ================= */
.ad-slot-wrap {
  margin: 3rem auto;
  text-align: center;
}

.ad-slot-box {
  background-color: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 0 auto;
  max-width: 728px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.ad-slot-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* ================= Section Header & Grid Cards ================= */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 4rem 0 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.85rem;
}

.section-head h2 {
  font-size: 1.85rem;
  color: var(--secondary);
  position: relative;
  letter-spacing: -0.02em;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -0.95rem;
  left: 0;
  width: 60px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.guide-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.card-banner {
  height: 180px;
  background-color: #0f172a;
  overflow: hidden;
  position: relative;
}

.card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.guide-card:hover .card-banner img {
  transform: scale(1.04);
}

.card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.card-content h3 a {
  color: var(--secondary);
}

.card-content h3 a:hover {
  color: var(--primary);
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.read-btn {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}

.read-btn:hover {
  transform: translateX(3px);
}

/* ================= Tools & Widgets Suite ================= */
.tools-section-wrap {
  margin: 4.5rem 0 3.5rem;
}

.tool-tabs-nav {
  display: flex;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tool-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.35rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.tool-tab-btn.active, .tool-tab-btn:hover {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tool-panel {
  display: none;
}

.tool-panel.active-panel {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.calc-card-wrap {
  background: linear-gradient(135deg, #0a0f1d 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
}

.calc-card-wrap h2 {
  color: #ffffff;
  font-size: 1.95rem;
  margin-bottom: 0.5rem;
}

.calc-card-wrap p.calc-desc {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.calc-form-group {
  margin-bottom: 1.35rem;
}

.calc-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid #475569;
  background-color: #0f172a;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.calc-select:focus, .calc-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.calc-results-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.calc-res-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.85rem;
}

.calc-res-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-res-label {
  color: #94a3b8;
  font-size: 0.98rem;
}

.calc-res-value {
  color: #38bdf8;
  font-size: 1.45rem;
  font-weight: 800;
}

/* Quiz Card */
.quiz-widget-wrap {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.quiz-step-indicator {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.quiz-question-title {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.quiz-opt-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quiz-opt-card:hover, .quiz-opt-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.quiz-opt-card strong {
  color: var(--secondary);
  font-size: 1.08rem;
}

.quiz-opt-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quiz-result-box {
  background: linear-gradient(135deg, #0a0f1d 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: none;
  margin-top: 1.75rem;
  border: 1px solid #334155;
}

.quiz-result-box.show-result {
  display: block;
}

.quiz-result-box h3 {
  color: #38bdf8;
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.quiz-result-box p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

/* FOV Visualizer Box */
.fov-widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.fov-visual-meter {
  background: #0a0f1d;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  border: 1px solid #334155;
}

/* ================= Article & Static Content ================= */
.article-header-wrap {
  margin: 2.5rem 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-nav {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs-nav a {
  color: var(--text-muted);
}

.breadcrumbs-nav a:hover {
  color: var(--primary);
}

.article-title-h1 {
  font-size: 2.45rem;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.article-meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.toc-card {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.6rem;
  margin: 2.25rem 0;
}

.toc-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--secondary);
}

.toc-card ul {
  list-style: none;
  padding-left: 0;
}

.toc-card li {
  margin-bottom: 0.5rem;
}

.toc-card a {
  color: var(--text-dark);
  font-size: 0.98rem;
  font-weight: 500;
}

.toc-card a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.article-body {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #1e293b;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.4rem;
}

.article-body h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.article-body ul, 
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.article-body li {
  margin-bottom: 0.55rem;
}

.info-alert {
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-sm);
  margin: 2.25rem 0;
  border-left: 4px solid;
}

.info-alert-blue {
  background-color: #eff6ff;
  border-color: var(--primary);
  color: #1e3a8a;
}

.info-alert-green {
  background-color: #f0fdf4;
  border-color: #16a34a;
  color: #14532d;
}

.info-alert-amber {
  background-color: #fffbeb;
  border-color: #f59e0b;
  color: #78350f;
}

.table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.data-table th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: var(--secondary);
}

.data-table tr:hover {
  background-color: #f8fafc;
}

/* Author Box */
.author-profile-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  margin: 3.5rem 0 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.author-pic {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.author-meta h4 {
  font-size: 1.18rem;
  margin-bottom: 0.25rem;
}

.author-meta p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* FAQs Accordion */
.faq-box-wrap {
  margin: 3.5rem 0;
}

.faq-box-wrap h3 {
  font-size: 1.6rem;
  margin-bottom: 1.35rem;
}

.faq-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-q {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary);
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-a {
  padding: 0 1.35rem 1.25rem;
  font-size: 1.02rem;
  color: var(--text-main);
  display: none;
}

.faq-card.open .faq-a {
  display: block;
}

.faq-card.open .faq-q {
  color: var(--primary);
}

/* Policy Pages */
.policy-page-wrap {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-sm);
}

.policy-page-wrap h1 {
  font-size: 2.35rem;
  margin-bottom: 0.5rem;
}

.policy-last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 560px;
  background-color: #0a0f1d;
  color: #e2e8f0;
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #334155;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(160%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show-banner {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.cookie-banner a {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-btn-wrap {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #0a0f1d;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cookie-accept:hover {
  background: #7dd3fc;
}

.btn-cookie-close {
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid #475569;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ================= Footer ================= */
.site-footer {
  background-color: var(--secondary);
  color: #cbd5e1;
  padding: 4.5rem 0 2.25rem;
  margin-top: 5rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.35rem;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-hero {
    grid-template-columns: 1fr;
    padding: 2.25rem;
  }
  .calc-grid, .fov-widget-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    gap: 1.1rem;
  }

  .nav-links.active-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .article-title-h1 {
    font-size: 1.95rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}