/*
Theme Name: vippinay.net
Theme URI: https://vippinay.net/
Author: Antigravity
Author URI: https://vippinay.net/
Description: Exact pixel-perfect light theme clone of VIPPinay Privacy & Safety Tools.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vippinay-net
*/

:root {
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-light: #eef2ff;
  --color-primary-glow: rgba(79, 70, 229, 0.15);

  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-card: #ffffff;
  --color-card-border: #e5e7eb;
  --color-card-border-hover: #c7d2fe;

  --color-text: #111827;
  --color-text-body: #374151;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 24px -4px rgba(79, 70, 229, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
  --shadow-dropdown: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --container-max: 1240px;
  --header-height: 74px;
  --transition: 0.2s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

/* ------------------ Header ------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.main-navigation {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-search-wrap {
  position: relative;
  width: 170px;
}

.header-search-input {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: #111827;
  background-color: #f9fafb;
  outline: none;
  transition: all var(--transition);
}

.header-search-input:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  width: 200px;
}

.header-search-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.btn-privacy-first {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: all var(--transition);
}

.btn-privacy-first:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ------------------ Breadcrumbs ------------------ */
.breadcrumbs-nav {
  padding: 0.85rem 0;
  background-color: #f9fafb;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb-item a {
  color: var(--color-text-muted);
}

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

.breadcrumb-separator {
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #111827;
  font-weight: 600;
}

/* ------------------ Hero Badge / Tool Pill ------------------ */
.hero-pill, .tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background-color: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-full);
  color: #4f46e5;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-pill svg, .tool-pill svg {
  flex-shrink: 0;
  color: #4f46e5;
}

/* ------------------ Hero Section ------------------ */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--color-primary);
  display: block;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-search-box {
  position: relative;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-search-box input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all var(--transition);
}

.hero-search-box input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.hero-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

.hero-features-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.hero-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #f0f4ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-feat-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.hero-feat-text span {
  font-size: 0.74rem;
  color: #6b7280;
  font-weight: 400;
  white-space: nowrap;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ------------------ Section & Cards ------------------ */
.section {
  padding: 3.5rem 0;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  margin-top: 0.35rem;
  line-height: 1.6;
}

.section-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-link:hover {
  color: var(--color-primary-hover);
  transform: translateX(2px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Tool Cards */
.tool-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  text-decoration: none;
}

.tool-card:hover {
  border-color: var(--color-card-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.tool-card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tool-card-icon-box.purple { background-color: #f5f3ff; color: #6366f1; }
.tool-card-icon-box.green { background-color: #ecfdf5; color: #10b981; }
.tool-card-icon-box.blue { background-color: #eff6ff; color: #3b82f6; }
.tool-card-icon-box.orange { background-color: #fffbeb; color: #f59e0b; }

.tool-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.65rem;
}

.tool-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-open-tool {
  width: 100%;
  padding: 0.6rem 1rem;
  background: #ffffff;
  border: 1.5px solid #e0e7ff;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition);
}

.tool-card:hover .btn-open-tool {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* ------------------ Value Strip ------------------ */
.value-strip {
  background-color: #f9fafb;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 1.5rem 0 3.5rem;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.value-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-content strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.value-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ------------------ Resource Cards ------------------ */
.resource-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  text-decoration: none;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.resource-img-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-img-banner.purple { background-color: #f5f3ff; }
.resource-img-banner.green { background-color: #ecfdf5; }
.resource-img-banner.blue { background-color: #eff6ff; }
.resource-img-banner.orange { background-color: #fff7ed; }

.resource-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.resource-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.resource-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ------------------ Newsletter Strip ------------------ */
.newsletter-strip {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin: 3.5rem 0 4rem;
}

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.newsletter-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.35rem;
}

.newsletter-text p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
}

.newsletter-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 380px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  outline: none;
  background: #ffffff;
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--color-primary-hover);
}

.newsletter-note {
  font-size: 0.78rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ------------------ Inner Pages & Tool UI Components ------------------ */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
}

.entry-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin: 2.5rem 0 1rem;
}

.entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 2rem 0 0.75rem;
}

.entry-content p {
  margin-bottom: 1.35rem;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content code {
  font-family: var(--font-mono);
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  color: #4f46e5;
}

/* Tool Container Card (Light Mode) */
.tool-container, .tool-widget-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.tool-input-group {
  margin-bottom: 1.5rem;
}

.tool-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.tool-input, .tool-textarea, .tool-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  color: #111827;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.tool-input:focus, .tool-textarea:focus, .tool-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: all var(--transition);
  white-space: nowrap;
}

.tool-btn:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.tool-btn-secondary {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  color: #374151;
  box-shadow: var(--shadow-sm);
}

.tool-btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.tool-result-panel {
  margin-top: 1.75rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.result-card-item {
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.meter-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0.75rem 0;
}

.meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Privacy Notice Box (Light Mode with centered icon) */
.privacy-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: #f0f4ff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #1e3a8a;
  line-height: 1.5;
}

.privacy-notice-box svg {
  flex-shrink: 0;
  color: #4f46e5;
  margin-top: 2px;
}

.privacy-notice-box strong {
  color: #1e40af;
}

/* ------------------ Footer ------------------ */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

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

.footer-brand-col {
  padding-right: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.15rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

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

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

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

.footer-bottom-links a {
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* ------------------ Responsive Breakpoints ------------------ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-search-box { margin-left: auto; margin-right: auto; }
  .hero-features-row { margin-left: auto; margin-right: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .value-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .newsletter-strip { flex-direction: column; align-items: stretch; }
  .newsletter-right { min-width: auto; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-navigation { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .value-strip-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-features-row { flex-wrap: wrap; gap: 1rem; }
}

/* ------------------ Single Article & Blog UI ------------------ */
.single-article-wrap {
  background-color: #ffffff;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.single-article-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 1rem 0 1.25rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.meta-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-author-name {
  font-weight: 600;
  color: #111827;
}

.meta-dot {
  color: #d1d5db;
}

.meta-date, .meta-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-featured-image-box {
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

.article-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* Key Takeaways Box */
.key-takeaways-box {
  background: linear-gradient(135deg, #f0f4ff, #eef2ff);
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.75rem;
}

.takeaways-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4f46e5;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.key-takeaways-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

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

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 3rem 0 1.25rem;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 2.25rem 0 0.85rem;
}

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

.article-body strong {
  color: #111827;
}

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

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

/* In-Article Tool Banner */
.recommended-tool-banner {
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-left: 4px solid #4f46e5;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.05);
}

.tool-banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-banner-content h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.tool-banner-content p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.btn-tool-banner {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: #4f46e5;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

.btn-tool-banner:hover {
  background-color: #4338ca;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Author Bio Card */
.author-bio-card {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 3.5rem 0 3rem;
}

.author-bio-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  display: block;
}

.bio-name {
  font-size: 1.1rem;
  color: #111827;
  display: block;
  margin-bottom: 0.35rem;
}

.bio-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

/* Post Navigation Cards */
.post-navigation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.post-nav-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
}

.post-nav-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.nav-direction {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.nav-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.nav-title:hover {
  color: #4f46e5;
}

/* ------------------ Category & Archive Hero ------------------ */
.archive-hero-section {
  padding: 3.5rem 0 2rem;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  border-bottom: 1px solid #f3f4f6;
}

.archive-header-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.archive-main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 0.85rem;
}

.archive-main-desc {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ------------------ Post Card Grid (Category & Blog) ------------------ */
.post-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease-in-out;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 12px 24px -4px rgba(79, 70, 229, 0.1);
}

.post-thumb-link {
  display: block;
  overflow: hidden;
  height: 200px;
  background-color: #f3f4f6;
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-thumb {
  transform: scale(1.05);
}

.post-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
}

.post-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background-color: #eef2ff;
  color: #4f46e5;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.post-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.post-card-title a {
  color: #111827;
}

.post-card-title a:hover {
  color: #4f46e5;
}

.post-excerpt {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.post-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f3f4f6;
  padding-top: 1rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

.post-footer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more-link {
  color: #4f46e5;
  font-weight: 600;
  font-size: 0.85rem;
}

.post-card:hover .read-more-link {
  color: #4338ca;
}

/* Refined 3-Item Hero Features Row */
.hero-features-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 2.25rem !important;
  width: 100% !important;
  max-width: 500px !important;
  margin-top: 1.25rem !important;
  padding: 0 0.25rem !important;
}

.hero-feat-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  flex: 0 0 auto !important;
}

.hero-feat-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  background-color: #f0f4ff !important;
  color: #4f46e5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.hero-feat-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.25 !important;
}

.hero-feat-text strong {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.hero-feat-text span {
  font-size: 0.76rem !important;
  color: #6b7280 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}
