/*
Theme Name: WebDevPro
Description: Professional WordPress theme for WebDevPro services
Version: 1.0.0
Author: WebDevPro
*/

/* CSS Variables for consistent theming */
:root {
  --brand-primary: #3b82f6;
  --brand-dark: #0f172a;
  --brand-accent: #ef4444;
  --brand-success: #22c55e;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-400: #f87171;
  --red-600: #dc2626;

  --blue-50: #eff6ff;

  --white: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--slate-50);
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

.typing-effect {
  border-right: 2px solid var(--brand-success);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

p {
  margin: 0 0 1rem 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid system */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

/* Flex utilities */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Spacing */
.section {
  padding: 6rem 0;
}

.py-2 { padding: 0.5rem 0; }
.py-4 { padding: 1rem 0; }
.py-6 { padding: 1.5rem 0; }
.py-8 { padding: 2rem 0; }
.py-12 { padding: 3rem 0; }
.py-16 { padding: 4rem 0; }
.py-20 { padding: 5rem 0; }
.py-24 { padding: 6rem 0; }

.px-4 { padding: 0 1rem; }
.px-6 { padding: 0 1.5rem; }
.px-8 { padding: 0 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* Colors */
.text-white { color: white; }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-brand-primary { color: var(--brand-primary); }
.text-brand-accent { color: var(--brand-accent); }
.text-brand-success { color: var(--brand-success); }

.bg-white { background-color: white; }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-800 { background-color: var(--slate-800); }
.bg-slate-900 { background-color: var(--slate-900); }
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-primary { background-color: var(--brand-primary); }
.bg-brand-accent { background-color: var(--brand-accent); }
.bg-brand-success { background-color: var(--brand-success); }

.border-slate-100 { border-color: var(--slate-100); }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-300 { border-color: var(--slate-300); }
.border-slate-700 { border-color: var(--slate-700); }
.border-slate-800 { border-color: var(--slate-800); }
.border-brand-accent { border-color: var(--brand-accent); }

/* Typography utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }

/* Layout utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Spacing utilities for children */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.top-0 { top: 0; }
.top-neg-20 { top: -5rem; }
.left-0 { left: 0; }
.left-neg-10 { left: -2.5rem; }
.right-0 { right: 0; }
.right-neg-20 { right: -5rem; }
.bottom-0 { bottom: 0; }
.bottom-neg-6 { bottom: -1.5rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Sizing */
.w-3 { width: 0.75rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }

.h-3 { height: 0.75rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-full { height: 100%; }

.max-w-xs { max-width: 20rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-solid { border-style: solid; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Transforms */
.transform { transform: var(--tw-transform); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-1 { transform: translateY(0.25rem); }
.rotate-1 { transform: rotate(1deg); }
.rotate-3 { transform: rotate(3deg); }
.hover\\:rotate-0:hover { transform: rotate(0deg); }

/* Transitions */
.transition { transition: all 0.2s; }
.transition-all { transition: all 0.2s; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--brand-success); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-ping {
  animation: ping 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.typing-effect {
  border-right: 2px solid var(--brand-success);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Component specific styles */

/* Urgency bar */
.urgency-bar {
  background-color: var(--brand-accent);
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

/* Navigation */
.nav {
  background-color: white;
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 0;
  position: relative;
  z-index: 40;
}

.nav-menu {
  display: none;
}

.nav-menu.md-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
  color: var(--slate-600);
}

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

/* Ensure navigation menus are hidden on mobile/tablet screens */
@media (max-width: 767px) {
  .nav-menu {
    display: none !important;
  }
  .nav-menu.active {
    display: flex !important;
  }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 51;
}

/* Hide toggle button on screens larger than 767px */
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Hide navigation menus on mobile/tablet screens */
@media (max-width: 767px) {
  .mobile-hidden {
    display: none !important;
  }
}

.toggle-line {
  width: 100%;
  height: 3px;
  background-color: var(--slate-700);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Styles */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.nav-menu.active a {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
  font-weight: 500;
}

.nav-menu.active a:hover {
  color: var(--brand-primary);
  background-color: var(--slate-50);
}

.nav-menu.active a:last-child {
  border-bottom: none;
}



/* Blob backgrounds */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}

.blob-blue {
  background-color: #dbeafe;
  width: 18rem;
  height: 18rem;
  top: -5rem;
  right: -5rem;
}

.blob-red {
  background-color: #fee2e2;
  width: 18rem;
  height: 18rem;
  bottom: 2.5rem;
  left: -2.5rem;
}

/* Terminal mockup */
.terminal {
  background-color: var(--brand-dark);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-2xl);
  padding: 1.5rem;
  transform: rotate(1deg);
  transition: transform 0.5s;
  position: relative;
  z-index: 10;
  border: 1px solid var(--slate-700);
}

.terminal:hover {
  transform: rotate(0deg);
}

.terminal-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--slate-700);
  padding-bottom: 1rem;
}

.terminal-control {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.control-red { background-color: #ef4444; }
.control-yellow { background-color: #eab308; }
.control-green { background-color: #22c55e; }

.terminal-window {
  font-size: 0.75rem;
  font-family: 'Monaco', 'Menlo', monospace;
  color: var(--slate-500);
  font-weight: 500;
}

.terminal-line {
  margin-bottom: 0.5rem;
}

.terminal-error {
  color: #ef4444;
  font-weight: 700;
}

.terminal-success {
  color: var(--brand-success);
  font-weight: 700;
}

/* Service cards */
.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--slate-100);
  position: relative;
  group: true;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1.125rem;
}

.btn-accent {
  background-color: var(--brand-accent);
  color: white;
  box-shadow: 0 0 0 0 rgb(239 68 68 / 0.4);
}

.btn-accent:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgb(239 68 68 / 0.4);
}

.btn-outline {
  background-color: white;
  border: 2px solid var(--slate-200);
  color: var(--slate-700);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-dark {
  background-color: white;
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
}

.btn-dark:hover {
  background-color: var(--brand-dark);
  color: white;
}

.btn-slate {
  background-color: var(--slate-800);
  color: white;
}

.btn-slate:hover {
  background-color: var(--brand-dark);
}

/* Modal styles */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgb(15 23 42 / 0.9);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 1rem;
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  animation: fadeIn 0.3s ease-out;
}

.modal-header {
  background-color: var(--slate-50);
  padding: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 1.5rem;
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--slate-300);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.form-textarea {
  height: 6rem;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--slate-900);
  color: var(--slate-400);
  padding: 3rem 0;
  border-top: 1px solid var(--slate-800);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-logo {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 4rem;
  border-top: 1px solid var(--slate-800);
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-600);
  width: 100%;
  display: block;
  padding-top: 30px !important;
}

/* Responsive design */
@media (min-width: 768px) {
  .md\\:flex { display: flex; }
  .md\\:hidden { display: none; }
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\\:items-center { align-items: center; }
  .md\\:justify-between { justify-content: space-between; }
  .md\\:flex-row { flex-direction: row; }
  .md\\:text-center { text-align: center; }
  .md\\:text-left { text-align: left; }
  .md\\:order-1 { order: 1; }
  .md\\:order-2 { order: 2; }
  .md\\:translate-y-0 { transform: translateY(0); }
  .md\\:translate-y-4 { transform: translateY(1rem); }
  .md\\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\\:gap-8 { gap: 2rem; }
  .md\\:gap-12 { gap: 3rem; }
  .md\\:gap-16 { gap: 4rem; }
}

@media (min-width: 1024px) {
  .lg\\:flex-row { flex-direction: row; }
  .lg\\:w-1\/2 { width: 50%; }
  .lg\\:items-center { align-items: center; }
}

/* Custom component classes for WebDevPro theme */
.wdp-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fef2f2;
  color: var(--brand-accent);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border: 1px solid #fecaca;
}

.wdp-urgency-badge .pulse {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
}

.wdp-urgency-badge .pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #dc2626;
  animation: ping 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.wdp-urgency-badge .pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #dc2626;
}

.wdp-pricing-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transform: translateY(0);
  transition: all 0.3s;
  border: 4px solid var(--brand-accent);
  box-shadow: var(--shadow-2xl);
}

.wdp-pricing-card.featured {
  transform: translateY(-1rem);
}

.wdp-pricing-card .badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: var(--brand-accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.wdp-testimonial {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.wdp-testimonial .quote-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--slate-200);
  font-size: 2rem;
}

.wdp-testimonial .content {
  position: relative;
  z-index: 10;
  padding-top: 1rem;
  font-style: italic;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.wdp-testimonial .author {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--brand-dark);
}

/* Background patterns */
.pattern-dots {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(var(--slate-300) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

/* =========================================
   CUSTOM CSS FROM NEW DESIGN
   ========================================= */

/* CSS Variables & Reset */
:root {
    /* Colors */
    --color-dark: #0f172a;    /* Slate 900 */
    --color-primary: #3b82f6; /* Blue 500 */
    --color-accent: #ef4444;  /* Red 500 */
    --color-success: #22c55e; /* Green 500 */

    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-white: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--color-slate-50);
    color: var(--color-slate-800);
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Utility Classes (Helpers) */
.container {
    max-width: var(--container-width);
    padding: 0 1.5rem;
}

.hidden { display: none !important; }

/* Flex Helpers */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Text Helpers */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-dark { color: var(--color-dark); }

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }

/* Components & Sections */

/* Urgency Bar */
.urgency-bar {
    background-color: var(--color-accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.urgency-bar button {
    background: none;
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
    font-weight: bold;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid var(--color-slate-200);
    padding: 1rem 0;
    position: relative;
    z-index: 50;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.025em;
}
.nav-links {
    display: none; /* Mobile hidden */
    gap: 2rem;
}
.nav-links a {
    color: var(--color-slate-600);
    font-weight: 500;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.login-link {
    display: none;
    color: var(--color-slate-500);
    font-size: 0.875rem;
    font-weight: 600;
}
.login-link:hover { color: var(--color-dark); }
.btn-start {
    background-color: var(--color-dark);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: background 0.3s;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}
.btn-start:hover { background-color: var(--color-slate-700); }

@media(min-width: 768px) {
    .nav-links, .login-link { display: flex; }
}

/* Hero Section */
header.hero {
    background: white;
    padding: 5rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--color-slate-100);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media(min-width: 768px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    header.hero { padding: 8rem 0; }
    .hero-grid > div:first-child { order: 2; }
    .hero-grid > div:last-child { order: 1; }
}

/* Hero Left */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef2f2;
    color: var(--color-accent);
    border: 1px solid #fee2e2;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.ping-dot {
    position: relative;
    display: flex;
    height: 8px; width: 8px;
}
.ping-dot span:first-child {
    position: absolute;
    height: 100%; width: 100%;
    border-radius: 50%;
    background: #f87171;
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-dot span:last-child {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 8px; width: 8px;
    background: var(--color-accent);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}
@media(min-width: 768px) { .hero h1 { font-size: 3.75rem; } }

.hero p {
    font-size: 1.125rem;
    color: var(--color-slate-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media(min-width: 640px) { .hero-buttons { flex-direction: row; } }

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.15);
    transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover {
    background-color: #dc2626;
    transform: translateY(-4px);
}

.btn-secondary {
    background-color: white;
    color: var(--color-slate-700);
    border: 2px solid var(--color-slate-200);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Hero Right (Terminal) */
.terminal-wrapper { position: relative; }
.blob {
    position: absolute;
    width: 18rem; height: 18rem;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.5;
    z-index: 0;
}
.blob-blue { background: #dbeafe; top: -5rem; right: -5rem; }
.blob-red { background: #fee2e2; bottom: 2rem; left: -2rem; }

.terminal {
    background-color: var(--color-dark);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    border: 1px solid var(--color-slate-700);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(1deg);
    transition: transform 0.5s;
}
.terminal:hover { transform: rotate(0deg); }
.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-slate-700);
    padding-bottom: 1rem;
    align-items: center;
}
.dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-body {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
}
.code-line { margin-bottom: 0.25rem; display: block; }
.text-console-gray { color: #94a3b8; }
.text-console-red { color: #f87171; font-weight: bold; }
.text-console-blue { color: #60a5fa; }
.text-console-green { color: #4ade80; font-weight: bold; }

/* Fixes Grid Section */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.subtitle {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-slate-100);
    transition: 0.3s;
}
.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.icon-box {
    width: 3.5rem; height: 3.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}
.card:hover .icon-box { transform: scale(1.1); }
.icon-red { background: #fef2f2; color: #ef4444; }
.icon-orange { background: #fff7ed; color: #f97316; }
.icon-blue { background: #eff6ff; color: #3b82f6; }

.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--color-dark); }
.card p { color: var(--color-slate-600); line-height: 1.6; }

.link-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-top: 3rem;
}
.link-cta:hover { text-decoration: underline; }

/* Development Section */
.dev-section {
    background: white;
    border-top: 1px solid var(--color-slate-100);
    position: relative;
    overflow: hidden;
}
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}
@media(min-width: 1024px) {
    .split-layout { flex-direction: row; }
    .split-half { width: 50%; }
}

.img-wrapper { position: relative; }
.img-bg-decoration {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: var(--radius-2xl);
    transform: rotate(3deg);
    opacity: 0.1;
}
.main-img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
    border: 1px solid var(--color-slate-100);
}
.floating-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-slate-100);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.pulse-slow { animation: pulse 3s infinite; }

.portal-feature {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}
.portal-icon {
    background: white;
    padding: 0.75rem;
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}

.check-list { margin-bottom: 2rem; }
.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-slate-700);
}
.btn-outline-dark {
    border: 2px solid var(--color-dark);
    background: white;
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: 0.3s;
}
.btn-outline-dark:hover { background: var(--color-dark); color: white; }

/* Portfolio Section */
.portfolio-lock {
    width: 4rem; height: 4rem;
    background: var(--color-slate-200);
    color: var(--color-slate-600);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.request-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-slate-200);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
    max-width: 42rem;
    margin: 0 auto;
    position: relative;
}
.btn-dark {
    background: var(--color-slate-800);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}
.btn-dark:hover { background: var(--color-dark); }

.testimonials {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
    text-align: left;
}
@media(min-width: 768px) { .testimonials { grid-template-columns: 1fr 1fr; } }

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-slate-100);
    position: relative;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--color-dark);
    color: white;
    position: relative;
}
.bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#4b5563 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.1;
}
.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
@media(min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr 1fr; align-items: center; } }

/* Pricing Card 1 (Fix) */
.price-card-highlight {
    background: white;
    color: var(--color-slate-800);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 4px solid var(--color-accent);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}
@media(min-width: 768px) { .price-card-highlight { transform: translateY(-1rem); } }

.badge-urgent {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Pricing Card 2 & 3 */
.price-card {
    background: var(--color-slate-800);
    border: 1px solid var(--color-slate-700);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    transition: border 0.3s;
}
.price-card:hover { border-color: var(--color-slate-600); }

.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 1.5rem; }
.price-sub { font-size: 1.125rem; font-weight: 400; color: var(--color-slate-400); }
.price-list { margin-bottom: 2rem; font-size: 0.875rem; color: var(--color-slate-300); }
.price-list li { display: flex; gap: 0.75rem; margin-bottom: 1rem; }

.price-list-dark { margin-bottom: 2rem; font-size: 0.875rem; font-weight: 500; }
.price-list-dark li { display: flex; gap: 0.75rem; margin-bottom: 1rem; }

.btn-full-accent {
    width: 100%; display: block;
    background: var(--color-accent);
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.125rem;
    transition: 0.3s;
}
.btn-full-accent:hover { background: #dc2626; }

.btn-full-dark {
    width: 100%; display: block;
    background: var(--color-slate-700);
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    transition: 0.3s;
}
.btn-full-dark:hover { background: var(--color-slate-600); }

.btn-full-outline {
    width: 100%; display: block;
    border: 1px solid var(--color-slate-600);
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    transition: 0.3s;
}
.btn-full-outline:hover { background: white; color: var(--color-dark); }

/* Footer */
footer {
    background: #0f172a; /* Slate 900 */
    color: var(--color-slate-400);
    padding: 3rem 0;
    border-top: 1px solid var(--color-slate-800);
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media(min-width: 768px) {
    .footer-content { flex-direction: row; justify-content: space-between; align-items: center; }
}
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; font-weight: 500; }
@media(min-width: 768px) { .footer-links { flex-direction: row; gap: 2rem; } }

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease-out;
    position: relative;
}

.modal-header {
    background: var(--color-slate-50);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.close-btn { color: var(--color-slate-400); font-size: 1.25rem; transition: 0.2s; background: transparent; border: none; padding: 0; }
.close-btn:hover { color: var(--color-accent); }

.modal-body { padding: 1.5rem; }

.info-box {
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    display: flex;
    gap: 0.5rem;
}
.info-yellow { background: #fefce8; border: 1px solid #fef9c3; color: #854d0e; }
.info-blue { background: #eff6ff; border: 1px solid #dbeafe; color: #1e40af; }

form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-slate-600);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
form input, form textarea, form select {
    width: 100%;
    border: 1px solid var(--color-slate-300);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    margin-bottom: 1rem;
    outline: none;
}
form input:focus, form textarea:focus, form select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-slate-100);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.btn-pay {
    width: 100%;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}
.btn-pay:hover { background: #2563eb; }

/* =========================================
   BLOG SINGLE PAGE STYLES
   ========================================= */

/* Page Layout */
.page-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .page-wrapper {
        flex-direction: row;
    }
}

.content-column {
    width: 100%;
}

.sidebar-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-column { width: 66.666667%; }
    .sidebar-column { width: 33.333333%; }
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
}
.breadcrumbs a:hover { color: var(--brand-primary); }
.breadcrumbs .current { color: var(--slate-600); font-weight: 500; }

/* Post Header */
.post-header { margin-bottom: 2rem; }

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--blue-50);
    color: var(--brand-primary);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .post-title { font-size: 3rem; } }

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 2rem;
}

.author-avatar-sm {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: var(--brand-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.meta-text { color: var(--slate-500); }
.meta-sep { color: var(--slate-400); }

/* Featured Image */
.post-featured-image {
    margin-bottom: 2rem;
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-content {
    font-size: 1.125rem;
    color: var(--slate-600);
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--slate-600);
}

.article-content strong {
    color: var(--brand-dark);
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.article-content code {
    background-color: var(--slate-100);
    color: var(--brand-accent);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.9em;
}

.article-content pre {
    background-color: var(--brand-dark);
    color: var(--slate-200);
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.article-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.875rem;
}

.article-content blockquote {
    border-left: 4px solid var(--brand-primary);
    padding-left: 1rem;
    font-style: italic;
    color: var(--slate-700);
    margin-bottom: 1.5rem;
    background: var(--blue-50);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

/* Tags */
.tags-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-200);
    display: flex;
    gap: 0.5rem;
}

.tag {
    background-color: var(--slate-100);
    color: var(--slate-600);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Author Box */
.author-box {
    margin-top: 3rem;
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar-lg {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background-color: var(--brand-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--slate-600);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.author-link {
    color: var(--brand-primary);
    font-weight: 700;
}
.author-link:hover { text-decoration: underline; }

/* Sidebar Widgets */
.widget {
    background-color: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 0.5rem;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}
.toc-list a:hover { color: var(--brand-primary); }

/* CTA Widget */
.widget-cta {
    background-color: var(--brand-dark);
    color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    position: sticky;
    top: 6rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.widget-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background-color: #3b82f6;
    border-radius: 9999px;
    filter: blur(40px);
    opacity: 0.2;
    transform: translate(50%, -50%);
}

.cta-content { position: relative; z-index: 10; }

.cta-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-desc {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.btn-hire {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--white);
    color: var(--brand-dark);
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    margin-bottom: 0.75rem;
}
.btn-hire:hover { background-color: var(--slate-100); }

.cta-guarantee {
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* Newsletter Widget */
.widget-newsletter {
    background-color: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 1rem;
    padding: 1.5rem;
}

.newsletter-title {
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.newsletter-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 1rem;
}

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

.newsletter-input {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--blue-200);
    outline: none;
}
.newsletter-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.btn-submit {
    background-color: var(--brand-primary);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-submit:hover { background-color: #2563eb; }

/* Related Articles */
.related-section {
    background-color: var(--slate-50);
    padding: 4rem 0;
    border-top: 1px solid var(--slate-200);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.related-card {
    display: block;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-100);
    transition: all 0.2s;
}
.related-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.related-date {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
}

.related-title {
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.related-card:hover .related-title { color: var(--brand-primary); }

.related-desc {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Page Header */
.page-header {
    background-color: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--slate-200);
}

@media (min-width: 768px) {
    .page-header { padding: 5rem 0; }
}

.header-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.header-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .header-title { font-size: 3rem; }
}

.header-desc {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.625;
}

/* Contact Layout */
.contact-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .contact-section { padding: 6rem 0; }
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        flex-direction: row;
    }
    .col-main { width: 66.666667%; }
    .col-sidebar { width: 33.333333%; }
}

/* Contact Form Card */
.card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
}

.contact-card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    padding-bottom: 2.5rem;
    padding: 1.5em;
}

.home-card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    padding-bottom: 2.5rem;
    padding: 1.5em;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid-2 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-600);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
    background-color: var(--white);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.form-textarea {
    height: 10rem;
    resize: vertical;
}

.btn-submit {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .btn-submit { width: auto; }
}

.btn-submit:hover {
    background-color: var(--slate-700);
}

/* Sidebar Widgets */
.sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Emergency Box */
.emergency-box {
    background-color: var(--red-50);
    border: 1px solid var(--red-100);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
}

.emergency-blob {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--red-100);
    border-radius: 9999px;
    filter: blur(24px);
}

.emergency-content {
    position: relative;
    z-index: 10;
}

.emergency-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emergency-text {
    font-size: 0.875rem;
    color: var(--slate-700);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-emergency {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--brand-accent);
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px -1px var(--red-200);
    margin-bottom: 0.75rem;
}

.btn-emergency:hover {
    background-color: var(--red-600);
}

.emergency-note {
    font-size: 0.75rem;
    color: var(--red-400);
    text-align: center;
    margin-top: 0.75rem;
}

/* Channels Box */
.channels-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.channel-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--blue-50);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.channel-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
}

.channel-link {
    color: var(--brand-dark);
    font-weight: 500;
    display: block;
}

.channel-link:hover {
    color: var(--brand-primary);
}

.channel-sub {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--slate-100);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .faq-section { padding: 6rem 0; }
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

.faq-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
}

.faq-question {
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.faq-answer {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.625;
}

/* =========================================
   404 PAGE STYLES
   ========================================= */

.error-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Background Blobs */
.blob {
    position: absolute;
    width: 20rem;
    height: 20rem;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
}
.blob-1 { top: 10%; right: 10%; background-color: var(--blue-50); }
.blob-2 { bottom: 10%; left: 10%; background-color: var(--slate-200); }

.error-content {
    position: relative;
    z-index: 10;
    max-width: 32rem;
    margin: 0 auto;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 0 rgba(59, 130, 246, 0.1);
}

@media (min-width: 768px) {
    .error-code { font-size: 8rem; }
}

.error-icon {
    font-size: 4rem;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.error-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.error-desc {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 480px) {
    .action-buttons { flex-direction: row; }
}

.btn-home {
    background-color: var(--brand-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-home:hover {
    background-color: #2563eb;
}

.btn-outline {
    background-color: var(--white);
    color: var(--slate-600);
    border: 1px solid var(--slate-200);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

/* =========================================
   BLOG PAGE STYLES
   ========================================= */

/* Notification Bar */
.notification-bar {
    background-color: var(--brand-accent);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.notification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.notification-link {
    text-decoration: underline;
    margin-left: 0.5rem;
}

.notification-link:hover {
    color: var(--slate-200);
}

/* Navigation */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
    position: relative;
    z-index: 40;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.025em;
}

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

.nav a .text-primary {
    color: var(--brand-primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
    color: var(--slate-600);
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

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

.nav-active {
    color: var(--brand-primary);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.client-login {
    display: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-500);
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .client-login { display: flex; }
}

.client-login:hover {
    color: var(--brand-dark);
}

.btn-cta {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.btn-cta:hover {
    background-color: var(--slate-700);
}

/* Page Header */
.page-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 768px) {
    .page-header { padding: 6rem 0; }
}

/* Background blobs */
.blob {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border-radius: 9999px;
    filter: blur(40px);
    opacity: 0.6;
}
.blob-1 { top: 0; right: 0; background-color: #eff6ff; transform: translate(50%, -50%); }
.blob-2 { bottom: 0; left: 0; background-color: #f1f5f9; transform: translate(-50%, 50%); }

.header-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
}

.header-tag {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.header-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .header-title { font-size: 3rem; }
}

.header-desc {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.625;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .blog-section { padding: 3rem 0; }
}

/* Filters */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.btn-filter {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid var(--slate-200);
    background-color: var(--white);
    color: var(--slate-600);
    transition: all 0.2s;
}

/* Category-specific filter button colors */
.btn-filter.badge-blue:not(.active),
.btn-filter.badge-white-red:not(.active),
.btn-filter.badge-green:not(.active),
.btn-filter.badge-slate:not(.active) {
    background-color: var(--white) !important;
    color: var(--slate-800) !important;
    border-color: var(--slate-200) !important;
}

.btn-filter.active {
    background-color: var(--brand-dark) !important;
    color: var(--white) !important;
    border-color: var(--brand-dark) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-filter:not(.active):hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Override hover for category-colored buttons */
.btn-filter.badge-blue:not(.active):hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: var(--white);
}

.btn-filter.badge-white-red:not(.active):hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: var(--white);
}

.btn-filter.badge-green:not(.active):hover {
    background-color: #16a34a;
    border-color: #16a34a;
    color: var(--white);
}

.btn-filter.badge-slate:not(.active):hover {
    background-color: var(--slate-700);
    border-color: var(--slate-700);
    color: var(--white);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Article Card */
.card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-image-wrapper {
    height: 12rem;
    background-color: var(--slate-200);
    position: relative;
    overflow: hidden;
    margin: -1px;
    margin-bottom: 0;
    border-radius: 1rem 1rem 0 0;
}

.card-bg-gradient {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.75rem;
    color: rgba(255, 255, 255, 0.2);
}

.card:hover .card-bg-gradient i {
    transform: scale(1.05);
    transition: transform 0.5s;
}

/* Gradient Colors */
.grad-linux { background: linear-gradient(135deg, var(--slate-800), var(--brand-dark)); }
.grad-bug { background: linear-gradient(135deg, var(--brand-accent), #dc2626); }
.grad-python { background: linear-gradient(135deg, #16a34a, #14532d); }
.grad-business { background: var(--slate-100); color: var(--slate-300) !important; }

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.badge-blue { background-color: var(--brand-primary); color: var(--white); }
.badge-white-red { background-color: var(--white); color: var(--white); border: 1px solid var(--brand-accent); }
.badge-green { background-color: #22c55e; color: var(--white); }
.badge-slate { background-color: var(--slate-600); color: var(--white); }

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

.meta {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.card:hover .card-title {
    color: var(--brand-primary);
}

.card-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: auto;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more i {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

/* Pagination */
.pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link-icon {
    border: 1px solid var(--slate-200);
    color: var(--slate-500);
}
.page-link-icon:hover { background-color: var(--slate-100); }

.page-link-active {
    background-color: var(--brand-primary);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.page-link-num {
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    font-weight: 500;
}
.page-link-num:hover { background-color: var(--slate-100); }

/* CTA Section */
.cta-section {
    background-color: var(--brand-dark);
    padding: 4rem 0;
    border-top: 1px solid var(--slate-800);
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title { font-size: 1.875rem; }
}

.cta-text {
    color: var(--slate-400);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-urgent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.2);
    transition: background-color 0.2s;
}

.btn-urgent:hover {
    background-color: #dc2626;
}

/* Footer */
.site-footer {
    background-color: var(--slate-900);
    color: var(--slate-400);
    padding: 3rem 0;
    border-top: 1px solid var(--slate-800);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        align-items: center;
    }
}

.footer-brand span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    display: block;
}

.footer-desc {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    max-width: 20rem;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer-links { flex-direction: row; }
}

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

.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-600);
}

/* =========================================
   THEMES PAGE STYLES
   ========================================= */

/* Notification Bar */
.notification-bar {
    background-color: var(--brand-accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.notification-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.notification-bar button {
    background: none;
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
    font-weight: bold;
}

/* Main Navigation */
.main-nav {
    background-color: white;
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
    position: relative;
    z-index: 40;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.025em;
}
.nav-links {
    display: none;
    gap: 2rem;
    font-weight: 500;
    color: var(--slate-600);
    align-items: center;
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
}
.nav-links a:hover {
    color: var(--brand-primary);
}
.nav-active {
    color: var(--brand-primary);
    font-weight: 700;
}
.btn-cta {
    background-color: var(--brand-dark);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
}
.btn-cta:hover {
    background-color: var(--slate-700);
}

/* Page Header */
.page-header {
    background-color: white;
    padding: 4rem 0;
    border-bottom: 1px solid var(--slate-200);
    text-align: center;
}
@media (min-width: 768px) {
    .page-header { padding: 6rem 0; }
}
.header-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .header-title { font-size: 3rem; }
}
.header-desc {
    font-size: 1.125rem;
    color: var(--slate-600);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--slate-200);
    background-color: white;
    color: var(--slate-600);
    transition: all 0.2s;
}
.filter-btn.active {
    background-color: var(--brand-dark);
    color: white;
    border-color: var(--brand-dark);
}
.filter-btn:not(.active):hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Themes Section */
.themes-section {
    padding: 4rem 0;
}

/* Themes Grid */
.themes-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .themes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .themes-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Theme Card */
.theme-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Fade animation for filtering */
.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* Theme Card Preview */
.card-preview {
    height: 14rem;
    width: 100%;
    background-color: var(--slate-100);
    position: relative;
    border-bottom: 1px solid var(--slate-100);
    overflow: hidden;
}
.browser-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.browser-bar {
    height: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    gap: 0.25rem;
}
.browser-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}
.dot-red { background-color: #fca5a5; }
.dot-yellow { background-color: #fcd34d; }
.dot-green { background-color: #86efac; }
.browser-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Theme Card Body */
.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    background-color: var(--slate-50);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
.card-desc {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Pricing Block */
.pricing-block {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}
.pricing-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* Radio Options */
.radio-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}
.radio-option:hover {
    background-color: var(--slate-50);
}
.radio-option:has(input:checked) {
    background-color: #eff6ff;
    border-color: var(--slate-200);
}
.radio-label-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}
.radio-price {
    font-weight: 800;
    color: var(--brand-dark);
    font-size: 0.875rem;
}
input[type="radio"] {
    accent-color: var(--brand-primary);
    width: 1rem;
    height: 1rem;
}

/* Card Footer */
.card-footer {
    display: flex;
    gap: 0.75rem;
}
.btn-preview {
    flex: 1;
    font-size: 0.875rem;
    color: var(--slate-600);
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    text-align: center;
    transition: all 0.2s;
}
.btn-preview:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background-color: white;
}
.btn-buy {
    flex: 1;
    background-color: var(--brand-dark);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: background 0.2s;
}
.btn-buy:hover {
    background-color: var(--brand-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.page-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}
.page-link-icon {
    border: 1px solid var(--slate-200);
    color: var(--slate-500);
}
.page-link-icon:hover {
    background-color: var(--slate-100);
}
.page-link-active {
    background-color: var(--brand-primary);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}
.page-link-num {
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    font-weight: 500;
}
.page-link-num:hover {
    background-color: var(--slate-100);
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 4rem 0;
    border-top: 1px solid var(--slate-200);
}
.faq-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) {
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
.faq-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
.faq-item p {
    color: var(--slate-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mock Colors for Themes */
.mock-saas { background: var(--brand-dark); }
.mock-eco { background: #059669; }
.mock-blog { background: #ea580c; }
.mock-agency { background: #2563eb; }

/* Site Footer */
.site-footer {
    background-color: var(--slate-900);
    color: var(--slate-400);
    padding: 3rem 0;
    border-top: 1px solid var(--slate-800);
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 768px) {
    .footer-content { flex-direction: row; }
}
.footer-brand span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    display: block;
}
.footer-brand p {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    max-width: 20rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.footer-links a:hover {
    color: white;
}
.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-600);
}

/* Modal Styles for Themes */
.checkoutModal .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.checkoutModal .modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}
.checkoutModal .modal-window {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease-out;
    position: relative;
}
.checkoutModal .modal-header {
    background: var(--slate-50);
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkoutModal .close-btn {
    color: var(--slate-400);
    font-size: 1.25rem;
    transition: 0.2s;
}
.checkoutModal .close-btn:hover {
    color: var(--brand-accent);
}
.checkoutModal .modal-body {
    padding: 1.5rem;
}
