/* SuperSleek Theme - Mobile Optimized - CLEANED VERSION */
:root{
  /* Color System */
  --bg:#fff;
  --panel:#fafafa;
  --text:#1a1a1a;
  --muted:#666;
  --brand:#000;
  --brand-dark:#333;
  --line:rgba(0,0,0,0.1);
  --accent-primary:#007AFF;
  --accent-secondary:#5856D6;
  --accent-muted:rgba(88,86,214,0.1);
  --success:#34C759;
  --error:#FF3B30;
  --warning:#FF9500;
  
  /* Typography Scale - Mobile First */
  --text-xs:0.75rem;
  --text-sm:0.875rem;
  --text-base:1rem;
  --text-lg:1.125rem;
  --text-xl:1.25rem;
  --text-2xl:1.5rem;
  --text-3xl:1.875rem;
  --text-4xl:2.25rem;
  --text-5xl:3rem;
  
  /* Spacing Scale */
  --space-1:0.25rem;
  --space-2:0.5rem;
  --space-3:0.75rem;
  --space-4:1rem;
  --space-5:1.25rem;
  --space-6:1.5rem;
  --space-8:2rem;
  --space-10:2.5rem;
  --space-12:3rem;
  --space-16:4rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,*::before,*::after{box-sizing:border-box}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,.site{margin:0;padding:0;font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:var(--text-base);line-height:1.6;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}

a{color:var(--text);text-decoration:none}
a:hover{opacity:.9}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container{width:100%;max-width:1100px;margin:0 auto;padding:0 var(--space-4)}
@media (min-width:576px){.container{padding:0 var(--space-6)}}
@media (min-width:768px){.container{padding:0 var(--space-8)}}
@media (min-width:1024px){.container{padding:0 28px}}

.row{display:flex;gap:var(--space-4);align-items:center;flex-wrap:wrap}
.row.between{justify-content:space-between}

/* ============================================
   BUTTON STYLES - CONSOLIDATED
   ============================================ */

/* Base Button Style */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  box-sizing: border-box;
  min-height: 44px;
  position: relative;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 1;
}

/* Primary Button */
.btn-primary {
  background: #6366f1;
  color: #ffffff!important;
  border: none;
}

.btn-primary:hover {
  background: #5558e3;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--text)!important;
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--panel);
  border-color: var(--text);
}

/* White Button */
.btn-white {
  background: white;
  color: #6366f1!important;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-white:hover {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  border-color: var(--accent-primary);
}

/* Cursor Button (Black) */
.btn-cursor {
  background: #2D2D2D;
  color: #fff!important;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-cursor:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Documentation Button */
.btn-docs {
  background: white;
  color: #1a1a1a!important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-docs:hover {
  background: #f8f8f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Header Button - BLACK SHINY WITH GOLDEN ANIMATION */
.btn-header {
  display: inline-block !important;
  padding: 0.75rem 2rem !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  z-index: 1 !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  will-change: transform !important;
}

/* Pulsing glow effect */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4) !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
  }
}

@-webkit-keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4) !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
  }
}

/* Golden shine animation - handled by JavaScript */

@keyframes golden-slide {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

@-webkit-keyframes golden-slide {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

/* Make sure text is above the animation */
.btn-header {
  z-index: 0 !important;
}

.btn-header span,
.btn-header:not(:empty) {
  position: relative !important;
  z-index: 2 !important;
}

.btn-header:hover {
  background: #000000 !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.6) !important;
  color: #ffffff !important;
  border-color: rgba(255, 215, 0, 0.8) !important;
}

.btn-header:active {
  transform: translateY(0) !important;
}

/* Force visibility */
.site-header .btn-header,
.nav .btn-header {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================
   PRICING SECTION STYLES
   ============================================ */

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0;
}

/* Pricing Card */
.pricing-card {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

/* Pricing Card Content */
.pricing-card h3 {
    font-size: 1.5rem;
  margin: 0 0 1rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.pricing-card .price-unit {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.7;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-card li {
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

/* Pricing Card Buttons - FIXED */
.pricing-card > a[class*="btn"] {
  display: inline-block !important;
  width: auto !important;
  min-width: 140px !important;
  margin: 1rem auto 0 !important;
  padding: 0.75rem 1.5rem !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10 !important;
}

/* Dark Enterprise Card */
.pricing-card[style*="background: #1e1e1e"] {
  color: white;
}

.pricing-card[style*="background: #1e1e1e"] .btn-white {
  background: white !important;
  color: #1a1a1a !important;
}

/* ============================================
   CTA GROUP STYLES
   ============================================ */

.cta-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
    flex-wrap: wrap;
  margin: var(--space-6) 0;
}

.cta-group > * {
  margin: 0;
}

/* Bottom CTA Section */
.bottom-cta {
    text-align: center;
  padding: var(--space-12) 0;
  margin-top: var(--space-12);
}

.bottom-cta h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-2);
    z-index: 100;
    animation: slideDown 0.2s ease-out;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: var(--text-base);
    padding: var(--space-3);
    border-radius: 6px;
    transition: all 0.2s;
  }
  
  .nav a:hover,
  .nav a[aria-current="page"] {
    color: var(--text);
    background: var(--panel);
  }
  
  .nav.nav-open {
    display: flex;
  }
  
  /* Mobile header button adjustments */
  .nav .btn-header {
    margin-top: 1rem !important;
    width: 100% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* Simple body scroll prevention */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Mobile Buttons */
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-cursor,
  .btn-docs,
  .btn-white {
    width: 100%;
    padding: var(--space-3) var(--space-5);
  }
  
  /* Mobile CTA Group */
  .cta-group {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }
  
  .cta-group > * {
    width: 100%;
  }
  
  /* Mobile Pricing Grid */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pricing-card {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  /* Mobile Bottom CTA */
  .bottom-cta {
    padding: 3rem 1rem;
    margin-top: 4rem;
  }
  
  .bottom-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
  position: relative;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
    flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .nav {
    display: flex !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: var(--space-3);
    align-items: center;
  }
  
  .nav a {
    font-size: var(--text-base);
    padding: 0 !important;
    background: transparent !important;
  }
  
  .nav .btn-header {
    margin-left: 1rem !important;
  }
}

/* ============================================
   CRITICAL OVERRIDES - MUST BE LAST
   ============================================ */

/* Force all buttons to be visible */
[class*="btn"],
a[href][class*="btn"],
button[class*="btn"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ABSOLUTE FORCE FOR HEADER BUTTON */
a.btn-header,
.btn-header,
.site-header .btn-header,
.site-header a.btn-header,
nav .btn-header,
nav a.btn-header,
.nav .btn-header,
.nav a.btn-header,
#main-nav .btn-header,
#main-nav a.btn-header {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 999 !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
  animation: pulse-glow 2s ease-in-out infinite !important;
  -webkit-animation: pulse-glow 2s ease-in-out infinite !important;
}

/* Animation handled by JavaScript - no CSS pseudo-elements needed */

/* Webkit prefix for Safari */
@-webkit-keyframes golden-slide {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}


/* GitHub link styling */
.github-link {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  margin: 0 var(--space-2);
}

.github-link:hover {
  color: var(--text);
}

/* Fix specific pricing button issues */
.pricing-card a[href] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure CTA buttons work */
.cta-group a,
.bottom-cta a {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-weight: 600;
    line-height: 1.2;
  }
  
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.small {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ============================================
   CARDS & PANELS
   ============================================ */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.feature-card {
  background: var(--panel);
  padding: var(--space-6);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

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

/* Blog Grid Layout */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Blog Card */
.posts .card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.posts .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Blog Card Cover Image */
.card .cover {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--panel);
}

.card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover .cover img {
  transform: scale(1.05);
}

/* Blog Card Content */
.card .content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card .title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.card .title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

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

.card .excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

/* Blog Card Meta */
.card .meta {
  display: flex;
  align-items: center;
    gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: auto;
}

.card .meta span {
  color: var(--muted);
}

.card .tag {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.card .tag:hover {
  opacity: 0.8;
}

/* Blog Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 1rem;
  margin: 3rem 0;
  font-size: 0.95rem;
}

.pagination a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--panel);
  border-color: var(--brand);
}

.pagination .page-number {
  color: var(--muted);
}

/* Single Post Styles */
.post-header {
  margin-bottom: 3rem;
  text-align: center;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
    line-height: 1.2;
  }
  
.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.post-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content a {
  color: var(--brand);
  text-decoration: underline;
}

.post-content a:hover {
  text-decoration: none;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
    margin: 2rem 0;
  }
  
.post-content blockquote {
  border-left: 4px solid var(--brand);
  padding-left: 1.5rem;
    margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}

.post-content code {
  background: var(--panel);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.post-content pre {
  background: var(--panel);
    padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
    margin: 2rem 0;
  }
  
.post-content pre code {
  background: none;
  padding: 0;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .posts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-content {
    font-size: 1rem;
  }
}

/* Blog Layout Page */
.blog-layout {
  max-width: 800px;
    margin: 0 auto;
  padding: 3rem 0;
  }
  
.blog-header {
  margin-bottom: 3rem;
  }
  
/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
    gap: 0.75rem;
  margin-top: 2rem;
}

.tag-cloud-item {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.tag-cloud-item span {
  margin-left: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.tag-cloud-item:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.tag-cloud-item:hover span {
  color: rgba(255, 255, 255, 0.8);
}

/* Blog Posts List */
.blog-posts {
  margin-top: 3rem;
}

.blog-post-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-post-item:last-child {
  border-bottom: none;
}

.blog-post-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.blog-post-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-post-title a:hover {
  color: var(--brand);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.blog-post-tag {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.blog-post-tag:hover {
  text-decoration: underline;
}

.blog-post-excerpt {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.read-more {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.read-more:hover {
  opacity: 0.8;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

/* Search Form */
.blog-search {
  margin-bottom: 2rem;
}

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

.search-form input,
.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.search-form input::placeholder,
.search-input::placeholder {
  color: var(--muted);
}

.search-form input:focus,
.search-input:focus {
  outline: none;
  border-color: var(--brand);
}

.search-form button,
.search-button {
  padding: 0.75rem 1.25rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form button:hover,
.search-button:hover {
  background: var(--brand-dark);
}

/* Single Blog Post */
.blog-post-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

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

.blog-post-full .blog-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  color: var(--text);
}

.blog-post-full .blog-post-meta {
  justify-content: center;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.blog-tag:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* Post Featured Image */
.blog-post-image {
  margin: 2rem -2rem;
  text-align: center;
}

.blog-post-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.blog-post-image figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}

/* Post Content */
.blog-post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 3rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  margin: 2rem 0 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.blog-post-content h2 {
  font-size: 1.75rem;
}

.blog-post-content h3 {
  font-size: 1.5rem;
}

.blog-post-content h4 {
  font-size: 1.25rem;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content a {
  color: var(--brand);
  text-decoration: underline;
}

.blog-post-content a:hover {
  text-decoration: none;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--brand);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}

.blog-post-content code {
  background: var(--panel);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.blog-post-content pre {
  background: var(--panel);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}

.blog-post-content pre code {
  background: none;
  padding: 0;
}

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

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

/* Post Footer */
.blog-post-footer {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  margin-top: 3rem;
}

.blog-post-tags-footer {
  margin-bottom: 3rem;
}

.blog-post-tags-footer h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Post Navigation */
.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.nav-prev,
.nav-next {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-prev span,
.nav-next span {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.nav-prev strong,
.nav-next strong {
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.nav-prev:hover,
.nav-next:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav-next {
  text-align: right;
}

/* Blog Breadcrumbs */
.blog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 1rem 0;
}

.blog-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumbs a:hover {
  color: var(--brand);
}

.blog-breadcrumbs .separator {
  color: var(--muted);
  opacity: 0.5;
}

.blog-breadcrumbs .current {
  color: var(--text);
  font-weight: 500;
}

/* Responsive Blog Post */
@media (max-width: 768px) {
  .blog-post-full {
    padding: 2rem 0;
  }
  
  .blog-post-full .blog-post-title {
    font-size: 2rem;
  }
  
  .blog-post-image {
    margin: 2rem -1rem;
  }
  
  .blog-post-content {
    font-size: 1rem;
  }
  
  .blog-post-nav {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .nav-next {
    text-align: left;
  }
}

/* ============================================
   FINAL ANIMATION FIXES - MUST BE ABSOLUTE LAST
   ============================================ */

/* Ensure text stays on top */
.btn-header {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero-section {
  padding: var(--space-16) 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--muted);
    max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--space-12);
  padding: var(--space-8) 0;
  text-align: center;
}

  /* Enhanced Footer */
  .site-footer-enhanced {
  background: #0a0a0a;
  color: #ffffff;
  padding: 3rem 0 2rem;
  margin-top: 0;
  border-top: 1px solid var(--line);
  }
  
  .footer-top {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: start;
}


@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: span 2;
  margin-bottom: 2rem;
    max-width: none;
}
}

.footer-column h3 {
  font-size: 1.125rem;
    margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.875rem;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  line-height: 1.6;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.footer-email {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-email a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-email a:hover {
  color: #ffffff;
}

/* Legal Links - Subtle and Pale */
.footer-legal-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.25rem;
}

/* Footer Sections */
.footer-section {
  min-width: 120px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.125rem;
  color: #ffffff;
  margin: 0.5rem 0;
}

.footer-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem 0;
  max-width: 300px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Footer Newsletter - Full Width */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 0;
  margin: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--space-4);
}

@media (min-width: 576px) {
  .footer-newsletter-content {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 768px) {
  .footer-newsletter-content {
    padding: 0 var(--space-8);
  }
}

@media (min-width: 1024px) {
  .footer-newsletter-content {
    padding: 0 28px;
  }
}

.footer-newsletter-text h3 {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.footer-newsletter-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  max-width: 400px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-radius: 4px;
  font-size: 0.875rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter-form button {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  
  .footer-brand {
    grid-column: span 1;
    margin-bottom: 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
  text-align: center;
  gap: 0.5rem;
  }
  
  .footer-newsletter {
    padding: 1.5rem 0;
  margin: 2rem 0;
}

  .footer-newsletter-content {
    flex-direction: column;
  text-align: center;
  gap: 1rem;
    padding: 0 var(--space-4);
}

  .footer-newsletter-form {
    flex-direction: column;
  width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .footer-newsletter-form input,
  .footer-newsletter-form button {
    width: 100%;
  }
  
  .footer-newsletter-form input {
  margin-bottom: 0.5rem;
}

  .footer-legal-links {
    margin-top: 0.5rem;
  font-size: 0.75rem;
  }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Additional Utilities for Inline Styles */

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }

/* Font Sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: 2.5rem; }

/* Font Weight */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Logo Styles */
.logo-white { filter: brightness(0) invert(1); }
.logo-height-sm { height: 32px; width: auto; }
.logo-height-md { height: 40px; width: auto; }

/* Section Backgrounds */
.bg-light { background: #f8f9fa; }
.bg-lighter { background: #fafafa; }
.bg-panel { background: var(--panel); }

/* Padding Utilities */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

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

/* Flex Utilities */
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Width Utilities */
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Line Height */
.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

/* ============================================
   CODE BLOCKS
   ============================================ */

pre {
  background: #282c34;
  color: #abb2bf;
  padding: var(--space-4);
  border-radius: 8px;
  overflow-x: auto;
  font-size: var(--text-sm);
  line-height: 1.5;
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  background: rgba(0,0,0,0.05);
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

pre code {
  background: none;
  padding: 0;
}

/* ============================================
   GRID SYSTEMS
   ============================================ */

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */

/* Eyebrow Text */
.eyebrow {
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

/* Value Props */
.value-props {
  display: flex;
  gap: var(--space-8);
    justify-content: center;
  margin: var(--space-8) 0;
}

.value-prop {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.value-prop .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-2);
}

/* Platform Status */
.platform-status {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.coming-soon {
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Demo Showcase */
.demo-showcase {
  max-width: 800px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  margin-bottom: var(--space-4);
}

.tab-button {
  padding: var(--space-2) var(--space-4);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--muted);
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-button:hover {
  color: var(--text);
}

.tab-button.active {
  color: var(--text);
  border-bottom-color: var(--accent-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.demo-label {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-2);
  font-family: monospace;
}

.json-showcase {
  background: #282c34;
  color: #abb2bf;
  padding: var(--space-4);
  border-radius: 8px;
  overflow-x: auto;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.json-showcase .key {
  color: #e06c75;
}

.json-showcase .string {
  color: #98c379;
}

.json-showcase .number {
  color: #d19a66;
}

/* Section Styles */
.section {
  padding: var(--space-16) 0;
}

.section-title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-8);
}

/* Integration Cards */
.integration-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.integration-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--space-6);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}

.integration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent-primary);
}

/* Platform Cards */
.platform-card {
  background: var(--panel);
  padding: var(--space-6);
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Ghost Specific Styles */
.kg-card {
  margin: var(--space-8) 0;
}

.kg-image {
  width: 100%;
  height: auto;
}

.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.kg-bookmark-container:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.kg-bookmark-content {
  padding: var(--space-4);
  flex: 1;
}

.kg-bookmark-title {
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.kg-bookmark-description {
  font-size: var(--text-sm);
  color: var(--muted);
}

.kg-bookmark-thumbnail {
  width: 200px;
  background-size: cover;
  background-position: center;
}

/* Mobile Specific */
@media (max-width: 768px) {
  .value-props {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .value-prop {
    max-width: 100%;
  }
  
  .platform-status {
    font-size: var(--text-sm);
  }
  
  .tab-buttons {
    gap: 0;
  }
  
  .tab-button {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }
  
  .kg-bookmark-container {
    flex-direction: column;
  }
  
  .kg-bookmark-thumbnail {
    width: 100%;
    height: 200px;
  }
}

/* ============================================
   FINAL BUTTON OVERRIDES
   ============================================ */

/* This must be at the very end to ensure it works */
.pricing-card [class*="btn"],
.pricing-card a[href*="app.horizondatawave.ai"],
.pricing-card a[href*="mailto:"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 999 !important;
  pointer-events: auto !important;
  margin: 1rem auto 0 auto !important;
}
