/* ============================================
   BEBLON BRAND GUIDELINES - STYLESHEET
   Premium Furniture & Custom Wardrobes
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Primary Colors */
  --copper: hsl(25, 60%, 50%);
  --copper-light: hsl(25, 55%, 65%);
  --copper-dark: hsl(25, 65%, 35%);

  /* Accent Colors */
  --gold: hsl(38, 75%, 55%);
  --gold-glow: hsl(38, 80%, 65%);

  /* Neutral Colors */
  --charcoal: hsl(30, 15%, 6%);
  --charcoal-light: hsl(30, 12%, 12%);
  --warm-gray: hsl(30, 8%, 25%);
  --cream: hsl(35, 30%, 92%);

  /* Semantic Colors */
  --background: var(--charcoal);
  --background-elevated: var(--charcoal-light);
  --foreground: var(--cream);
  --foreground-muted: hsl(35, 15%, 55%);
  --border: hsl(30, 12%, 20%);

  /* Gradients */
  --gradient-luxury: linear-gradient(
    135deg,
    var(--copper) 0%,
    var(--gold) 100%
  );
  --gradient-dark: linear-gradient(
    180deg,
    hsl(30, 15%, 4%) 0%,
    hsl(30, 12%, 10%) 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    hsl(30, 12%, 12%) 0%,
    hsl(30, 10%, 8%) 100%
  );
  --gradient-overlay: linear-gradient(
    180deg,
    transparent 0%,
    hsl(30, 15%, 6%, 0.9) 100%
  );

  /* Shadows */
  --shadow-soft: 0 4px 20px -4px hsl(30, 20%, 5%, 0.5);
  --shadow-luxury: 0 8px 32px -8px hsl(25, 60%, 50%, 0.25);
  --shadow-glow: 0 0 40px hsl(38, 75%, 55%, 0.15);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Typography */
  --font-display: "Kufam", sans-serif;
  --font-body: "Fustat", sans-serif;
  --font-ui: "Inter", "Fustat", sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-luxury: 0.5s cubic-bezier(0, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--gradient-dark);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsl(30, 15%, 6%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground-muted);
  transition: color var(--transition-base);
}

.nav-link:hover {
  color: var(--copper);
}

.nav-link-cta {
  background: var(--gradient-luxury);
  color: var(--charcoal);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-link-cta:hover {
  color: var(--charcoal);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: var(--transition-base);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  z-index: 999;
}

.nav-mobile-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--foreground-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-mobile-link:hover {
  background: var(--background-elevated);
  color: var(--copper);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-mobile.active {
    display: block;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) var(--space-8);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--copper);
  top: -20%;
  right: -10%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -10%;
  left: -5%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  background: hsl(25, 60%, 50%, 0.1);
  border: 1px solid hsl(25, 60%, 50%, 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.hero-title {
  margin-bottom: var(--space-4);
}

.hero-title-ar {
  display: block;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  background: var(--gradient-luxury);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-title-en {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: 0.1em;
  margin-top: var(--space-2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--foreground-muted);
  margin-bottom: var(--space-6);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-1);
}

.hero-meta-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ============================================
   MAIN & SECTIONS
   ============================================ */
.main {
  position: relative;
}

.section {
  padding: var(--space-24) var(--space-8);
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background: var(--background-elevated);
  max-width: none;
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.section-dark > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-number {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--foreground);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: 1.125rem;
  color: var(--foreground-muted);
}

.subsection-title {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: var(--space-8);
  padding-top: var(--space-12);
}

.subsection-description {
  font-size: 1rem;
  color: var(--foreground-muted);
  margin-top: calc(var(--space-8) * -1);
  margin-bottom: var(--space-8);
}

/* ============================================
   CONTENT CARDS
   ============================================ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
}

.content-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.content-card-wide {
  grid-column: 1 / -1;
}

.card-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: var(--space-4);
}

.card-text {
  color: var(--foreground-muted);
  line-height: 1.7;
}

.card-note {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  font-style: italic;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* Brand Pillars */
.brand-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.brand-pillar {
  text-align: center;
  padding: var(--space-6);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
  transition: var(--transition-base);
}

.brand-pillar:hover {
  background: hsl(25, 60%, 50%, 0.1);
  border-color: var(--copper);
}

.pillar-icon {
  font-size: 2rem;
  color: var(--copper);
  margin-bottom: var(--space-4);
}

.pillar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* Brand Name Display */
.brand-name-display {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.brand-name-item {
  flex: 1;
  text-align: center;
  padding: var(--space-6);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
}

.brand-name-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-3);
}

.brand-name-ar {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.brand-name-en {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0.05em;
}

.brand-name-notes {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.brand-name-notes p {
  margin-bottom: var(--space-2);
}

/* Tagline Display */
.tagline-display {
  padding: var(--space-6);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  text-align: center;
}

.tagline-ar {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.tagline-en {
  font-size: 1rem;
  color: var(--foreground-muted);
}

/* ============================================
   COLOR SECTION
   ============================================ */
.color-category {
  margin-bottom: var(--space-12);
}

.color-category-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.color-category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

.color-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.color-card-large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .color-card-large {
    grid-column: span 1;
  }
}

.color-swatch {
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-4);
  position: relative;
}

.color-card-large .color-swatch {
  height: 180px;
}

.color-name-overlay {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.color-info {
  padding: var(--space-6);
}

.color-name {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.color-usage {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-bottom: var(--space-4);
}

.color-codes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.color-code {
  background: hsl(30, 8%, 15%);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  display: flex;
  gap: var(--space-2);
}

.code-label {
  color: var(--foreground-muted);
  font-weight: 500;
}

.code-value {
  color: var(--foreground);
  cursor: pointer;
  transition: var(--transition-fast);
}

.code-value:hover {
  color: var(--copper);
}

/* Gradients */
.gradient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
}

.gradient-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gradient-swatch {
  height: 100px;
}

.gradient-luxury {
  background: var(--gradient-luxury);
}

.gradient-dark {
  background: var(--gradient-dark);
}

.gradient-card-bg {
  background: var(--gradient-card);
}

.gradient-info {
  padding: var(--space-6);
}

.gradient-name {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.gradient-usage {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-bottom: var(--space-4);
}

.gradient-code {
  display: block;
  background: hsl(30, 8%, 15%);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--foreground-muted);
  word-break: break-all;
}

/* ============================================
   TYPOGRAPHY SECTION
   ============================================ */
.typography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (max-width: 480px) {
  .typography-grid {
    grid-template-columns: 1fr;
  }
}

.type-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.type-card-primary {
  border-color: var(--copper);
}

.type-specimen {
  padding: var(--space-8);
  background: hsl(30, 8%, 15%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.type-sample-kufam {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
}

.type-sample-kufam-ar {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--copper);
}

.type-sample-fustat {
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 500;
  color: var(--foreground);
}

.type-sample-fustat-ar {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--copper);
}

.type-info {
  padding: var(--space-6);
}

.type-name {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: var(--space-1);
}

.type-role {
  font-size: 0.875rem;
  color: var(--copper);
  margin-bottom: var(--space-4);
}

.type-description {
  font-size: 0.9375rem;
  color: var(--foreground-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.type-weights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.type-weight {
  font-family: var(--font-display);
  background: hsl(30, 8%, 15%);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--foreground);
}

.type-usage {
  font-size: 0.875rem;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.type-usage-label {
  color: var(--copper);
  font-weight: 600;
}

.type-usage-text {
  color: var(--foreground-muted);
}

/* Type Scale */
.type-scale {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.type-scale-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: var(--space-8);
}

.type-scale-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.type-scale-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: baseline;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.type-scale-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .type-scale-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

.scale-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

.scale-sample {
  font-family: var(--font-display);
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scale-display {
  font-size: 4.5rem;
  font-weight: 700;
}
.scale-h1 {
  font-size: 3rem;
  font-weight: 700;
}
.scale-h2 {
  font-size: 2.25rem;
  font-weight: 600;
}
.scale-h3 {
  font-size: 1.875rem;
  font-weight: 600;
}
.scale-h4 {
  font-size: 1.5rem;
  font-weight: 500;
}
.scale-body-lg {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
}
.scale-body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
}
.scale-small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
}
.scale-caption {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
}

.scale-specs {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--foreground-muted);
  white-space: nowrap;
}

/* ============================================
   LOGO SECTION
   ============================================ */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.logo-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.logo-card-primary {
  border-color: var(--copper);
}

.logo-display {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.logo-dark-bg {
  background: var(--charcoal);
}

.logo-light-bg {
  background: var(--cream);
}

.logo-img {
  max-height: 80px;
  width: auto;
}

.logo-info {
  padding: var(--space-6);
}

.logo-name {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.logo-usage {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* Logo Variations */
.logo-variations {
  margin-bottom: var(--space-12);
}

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

.logo-variation-card {
  text-align: center;
}

.logo-variation-display {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}

.logo-variation-img {
  max-height: 60px;
  width: auto;
}

.logo-variation-label {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* Logo Rules */
.logo-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.logo-rule-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.logo-rule-visual {
  margin-bottom: var(--space-6);
}

.clear-space-demo {
  position: relative;
  width: 200px;
  height: 120px;
  margin: 0 auto;
  background: var(--charcoal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-space-logo img {
  height: 40px;
  width: auto;
}

.clear-space-margin {
  position: absolute;
  background: hsl(25, 60%, 50%, 0.2);
  border: 1px dashed var(--copper);
}

.clear-space-top {
  top: 20px;
  left: 50px;
  right: 50px;
  height: 20px;
}
.clear-space-right {
  top: 20px;
  bottom: 20px;
  right: 20px;
  width: 30px;
}
.clear-space-bottom {
  bottom: 20px;
  left: 50px;
  right: 50px;
  height: 20px;
}
.clear-space-left {
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 30px;
}

.clear-space-label {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--copper);
  background: var(--charcoal);
  padding: 2px 6px;
  border-radius: 2px;
}

.min-size-demo {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
}

.min-size-print,
.min-size-digital {
  text-align: center;
  padding: var(--space-4);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
}

.min-size-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--copper);
}

.min-size-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.logo-rule-title {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-3);
}

.logo-rule-text {
  font-size: 0.9375rem;
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* Logo Don'ts */
.logo-donts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
}

.logo-dont {
  text-align: center;
}

.logo-dont-visual {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  position: relative;
  overflow: hidden;
}

.logo-dont-visual::after {
  content: "✕";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: hsl(0, 62%, 45%);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-dont-visual img {
  height: 35px;
  width: auto;
}

.dont-stretch img {
  transform: scaleX(1.5);
}

.dont-rotate img {
  transform: rotate(15deg);
}

.dont-color img {
  filter: hue-rotate(180deg) saturate(2);
}

.dont-shadow img {
  filter: drop-shadow(0 0 10px yellow);
}

.dont-outline img {
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  opacity: 0.3;
}

.dont-outline::before {
  content: "";
  position: absolute;
  inset: 30px 40px;
  border: 2px solid white;
  border-radius: 4px;
}

.dont-busy-bg {
  background: repeating-linear-gradient(
    45deg,
    hsl(30, 8%, 15%),
    hsl(30, 8%, 15%) 10px,
    hsl(30, 8%, 25%) 10px,
    hsl(30, 8%, 25%) 20px
  );
}

.logo-dont-label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--foreground-muted);
}

/* ============================================
   COMPONENTS SECTION
   ============================================ */
.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.component-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.component-card-wide {
  grid-column: 1 / -1;
}

.component-title {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-6);
}

.component-demo {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-6);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
}

.component-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid hsl(30, 8%, 18%);
}

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

.spec-label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--foreground-muted);
}

.spec-value {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--foreground);
  text-align: right;
}

/* Demo Buttons */
.btn {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--gradient-luxury);
  color: var(--charcoal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxury);
}

.btn-secondary {
  background: hsl(30, 8%, 18%);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: hsl(30, 8%, 22%);
}

.btn-outline {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}

.btn-outline:hover {
  background: hsl(25, 60%, 50%, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground-muted);
}

.btn-ghost:hover {
  color: var(--foreground);
  background: hsl(30, 8%, 15%);
}

/* Demo Card */
.demo-card {
  width: 200px;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.demo-card-img {
  height: 100px;
  background: var(--gradient-luxury);
}

.demo-card-content {
  padding: var(--space-4);
}

.demo-card-content h4 {
  font-size: 0.9375rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.demo-card-content p {
  font-size: 0.8125rem;
  color: var(--foreground-muted);
}

/* Form Elements */
.form-input,
.form-textarea {
  width: 100%;
  max-width: 300px;
  padding: var(--space-3) var(--space-4);
  background: hsl(30, 12%, 18%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 2px hsl(25, 60%, 50%, 0.2);
}

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

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

/* Shadows Demo */
.shadows-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .shadows-demo {
    grid-template-columns: 1fr;
  }
}

.shadow-sample {
  padding: var(--space-6);
  background: var(--charcoal-light);
  border-radius: var(--radius);
  text-align: center;
}

.shadow-sample span {
  display: block;
  font-size: 0.9375rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.shadow-sample code {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.shadow-sample.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-sample.shadow-luxury {
  box-shadow: var(--shadow-luxury);
}

.shadow-sample.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Spacing System */
.spacing-system,
.border-radius-system {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

.spacing-grid,
.radius-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.spacing-item,
.radius-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.spacing-visual {
  background: var(--copper);
  border-radius: 2px;
}

.radius-visual {
  width: 60px;
  height: 60px;
  background: var(--copper);
}

.spacing-value,
.radius-value {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.spacing-token,
.radius-token {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

/* ============================================
   IMAGERY SECTION
   ============================================ */
.imagery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.imagery-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.imagery-card-large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .imagery-card-large {
    grid-column: span 1;
  }
}

.imagery-display {
  height: 300px;
  overflow: hidden;
}

.imagery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imagery-info {
  padding: var(--space-6);
}

.imagery-title {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-4);
}

.imagery-text {
  font-size: 0.9375rem;
  color: var(--foreground-muted);
  line-height: 1.6;
}

.imagery-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.imagery-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--foreground-muted);
}

.list-icon {
  font-size: 0.875rem;
  font-weight: 700;
}

li:has(.list-icon:nth-child(1)) .list-icon {
  color: hsl(120, 50%, 45%);
}

.imagery-list li:nth-last-child(-n + 3) .list-icon {
  color: hsl(0, 62%, 45%);
}

/* Treatment Samples */
.treatment-samples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.treatment-sample {
  text-align: center;
}

.treatment-visual {
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.treatment-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-overlay {
  position: relative;
}

.treatment-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(30, 15%, 6%, 0.8), transparent);
}

.treatment-hover:hover img {
  transform: scale(1.1);
}

.treatment-label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--foreground-muted);
}

/* Gallery Showcase */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.gallery-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================
   VOICE SECTION
   ============================================ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
}

.voice-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.voice-card-primary {
  grid-column: 1 / -1;
  border-color: var(--copper);
}

@media (max-width: 768px) {
  .voice-card-primary {
    grid-column: span 1;
  }
}

.voice-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: var(--space-4);
}

.voice-description {
  font-size: 1rem;
  color: var(--foreground-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.voice-attributes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
}

.voice-attribute {
  padding: var(--space-4);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
  border-left: 3px solid var(--copper);
}

.attribute-title {
  font-size: 1rem;
  color: var(--copper);
  margin-bottom: var(--space-2);
}

.attribute-text {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* Writing Guidelines */
.writing-guidelines {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.guideline-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
}

.guideline-do {
  background: hsl(120, 40%, 20%, 0.2);
  border: 1px solid hsl(120, 50%, 35%, 0.3);
}

.guideline-dont {
  background: hsl(0, 40%, 20%, 0.2);
  border: 1px solid hsl(0, 50%, 35%, 0.3);
}

.guideline-icon {
  font-size: 1.25rem;
  font-weight: 700;
}

.guideline-do .guideline-icon {
  color: hsl(120, 50%, 45%);
}

.guideline-dont .guideline-icon {
  color: hsl(0, 62%, 45%);
}

.guideline-content h4 {
  font-size: 0.9375rem;
  color: var(--foreground);
  margin-bottom: var(--space-3);
}

.guideline-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.guideline-content li {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  padding-left: var(--space-4);
  position: relative;
}

.guideline-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--foreground-muted);
}

/* Bilingual Example */
.bilingual-example {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.bilingual-ar,
.bilingual-en {
  padding: var(--space-4);
  background: hsl(30, 8%, 15%);
  border-radius: var(--radius);
}

.bilingual-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-2);
}

.bilingual-ar .bilingual-text {
  font-size: 1.125rem;
  color: var(--foreground);
  direction: rtl;
  text-align: right;
}

.bilingual-en .bilingual-text {
  font-size: 1rem;
  color: var(--foreground);
}

.bilingual-note {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  font-style: italic;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* ============================================
   DOWNLOADS SECTION
   ============================================ */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.download-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: var(--transition-base);
}

.download-card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
}

.download-icon {
  color: var(--copper);
  margin-bottom: var(--space-4);
}

.download-title {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.download-description {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-bottom: var(--space-6);
}

.download-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  padding: var(--space-3) var(--space-6);
  background: var(--gradient-luxury);
  color: var(--charcoal);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-base);
}

.download-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxury);
}

.download-btn:disabled {
  background: hsl(30, 8%, 25%);
  color: var(--foreground-muted);
  cursor: not-allowed;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--gradient-luxury);
  max-width: none;
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: 2.5rem;
  color: var(--charcoal);
  margin-bottom: var(--space-4);
}

.contact-text {
  font-size: 1.125rem;
  color: hsl(30, 15%, 20%);
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.contact-icon {
  font-size: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: var(--space-12) var(--space-8);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--foreground);
}

.footer-location {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.footer-note {
  font-size: 0.75rem;
  color: var(--foreground-muted);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  width: 100%;
}

.footer-credit {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.footer-credit p {
  margin: 0;
}

.ryse-link {
  color: var(--copper);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-base);
}

.ryse-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ============================================
   UTILITIES & ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Selection */
::selection {
  background: var(--copper);
  color: var(--charcoal);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
  background: var(--warm-gray);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copper);
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-16) var(--space-4);
  }

  .section {
    padding: var(--space-16) var(--space-4);
  }

  .section-dark {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .content-grid,
  .color-grid,
  .gradient-grid,
  .logo-grid,
  .components-grid,
  .imagery-grid,
  .voice-grid,
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
    gap: var(--space-4);
  }

  .brand-name-display {
    flex-direction: column;
  }

  .nav-container {
    padding: var(--space-4);
  }
}

/* Print Styles */
@media print {
  .nav,
  .nav-mobile,
  .download-btn,
  .contact-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    page-break-inside: avoid;
  }
}
