/*
Theme Name: Wearosome Monolithic
Theme URI: https://wearosome.com
Author: Stitch x Antigravity
Author URI: https://stitch.com
Description: An ultra-modern, futuristic tech wearable theme with a conversion-first editorial layout. 
Version: 3.0.0
Text Domain: wearosome
*/

/* =========================================
   Modern Typography & Design System
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* MODERN COLOR PALETTE (Bone & Obsidian) */
  --bg-core: #f8f8fa;
  --bg-core-rgb: 248, 248, 250;
  --bg-surface: #ffffff;
  --bg-surface-rgb: 255, 255, 255;
  --bg-accent: #f0f0f5;
  
  --text-pure: #000000;
  --text-primary: #111112;
  --text-muted: #6e6e73;
  
  --brand-blue: #0066cc;
  --brand-gradient: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  
  --border-subtle: rgba(0,0,0,0.08);
  --border-glass: rgba(255,255,255,0.7);
  
  --shadow-subtle: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-card: 0 20px 40px rgba(0,0,0,0.08);
  --shadow-float: 0 30px 60px rgba(0,0,0,0.12);

  --radius-minimal: 12px;
  --radius-pill: 99px;
  --easing-silky: cubic-bezier(0.2, 0, 0, 1);
}

body.dark-mode {
  --bg-core: #050505;
  --bg-core-rgb: 5, 5, 5;
  --bg-surface: #0f0f10;
  --bg-accent: #1c1c1e;
  
  --text-pure: #ffffff;
  --text-primary: #f5f5f7;
  --text-muted: #86868b;
  
  --brand-blue: #2997ff;
  --brand-gradient: linear-gradient(135deg, #2997ff 0%, #0066cc 100%);
  
  --border-subtle: rgba(255,255,255,0.12);
  --border-glass: rgba(0,0,0,0.3);
  
  --shadow-card: 0 20px 40px rgba(0,0,0,0.6);
  --shadow-float: 0 40px 80px rgba(0,0,0,0.8);
}

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

body {
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* =========================================
   Typography Overhaul
========================================= */

h1, h2, h3, h4 { 
  font-family: 'Outfit', sans-serif; 
  color: var(--text-pure); 
  letter-spacing: -0.02em; 
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; font-weight: 700; }

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.8; }

/* =========================================
   Modern Navigation (Pill Style)
========================================= */

.pure-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(var(--bg-core-rgb), 0.8);
  backdrop-filter: blur(20px);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.nav-links a.active, .nav-links a:hover {
  background: var(--bg-accent);
  color: var(--text-pure);
}

/* WordPress Nav Compatibility */
.nav-links ul { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; align-items: center; }
.nav-links ul li a { 
    font-size: 0.85rem; 
    font-weight: 600; 
    padding: 0.5rem 1.25rem; 
    border-radius: var(--radius-pill); 
    color: var(--text-muted); 
    text-decoration: none; 
}
.nav-links ul li.current-menu-item a { background: var(--bg-accent); color: var(--text-pure); }

.section-header {
  text-align: center !important;
  margin: 8rem auto 5rem;
  width: 100%;
  max-width: 900px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.1;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   Action-Driven Buttons
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-minimal);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--easing-silky);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
}

/* =========================================
   Home Hero (Modern Featured)
========================================= */

.hero-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 5vh;
  padding: 4rem 2rem;
}

.hero-featured-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background: var(--bg-accent);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-featured h1 {
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero-featured p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-featured-image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow-float);
}

/* =========================================
   Post Layout (Clean & Conversion Focused)
========================================= */

.post-article {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 750px 1fr; /* Symmetrical grid for perfect centering */
  gap: 4rem;
}

.post-sidebar-left { 
  grid-column: 1; 
  display: flex;
  justify-content: flex-end; 
}

.post-main-content { 
  grid-column: 2; 
  width: 100%; 
}

.sticky-quick-nav {
  position: sticky;
  top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  transform: translateX(-20px);
}

.sticky-quick-nav.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.quick-nav-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-minimal);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  min-width: 200px;
}

.quick-nav-card h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.quick-nav-list { list-style: none; display: grid; gap: 0.75rem; padding: 0; }
.quick-nav-list a { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); text-decoration: none; }

.post-header {
  margin-bottom: 3rem;
}

.post-value-prop {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.4;
}

.post-feature-wrap {
  margin-bottom: 4rem;
}

.post-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto;
}

.post-body p { margin-bottom: 2rem; }

.post-body h2, .post-body h3 {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  clear: both;
  line-height: 1.2;
}

.post-body h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.post-body h3 {
  font-size: 1.6rem;
}

hr, .wp-block-separator {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 4rem 0;
  opacity: 1;
  width: 100%;
}

.post-body img {
  max-width: 600px !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  margin: 3rem auto;
  display: block;
}

.post-body ul, .post-body ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.75rem;
}

/* =========================================
   Modern Vertical Product Card
========================================= */

.product-box {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  margin: 4rem 0;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--easing-silky);
}

.product-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
}

.product-image-wrap {
  background: var(--bg-accent);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap img {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.product-info-wrap {
  padding: 3rem;
}

/* Sticky Affiliate Button */
.sticky-affiliate-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s var(--easing-silky);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}

.sticky-affiliate-cta.is-visible {
  transform: translateY(0);
}

.sticky-affiliate-cta .product-name {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
}

/* Related Posts Section */
.related-posts {
  margin-top: 10rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 6rem;
}

/* Footer Clean-up */
.site-footer ul, 
.site-footer .clean-footer-list,
.site-footer .clean-list-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.site-footer ul li a:hover {
  color: var(--text-pure);
}

/* Responsive Fixes */
@media (max-width: 1200px) {
  .post-article { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
  .post-main-content { grid-column: 1; }
  .post-sidebar-left { display: none; }
  .hero-featured { grid-template-columns: 1fr; text-align: center; padding: 4rem 1.5rem; }
  .hero-featured-content { margin: 0 auto; }
}

/* =========================================
   Grid & Layout Utilities
========================================= */

.mono-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
  margin-bottom: 12vh;
  justify-content: center;
}

.mono-card {
  background: var(--bg-surface);
  border-radius: var(--radius-minimal);
  transition: transform 0.4s var(--easing-silky), box-shadow 0.4s var(--easing-silky);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

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

.card-image-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--bg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.card-content {
  padding: 2.5rem 2rem 3rem;
  text-align: center;
}

.card-content h3 { font-size: 1.25rem; margin: 0; }
.card-content p { font-size: 0.95rem; color: var(--text-muted); margin-top: 1rem; }

/* Table Enhancements */
.mono-table-wrapper {
  overflow-x: auto;
  margin: 3rem 0;
  border-radius: var(--radius-minimal);
  border: 1px solid var(--border-subtle);
}

.mono-table { width: 100%; border-collapse: collapse; text-align: left; }
.mono-table th { background: var(--bg-accent); padding: 1rem; font-weight: 800; font-family: 'Outfit', sans-serif; }
.mono-table td { padding: 1rem; border-bottom: 1px solid var(--border-subtle); }

/* Pull Quote */
.pull-quote {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  margin: 5rem 0;
  color: var(--text-pure);
}

/* Pros & Cons list */
.pros-cons-list { list-style: none; padding: 0; }
.pros-cons-list li { margin-bottom: 0.5rem; }
