/*
Theme Name: Designer Shon
Theme URI: https://designershon.com
Author: Designer Shon
Author URI: https://designershon.com
Description: E-commerce growth resources, store diagnosis, and expert referrals.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: designer-shon
*/

/* ============================================================
   DESIGN SYSTEM — CSS VARIABLES
   ============================================================ */
:root {
  --background:        hsl(240, 10%, 4%);
  --foreground:        hsl(0, 0%, 98%);
  --card:              hsl(240, 10%, 6%);
  --card-foreground:   hsl(0, 0%, 98%);
  --primary:           hsl(174, 72%, 56%);
  --primary-fg:        hsl(240, 10%, 4%);
  --secondary:         hsl(280, 60%, 55%);
  --muted:             hsl(240, 10%, 12%);
  --muted-fg:          hsl(240, 5%, 64%);
  --accent:            hsl(16, 85%, 60%);
  --border:            hsl(240, 10%, 18%);
  --input-bg:          hsl(240, 10%, 12%);
  --radius:            0.75rem;

  --grad-teal:         hsl(174, 72%, 56%);
  --grad-cyan:         hsl(188, 78%, 60%);
  --grad-purple:       hsl(280, 60%, 55%);
  --grad-coral:        hsl(16, 85%, 60%);

  --gradient-brand: linear-gradient(
    135deg,
    var(--grad-teal)   0%,
    var(--grad-cyan)   25%,
    var(--grad-purple) 75%,
    var(--grad-coral)  100%
  );
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display, h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem);   font-weight: 700; line-height: 1.15; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Gradient text */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Gradient border card */
.border-gradient {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
}
.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Glow */
.glow-primary {
  box-shadow:
    0 0 40px hsl(174 72% 56% / 0.3),
    0 0 80px hsl(174 72% 56% / 0.15);
}

/* Grain texture overlay */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-fade-up  { animation: fadeUp 0.6s ease-out forwards; opacity: 0; }
.animate-fade-in  { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.animate-float    { animation: float 6s ease-in-out infinite; }
.animate-glow-pulse { animation: glowPulse 3s ease-in-out infinite; }
.animate-pulse    { animation: pulse 2s ease-in-out infinite; }
.animate-spin     { animation: spin 1s linear infinite; display: inline-block; }

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--primary-fg);
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}
.btn-outline:hover {
  border-color: hsl(174 72% 56% / 0.5);
  background: hsl(174 72% 56% / 0.05);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-full { width: 100%; }
.btn-icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-icon svg { transition: transform 0.2s; }
.btn-icon:hover svg { transform: translateX(3px); }

/* ============================================================
   NAVBAR
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: hsl(240 10% 4% / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(240 10% 18% / 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 640px) { .nav-inner { height: 5rem; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { height: 2.5rem; width: 2.5rem; object-fit: contain; transition: transform 0.2s; }
.nav-logo:hover img { transform: scale(1.05); }
.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}
@media (min-width: 640px) {
  .nav-logo img { height: 3rem; width: 3rem; }
  .nav-logo-text { font-size: 1.25rem; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }

.nav-hamburger {
  display: flex;
  padding: 0.5rem;
  color: var(--foreground);
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-hamburger svg { width: 1.5rem; height: 1.5rem; }
.nav-hamburger .icon-close { display: none; }
.nav-hamburger.open .icon-menu { display: none; }
.nav-hamburger.open .icon-close { display: block; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid hsl(240 10% 18% / 0.5);
}
.nav-mobile.open { display: flex; }

.nav-mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-fg);
  padding: 0.5rem 0.5rem;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--primary); }
.nav-mobile .btn-primary { margin-top: 0.5rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-teal {
  top: 25%;
  left: -8rem;
  width: 500px; height: 500px;
  background: radial-gradient(circle, hsl(174 72% 56%) 0%, transparent 70%);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}
.hero-orb-purple {
  top: 33%;
  right: -8rem;
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(280 60% 55%) 0%, transparent 70%);
  opacity: 0.25;
  animation: float 6s ease-in-out infinite;
  animation-delay: 300ms;
}
.hero-orb-coral {
  bottom: 25%;
  left: 33%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, hsl(16 85% 60%) 0%, transparent 70%);
  opacity: 0.2;
  animation: glowPulse 3s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: hsl(240 10% 6% / 0.5);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--muted-fg);
  max-width: 40rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; max-width: none; width: auto; }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  color: var(--muted-fg);
}
.hero-stat { display: flex; align-items: center; gap: 0.5rem; }
.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  font-family: 'Poppins', sans-serif;
}
.hero-stat-label { font-size: 0.875rem; }
.hero-stat-divider {
  width: 1px; height: 2rem;
  background: var(--border);
  display: none;
}
@media (min-width: 640px) { .hero-stat-divider { display: block; } }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}
.scroll-pill {
  width: 1.5rem; height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid hsl(240 5% 64% / 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.375rem;
}
.scroll-dot {
  width: 0.25rem; height: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================================
   HOW IT WORKS / SERVICES SECTION
   ============================================================ */
.services-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), hsl(240 10% 12% / 0.2), var(--background));
  pointer-events: none;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  margin-top: 1.5rem;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: hsl(240 10% 6% / 0.5);
  backdrop-filter: blur(8px);
  transition: background 0.5s;
}
.step-card:hover { background: hsl(240 10% 6% / 0.8); }

.step-number {
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: hsl(174 72% 56% / 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.step-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  background: hsl(174 72% 56% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}
.step-card:hover .step-icon {
  background: hsl(174 72% 56% / 0.2);
  transform: scale(1.1);
}
.step-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary); stroke: var(--primary); }
.step-card h3 { margin-bottom: 1rem; }
.step-card p { color: var(--muted-fg); line-height: 1.7; }

/* ============================================================
   SOCIAL PROOF SECTION
   ============================================================ */
.social-proof-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}
.social-proof-section::before {
  content: '';
  position: absolute;
  top: 0; right: 25%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(280 60% 55%) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(100px);
  pointer-events: none;
}

.social-proof-card {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem;
}
.social-proof-card p:first-child {
  font-size: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.social-proof-card p:last-child { color: var(--muted-fg); }

/* ============================================================
   LEAD FORM SECTION
   ============================================================ */
.lead-form-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.lead-form-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 25%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(174 72% 56%) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(100px);
  pointer-events: none;
}

.form-wrapper {
  max-width: 52rem;
  margin: 0 auto;
}
.form-header {
  text-align: center;
  margin-bottom: 3rem;
}
.form-header p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.form-card {
  padding: 2rem;
  border-radius: 1rem;
  background: hsl(240 10% 6% / 0.8);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: hsl(240 10% 12% / 0.5);
  color: var(--foreground);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted-fg); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--primary); }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.5rem; }
.form-select option { background: hsl(240, 10%, 8%); color: var(--foreground); }
.form-textarea { resize: none; min-height: 6.5rem; }

.form-error { font-size: 0.8125rem; color: hsl(0, 84%, 60%); margin-top: 0.25rem; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea { border-color: hsl(0, 84%, 60%); }

.form-submit { margin-top: 1.5rem; }
.form-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.form-trust-item svg { width: 1rem; height: 1rem; stroke: var(--primary); }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: hsl(174 72% 56% / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success-icon svg { width: 2.5rem; height: 2.5rem; stroke: var(--primary); }
.form-success h2 { margin-bottom: 1rem; }
.form-success p { color: var(--muted-fg); max-width: 32rem; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
  text-align: center;
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.page-hero p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

.about-story {
  padding: 5rem 0;
}
.about-story-inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}
.about-story h2 { margin-bottom: 2rem; }
.about-story p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-story p strong { color: var(--foreground); font-weight: 600; }

.values-section {
  padding: 5rem 0;
  background: hsl(240 10% 6% / 0.5);
}
.values-section h2 { text-align: center; margin-bottom: 3rem; }
.values-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px)  { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(240 10% 18% / 0.5);
  background: var(--background);
  transition: border-color 0.3s;
}
.value-card:hover { border-color: hsl(174 72% 56% / 0.3); }
.value-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.value-icon svg { width: 1.5rem; height: 1.5rem; stroke: #fff; }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: var(--muted-fg); font-size: 0.9375rem; line-height: 1.6; }

.stats-section { padding: 5rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.stat-label { color: var(--muted-fg); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards {
  padding: 3rem 0;
}
.contact-cards-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .contact-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(240 10% 18% / 0.5);
  background: var(--card);
  text-align: center;
  transition: border-color 0.3s;
}
.contact-card:hover { border-color: hsl(174 72% 56% / 0.3); }
.contact-card-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.contact-card-icon svg { width: 1.5rem; height: 1.5rem; stroke: #fff; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-card .desc { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.5rem; }
.contact-card .value { color: var(--primary); font-weight: 500; font-size: 0.9375rem; }

/* ============================================================
   BLOG ARCHIVE (index.php)
   ============================================================ */
.blog-grid {
  display: grid;
  gap: 2rem;
  padding: 4rem 0;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }

.post-card {
  border-radius: 1rem;
  border: 1px solid hsl(240 10% 18% / 0.5);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s;
}
.post-card:hover { border-color: hsl(174 72% 56% / 0.3); }

.post-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, hsl(174 72% 56% / 0.2) 0%, hsl(280 60% 55% / 0.2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-fg); font-size: 0.875rem;
}

.post-card-body { padding: 1.5rem; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.post-cat {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(174 72% 56% / 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.post-meta-item svg { width: 1rem; height: 1rem; stroke: currentColor; }

.post-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
  line-height: 1.4;
}
.post-card:hover h2 { color: var(--primary); }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-excerpt { color: var(--muted-fg); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: gap 0.2s;
  text-decoration: none;
}
.read-more:hover { gap: 0.5rem; }
.read-more svg { width: 1rem; height: 1rem; stroke: currentColor; transition: transform 0.2s; }
.read-more:hover svg { transform: translateX(3px); }

.blog-cta-box {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px dashed hsl(240 10% 18% / 0.5);
  background: hsl(240 10% 6% / 0.5);
  text-align: center;
}
.blog-cta-box p { color: var(--muted-fg); margin-bottom: 1rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-fg);
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-hero {
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.single-hero .post-meta-item { justify-content: center; color: var(--muted-fg); }
.single-meta { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.single-title { max-width: 48rem; margin: 0 auto 1.5rem; }
.single-excerpt { font-size: 1.125rem; color: var(--muted-fg); max-width: 36rem; margin: 0 auto; }

.single-featured-img {
  max-width: 52rem;
  margin: 0 auto 4rem;
  border-radius: 1rem;
  overflow: hidden;
}
.single-featured-img img { width: 100%; height: auto; }

.single-content {
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 5rem;
  color: var(--muted-fg);
  line-height: 1.8;
  font-size: 1.0625rem;
}
.single-content h2 { color: var(--foreground); margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.single-content h3 { color: var(--foreground); margin: 2rem 0 0.75rem; }
.single-content p { margin-bottom: 1.25rem; }
.single-content ul, .single-content ol { margin: 1.25rem 0 1.25rem 1.5rem; }
.single-content li { margin-bottom: 0.5rem; }
.single-content a { color: var(--primary); text-decoration: underline; }
.single-content blockquote { border-left: 3px solid var(--primary); padding: 1rem 1.5rem; margin: 2rem 0; background: hsl(240 10% 6%); border-radius: 0 0.5rem 0.5rem 0; color: var(--foreground); font-style: italic; }
.single-content img { border-radius: 0.75rem; margin: 2rem 0; }
.single-content pre { background: hsl(240 10% 8%); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; overflow-x: auto; font-size: 0.875rem; margin: 1.5rem 0; }
.single-content code { background: hsl(240 10% 10%); padding: 0.2em 0.5em; border-radius: 0.25rem; font-size: 0.875em; }
.single-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  position: relative;
  padding: 3rem 0;
  border-top: 1px solid hsl(240 10% 18% / 0.5);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 2.5rem; width: 2.5rem; object-fit: contain; }
.footer-brand-name { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--foreground); }
.footer-brand-tagline { font-size: 0.875rem; color: var(--muted-fg); }

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; text-decoration: none; }
.footer-nav a:hover { color: var(--primary); }

.footer-divider { border: none; border-top: 1px solid hsl(240 10% 18% / 0.3); margin-bottom: 2rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-legal { display: flex; gap: 1rem; }
.footer-legal a { color: var(--muted-fg); transition: color 0.2s; text-decoration: none; }
.footer-legal a:hover { color: var(--primary); }

/* ============================================================
   GENERIC PAGE & 404
   ============================================================ */
.generic-page { padding: 8rem 0 5rem; max-width: 48rem; margin: 0 auto; }
.generic-page h1 { margin-bottom: 1.5rem; }
.generic-page .entry-content { color: var(--muted-fg); line-height: 1.8; }
.generic-page .entry-content p { margin-bottom: 1.25rem; }
.generic-page .entry-content a { color: var(--primary); }

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.page-404-inner { max-width: 32rem; }
.error-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-404 h1 { font-size: 2rem; margin-bottom: 1rem; }
.page-404 p { color: var(--muted-fg); margin-bottom: 2rem; }

/* ============================================================
   MAIN CONTENT OFFSET (for fixed nav)
   ============================================================ */
main { padding-top: 0; }
