/* ============================================
   RangoCMS Static Theme Styles
   Human-readable CSS for Go Templates
   ============================================ */

/* ----------------------------------------
   CSS Variables (Design Tokens)
   ---------------------------------------- */
:root {
  /* Core Colors */
  --background: 42 45% 96%;
  --foreground: 25 35% 20%;
  --card: 40 40% 98%;
  --primary: 25 90% 60%;
  --secondary: 185 60% 55%;
  --muted: 40 20% 90%;
  --accent: 35 80% 65%;
  --border: 35 30% 85%;
  
  /* Theme Colors */
  --turquoise: 180 65% 55%;
  --sand: 42 60% 85%;
  --cactus: 140 45% 50%;
  --leather: 28 45% 35%;
  --rust: 18 65% 45%;
  
  /* Radius */
  --radius: 1rem;
}

/* ----------------------------------------
   Font Faces
   ---------------------------------------- */
@font-face {
  font-family: 'Edmunds';
  src: url('../fonts/Edmunds.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Righteous';
  src: url('../fonts/Righteous-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ----------------------------------------
   Base Styles
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, 
    hsl(42, 45%, 96%) 0%,
    hsl(40, 50%, 92%) 25%,
    hsl(38, 55%, 88%) 50%,
    hsl(35, 50%, 90%) 75%,
    hsl(42, 45%, 96%) 100%
  );
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Righteous', cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.font-logo {
  font-family: 'Edmunds', cursive;
}

.font-western {
  font-family: 'Righteous', cursive;
}

.font-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Text Colors */
.text-leather { color: hsl(var(--leather)); }
.text-sand { color: hsl(var(--sand)); }
.text-rust { color: hsl(var(--rust)); }
.text-turquoise { color: hsl(var(--turquoise)); }
.text-foreground { color: hsl(var(--foreground)); }

/* Background Colors */
.bg-leather { background-color: hsl(var(--leather)); }
.bg-sand { background-color: hsl(var(--sand)); }
.bg-rust { background-color: hsl(var(--rust)); }

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navbar {
  border-bottom: 4px solid hsl(var(--secondary));
  background: linear-gradient(to right, 
    hsla(28, 45%, 35%, 0.8), 
    hsl(28, 45%, 35%), 
    hsl(20, 50%, 25%)
  );
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Edmunds', cursive;
  font-size: 2rem;
  color: hsl(var(--sand));
  transition: color 0.3s;
}

.navbar-brand:hover {
  color: hsl(var(--secondary));
}

.navbar-brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar-brand {
    font-size: 2.25rem;
  }
  .navbar-brand img {
    width: 4rem;
    height: 4rem;
  }
}

.navbar-nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  font-family: 'Righteous', cursive;
  font-size: 1.125rem;
  color: hsla(42, 60%, 85%, 0.9);
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: hsl(var(--secondary));
}

.nav-link.active {
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--sand));
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mobile-menu-backdrop.hidden {
  display: none;
}

.mobile-menu-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background-color: hsl(var(--sand));
  border: 2px solid hsla(28, 45%, 35%, 0.4);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: 
    inset 0 0 30px rgba(139, 90, 43, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.3);
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 90, 43, 0.03) 2px, rgba(139, 90, 43, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 90, 43, 0.02) 2px, rgba(139, 90, 43, 0.02) 4px);
}

/* Decorative Nails on Mobile Menu */
.mobile-menu-card .nail {
  position: absolute;
  width: 1rem;
  height: 1rem;
  z-index: 20;
}

.mobile-menu-card .nail-tl { top: 0.5rem; left: 0.5rem; }
.mobile-menu-card .nail-tr { top: 0.5rem; right: 0.5rem; }
.mobile-menu-card .nail-bl { bottom: 0.5rem; left: 0.5rem; }
.mobile-menu-card .nail-br { bottom: 0.5rem; right: 0.5rem; }

.mobile-menu-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu-logo {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  border: 2px solid hsla(28, 45%, 35%, 0.3);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  margin-bottom: 0.75rem;
}

.mobile-menu-title {
  font-size: 2rem;
  color: hsl(var(--leather));
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.mobile-menu-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: hsl(var(--rust));
  border: none;
  border-radius: 50%;
  width: 1.75rem;
  height: 1.75rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu-close:hover {
  background: hsl(var(--leather));
}

.mobile-menu-close svg {
  width: 1rem;
  height: 1rem;
}

.mobile-menu-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, hsla(28, 45%, 35%, 0.6), transparent);
  margin-bottom: 1.5rem;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.5rem 1.2rem;
  font-family: 'Righteous', cursive;
  font-size: 1.25rem;
  text-align: center;
  color: hsl(var(--leather));
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid hsla(28, 45%, 35%, 0.2);
  border-radius: calc(var(--radius) - 4px);
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  background-color: hsla(28, 45%, 35%, 0.1);
  border-color: hsla(28, 45%, 35%, 0.4);
}

.mobile-nav-link.active {
  background-color: hsl(var(--leather));
  color: hsl(var(--sand));
  border-color: hsl(var(--leather));
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  border-top: 4px solid hsl(var(--secondary));
  background: linear-gradient(to right, 
    hsla(28, 45%, 35%, 0.8), 
    hsl(28, 45%, 35%), 
    hsl(20, 50%, 25%)
  );
  padding: 0.75rem 1rem;
  margin-top: auto;
}

@media (min-width: 768px) {
  .footer {
    padding: 1.25rem 1rem;
  }
}

.footer-content {
  text-align: center;
}

.footer-text {
  font-size: 0.75rem;
  color: hsl(var(--sand));
  font-weight: 700;
}

@media (min-width: 768px) {
  .footer-text {
    font-size: 1rem;
  }
}

/* ----------------------------------------
   Main Content Area
   ---------------------------------------- */
.main-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Desert Texture Background */
.desert-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, 
    hsla(42, 60%, 85%, 0.4), 
    hsl(var(--background)), 
    hsla(42, 60%, 85%, 0.3)
  );
}

.desert-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.desert-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: 
    radial-gradient(ellipse 80% 50% at 20% 80%, hsl(var(--leather)) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 90%, hsl(var(--sand)) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, hsla(28, 45%, 35%, 0.5) 0%, transparent 40%);
}

/* ----------------------------------------
   Page Layout (Content Card)
   ---------------------------------------- */
.page-container {
  max-width: 58rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  position: relative;
  z-index: 10;
}

.page-card {
  position: relative;
  border: 2px solid hsla(28, 45%, 35%, 0.4);
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
  background-color: hsl(var(--sand));
  box-shadow: 
    inset 0 0 30px rgba(139, 90, 43, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .page-card {
    padding: 3rem;
  }
}

/* Paper texture */
.page-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 90, 43, 0.03) 2px, rgba(139, 90, 43, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 90, 43, 0.02) 2px, rgba(139, 90, 43, 0.02) 4px),
    radial-gradient(ellipse at 20% 30%, rgba(255, 248, 220, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(139, 90, 43, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Aged paper stain */
.page-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image: 
    radial-gradient(ellipse 40% 30% at 10% 90%, rgba(139, 90, 43, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 95% 10%, rgba(139, 90, 43, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 248, 220, 0.4) 0%, transparent 70%);
}

/* Decorative Nails */
.nail {
  position: absolute;
  width: 1rem;
  height: 1rem;
  z-index: 20;
}

.nail-tl { top: 0.75rem; left: 0.75rem; }
.nail-tr { top: 0.75rem; right: 0.75rem; }
.nail-bl { bottom: 0.75rem; left: 0.75rem; }
.nail-br { bottom: 0.75rem; right: 0.75rem; }

.nail-head {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(to bottom right, 
    hsla(28, 45%, 35%, 0.9), 
    hsl(var(--leather)), 
    hsla(28, 45%, 35%, 0.7)
  );
  box-shadow: 
    inset -1px -1px 2px rgba(0, 0, 0, 0.4),
    inset 1px 1px 2px rgba(255, 255, 255, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

.nail-highlight {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: hsla(42, 60%, 85%, 0.4);
}

.nail-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: hsla(28, 45%, 35%, 0.8);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.page-title {
  font-size: 3.0rem;
  color: hsl(var(--leather));
  margin-top: -1rem;
  margin-bottom: -0.5rem;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3.75rem;
  }
}

.page-title-underline {
  height: 4px;
  background: linear-gradient(to right, transparent, hsla(28, 45%, 35%, 0.6), transparent);
  margin: 0 auto;
  width: 50%;
}

.page-description {
  font-size: 1.125rem;
  color: hsla(28, 45%, 35%, 0.8);
  margin-top: 0.7rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.page-content {
  position: relative;
  z-index: 10;
}

/* ----------------------------------------
   Home Page Hero
   ---------------------------------------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo {
  width: 16rem;
  height: 16rem;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

.hero-title {
  font-size: 3rem;
  color: hsl(var(--leather));
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.hero-link {
  color: hsl(var(--rust));
  font-weight: 600;
}

.hero-link:hover {
  text-decoration: underline;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: 'Righteous', cursive;
  font-size: 0.875rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: hsl(var(--leather));
  color: hsl(var(--sand));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: hsla(28, 45%, 35%, 0.8);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.125rem;
  border-radius: 9999px;
}

.btn-rust {
  background-color: hsl(var(--rust));
  color: hsl(var(--sand));
}

.btn-rust:hover {
  background-color: hsla(18, 65%, 45%, 0.9);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid hsla(28, 45%, 35%, 0.4);
  color: hsl(var(--leather));
}

.btn-outline:hover {
  background-color: hsla(28, 45%, 35%, 0.1);
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--rust));
}

.btn-ghost:hover {
  background-color: hsla(18, 65%, 45%, 0.1);
}

/* ----------------------------------------
   Cards
   ---------------------------------------- */
.card {
  position: relative;
  border: 2px solid hsla(28, 45%, 35%, 0.4);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), hsla(42, 60%, 95%, 0.6));
  box-shadow: 
    inset 0 0 20px rgba(139, 90, 43, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  border-color: hsla(28, 45%, 35%, 0.7);
  box-shadow: 0 8px 30px rgba(139, 90, 43, 0.3);
}

.card-texture {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 10;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background-color: hsla(28, 45%, 35%, 0.2);
  border: 1px solid hsla(28, 45%, 35%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.card:hover .card-icon {
  background-color: hsla(28, 45%, 35%, 0.3);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--leather));
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--leather));
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.card-description {
  font-size: 0.875rem;
  color: hsla(28, 45%, 35%, 0.7);
  line-height: 1.6;
}

/* ----------------------------------------
   Features Grid
   ---------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----------------------------------------
   Downloads List
   ---------------------------------------- */
.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--leather));
  /* margin-bottom: 0.25rem; */
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.download-meta {
  font-size: 0.875rem;
  color: hsla(28, 45%, 35%, 0.7);
  font-weight: 600;
}

/* ----------------------------------------
   Forms
   ---------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--leather));
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid hsla(28, 45%, 35%, 0.3);
  border-radius: var(--radius);
  background-color: hsla(42, 60%, 85%, 0.5);
  color: hsl(var(--leather));
  transition: border-color 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: hsla(28, 45%, 35%, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsla(28, 45%, 35%, 0.6);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ----------------------------------------
   Showcase Grid
   ---------------------------------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.showcase-item {
  display: block;
  border: 2px solid hsla(28, 45%, 35%, 0.4);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.showcase-item:hover {
  border-color: hsla(28, 45%, 35%, 0.7);
  box-shadow: 0 8px 30px rgba(139, 90, 43, 0.3);
}

.showcase-screenshot {
  aspect-ratio: 16 / 9;
  background-color: hsla(28, 45%, 35%, 0.1);
  overflow: hidden;
}

.showcase-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.showcase-item:hover .showcase-screenshot img {
  opacity: 1;
}

.showcase-info {
  padding: 1rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.6), hsla(42, 60%, 85%, 0.6));
  box-shadow: inset 0 0 20px rgba(139, 90, 43, 0.08);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.showcase-name {
  font-size: 1.125rem;
  color: hsl(var(--leather));
  transition: color 0.3s;
}

.showcase-item:hover .showcase-name {
  color: hsl(var(--turquoise));
}

.showcase-description {
  font-size: 0.875rem;
  color: hsla(28, 45%, 35%, 0.7);
}

/* External Link Icon */
.external-link-icon {
  width: 1rem;
  height: 1rem;
  color: hsla(28, 45%, 35%, 0.5);
  transition: color 0.3s;
}

.showcase-item:hover .external-link-icon {
  color: hsl(var(--turquoise));
}

/* ----------------------------------------
   Quickstart Sections
   ---------------------------------------- */
.quickstart-section {
  border: 2px solid;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.quickstart-section.cloud {
  background-color: hsla(18, 65%, 45%, 0.1);
  border-color: hsla(18, 65%, 45%, 0.3);
}

.quickstart-section.selfhosted {
  background-color: hsla(28, 45%, 35%, 0.05);
  border-color: hsla(28, 45%, 35%, 0.2);
}

.quickstart-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.quickstart-icon {
  display: none;
  padding: 0.75rem;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .quickstart-icon {
    display: flex;
  }
}

.quickstart-icon.cloud {
  background-color: hsla(18, 65%, 45%, 0.2);
}

.quickstart-icon.selfhosted {
  background-color: hsla(28, 45%, 35%, 0.1);
}

.quickstart-icon svg {
  width: 2rem;
  height: 2rem;
}

.quickstart-icon.cloud svg {
  color: hsl(var(--rust));
}

.quickstart-icon.selfhosted svg {
  color: hsl(var(--leather));
}

.quickstart-body {
  flex: 1;
}

.quickstart-title {
  font-size: 1.5rem;
  color: hsl(var(--leather));
  margin-bottom: 0.5rem;
}

.quickstart-text {
  color: hsla(28, 45%, 35%, 0.8);
  margin-bottom: 1rem;
}

.quickstart-features {
  list-style: none;
  font-size: 0.875rem;
  color: hsla(28, 45%, 35%, 0.7);
  margin-bottom: 1rem;
}

.quickstart-features li {
  margin-bottom: 0.25rem;
}

.quickstart-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Seal Badge */
.seal-badge {
  position: relative;
  transform: rotate(-20deg);
}

.seal-outer {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, hsl(var(--leather)), hsla(28, 45%, 35%, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 4px double hsla(42, 60%, 85%, 0.4);
}

.seal-inner {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: hsl(var(--rust));
  border: 2px dashed hsla(42, 60%, 85%, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-text {
  color: hsl(var(--sand));
  font-family: 'Righteous', cursive;
  font-size: 0.625rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* ----------------------------------------
   Documentation Layout
   ---------------------------------------- */
.docs-layout {
  display: flex;
  gap: 2rem;
  padding: 2rem 1rem;
}

/* Docs Sidebar */
.docs-sidebar {
  width: 16rem;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 1024px) {
  .docs-sidebar {
    display: block;
  }
}

.docs-sidebar-inner {
  position: sticky;
  top: 1rem;
  background-color: hsla(42, 60%, 85%, 0.5);
  backdrop-filter: blur(8px);
  border: 2px solid hsla(28, 45%, 35%, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.docs-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid hsla(28, 45%, 35%, 0.2);
}

.docs-sidebar-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--leather));
}

.docs-sidebar-title {
  font-size: 1.125rem;
  color: hsl(var(--leather));
}

.docs-nav {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.docs-nav-item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: hsla(25, 35%, 20%, 0.7);
  transition: all 0.3s;
  margin-bottom: 0.25rem;
}

.docs-nav-item:hover {
  background-color: hsla(28, 45%, 35%, 0.1);
  color: hsl(var(--foreground));
}

.docs-nav-item.active {
  background-color: hsl(var(--turquoise));
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.docs-nav-section {
  margin-bottom: 0.25rem;
}

.docs-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: hsla(25, 35%, 20%, 0.8);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.docs-nav-toggle:hover {
  background-color: hsla(28, 45%, 35%, 0.1);
  color: hsl(var(--foreground));
}

.docs-nav-children {
  margin-left: 0.75rem;
  padding-left: 0.5rem;
  border-left: 2px solid hsla(28, 45%, 35%, 0.2);
  margin-top: 0.25rem;
}

/* Docs Content */
.docs-content {
  flex: 1;
  min-width: 0;
}

.docs-article {
  position: relative;
  background-color: hsla(42, 60%, 85%, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid hsla(28, 45%, 35%, 0.3);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.docs-article-inner {
  padding: 1.5rem 2rem;
  position: relative;
}

.docs-article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid hsla(28, 45%, 35%, 0.2);
}

.docs-article-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--rust));
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.docs-article-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.docs-article-title {
  font-size: 1.5rem;
  color: hsl(var(--leather));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .docs-article-title {
    font-size: 1.875rem;
  }
}

.docs-article-description {
  color: hsla(25, 35%, 20%, 0.7);
}

/* Docs Prose Styles */
.docs-prose h2 {
  font-size: 1.25rem;
  color: hsl(var(--leather));
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.docs-prose h3 {
  font-size: 1.125rem;
  color: hsla(28, 45%, 35%, 0.9);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.docs-prose p {
  color: hsla(25, 35%, 20%, 0.8);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.docs-prose ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.docs-prose li {
  color: hsla(25, 35%, 20%, 0.8);
  margin-bottom: 0.5rem;
}

.docs-prose a {
  color: hsl(var(--rust));
  font-weight: 500;
}

.docs-prose a:hover {
  text-decoration: underline;
}

.docs-prose pre {
  background-color: hsla(28, 45%, 35%, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.docs-prose code {
  font-family: monospace;
  font-size: 0.875rem;
  background-color: hsla(28, 45%, 35%, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.docs-prose pre code {
  background: transparent;
  padding: 0;
}

.docs-prose strong {
  color: hsl(var(--leather));
  font-weight: 600;
}

/* Docs Navigation */
.docs-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid hsla(28, 45%, 35%, 0.2);
}

@media (min-width: 640px) {
  .docs-nav-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: hsla(28, 45%, 35%, 0.1);
  border-radius: var(--radius);
  transition: background-color 0.3s;
}

.docs-nav-link:hover {
  background-color: hsla(28, 45%, 35%, 0.2);
}

.docs-nav-link-label {
  font-size: 0.75rem;
  color: hsla(25, 35%, 20%, 0.6);
}

.docs-nav-link-title {
  color: hsl(var(--leather));
}

/* ----------------------------------------
   Logo Badge (for Contact page)
   ---------------------------------------- */
.logo-badge {
  display: none;
  position: absolute;
  top: 2rem;
  right: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid hsla(28, 45%, 35%, 0.3);
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

@media (min-width: 768px) {
  .logo-badge {
    display: flex;
  }
}

.logo-badge img {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
}

/* ----------------------------------------
   Icon Sizes
   ---------------------------------------- */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* ----------------------------------------
   Spacing Utilities
   ---------------------------------------- */
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ----------------------------------------
   Text Utilities
   ---------------------------------------- */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 2.25rem; }
.italic { font-style: italic; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ----------------------------------------
   Flex Utilities
   ---------------------------------------- */
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ----------------------------------------
   Grid Utilities
   ---------------------------------------- */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
