/*
Theme Name: SuperSheet
Theme URI: https://supersheet.co
Author: SuperSheet
Author URI: https://supersheet.co
Description: Premium theme for the SuperSheet Google Sheets calculator business. Features a modern dark navy/teal design with blog support, product showcasing, and email capture.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supersheet
Tags: custom-menu, custom-logo, featured-images, blog, one-column
*/

/* ============ VARIABLES ============ */
:root {
  --navy: #0F1A2E;
  --navy-light: #1B2A4A;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-glow: rgba(13, 148, 136, 0.15);
  --gold: #D4A843;
  --gold-light: #E8C56D;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --red: #DC2626;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ============ UTILITY ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--teal-glow);
  color: var(--white);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--gray-700);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-secondary:hover {
  border-color: var(--gray-500);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.btn-etsy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #F1641E;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-etsy:hover {
  background: #D4551A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(241, 100, 30, 0.25);
  color: var(--white);
}

/* ============ NAV ============ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 0 20px var(--teal-glow);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--teal-light); }

/* WordPress nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-menu li a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-menu li a:hover { color: var(--white); }
.nav-menu li.menu-item-cta a {
  background: var(--teal);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-menu li.menu-item-cta a:hover {
  background: var(--teal-light);
  box-shadow: 0 0 24px var(--teal-glow);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 72px 2rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--teal-light);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.6s ease-out;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Hero mockup */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-mockup {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s;
}
.hero-mockup:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(1deg);
}
.mockup-bar {
  height: 36px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mockup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 16px;
}
.mockup-card-label {
  font-size: 0.65rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 500;
}
.mockup-card-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-light);
}
.mockup-card-value.negative { color: var(--gold); }
.mockup-card-value.savings { color: #34D399; font-size: 1.6rem; }
.mockup-chart {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}
.chart-bar { flex: 1; border-radius: 4px 4px 0 0; }
.mockup-tag {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  transform: rotate(3deg);
  box-shadow: 0 4px 12px rgba(212,168,67,0.3);
  letter-spacing: 0.02em;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 2rem;
}
.trust-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ============ PRODUCTS ============ */
.products-section { padding: 6rem 2rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.1);
  transform: translateY(-4px);
}
.product-thumb {
  height: 200px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.product-thumb-icon {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}
.badge-bestseller { background: var(--gold); color: var(--navy); }
.badge-new { background: var(--teal); color: var(--white); }
.badge-coming { background: var(--gray-600); color: var(--gray-200); }
.product-info { padding: 1.25rem; }
.product-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.product-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.product-price .original {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 6px;
}
.product-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.product-card:hover .product-link { gap: 8px; }

/* ============ FEATURES ============ */
.features-band {
  background: var(--navy);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.features-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 60%);
  pointer-events: none;
}
.features-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.features-band .section-label { color: var(--teal-light); }
.features-band .section-title { color: var(--white); }
.features-band .section-subtitle { color: var(--gray-400); margin: 0 auto 3.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.feature-card p { font-size: 0.88rem; color: var(--gray-400); line-height: 1.6; }

/* ============ BLOG SECTION (HOMEPAGE) ============ */
.blog-section { padding: 6rem 2rem; }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.blog-header a {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.blog-header a:hover { gap: 10px; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.blog-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.blog-thumb {
  height: 180px;
  background: var(--navy-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-thumb-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(45deg, var(--teal) 25%, transparent 25%),
    linear-gradient(-45deg, var(--teal) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--teal) 75%),
    linear-gradient(-45deg, transparent 75%, var(--teal) 75%);
  background-size: 30px 30px;
  background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
}
.blog-thumb-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0.15;
  letter-spacing: -0.02em;
}
.blog-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.blog-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(13, 148, 136, 0.08);
  padding: 3px 8px;
  border-radius: 3px;
}
.blog-date { font-size: 0.75rem; color: var(--gray-400); }
.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-excerpt {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
  flex: 1;
}
.blog-read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============ CTA SECTION ============ */
.cta-section { padding: 6rem 2rem; text-align: center; }
.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 20px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 60%);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212,168,67,0.1) 0%, transparent 60%);
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card .section-label { color: var(--gold); }
.cta-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta-card p {
  color: var(--gray-400);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.cta-email {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.cta-email input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.cta-email input::placeholder { color: var(--gray-500); }
.cta-email input:focus { border-color: var(--teal); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 2rem 2rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--gray-300);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: var(--gray-600); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  color: var(--gray-600);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--gray-400); }

/* ============ BLOG ARCHIVE PAGE ============ */
.page-header {
  background: var(--navy);
  padding: 120px 2rem 4rem;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-header p {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}
.blog-archive {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-archive .blog-grid {
  margin-bottom: 3rem;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination a, .pagination span {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.pagination a {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.pagination a:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.pagination .current {
  background: var(--teal);
  color: var(--white);
  border: 1px solid var(--teal);
}

/* ============ SINGLE POST ============ */
.single-post-header {
  background: var(--navy);
  padding: 120px 2rem 4rem;
}
.single-post-header .container { max-width: 800px; }
.single-post-header .blog-meta { margin-bottom: 1.5rem; }
.single-post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.single-post-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.single-post-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.single-post-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}
.single-post-content ul, .single-post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.single-post-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}
.single-post-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray-50);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-600);
}
.single-post-content code {
  font-family: var(--font-mono);
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.single-post-content pre {
  background: var(--navy);
  color: var(--gray-300);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.single-post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.single-post-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}
.single-post-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-post-content a:hover { color: var(--teal-light); }

/* Post navigation */
.post-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.post-nav a {
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.2s;
  flex: 1;
}
.post-nav a:hover { border-color: var(--teal); color: var(--teal); }

/* ============ SINGLE PRODUCT PAGE ============ */
.product-page-hero {
  background: var(--navy);
  padding: 100px 2rem 4rem;
}
.product-page-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}
.product-page-gallery {
  background: var(--navy-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.product-page-gallery img {
  width: 100%;
  height: auto;
}
.product-page-details { color: var(--white); }
.product-page-details .product-category { margin-bottom: 0.5rem; }
.product-page-details h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.product-page-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
}
.product-page-price .original {
  text-decoration: line-through;
  color: var(--gray-500);
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 8px;
}
.product-page-desc {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.product-page-features {
  margin-bottom: 2rem;
}
.product-page-features li {
  color: var(--gray-300);
  font-size: 0.95rem;
  padding: 8px 0;
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
}
.product-page-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.product-body {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.product-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2rem 0 1rem;
}
.product-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* ============ GENERIC PAGE ============ */
.generic-page { padding: 4rem 2rem 6rem; max-width: 800px; margin: 0 auto; }
.generic-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 2rem;
}
.generic-page p { font-size: 1.05rem; line-height: 1.8; color: var(--gray-700); margin-bottom: 1.5rem; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 500px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .product-page-content { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav { padding: 0 1rem; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 100px 1.5rem 3rem; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-email { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
