/* 
 * Smart Kitchen Suite - Premium UI/UX Design
 * Based on: restaurantsexperts.com reference
 * Modern, Professional, Interactive
 */

/* =========================================
   1. Base & Typography (Inter Font Family)
   ========================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Slate Color Palette */
  --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-slate-900: #0f172a;
  --color-slate-950: #020617;

  /* Brand Colors */
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-indigo-500: #6366f1;
  --color-indigo-600: #4f46e5;
  --color-violet-500: #8b5cf6;
  --color-violet-600: #7c3aed;
  --color-emerald-50: #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-amber-500: #f59e0b;
  --color-rose-500: #f43f5e;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --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);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--color-slate-50);
  font-family: var(--font-sans);
  color: var(--color-slate-800);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* =========================================
   2. Layout Utilities
   ========================================= */
#sks-wrapper {
  min-height: 100vh;
}

.sks-max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.sks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .sks-grid {
    grid-template-columns: 7fr 3fr;
  }
}

/* =========================================
   3. Hero Section (Dark Gradient Header)
   ========================================= */
.sks-hero {
  background: linear-gradient(
    135deg,
    var(--color-slate-900) 0%,
    var(--color-slate-800) 50%,
    #1a1f35 100%
  );
  color: white;
  padding: 3rem 0 7rem 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.sks-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.sks-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-slate-400);
  margin-bottom: 2rem;
  position: relative;
}

.sks-breadcrumb a {
  transition: color var(--transition-fast);
}

.sks-breadcrumb a:hover {
  color: white;
}

.sks-breadcrumb-separator {
  color: var(--color-slate-600);
}

.sks-hero-content {
  position: relative;
}

.sks-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === ENHANCED HERO CENTER LAYOUT === */
.sks-hero-center {
  text-align: center;
  padding-top: 2rem;
}

.sks-hero-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.sks-hero-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.4) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: sks-pulse 2s ease-in-out infinite;
}

.sks-hero-icon-large {
  position: relative;
  font-size: 5rem;
  line-height: 1;
  animation: sks-float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

@keyframes sks-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

@keyframes sks-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.sks-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sks-hero-description {
  font-size: 1.25rem;
  color: var(--color-slate-300);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.sks-stats-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.sks-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-normal);
}

.sks-stat-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sks-badge-icon {
  font-size: 1.1rem;
}

/* Old hero icon (backward compat) */
.sks-hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: sks-float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.sks-hero-content p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.sks-stat-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* =========================================
   4. Main Content Area (Overlapping Card)
   ========================================= */
.sks-main-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -5rem;
  padding-bottom: 5rem;
}

/* =========================================
   5. Card Components
   ========================================= */
.sks-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-slate-100);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform var(--transition-slow),
    box-shadow var(--transition-slow);
}

.sks-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -15px rgb(0 0 0 / 0.3);
}

/* Tool Header (Gradient) */
.sks-tool-header {
  background: linear-gradient(135deg, var(--color-emerald-50) 0%, #f0fdf4 100%);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-emerald-100);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sks-tool-header h2 {
  color: var(--color-emerald-700);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.sks-tool-header-icon {
  width: 3rem;
  height: 3rem;
  background: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-500);
  box-shadow: var(--shadow-md);
  font-size: 1.5rem;
}

/* =========================================
   6. CALCULATOR - PROFESSIONAL DESIGN
   ========================================= */

/* Calculator Wrapper */
.sks-calc-wrapper {
  display: grid;
  gap: 1rem;
  animation: sks-fade-in 0.5s ease;
}

@keyframes sks-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .sks-calc-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Section Headers */
.sks-calc-section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 1.25rem 1.25rem 0 0;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sks-calc-section-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.sks-calc-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.sks-header-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

/* Inputs Section */
.sks-calc-inputs {
  margin: 10px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 1.5rem;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.sks-calc-inputs:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* Input Groups */
.sks-input-group {
  margin-bottom: 1.75rem;
}

.sks-input-group:last-of-type {
  margin-bottom: 0;
}

.sks-input-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.sks-calc-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 1rem;
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sks-calc-input:hover {
  border-color: #94a3b8;
  background: white;
}

.sks-calc-input:focus {
  border-color: #6366f1;
  background: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sks-calc-input::placeholder {
  color: #94a3b8;
}

/* Error State */
.sks-input-error {
  border-color: #ef4444 !important;
  animation: sks-shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes sks-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

/* Select Wrapper */
.sks-select-wrap {
  position: relative;
}

.sks-select-wrap select {
  appearance: none;
  padding-right: 3.5rem;
  cursor: pointer;
}

.sks-select-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #64748b;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.sks-select-wrap select:focus + .sks-select-icon {
  transform: translateY(-50%) rotate(180deg);
  color: #6366f1;
}

/* Calculate Button - PREMIUM */
.sks-calc-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.2rem 2rem;
  margin-top: 2rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border: none;
  border-radius: 1.25rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25), 0 1px 3px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Button shine effect */
.sks-calc-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.sks-calc-button:hover::before {
  left: 100%;
}

.sks-calc-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.35), 0 5px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #000000 0%, #1e293b 50%, #334155 100%);
}

.sks-calc-button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.sks-btn-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sks-btn-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.sks-calc-button:hover .sks-btn-arrow {
  transform: translateX(6px);
}

/* Button Loading State */
.sks-button-loading {
  opacity: 0.8;
  cursor: wait;
  pointer-events: none;
}

.sks-button-loading .sks-btn-arrow {
  animation: sks-spin 1s linear infinite;
}

@keyframes sks-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Button Shake */
.sks-button-shake {
  animation: sks-btn-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes sks-btn-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-6px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(6px);
  }
}

/* Results Section - HIDDEN BY DEFAULT */
.sks-calc-results {
  display: none; /* CRITICAL: Hidden until calculate is clicked */
  padding: 2.5rem;
  margin: 10px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 1.5rem;
  border: 2px solid #86efac;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.12);
}

/* Result Items */
.sks-result-item {
  padding: 2rem;
  background: white;
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #d1fae5;
  transition: all 0.3s ease;
}

.sks-result-item:last-child {
  margin-bottom: 0;
}

.sks-result-item:hover {
  border-color: #86efac;
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.1);
  transform: translateY(-3px);
}

.sks-result-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.sks-result-value {
  font-size: 3rem;
  font-weight: 900;
  color: #047857;
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.sks-result-unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: #059669;
  margin-top: 0.5rem;
}

/* Value Flash Animation */
.sks-value-flash {
  animation: sks-flash 0.6s ease;
}

@keyframes sks-flash {
  0%,
  100% {
    transform: scale(1);
    color: #047857;
  }
  50% {
    transform: scale(1.1);
    color: #10b981;
  }
}

/* Error Display */
.sks-error {
  padding: 2rem;
  text-align: center;
  color: #dc2626;
  font-weight: 600;
  background: #fee2e2;
  border-radius: 1rem;
  border: 2px solid #fca5a5;
}

/* Responsive */
@media (max-width: 1023px) {
  .sks-calc-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .sks-result-value {
    font-size: 2.5rem;
  }
}

/* Responsive Adjustments */

/* =========================================
   7. Sidebar Widgets
   ========================================= */
.sks-col-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 360px;
  width: 100%;
}

.sks-widget {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-slate-100);
}

.sks-widget-header {
  background: linear-gradient(
    135deg,
    var(--color-violet-600) 0%,
    var(--color-indigo-600) 100%
  );
  padding: 1.25rem 1.5rem;
}

.sks-widget-title {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sks-widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sks-widget-item {
  border-bottom: 1px solid var(--color-slate-100);
}

.sks-widget-item:last-child {
  border-bottom: none;
}

.sks-widget-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  transition: all var(--transition-fast);
}

.sks-widget-link:hover {
  background: var(--color-slate-50);
  padding-left: 1.75rem;
}

.sks-widget-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(
    135deg,
    var(--color-slate-100) 0%,
    var(--color-slate-50) 100%
  );
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* =========================================
   8. Content Sections (Overview, FAQ, etc.)
   ========================================= */
.sks-section {
  margin-top: 3rem;
}

.sks-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sks-section-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--color-indigo-600) 0%,
    var(--color-violet-600) 100%
  );
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.sks-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0;
  letter-spacing: -0.025em;
}

.sks-content-box {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-600);
  font-size: 1.0625rem;
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}

.sks-content-box ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.sks-content-box li {
  margin-bottom: 0.75rem;
  position: relative;
}

.sks-content-box li::marker {
  color: var(--color-emerald-500);
}

/* FAQ Accordion */
.sks-content-box details {
  border: 1px solid var(--color-slate-200);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.sks-content-box details summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: var(--color-slate-50);
  font-weight: 600;
  color: var(--color-slate-800);
  transition: background var(--transition-fast);
  list-style: none;
}

.sks-content-box details summary::-webkit-details-marker {
  display: none;
}

.sks-content-box details summary::before {
  content: "+";
  margin-right: 0.75rem;
  font-weight: bold;
  color: var(--color-indigo-600);
}

.sks-content-box details[open] summary::before {
  content: "−";
}

.sks-content-box details summary:hover {
  background: var(--color-slate-100);
}

.sks-content-box details p {
  padding: 1rem 1.25rem;
  margin: 0;
  background: white;
  border-top: 1px solid var(--color-slate-100);
}

/* =========================================
   9. Loading & Error States
   ========================================= */
.sks-spin {
  animation: sks-spin 1s linear infinite;
}

@keyframes sks-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sks-error-message {
  padding: 2rem;
  text-align: center;
  color: var(--color-rose-500);
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 0.75rem;
}

/* =========================================
   10. Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
  .sks-hero {
    padding: 2rem 0 5rem 0;
  }

  .sks-main-wrapper {
    margin-top: -3rem;
  }

  .sks-tool-render-area {
    padding: 1.5rem;
  }

  .sks-result-value {
    font-size: 2rem;
  }

  .sks-content-box {
    padding: 1.5rem;
  }
}

/* =========================================
   11. Print Styles
   ========================================= */
@media print {
  .sks-hero {
    background: #333 !important;
    -webkit-print-color-adjust: exact;
  }

  .sks-widget {
    display: none;
  }
}

/* =========================================
   12. Archive/Category Page Styles
   ========================================= */
.sks-page-wrapper {
  min-height: 100vh;
  background: var(--color-slate-50);
}

.sks-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sks-category-hero {
  background: linear-gradient(
    135deg,
    var(--color-slate-900) 0%,
    #1a1f35 50%,
    var(--color-slate-800) 100%
  );
  padding: 4rem 0;
  position: relative;
}

.sks-archive-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin: 0 0 1rem 0;
}

.sks-archive-description {
  color: var(--color-slate-300);
  font-size: 1.125rem;
}

.sks-archive-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
  .sks-archive-container {
    grid-template-columns: 280px 1fr;
  }
}

.sks-archive-sidebar .sks-widget h3 {
  background: var(--color-slate-900);
  color: white;
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
}

.sks-category-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sks-category-nav a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--color-slate-600);
  border-bottom: 1px solid var(--color-slate-100);
  transition: all var(--transition-fast);
}

.sks-category-nav a:hover {
  background: var(--color-slate-50);
  color: var(--color-slate-900);
}

.sks-category-nav a.active {
  background: var(--color-blue-500);
  color: white;
}

.sks-tools-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.sks-tool-card-modern {
  background: white;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-slate-100);
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sks-tool-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.sks-card-icon {
  background: var(--color-slate-50);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-slate-100);
}

.sks-card-icon .dashicons {
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  color: var(--color-emerald-500);
}

.sks-card-body {
  padding: 1.5rem;
  flex: 1;
}

.sks-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin: 0 0 0.5rem 0;
}

.sks-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin: 0;
}

.sks-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-slate-100);
  background: var(--color-slate-50);
}

.sks-btn-outline {
  background: transparent;
  border: 2px solid var(--color-slate-300);
  color: var(--color-slate-600);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.8125rem;
}

.sks-tool-card-modern:hover .sks-btn-outline {
  background: var(--color-slate-900);
  border-color: var(--color-slate-900);
  color: white;
}

.sks-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* =========================================
   13. PREMIUM HERO SECTION (Split Layout)
   ========================================= */
.sks-pro-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
  color: white;
  padding: 2.5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Animated Grid Background */
.sks-hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(99, 102, 241, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: sks-grid-move 20s linear infinite;
  pointer-events: none;
}

@keyframes sks-grid-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* Glowing Orbs */
.sks-hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: sks-orb-float 8s ease-in-out infinite;
}

.sks-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.3);
  top: -100px;
  right: 10%;
}

.sks-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.2);
  bottom: -50px;
  left: 5%;
  animation-delay: -4s;
}

@keyframes sks-orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.1);
  }
}

/* Split Layout */
.sks-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (min-width: 1024px) {
  .sks-hero-split {
    grid-template-columns: 1fr auto;
    gap: 4rem;
  }
}

/* Icon Side (Left) */
.sks-hero-icon-side {
  display: flex;
  justify-content: center;
}

.sks-hero-icon-container {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sks-icon-glow-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.4);
  animation: sks-ring-pulse 3s ease-in-out infinite;
}

.sks-icon-glow-ring.sks-ring-2 {
  width: 140%;
  height: 140%;
  border-color: rgba(99, 102, 241, 0.2);
  animation-delay: -1.5s;
}

@keyframes sks-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.sks-hero-big-icon {
  font-size: 8rem;
  line-height: 1;
  animation: sks-float 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #60a5fa 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 15px 45px rgba(99, 102, 241, 0.5));
}

.sks-hero-big-icon .dashicons {
  font-size: 8rem;
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sks-hero-big-icon svg {
  width: 8rem;
  height: 8rem;
  stroke: #8b5cf6;
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
}

/* Content Side (Right) */
.sks-hero-content-side {
  text-align: left;
}

@media (max-width: 1023px) {
  .sks-hero-content-side {
    text-align: center;
  }
}

.sks-hero-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.3)
  );
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a5b4fc;
  margin-bottom: 1rem;
}

.sks-hero-main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sks-hero-main-desc {
  font-size: 1.25rem;
  color: #94a3b8;
  margin: 0 0 1.5rem 0;
  max-width: 600px;
  line-height: 1.7;
}

@media (max-width: 1023px) {
  .sks-hero-main-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

.sks-hero-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .sks-hero-stats {
    justify-content: flex-start;
  }
}

.sks-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.sks-stat-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* CTA Button */
.sks-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sks-hero-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.sks-hero-cta-btn:hover::before {
  left: 100%;
}

.sks-hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.5);
}

.sks-cta-arrow {
  transition: transform 0.3s ease;
}

.sks-hero-cta-btn:hover .sks-cta-arrow {
  transform: translateX(5px);
}

/* Breadcrumb Current */
.sks-breadcrumb-current {
  color: white;
  font-weight: 600;
}

/* =========================================
   14. ENHANCED WIDGETS
   ========================================= */

/* Widget Header Gradients */
.sks-header-gradient-1 {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
}
.sks-header-gradient-2 {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}
.sks-header-gradient-3 {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.sks-header-gradient-4 {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}
.sks-header-gradient-5 {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}
.sks-header-gradient-6 {
  background: linear-gradient(135deg, #ec4899, #db2777) !important;
}
.sks-header-gradient-7 {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
}

.sks-widget-body {
  padding: 1.5rem;
}

/* Stats Widget */
.sks-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-slate-100);
}

.sks-stat-row:last-child {
  border-bottom: none;
}

.sks-stat-label {
  color: var(--color-slate-500);
  font-size: 0.9rem;
}

.sks-stat-value {
  font-weight: 700;
  color: var(--color-slate-900);
}

/* Features Grid */
.sks-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sks-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--color-slate-100);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-slate-700);
  transition: all 0.2s;
}

.sks-feature-badge:hover {
  background: var(--color-slate-200);
}

.sks-feature-badge .dashicons {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  color: var(--color-indigo-500);
}

/* Rank Badge */
.sks-rank-badge {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Related Items */
.sks-item-related .sks-widget-link {
  justify-content: space-between;
}

.sks-arrow {
  color: var(--color-slate-400);
  transition: all 0.2s;
}

.sks-item-related:hover .sks-arrow {
  color: var(--color-indigo-500);
  transform: translateX(3px);
}

.sks-icon-small {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

/* Newsletter Widget */
.sks-newsletter-text {
  color: var(--color-slate-600);
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
}

.sks-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sks-newsletter-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-slate-200);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.sks-newsletter-input:focus {
  border-color: var(--color-indigo-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.sks-newsletter-btn {
  padding: 0.75rem 1rem;
  background: linear-gradient(
    135deg,
    var(--color-indigo-600),
    var(--color-violet-600)
  );
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.sks-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

/* Share Widget */
.sks-share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sks-share-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.sks-share-twitter {
  background: #000;
}
.sks-share-facebook {
  background: #1877f2;
}
.sks-share-linkedin {
  background: #0a66c2;
}
.sks-share-pinterest {
  background: #e60023;
}
.sks-share-copy {
  background: var(--color-slate-700);
}

.sks-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================
   15. AD BANNERS
   ========================================= */
.sks-ad-banner {
  margin: 2rem 0;
  text-align: center;
}

.sks-ad-label {
  font-size: 0.7rem;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.sks-ad-placeholder {
  background: linear-gradient(
    135deg,
    var(--color-slate-100),
    var(--color-slate-50)
  );
  border: 2px dashed var(--color-slate-300);
  border-radius: 0.75rem;
  padding: 2rem;
  color: var(--color-slate-400);
  font-size: 0.9rem;
}

.sks-ad-large {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sks-sidebar-ad {
  background: linear-gradient(
    135deg,
    var(--color-slate-100),
    var(--color-slate-50)
  );
  border: 2px dashed var(--color-slate-300);
  border-radius: 0.75rem;
  padding: 3rem 1rem;
  color: var(--color-slate-400);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sks-ad-sticky {
  position: sticky;
  top: 100px;
}

/* =========================================
   16. ADDITIONAL CONTENT STYLES
   ========================================= */

/* Section Icon Colors */
.sks-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}
.sks-icon-green {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}
.sks-icon-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}
.sks-icon-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.sks-icon-rose {
  background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
}

/* Box Gradient */
.sks-box-gradient {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid var(--color-slate-200);
}

/* Why Use List */
.sks-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sks-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-slate-100);
}

.sks-why-list li:last-child {
  border-bottom: none;
}

.sks-check-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Steps List */
.sks-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.sks-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-slate-100);
}

.sks-steps-list li:last-child {
  border-bottom: none;
}

.sks-step-num {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(
    135deg,
    var(--color-indigo-600),
    var(--color-violet-600)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Tips Grid */
.sks-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.sks-tip-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-slate-50);
  border-radius: 0.75rem;
  border: 1px solid var(--color-slate-200);
  font-size: 0.9rem;
}

.sks-tip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* FAQ Items */
.sks-faq-item {
  border: 1px solid var(--color-slate-200);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.2s;
}

.sks-faq-item:hover {
  border-color: var(--color-indigo-300);
}

.sks-faq-item summary {
  padding: 1rem 1.25rem;
  background: var(--color-slate-50);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-slate-800);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}

.sks-faq-item summary:hover {
  background: var(--color-slate-100);
}

.sks-faq-item summary::before {
  content: "+";
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-indigo-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.sks-faq-item[open] summary::before {
  content: "−";
}

.sks-faq-item summary::-webkit-details-marker {
  display: none;
}

.sks-faq-answer {
  padding: 1rem 1.25rem;
  background: white;
  border-top: 1px solid var(--color-slate-100);
  color: var(--color-slate-600);
  line-height: 1.7;
}

/* Tool Subtitle */
.sks-tool-subtitle {
  font-size: 0.85rem;
  color: var(--color-emerald-600);
  font-weight: 500;
}

/* Widget Info */
.sks-widget-info {
  flex: 1;
  min-width: 0;
}

.sks-widget-name {
  font-weight: 600;
  color: var(--color-slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Widget Icon Dashicons Styling */
.sks-widget-icon .dashicons {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-indigo-500);
}

.sks-icon-small .dashicons {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
}
