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

:root {
  /* Brand Core Colors */
  --primary: #FF6A00;
  --primary-hover: #E85900;
  --primary-active: #D04A00;
  --primary-light: #FFF4EC;
  --primary-glow: rgba(255, 106, 0, 0.18);
  
  /* Neutral / Slate Palette */
  --slate-950: #0B0F17;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  /* Typography & Theme Tokens */
  --font-sans: 'Plus Jakarta Sans', 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-main: var(--slate-800);
  --text-heading: var(--slate-900);
  --text-muted: var(--slate-500);
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-card: rgba(226, 232, 240, 0.9);
  
  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 30px -8px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 24px rgba(255, 106, 0, 0.25);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.2s;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans) !important;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

/* =========================================================
   ✨ GLASSMORPHIC HEADER & NAVIGATION ✨
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  transition: all var(--duration) var(--ease);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo svg {
  transition: transform var(--duration) var(--ease);
}

.brand-logo:hover svg {
  transform: scale(1.08) rotate(3deg);
}

.brand-logo span {
  color: var(--primary);
}

.brand-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 106, 0, 0.15);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links li {
  margin: 0;
  display: inline-flex;
}

.nav-links a {
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--slate-900);
  background: var(--slate-100);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}

.mobile-toggle:hover {
  background: var(--slate-100);
}

/* =========================================================
   👑 ULTRA-PREMIUM HOMEPAGE STUDIO HERO OVERRIDES 👑
   ========================================================= */

/* Hero Container Card */
.filter-section {
  background: #FFFFFF !important;
  background-image: none !important;
  border-radius: var(--radius-xl) !important;
  padding: 44px 36px 36px !important;
  max-width: 1140px !important;
  margin: 32px auto 40px !important;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 0 1px var(--border-card) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--border-card) !important;
}

/* Ambient Top Accent Line & Glow */
.filter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6A00 0%, #FF9944 50%, #FF6A00 100%);
}

.filter-section::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.12) 0%, rgba(255, 106, 0, 0) 70%);
  pointer-events: none;
  filter: blur(30px);
}

/* Header inside Hero */
.filter-section header {
  padding: 10px 0 24px 0 !important;
  position: relative;
  z-index: 2;
}

/* Main Heading: "Create Your Professional Banner" */
.filter-section h1 {
  font-size: 2.85rem !important;
  font-weight: 800 !important;
  color: var(--slate-900) !important;
  letter-spacing: -0.035em !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Highlight word: "Professional" */
.filter-section h1 span {
  background: linear-gradient(135deg, #FF6A00 0%, #FF3D00 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

/* Subtitle */
.filter-section p {
  color: var(--slate-600) !important;
  font-size: 1.12rem !important;
  text-align: center !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

/* Hide Redundant Links in the middle of Hero (Since they are already in Header & Footer) */
.filter-section header > div {
  display: none !important;
}

/* Control Box Wrapper (Search + Category + Name + Email) */
.filter-section section > div {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 16px auto 0 !important;
  position: relative;
  z-index: 2;
}

/* Top Search & Category Row */
.filter-section .flex-col.md\:flex-row {
  display: flex !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
}

/* Search Bar Wrapper */
.filter-section .relative.w-full.md\:w-auto {
  position: relative !important;
  flex: 1 !important;
}

/* Search Icon Positioning */
.filter-section .relative.w-full.md\:w-auto svg {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  color: var(--slate-400) !important;
  pointer-events: none !important;
}

/* Search Input */
.filter-section input[type="text"][placeholder*="Search"] {
  width: 100% !important;
  padding: 14px 18px 14px 48px !important;
  background: var(--slate-50) !important;
  border: 1.5px solid var(--slate-200) !important;
  border-radius: var(--radius-md) !important;
  color: var(--slate-900) !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  box-shadow: var(--shadow-xs) !important;
  transition: all var(--duration) var(--ease) !important;
}

.filter-section input[type="text"][placeholder*="Search"]:focus {
  background: #FFFFFF !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow) !important;
  outline: none !important;
}

/* Category Select Dropdown */
.filter-section select {
  padding: 14px 20px !important;
  background: var(--slate-50) !important;
  border: 1.5px solid var(--slate-200) !important;
  border-radius: var(--radius-md) !important;
  color: var(--slate-800) !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-xs) !important;
  cursor: pointer !important;
  min-width: 200px !important;
  transition: all var(--duration) var(--ease) !important;
}

.filter-section select:focus {
  background: #FFFFFF !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow) !important;
  outline: none !important;
}

/* Name and Email Inputs Grid */
.filter-section .grid.md\:grid-cols-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

/* Name & Email Input Styling */
.filter-section .grid.md\:grid-cols-2 input {
  width: 100% !important;
  padding: 14px 18px !important;
  background: var(--slate-50) !important;
  border: 1.5px solid var(--slate-200) !important;
  border-radius: var(--radius-md) !important;
  color: var(--slate-900) !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  box-shadow: var(--shadow-xs) !important;
  transition: all var(--duration) var(--ease) !important;
}

.filter-section .grid.md\:grid-cols-2 input:focus {
  background: #FFFFFF !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow) !important;
  outline: none !important;
}

/* =========================================================
   🖼️ TEMPLATE GALLERY CARDS OVERHAUL 🖼️
   ========================================================= */

#root .grid {
  gap: 28px !important;
  max-width: 1200px !important;
  margin: 0 auto 60px !important;
  padding: 0 20px !important;
}

/* Individual Template Card Container */
#root .grid > div {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--border-card) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.28s var(--ease) !important;
  background: #000000 !important;
  position: relative !important;
}

#root .grid > div:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 0 0 2px var(--primary) !important;
}

/* Floating Glass Download Icon Button */
#root button[aria-label*="download"],
#root .grid button {
  background: rgba(15, 23, 42, 0.82) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  padding: 8px !important;
  transition: all var(--duration) var(--ease) !important;
  cursor: pointer !important;
}

#root button[aria-label*="download"]:hover,
#root .grid button:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: scale(1.12) !important;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.45) !important;
}

/* Text Overlays on Canvas */
#root .grid h3,
#root .grid p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
  letter-spacing: -0.01em !important;
}

/* Hide duplicate mini React footer */
#root > div > footer {
  display: none !important;
}

/* =========================================================
   PAGE CONTENT, CARDS, TABLES, FAQS & FOOTER STYLES
   ========================================================= */

/* Premium Button System */
.btn-primary {
  background: linear-gradient(135deg, #FF7A1A 0%, #FF5500 100%);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(255, 85, 0, 0.2), 0 4px 12px rgba(255, 106, 0, 0.25);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 85, 0, 0.25), 0 8px 20px rgba(255, 106, 0, 0.35);
  background: linear-gradient(135deg, #FF8833 0%, #E64D00 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-800) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-ghost:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

/* Page Layout & Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-section {
  text-align: center;
  padding: 30px 20px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(135deg, #FF7A00, #FF3D00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Content Cards & Surfaces */
.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 10px 30px -5px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-card);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #FF8C33 100%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.content-card:hover::before {
  opacity: 1;
}

/* Typography Hierarchy */
h1 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 24px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 18px;
  color: var(--slate-700);
}

.meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--slate-500);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-100);
}

/* Metrics / Trust Bar */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--slate-600);
  font-weight: 600;
  margin-top: 6px;
}

/* Modern Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.feature-box {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: rgba(255, 106, 0, 0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 106, 0, 0.12);
}

/* Polished Data Tables */
.table-responsive {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xs);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}

th {
  background: var(--slate-50);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 244, 236, 0.35);
}

/* Premium FAQ Accordion */
.faq-list {
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.faq-item:hover {
  border-color: rgba(255, 106, 0, 0.25);
}

.faq-item[open] {
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.06);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 600;
  transition: transform var(--duration) var(--ease);
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--slate-600);
  line-height: 1.7;
}

/* Form Styles */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--slate-800);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--slate-900);
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-control::placeholder {
  color: var(--slate-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Modern Dark SaaS Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 70px 24px 30px 24px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--slate-500);
}

.footer-bottom-links a:hover {
  color: var(--slate-300);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    gap: 8px;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .header-container {
    padding: 12px 16px;
  }

  .filter-section {
    padding: 28px 18px 24px !important;
    margin: 16px 12px 28px !important;
  }

  .filter-section h1 {
    font-size: 2rem !important;
  }

  .filter-section .grid.md\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  .content-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* Cookie Consent Bar (GDPR / Google Consent Mode) */
.cookie-consent-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 900px;
  width: calc(100% - 32px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F8FAFC;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 99999;
  transition: all 0.3s var(--ease);
}

.cookie-content {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--slate-300);
}

.cookie-content a {
  color: #FF8C33;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-primary {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-cookie-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-cookie-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-cookie-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
  .cookie-consent-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    padding: 16px;
    gap: 14px;
  }
  
  .cookie-actions {
    justify-content: flex-end;
  }
}

/* =========================================================
   📐 INTERACTIVE ASPECT RATIO & DPI CALCULATOR WIDGET
   ========================================================= */
.calc-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  margin: 32px 0 48px 0;
  position: relative;
  overflow: hidden;
}

.calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6A00 0%, #FF9944 100%);
}

.calc-header {
  text-align: center;
  margin-bottom: 28px;
}

.calc-header h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.calc-header p {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.btn-preset {
  background: var(--slate-50);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-preset:hover, .btn-preset.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(255, 106, 0, 0.3);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--slate-700);
}

.calc-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: all var(--duration) var(--ease);
}

.calc-input:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  outline: none;
}

.calc-results {
  background: radial-gradient(100% 100% at 50% 0%, #1E293B 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ratio-display {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}

.ratio-big {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FF7A1A;
  letter-spacing: -0.02em;
}

.ratio-sub {
  color: var(--slate-400);
  font-size: 0.88rem;
  font-weight: 600;
}

.platform-badge-box {
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.25);
  color: #FFA366;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.metrics-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-metric {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-metric .label {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.mini-metric .val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 4px;
}

.preview-box-wrapper {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ratio-preview-box {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.4) 0%, rgba(255, 106, 0, 0.15) 100%);
  border: 1.5px solid #FF6A00;
  border-radius: 4px;
  max-width: 100%;
  max-height: 100%;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
}

@media (max-width: 860px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .calc-card {
    padding: 24px 18px;
  }
}
