.cl-coming-content{max-width:860px;width:92%}
.cl-coming-logo{max-height:64px;width:auto;display:block;margin:0 auto 8px}
.cl-modal#cl-coming-soon .cl-modal-content{margin-top:30vh; max-width: 530px;}
.cl-coming-content .cl-modal-header h3{font-size:clamp(24px,3.5vw,34px);text-align:center;color:var(--cl-ink);font-family:'Montserrat',sans-serif}
.cl-coming-content .cl-modal-body{color:var(--cl-ink);text-align:center;font-family:'Montserrat',sans-serif}
.cl-coming-content .cl-form-row{display:flex;gap:10px;justify-content:center;margin:14px 0}
.cl-coming-content .cl-input{padding:0px 18px;border-radius:999px;border:1px solid rgba(47,47,99,.15);background:#fff;color:#333;min-width:260px;height:46px;line-height:46px}
.cl-coming-content .cl-form-row .cl-btn{height:46px;padding:0 22px}
.cl-coming-content .cl-btn{border-radius:999px}
/* .blurred{filter:blur(6px);pointer-events:none} */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/* CSS Custom Properties with responsive values */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root{
  --cl-brand:#CCCCFF;
  --cl-ink:#2F2F63;
  --cl-bg:#CCCCFF;
  --cl-radius:14px;
  
  /* Responsive spacing variables */
  --spacing-xs: clamp(8px, 2vw, 12px);
  --spacing-sm: clamp(12px, 3vw, 16px);
  --spacing-md: clamp(16px, 4vw, 24px);
  --spacing-lg: clamp(24px, 5vw, 32px);
  --spacing-xl: clamp(32px, 6vw, 48px);
  
  /* Enhanced Responsive typography */
  --font-size-xs: clamp(11px, 2.2vw, 13px);
  --font-size-sm: clamp(13px, 2.8vw, 15px);
  --font-size-base: clamp(15px, 3.2vw, 17px);
  --font-size-lg: clamp(16px, 3.5vw, 19px);
  --font-size-xl: clamp(18px, 4vw, 22px);
  --font-size-2xl: clamp(20px, 4.5vw, 26px);
  --font-size-3xl: clamp(24px, 5.5vw, 32px);
  --font-size-4xl: clamp(28px, 6.5vw, 42px);
  --font-size-5xl: clamp(32px, 7.5vw, 52px);
  
  /* Responsive container widths */
  --container-sm: 100%;
  --container-md: min(100%, 768px);
  --container-lg: min(100%, 1024px);
  --container-xl: min(100%, 1200px);
}

/* Base responsive styles */
html{
  scroll-behavior:smooth;
  font-size: clamp(14px, 2.5vw, 16px);
}

body{
  font-family:'Montserrat',system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;
  color:var(--cl-ink);
  background:var(--cl-bg);
  margin:0;
  overflow-x:hidden;
  line-height: 1.6;
  font-size: var(--font-size-base);
}
p{
  font-family:'Montserrat',sans-serif;
  font-weight:400;
  font-size: var(--font-size-base);
  line-height:1.6;
  margin:0 0 var(--spacing-md) 0;
}

h1{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size: var(--font-size-5xl);
  line-height: 1.1;
  margin: var(--spacing-sm) 0 var(--spacing-md);
  letter-spacing: -0.03em;
}

h2{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size: var(--font-size-4xl);
  line-height: 1.2;
  margin: var(--spacing-lg) 0 var(--spacing-md);
  padding: var(--spacing-md) 0;
  color: var(--cl-ink);
  letter-spacing: -0.02em;
}

h3{
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  font-size: var(--font-size-3xl);
  line-height: 1.3;
  margin: var(--spacing-md) 0 var(--spacing-sm);
  letter-spacing: -0.01em;
}
body.nav-open{overflow:hidden}
.wrap{max-width:1080px;margin:0 auto}
.cl-landing .cl-hero{
  position:relative;
  padding: var(--spacing-xl) var(--spacing-lg) 0;
  text-align:center;
  min-height: 60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  margin-top:0;
  padding-top:0;
}

/* Companion Dashboard - polished table card style */
.cl-dashboard-section h2 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.cl-companions-list {
  background: #f6f7ff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
  .cl-hero-logo {
  max-width: 60%;
}
.cl-companions-table-container {
  overflow-x: auto;
  border-radius: 12px;
}

.cl-companions-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px; /* gaps between rows for card effect */
  background: transparent;
}

.cl-companions-table thead th {
  background: #ececff;
  color: var(--cl-ink);
  font-weight: 700;
  padding: 16px 18px;
  border-bottom: none;
}

.cl-companions-table thead th:first-child { border-top-left-radius: 12px; }
.cl-companions-table thead th:last-child { border-top-right-radius: 12px; }

.cl-companions-table tbody tr { 
  background: #ffffff; 
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.cl-companions-table tbody td {
  padding: 16px 18px;
  border-bottom: none;
}
.cl-companions-table tbody tr:hover { background: #f9f9ff; }

/* rounded corners for row cards */
.cl-companions-table tbody td:first-child { border-top-left-radius: 10px; border-bottom-left-radius: 10px; }
.cl-companions-table tbody td:last-child { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }

/* companion name emphasis */
#companions-table tbody td:first-child {
  font-weight: 700;
  color: var(--cl-ink);
}

/* Purple rounded action button */
.cl-btn-download {
  background: #5b2aa8;
  color: #ffffff;
  border: 1px solid #5b2aa8;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.cl-btn-download:hover { background: #4a1f8a; border-color: #4a1f8a; }

/* Removed temporary text-shadow readability tweaks */
.cl-landing .cl-hero .cl-sub{
  text-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.cl-site-header{
  position:sticky;
  top:0;
  left:0;
  right:0;
  background:transparent;
  z-index:3000;
  transition:all 1s ease-in-out;
  padding: 0;
  min-height: 70px;
  border-bottom: 1px solid transparent;
}

.cl-header-container{
  max-width: 100%;
  margin: 0 auto;
  padding: var(--spacing-sm) 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  width: 100%;
}

/* Responsive container padding */
@media (max-width: 768px) {
  .cl-header-container {
    padding:  0px;
  }

  .wrap {
    padding: 0 20px;
    max-width: 100%;
  }
  
  .cl-hero-inner {
    padding: 0 20px;
  }
  
  .cl-about-content,
  .cl-mission-wrap,
  .cl-faq {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .cl-about-wrap,
  .cl-mission-wrap,
  .cl-pricing-wrap,
  .cl-faq {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .wrap {
    padding: 0 20px;
    max-width: 100%;
  }
  
  .cl-hero-inner {
    padding: 0 20px;
  }
  
  .cl-about-content,
  .cl-mission-wrap,
  .cl-faq {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 1025px) {
  .wrap {
    padding: 0 20px;
    max-width: var(--container-xl);
  }
  
  .cl-hero-inner {
    padding: 0 20px;
  }
}

.cl-site-header.scrolled{
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  border-bottom-color: rgba(47,47,99,0.1);
}

.cl-site-header.scrolled .cl-header-container{
  padding: var(--spacing-xs) 20px;
}
.cl-hero-inner{
  position:relative;
  max-width: var(--container-xl);
  margin:0 auto;
  padding: 0 var(--spacing-md);
}

.cl-brand{
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: inherit;
}


.cl-logo{
  height: clamp(35px, 6vw, 55px);
  width: auto;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-hero h1{
  color:#ffffff;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size: clamp(24px, 5vw, 48px);
  margin: var(--spacing-sm) 0 var(--spacing-md);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cl-hero-logo{
  height: auto;
  max-height: clamp(50px, 10vw, 100px);
  margin-bottom: var(--spacing-lg);
  display:block;
  margin-left:auto;
  margin-right:auto;
  width: auto;
}
.cl-cta-icon svg{color:#ffffff !important;fill:#ffffff !important;stroke:#ffffff !important;width:120px;height:120px;background:none !important;background-color:transparent !important}
#join-now-btn{background:#E3F988;color:#2F2F63;border:1px solid #E3F988}
.cl-actions .cl-btn{background:#E3F988;color:#2F2F63;border:1px solid #E3F988}
.cl-cta-buttons .cl-btn{font-family:'Montserrat',sans-serif;font-weight:600}
.cl-btn-disabled{cursor:default;pointer-events:none;opacity:0.7}

/* Companion ID styling */
.cl-companion-id {
  /* font-family: 'Courier New', monospace; */
  font-weight: 400;
  font-size: 14px;
  color: var(--cl-ink);
  /* background: rgba(204, 204, 255, 0.1); */
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}
h2{font-weight:700;letter-spacing:-0.01em;font-size:clamp(26px,3.2vw,36px);color:var(--cl-ink)}
.cl-sub{opacity:.8;margin:0 auto 20px;max-width:680px;font-size:clamp(20px,2.5vw,26px)}
/* CTA Buttons with Icons */
.cl-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(20px, 8vw, 60px);
  margin: var(--spacing-xl) auto;
  flex-wrap: wrap;
  max-width: var(--container-xl);
  padding: 0 var(--spacing-lg);
}

.cl-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: clamp(180px, 25vw, 280px);
  max-width: clamp(200px, 30vw, 320px);
  margin: 0 var(--spacing-sm);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.cl-cta-item:nth-child(1) {
  animation-delay: 0.2s;
}

.cl-cta-item:nth-child(2) {
  animation-delay: 0.6s;
}

.cl-cta-item:nth-child(3) {
  animation-delay: 1.0s;
}

@keyframes fadeInUp {
  0% {
  opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cl-cta-icon {
  width: clamp(120px, 20vw, 180px);
  height: clamp(120px, 20vw, 180px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 8px 25px rgba(204, 204, 255, 0.3);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cl-cta-icon svg {
  color: white;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.cl-cta-item:hover .cl-cta-icon {
  box-shadow: 0 12px 35px rgba(204, 204, 255, 0.4);
}

.cl-cta-buttons .cl-btn {
  background: var(--cl-ink);
  color: white;
  border: 1px solid var(--cl-ink);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--cl-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  font-weight: 700;
  font-size: clamp(14px, 2.8vw, 18px);
  min-width: clamp(200px, 30vw, 280px);
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cl-cta-buttons .cl-btn:hover {
  background: #333;
  border-color: #333;
  box-shadow: 0 8px 25px rgba(47, 47, 99, 0.2);
}

/* Enhanced Responsive CTA Buttons */
@media (max-width: 1200px) {
  .cl-cta-buttons {
    gap: clamp(30px, 6vw, 50px);
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .cl-cta-buttons {
    gap: var(--spacing-lg);
    flex-direction: column;
    align-items: center;
    padding: 0 var(--spacing-md);
  }
  
  .cl-cta-item {
    min-width: 200px;
    max-width: 280px;
    margin: 0;
  }
  
  .cl-cta-icon {
    width: clamp(100px, 15vw, 140px);
    height: clamp(100px, 15vw, 140px);
  }
  
  .cl-cta-buttons .cl-btn {
    min-width: 200px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .cl-cta-buttons {
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }
  
  .cl-cta-item {
    min-width: 160px;
    max-width: 240px;
  }
  
  .cl-cta-icon {
    width: clamp(80px, 12vw, 120px);
    height: clamp(80px, 12vw, 120px);
  }
  
  .cl-cta-buttons .cl-btn {
    min-width: 180px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
}

.cl-carousel-prev:disabled,
.cl-carousel-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.cl-carousel-prev:disabled:hover,
.cl-carousel-next:disabled:hover {
  background: var(--cl-brand);
  border-color: var(--cl-brand);
  transform: translateY(-50%);
  scale: 1;
}

/* Enhanced Button Styles */
.cl-btn{
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  background:white;
  border:1px solid rgba(47,47,99,.15);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius:var(--cl-radius);
  color:var(--cl-ink);
  text-decoration:none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  animation:none;
  position:relative;
  overflow:hidden;
  white-space:nowrap;
  font-size: clamp(14px, 2.8vw, 16px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px; /* Enhanced touch-friendly minimum height */
  letter-spacing: 0.01em;
}

.cl-btn:hover{
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cl-btn-primary{
  background:var(--cl-brand);
  color:#2c2c54;
  border-color:transparent;
  font-weight: 600;
}

.cl-btn-primary:hover{
  background:#b7b7ff;
}

/* Responsive Form Styles */
.cl-form-group {
  margin-bottom: var(--spacing-lg);
}

.cl-form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--cl-ink);
  font-size: var(--font-size-sm);
}

.cl-form-group input,
.cl-form-group textarea,
.cl-form-group select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid rgba(47,47,99,.15);
  border-radius: var(--cl-radius);
  font-size: var(--font-size-base);
  font-family: 'Montserrat', sans-serif;
  background: white;
  color: var(--cl-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px; /* Touch-friendly */
  box-sizing: border-box;
}

.cl-form-group input:focus,
.cl-form-group textarea:focus,
.cl-form-group select:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.2);
}

.cl-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.cl-form-actions {
  margin-top: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cl-form-actions .cl-btn {
  flex: 1;
  min-width: 120px;
}

/* Modal Form Styles */
.cl-modal-content {
  max-width: min(500px, 90vw);
  width: 100%;
  margin: var(--spacing-xl) auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
}

.cl-modal-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(47,47,99,.08);
  background: #f8f9ff;
}

.cl-modal-body {
  padding: var(--spacing-lg);
}

.cl-modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--cl-ink);
  padding: var(--spacing-xs);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.cl-modal-close:hover {
  background: rgba(47,47,99,.1);
}

/* CTA carousel button icons */
.cl-cta-slide .cl-btn::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Slider media fixed dimensions (images/videos): 600 x 760 px */
.cl-cta-slide img,
.cl-cta-slide video,
.cl-slider img,
.cl-slider video {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 760;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .cl-cta-slide img,
  .cl-cta-slide video,
  .cl-slider img,
  .cl-slider video {
    max-width: 100%;
  }
}

/* Register Your Companion - ID card with plus */
.cl-cta-slide:nth-child(1) .cl-btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' ry='2'/%3E%3Cline x1='7' y1='9' x2='13' y2='9'/%3E%3Cline x1='7' y1='13' x2='11' y2='13'/%3E%3Ccircle cx='17' cy='13' r='2'/%3E%3Cline x1='17' y1='11' x2='17' y2='15'/%3E%3Cline x1='15' y1='13' x2='19' y2='13'/%3E%3C/svg%3E");
}

/* Develop Your Dashboard - monitor with widgets */
.cl-cta-slide:nth-child(2) .cl-btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Crect x='5' y='6' width='6' height='4'/%3E%3Crect x='13' y='6' width='6' height='7'/%3E%3Crect x='5' y='11' width='6' height='2'/%3E%3Cline x1='8' y1='20' x2='16' y2='20'/%3E%3Cline x1='10' y1='16' x2='14' y2='16'/%3E%3C/svg%3E");
}

/* Join the Conversation - chat bubble */
.cl-cta-slide:nth-child(3) .cl-btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-4 4V5a4 4 0 0 1 4-4h9a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}

.cl-actions{margin-top:18px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cl-chip{display:inline-block;background:#fff;border:1px dashed rgba(47,47,99,.25);padding:10px 14px;border-radius:999px;text-decoration:none;color:var(--cl-ink)}
.cl-about-wrap{
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-xl);
  background:transparent;
  margin: var(--spacing-xl) 0;
}

.cl-about-wrap h2{
  text-align:center;
  margin:0 0 var(--spacing-lg);
  font-size: clamp(24px, 5vw, 36px);
}

.cl-about-content{
  display:block;
  max-width: var(--container-lg);
  margin:0 auto;
  text-align:center;
  padding: 0 var(--spacing-md);
}

.cl-about-text{
  display:grid;
  font-size: var(--font-size-base);
  line-height: 1.7;
}
.cl-about-text p {
  margin-bottom: 10px;
}
/* Responsive Images */
.cl-about-image img{
  width:100%;
  height:auto;
  border-radius:16px;
  object-fit:cover;
  max-width: 100%;
}

/* General responsive image styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive video containers */
.cl-video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 12px;
}

.cl-video-container iframe,
.cl-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.cl-mission-wrap{
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-xl);
  background:transparent;
  margin: var(--spacing-xl) 0;
}

.cl-mission-wrap h2{
  text-align:center;
  margin:0 0 var(--spacing-lg);
  font-size: clamp(24px, 5vw, 36px);
}
/* Enhanced Responsive Grid Layouts */
.cl-mission-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: var(--container-xl);
  margin:0 auto;
  padding: 0 var(--spacing-md);
}
.cl-profile-header {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  width: 100%;
  padding-inline: 20px;
  box-sizing: border-box;
}
.cl-profile-content {
  padding-inline: 20px;
}
/* Responsive Grid Breakpoints */
@media (max-width: 768px) {
  .cl-mission-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cl-mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

}
header {
  overflow: hidden;
}

@media (min-width: 1025px) {
  .cl-mission-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
}
.cl-mission-box{
  background:#fff;
  border:1px solid rgba(47,47,99,.12);
  border-radius:18px;
  padding: var(--spacing-lg);
  min-height: clamp(160px, 20vw, 200px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition: box-shadow 0.2s ease;
}

.cl-mission-box:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cl-mission-box h3{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  margin:0 0 var(--spacing-sm);
  font-size: clamp(18px, 3.5vw, 24px);
  color: var(--cl-ink);
  letter-spacing: -0.01em;
}

.cl-mission-box p {
  font-size: clamp(14px, 2.8vw, 16px);
  line-height: 1.6;
  color: rgba(47,47,99,0.85);
  margin: 0;
  font-weight: 400;
}

.cl-mission-image{
  width: clamp(48px, 8vw, 72px);
  height: clamp(48px, 8vw, 72px);
  margin-bottom: var(--spacing-md);
  display:flex;
  align-items:center;
  justify-content:center;
}

.cl-mission-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 2px 4px rgba(47,47,99,.1));
}
.cl-pricing-wrap{margin:0;padding:48px 20px;background:transparent;border-top:none}
.cl-pricing{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;max-width:980px;margin:0 auto}
.cl-pricing-wrap h2{margin:0 0 16px;text-align:center}
.cl-plan{background:#fff;border:1px solid rgba(47,47,99,.12);border-radius:16px;padding:22px;text-align:left;display:flex;flex-direction:column;gap:12px}
.cl-plan h3{font-family:'Montserrat',sans-serif;font-weight:400;margin:4px 0 6px}
.cl-plan .price{font-family:'Montserrat',sans-serif;font-weight:400;font-size:28px;margin:0 0 6px}
.cl-plan .price span{font-family:'Montserrat',sans-serif;font-weight:400;font-size:14px;opacity:.7}
.cl-plan ul{margin:4px 0 10px;padding-left:18px;display:flex;flex-direction:column;gap:8px}
.cl-plan a.cl-btn{align-self:flex-start;margin-top:6px}
.cl-plan-highlight{outline:3px solid var(--cl-brand)}
.cl-faq{background:transparent;border-top:none;padding:0 20px 80px 20px}
.cl-faq h2{text-align:center;margin:0 0 12px}

/* Scroll reveal (AOS-like) */
/* [data-aos]{opacity:.001;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease} */
/* [data-aos].aos-in{opacity:1;transform:none} */
/* Direction variants */
/* [data-aos="slide-left"]{transform:translateX(-24px)} */
/* [data-aos="slide-right"]{transform:translateX(24px)} */
/* @media (prefers-reduced-motion: reduce){
  [data-aos]{transition:none;transform:none;opacity:1}
} */

/* Enhanced Header Navigation */
.cl-nav{
  display:flex;
  gap: var(--spacing-xs);
  flex:1;
  justify-content:center;
  margin: 0 var(--spacing-lg);
  flex-wrap: nowrap;
  /* overflow-x: auto; */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cl-nav::-webkit-scrollbar {
  display: none;
}

.cl-nav a{
  font-family:'Montserrat',sans-serif;
  font-weight:500;
  color:var(--cl-ink);
  text-decoration:none;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: clamp(12px, 2vw, 14px);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  border-radius: 6px;
  white-space: nowrap;
  position: relative;
  opacity: 0.85;
  flex-shrink: 0;
  min-width: fit-content;
}

.cl-nav a:hover{
  color: var(--cl-brand);
  opacity: 1;
  background: rgba(204, 204, 255, 0.1);
}

.cl-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cl-brand);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  transform: translateX(-50%);
}

.cl-nav a:hover::after {
  width: 80%;
}

/* Header Actions */
.cl-header-actions{
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Logout Button Styling */
.cl-header-actions .cl-btn-logout{
  background: #39387e !important;
  color: white !important;
  border: 1px solid #39387e !important;
  font-weight: 600;
  font-size: clamp(12px, 2.2vw, 14px);
  padding: 0px 24px;
  min-height: 36px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-header-actions .cl-btn-logout:hover{
  background: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Ensure anchors land below fixed header space */
.cl-landing section{scroll-margin-top:80px;
  opacity: 1;
  transform: translate(0);
}

/* Burger Menu */
.cl-burger-menu{
  display:none;
  flex-direction:column;
  gap:4px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  margin-left: var(--spacing-sm);
  z-index: 10001;
}

.cl-burger-menu span{
  width:25px;
  height:3px;
  background:var(--cl-ink);
  transition:all .3s ease;
  border-radius:2px;
  display: block;
}

.cl-burger-menu.active span:nth-child(1){
  transform:rotate(45deg) translate(6px,6px);
}

.cl-burger-menu.active span:nth-child(2){
  opacity:0;
}

.cl-burger-menu.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* Mobile Navigation */
.cl-mobile-nav-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,.3);
  backdrop-filter:blur(10px);
  z-index:9998;
  opacity:0;
  visibility:hidden;
  transition:all .3s ease;
}

.cl-mobile-nav-overlay.active{
  opacity:1;
  visibility:visible;
}

.cl-mobile-nav{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(0.8);
  width:90%;
  max-width: min(400px, 90vw);
  background:#fff;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transition:all .3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.cl-mobile-nav.active{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,-50%) scale(1);
}

.cl-mobile-nav-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  border-bottom:1px solid rgba(47,47,99,.08);
  position: sticky;
  top: 0;
  background: white;
  border-radius: 20px 20px 0 0;
}

.cl-mobile-logo{
  height: clamp(25px, 5vw, 32px);
  width: auto;
}

.cl-close-menu{
  background:none;
  border:none;
  font-size: var(--font-size-xl);
  cursor:pointer;
  color:var(--cl-ink);
  padding: var(--spacing-xs);
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 20px;
  transition:background .2s ease;
}

.cl-close-menu:hover{
  background:rgba(47,47,99,.1);
}

.cl-mobile-nav-content{
  padding: var(--spacing-xs) 0 var(--spacing-md);
}

.cl-mobile-nav-link{
  font-family:'Montserrat',sans-serif;
  font-weight:400;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  color:var(--cl-ink);
  text-decoration:none;
  font-size: var(--font-size-lg);
  transition:all .2s ease;
  border-bottom:1px solid rgba(47,47,99,.05);
}

.cl-mobile-nav-link:hover{
  background:rgba(204,204,255,.08);
  color:var(--cl-brand);
}

.cl-mobile-nav-link:last-child{
  border-bottom:none;
}

.cl-mobile-nav-arrow{
  font-size: var(--font-size-base);
  color:rgba(47,47,99,.4);
  transition:color .2s ease;
}

.cl-mobile-nav-link:hover .cl-mobile-nav-arrow{
  color:var(--cl-brand);
}

.cl-mobile-nav-actions{
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  border-top:1px solid rgba(47,47,99,.08);
  display:flex;
  justify-content:center;
  position: sticky;
  bottom: 0;
  background: white;
  border-radius: 0 0 20px 20px;
}

.cl-mobile-btn{
  width:100%;
  max-width: 200px;
  text-align:center;
  margin-top: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
  border-radius: 12px;
}

/* Mobile logout button styling */
.cl-mobile-btn.cl-btn-logout{
  background: #3b82f6 !important;
  color: white !important;
  border: 1px solid #3b82f6 !important;
  font-weight: 600;
}

.cl-mobile-btn.cl-btn-logout:hover{
  background: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive Design - Media Queries Every 150px */

/* Extra Small Devices (320px - 470px) */
@media (max-width: 470px){
  .cl-burger-menu{display:flex}
  .cl-nav{display:none !important}
  .cl-header-actions{display:none !important}
  .cl-header-container{padding: var(--spacing-xs) 20px;min-height: 60px}
  .cl-logo{height: clamp(25px, 4vw, 35px)}
  .cl-hero{padding:60px 20px 12px;min-height:50vh}
  .cl-hero-inner{padding:0 20px}
  .cl-sub{font-size:18px;margin:0 auto 12px}
  .cl-cta-carousel{min-height:50px}
  .cl-cta-slide .cl-btn{width:100%;max-width:260px;padding:12px 16px;font-size:14px}
  .cl-carousel-prev{left:-40px;width:32px;height:32px}
  .cl-carousel-next{right:-40px;width:32px;height:32px}
  .cl-actions{flex-direction:column;align-items:center;gap:8px}
  .cl-actions .cl-chip{width:100%;max-width:260px;text-align:center;padding:10px 14px;font-size:14px}
  .cl-about-wrap{padding:24px 20px 16px}
  .cl-about-content{grid-template-columns:1fr;gap:16px;text-align:center;padding:0 20px}
  .cl-about-text{padding:0}
  .cl-mission-wrap{padding:24px 20px}
  .cl-mission-grid{grid-template-columns:1fr;gap:8px}
  .cl-mission-box{padding:16px;min-height:120px}
  .cl-pricing-wrap{padding:24px 20px}
  .cl-pricing{grid-template-columns:1fr;gap:8px}
  .cl-plan{padding:16px}
  .cl-faq{padding:32px 20px}
  .cl-footer{padding:24px 20px 16px}
  .cl-footer-content{grid-template-columns:1fr;gap:16px;text-align:center}
  .cl-contact-info{justify-content:center}
  h1{font-size:clamp(22px,7vw,28px)}
  h2{font-size:clamp(18px,6vw,22px);margin:24px 0 16px 0;padding:12px 0}
}

/* Small Mobile (471px - 620px) */
@media (min-width: 471px) and (max-width: 620px){
  .cl-burger-menu{display:flex}
  .cl-nav{display:none !important}
  .cl-header-actions{display:none !important}
  .cl-header-container{padding: var(--spacing-sm) 20px;min-height: 65px}
  .cl-logo{height: clamp(28px, 4.5vw, 40px)}
  .cl-hero{padding:70px 20px 16px;min-height:60vh}
  .cl-hero-inner{max-width:100%;padding:0 20px}
  .cl-sub{font-size:18px;margin:0 auto 16px}
  .cl-cta-carousel{min-height:55px}
  .cl-cta-slide .cl-btn{width:100%;max-width:280px;padding:14px 20px;font-size:16px}
  .cl-carousel-prev{left:-50px;width:36px;height:36px}
  .cl-carousel-next{right:-50px;width:36px;height:36px}
  .cl-actions{flex-direction:column;align-items:center;gap:10px}
  .cl-actions .cl-chip{width:100%;max-width:280px;text-align:center;padding:12px 16px}
  .cl-about-wrap{padding:32px 20px 20px}
  .cl-about-content{grid-template-columns:1fr;gap:20px;text-align:center;padding:0 20px}
  .cl-about-text{padding:0}
  .cl-mission-wrap{padding:32px 20px}
  .cl-mission-grid{grid-template-columns:1fr;gap:12px}
  .cl-mission-box{padding:20px;min-height:140px}
  .cl-pricing-wrap{padding:32px 20px}
  .cl-pricing{grid-template-columns:1fr;gap:12px}
  .cl-plan{padding:20px}
  .cl-faq{padding:40px 20px}
  .cl-footer{padding:32px 20px 20px}
  .cl-footer-content{grid-template-columns:1fr;gap:20px;text-align:center}
  .cl-contact-info{justify-content:center}
  h1{font-size:clamp(26px,6vw,32px)}
  h2{font-size:clamp(20px,5vw,24px);margin:28px 0 18px 0;padding:14px 0}
}

/* Large Mobile (621px - 770px) */
@media (min-width: 621px) and (max-width: 770px){
  .cl-burger-menu{display:flex}
  .cl-nav{display:none !important}
  .cl-header-actions{display:none !important}
  .cl-header-container{padding: var(--spacing-sm) 20px;justify-content:space-between}
  .cl-logo{height: clamp(32px, 5vw, 44px)}
  .cl-hero{padding:80px 20px 20px;min-height:70vh}
  .cl-hero-inner{max-width:600px;padding:0 20px}
  .cl-cta-carousel{min-height:60px}
  .cl-cta-slide .cl-btn{width:200px;padding:16px 22px;font-size:17px}
  .cl-carousel-prev{left:-55px;width:38px;height:38px}
  .cl-carousel-next{right:-55px;width:38px;height:38px}
  .cl-actions{flex-direction:column;align-items:center;gap:12px}
  .cl-actions .cl-chip{width:200px;text-align:center;padding:14px 18px;font-size:15px}
  .cl-about-content{grid-template-columns:1fr;gap:24px;text-align:center;padding:0 20px}
  .cl-mission-grid{grid-template-columns:1fr;gap:16px}
  .cl-pricing{grid-template-columns:1fr;gap:16px}
  .cl-footer-content{grid-template-columns:1fr;gap:24px;text-align:center}
  .cl-contact-info{justify-content:center}
  h1{font-size:clamp(28px,4vw,36px)}
  h2{font-size:clamp(22px,3vw,28px);margin:30px 0 20px 0;padding:15px 0}
}

/* Small Tablet (771px - 920px) */
@media (min-width: 771px) and (max-width: 920px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important;flex-wrap:nowrap;overflow-x:auto;gap:var(--spacing-xs)}
  .cl-header-actions{display:flex !important}
  .cl-header-container{padding: var(--spacing-sm) 20px;justify-content:space-between}
  .cl-logo{height: clamp(35px, 5.5vw, 48px)}
  .cl-hero{padding:90px 20px 24px;min-height:75vh}
  .cl-hero h1{font-size:clamp(32px,4vw,42px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:14px}
  .cl-cta .cl-btn{width:180px;padding:15px 20px;font-size:16px}
  .cl-actions{gap:14px}
  .cl-actions .cl-chip{width:180px;padding:13px 17px;font-size:14px}
  .cl-about-content{grid-template-columns:1fr;gap:28px;text-align:center;padding:0 20px}
  .cl-mission-grid{grid-template-columns:1fr;gap:18px}
  .cl-pricing{grid-template-columns:1fr;gap:18px}
  .cl-footer-content{grid-template-columns:1fr;gap:28px;text-align:center}
  .cl-contact-info{justify-content:center}
}

/* Medium Tablet (921px - 1070px) */
@media (min-width: 921px) and (max-width: 1070px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important;flex-wrap:nowrap;gap:var(--spacing-xs)}
  .cl-header-actions{display:flex !important}
  .cl-header-container{padding: var(--spacing-sm) 20px;justify-content:space-between}
  .cl-logo{height: clamp(38px, 6vw, 52px)}
  .cl-hero{padding:100px 20px 28px;min-height:80vh}
  .cl-hero h1{font-size:clamp(36px,4vw,48px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:16px}
  .cl-cta .cl-btn{width:200px;padding:16px 22px;font-size:17px}
  .cl-actions{gap:16px}
  .cl-actions .cl-chip{width:200px;padding:14px 18px;font-size:15px}
  .cl-about-content{grid-template-columns:1fr;gap:32px;text-align:center;padding:0 20px}
  .cl-mission-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:20px}
  .cl-footer-content{grid-template-columns:1fr;gap:32px;text-align:center}
  .cl-contact-info{justify-content:center}
}

/* Large Tablet (1071px - 1220px) */
@media (min-width: 1071px) and (max-width: 1220px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:16px 20px}
  .cl-logo{height:54px}
  .cl-hero{padding:110px 24px 32px;min-height:82vh}
  .cl-hero h1{font-size:clamp(40px,4vw,52px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:18px}
  .cl-cta .cl-btn{width:210px;padding:17px 23px;font-size:18px}
  .cl-actions{gap:18px}
  .cl-actions .cl-chip{width:210px;padding:15px 19px;font-size:16px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:40px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(2,1fr);gap:24px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:24px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:36px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}

/* Small Laptop (1221px - 1370px) */
@media (min-width: 1221px) and (max-width: 1370px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:16px 20px}
  .cl-logo{height:56px}
  .cl-hero{padding:120px 24px 36px;min-height:85vh}
  .cl-hero h1{font-size:clamp(44px,4vw,56px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:20px}
  .cl-cta .cl-btn{width:220px;padding:18px 24px;font-size:18px}
  .cl-actions{gap:20px}
  .cl-actions .cl-chip{width:220px;padding:16px 20px;font-size:16px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:50px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(3,1fr);gap:28px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:28px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:40px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}

/* Medium Laptop (1371px - 1520px) */
@media (min-width: 1371px) and (max-width: 1520px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:18px 24px}
  .cl-logo{height:58px}
  .cl-hero{padding:130px 24px 40px;min-height:87vh}
  .cl-hero h1{font-size:clamp(48px,4vw,60px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:22px}
  .cl-cta .cl-btn{width:230px;padding:19px 25px;font-size:19px}
  .cl-actions{gap:22px}
  .cl-actions .cl-chip{width:230px;padding:17px 21px;font-size:17px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:60px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(3,1fr);gap:32px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:32px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:44px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}

/* Large Laptop (1521px - 1670px) */
@media (min-width: 1521px) and (max-width: 1670px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:18px 24px}
  .cl-logo{height:60px}
  .cl-hero{padding:140px 24px 44px;min-height:88vh}
  .cl-hero h1{font-size:clamp(52px,4vw,64px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:24px}
  .cl-cta .cl-btn{width:240px;padding:20px 26px;font-size:20px}
  .cl-actions{gap:24px}
  .cl-actions .cl-chip{width:240px;padding:18px 22px;font-size:18px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:70px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(3,1fr);gap:36px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:36px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:48px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}

/* Extra Large Laptop (1671px - 1820px) */
@media (min-width: 1671px) and (max-width: 1820px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:20px 28px}
  .cl-logo{height:62px}
  .cl-hero{padding:150px 28px 48px;min-height:90vh}
  .cl-hero h1{font-size:clamp(56px,4vw,68px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:26px}
  .cl-cta .cl-btn{width:250px;padding:21px 27px;font-size:21px}
  .cl-actions{gap:26px}
  .cl-actions .cl-chip{width:250px;padding:19px 23px;font-size:19px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:80px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(3,1fr);gap:40px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:40px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:52px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}

/* Ultra Wide (1821px - 1920px) */
@media (min-width: 1821px) and (max-width: 1920px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:20px 32px}
  .cl-logo{height:64px}
  .cl-hero{padding:160px 32px 52px;min-height:92vh}
  .cl-hero h1{font-size:clamp(60px,4vw,72px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:28px}
  .cl-cta .cl-btn{width:260px;padding:22px 28px;font-size:22px}
  .cl-actions{gap:28px}
  .cl-actions .cl-chip{width:260px;padding:20px 24px;font-size:20px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:90px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(3,1fr);gap:44px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:44px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:56px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}

/* Ultra Wide+ (1921px+) */
@media (min-width: 1921px){
  .cl-burger-menu{display:none}
  .cl-nav{display:flex !important}
  .cl-header-actions{display:flex !important}
  .cl-site-header{justify-content:space-between;padding:24px 40px}
  .cl-logo{height:68px}
  .cl-hero{padding:180px 40px 60px;min-height:95vh}
  .cl-hero h1{font-size:clamp(64px,4vw,80px)}
  .cl-hero p{font-size:18px}
  .cl-cta{gap:30px}
  .cl-cta .cl-btn{width:280px;padding:24px 30px;font-size:24px}
  .cl-actions{gap:30px}
  .cl-actions .cl-chip{width:280px;padding:22px 26px;font-size:22px}
  .cl-about-content{grid-template-columns:1fr 1fr;gap:100px;align-items:center}
  .cl-mission-grid{grid-template-columns:repeat(3,1fr);gap:48px}
  .cl-pricing{grid-template-columns:repeat(2,1fr);gap:48px}
  .cl-footer-content{grid-template-columns:1fr 1fr 1fr;gap:60px;text-align:left}
  .cl-contact-info{justify-content:flex-end}
}
.cl-faq{
  padding: var(--spacing-xl) var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.cl-faq .wrap{
  max-width: var(--container-lg);
  margin:0 auto;
}

.cl-faq h2{
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: clamp(24px, 5vw, 36px);
}

.cl-faq details{
  background:#fff;
  border:1px solid rgba(47,47,99,.12);
  border-radius:12px;
  margin: var(--spacing-md) 0;
  overflow:hidden;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-faq details:hover{
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cl-faq summary{
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  cursor:pointer;
  padding: var(--spacing-md) var(--spacing-lg);
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative;
  font-size: var(--font-size-lg);
  color: var(--cl-ink);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.cl-faq summary::-webkit-details-marker{display:none}
.cl-faq-arrow{width:12px;height:12px;border-left:2px solid #CCCCFF;border-bottom:2px solid #CCCCFF;transform:rotate(-45deg);transition:transform 0.3s ease;margin-left:12px;display:inline-block}
.cl-faq details[open] .cl-faq-arrow{transform:rotate(180deg)}
.cl-faq-answer{
  padding:0 var(--spacing-lg) var(--spacing-md);
  max-height:0;
  opacity:0;
  transition: all 0.35s ease;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: rgba(47,47,99,0.85);
}

.cl-faq-item[open] .cl-faq-answer{
  padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);
  max-height:480px;
  opacity:1;
}
.cl-card{background:#fff;border:1px solid rgba(47,47,99,.12);border-radius:16px;padding:16px}

/* Enhanced Responsive Footer */
.cl-footer{
  background: linear-gradient(135deg, rgba(204,204,255,0.1) 0%, rgba(240,240,255,0.2) 100%);
  border-top: 1px solid rgba(47,47,99,0.1);
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.cl-footer-content{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(24px, 6vw, 48px);
  align-items:start;
  max-width: var(--container-xl);
  margin:0 auto;
}

.cl-footer-left{
  display:flex;
  flex-direction:column;
  align-items: baseline;
  margin-top: -17px;
}
.cl-nav a:hover {
  color: #000 !important;
}
.cl-contact-email:hover {
  color: #000 !important;
}
.cl-footer-left img {
  max-width: 58%;
}
.cl-footer-logo{
  height:66px;
  width:auto;
}

.cl-footer-desc{
  color: var(--cl-ink);
  opacity: 0.85;
  line-height: 1.6;
  margin: 0;
  font-size: var(--font-size-sm);
  max-width: 300px;
}

.cl-footer-nav{
  display:flex;
  flex-direction:column;
  gap: var(--spacing-sm);
  align-items:center;
}

.cl-footer-nav a{
  font-family:'Montserrat',sans-serif;
  font-weight:500;
  color: var(--cl-ink);
  text-decoration:none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  font-size: var(--font-size-sm);
  padding: 0;
  position: relative;
}

.cl-footer-nav a:hover{
  color:#000;
}
.cl-dashboard-content {
  padding-inline: 20px;
}

.cl-footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cl-brand);
  transition: width 0.3s ease;
}

.cl-footer-nav a:hover::after {
  width: 100%;
}

.cl-contact-info{
  display:flex;
  flex-direction:column;
  gap: var(--spacing-sm);
  align-items:flex-end;
}

.cl-contact-email{
  font-family:'Montserrat',sans-serif;
  font-weight:500;
  color: var(--cl-ink);
  text-decoration:none;
  font-size: var(--font-size-sm);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
  display:flex;
  align-items:center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 8px;
  border: 1px solid transparent;
}

.cl-contact-email:hover{
  color: var(--cl-brand);
  opacity: 1;
  background: rgba(204,204,255,0.1);
  border-color: rgba(204,204,255,0.3);
}

.cl-gmail-icon{
  flex-shrink:0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  font-size: 16px;
}

.cl-contact-email:hover .cl-gmail-icon{
  color: #000;
}

.cl-footer-bottom{
  text-align:center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(47,47,99,0.1);
}

.cl-footer-bottom small{
  opacity: 0.7;
  font-size: var(--font-size-xs);
  color: var(--cl-ink);
}


/* Enhanced Mobile Footer */
@media (max-width: 768px){
  .cl-footer{
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .cl-footer-content{
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .cl-footer-left{
    align-items: center;
  }
  
  .cl-footer-desc{
    max-width: 100%;
    text-align: center;
  }
  
  .cl-footer-nav{
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .cl-contact-info{
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .cl-footer-logo{
    height: clamp(35px, 6vw, 50px);
    width: auto;
  }
  
  .cl-footer-bottom{
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
  }
}

@media (max-width: 480px){
  .cl-footer{
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .cl-footer-content{
    gap: var(--spacing-md);
  }
  
  .cl-footer-nav{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
  }
  
  .cl-footer-nav a{
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* Overrides: Hero banner sizing tweaks */
.cl-hero-logo{width:clamp(240px,32vw,520px);height:auto}
.cl-hero h1{font-size:clamp(22px,2.4vw,30px)!important}

/* Static CTA row */
.cl-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.cl-cta .cl-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:9999px;background:var(--cl-ink);color:#fff;border:1px solid var(--cl-ink);animation:none;pointer-events:none;cursor:default}

/* CTA slider viewport */
.cl-cta.cl-cta-slider{width:100%;max-width:760px;margin:20px auto;display:flex;align-items:center;justify-content:center;gap:10px}
.cl-cta.cl-cta-slider .cl-cta-track{display:flex;align-items:center;gap:16px;will-change:transform;overflow:hidden}
.cl-cta.cl-cta-slider .cl-btn{display:inline-flex;padding:12px 22px;border-radius:9999px;background:var(--cl-ink);color:#fff;border:1px solid var(--cl-ink);pointer-events:none;cursor:default;white-space:nowrap}
.cl-cta-prev,.cl-cta-next{background:var(--cl-brand);color:var(--cl-ink);border:none;border-radius:999px;width:36px;height:36px;display:flex;align-items:center;justify-content:center}
@media (min-width: 992px){
  .cl-cta-prev,.cl-cta-next{background:var(--cl-ink);color:#fff}
}
@media (max-width: 768px){
  .cl-cta.cl-cta-slider{max-width:100%}
}

/* Remove slider-specific elements */
.cl-cta-prev,.cl-cta-next,.cl-cta-track{display:none}
.cl-cta.cl-cta-slider{all:unset}

/* Contact Form 7 Styling */
.cl-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  background: white;
  border-radius: var(--cl-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cl-form-container h2 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--cl-ink);
  font-size: 28px;
  font-weight: 700;
}

.cl-form-container p {
  text-align: center;
  margin-bottom: 24px;
  color: #666;
  font-size: 16px;
}

.cl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cl-form-group {
  margin-bottom: 20px;
}

.cl-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--cl-ink);
  font-size: 14px;
}

.cl-form-group input,
.cl-form-group select,
.cl-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: var(--cl-radius);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.cl-form-group input:focus,
.cl-form-group select:focus,
.cl-form-group textarea:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}

.cl-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.cl-form-remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cl-form-remember label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

.cl-form-remember input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.cl-form-actions {
  text-align: center;
  margin: 24px 0;
}

.cl-form-actions .cl-btn {
  width: 100%;
  max-width: 300px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
}

.cl-form-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e5e9;
}

.cl-form-footer p {
  margin: 8px 0;
  font-size: 14px;
}

.cl-form-toggle,
.cl-form-link {
  color: var(--cl-brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cl-form-toggle:hover,
.cl-form-link:hover {
  color: var(--cl-ink);
  text-decoration: underline;
}

/* Contact Form 7 specific styling */
.wpcf7-form {
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7-not-valid-tip {
  color: #d63384;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.wpcf7-not-valid {
  border-color: #d63384 !important;
  box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1) !important;
}

.wpcf7-response-output {
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: var(--cl-radius);
  font-size: 14px;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background: #d1edff;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.wpcf7-validation-errors {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Responsive Contact Form 7 */
@media (max-width: 768px) {
  .cl-form-container {
    padding: 24px 16px;
    margin: 0 16px;
  }
  
  .cl-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .cl-form-container h2 {
    font-size: 24px;
  }
  
  .cl-form-group input,
  .cl-form-group select,
  .cl-form-group textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Join Now Modal */
body.modal-open {
  overflow: hidden;
}

.cl-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.cl-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.cl-modal-content {
  position: relative;
  background: white;
  border-radius: var(--cl-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cl-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px 16px;
  border-bottom: 1px solid #e1e5e9;
}

.cl-modal-header h2 {
  margin: 0;
  color: var(--cl-ink);
  font-size: 24px;
  font-weight: 700;
}

.cl-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-modal-close:hover {
  background: #f5f5f5;
  color: var(--cl-ink);
}

.cl-modal-body {
  padding: 0 32px 32px;
}

.cl-modal-tabs {
  display: flex;
  border-bottom: 2px solid #e1e5e9;
  margin-bottom: 24px;
}

.cl-tab-btn {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-tab-btn.active {
  color: var(--cl-brand);
  border-bottom-color: var(--cl-brand);
}

.cl-tab-btn:hover {
  color: var(--cl-ink);
}

.cl-tab-pane {
  display: none;
}

.cl-tab-pane.active {
  display: block;
}

/* Auth Form Styling */
.cl-auth-form {
  padding: 0;
}

.cl-auth-form .cl-form-group {
  margin-bottom: 20px;
}

.cl-auth-form .cl-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--cl-ink);
  font-size: 14px;
}

.cl-auth-form .cl-form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: var(--cl-radius);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.cl-auth-form .cl-form-group input:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}

.cl-auth-form .cl-form-actions {
  text-align: center;
  margin: 24px 0 16px;
  justify-content: space-around;
}

.cl-auth-form .cl-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
}

.cl-form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--cl-radius);
  font-size: 14px;
  text-align: center;
  display: none;
}

.cl-form-message.success {
  background: #d1edff;
  color: #0c5460;
  border: 1px solid #bee5eb;
  display: block;
}

.cl-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.cl-form-message.loading {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
  display: block;
}

/* Dashboard Styling */
.cl-dashboard {
  min-height: 100vh;
  background: var(--cl-bg);
  padding: 20px 0;
}

.cl-dashboard-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 0;
  border-bottom: 2px solid rgba(204, 204, 255, 0.2);
}

.cl-dashboard-welcome h1 {
  color: var(--cl-ink);
  margin-bottom: 8px;
  font-size: 2.5rem;
}

.cl-dashboard-welcome p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.cl-dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cl-dashboard-section {
  background: white;
  border-radius: var(--cl-radius);
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(204, 204, 255, 0.2);
}

.cl-dashboard-section h2 {
  color: var(--cl-ink);
  margin-bottom: 25px;
  font-size: 1.8rem;
  padding: 0;
}

.cl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
  align-items: start;
}

.cl-form-group {
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.cl-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--cl-ink);
  font-size: 14px;
}

.cl-form-group input,
.cl-form-group select,
.cl-form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: var(--cl-radius);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
  font-family: inherit;
  box-sizing: border-box;
}

.cl-form-group input:focus,
.cl-form-group select:focus,
.cl-form-group textarea:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}

.cl-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.cl-form-actions {
  text-align: center;
  margin-top: 25px;
}

.cl-form-actions .cl-btn {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
}

/* Edit modal specific button spacing */
#edit-companion-modal .cl-form-actions .cl-btn {
  margin: 0;
  width: 100%;
  margin-bottom: 10px;
}

#edit-companion-modal .cl-form-actions .cl-btn:last-child {
  margin-bottom: 0;
}

#edit-companion-modal .cl-form-actions {
  gap: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Companion Form Styling */
.cl-companion-form {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--cl-radius);
  border: 1px solid rgba(204,204,255,0.3);
  max-width: 100%;
  overflow: hidden;
}

.cl-companion-form .cl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
  align-items: start;
  width: 100%;
}

.cl-companion-form .cl-form-group {
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.cl-companion-form .cl-form-group input,
.cl-companion-form .cl-form-group select,
.cl-companion-form .cl-form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cl-time-display {
  background: white;
  border: 2px solid #e1e5e9;
  border-radius: var(--cl-radius);
  padding: 12px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.cl-time-display.active {
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}

.cl-time-text {
  color: #666;
  font-size: 16px;
}

.cl-time-display.active .cl-time-text {
  color: var(--cl-ink);
  font-weight: 600;
}

.cl-time-counter {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  align-items: center;
}

.cl-time-unit {
  text-align: center;
  background: var(--cl-brand);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  min-width: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.cl-time-unit .number {
  font-size: 1.1rem;
  font-weight: bold;
  display: inline;
  margin-right: 4px;
}

.cl-time-unit .label {
  font-size: 0.9rem;
  opacity: 0.9;
  display: inline;
}

/* Companions Table Styling */
.cl-companions-list {
  background: white;
  border-radius: var(--cl-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(204, 204, 255, 0.2);
}

.cl-companions-table-container {
  overflow-x: auto;
}

.cl-companions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cl-companions-table th {
  background: #ffffff;
  color: var(--cl-ink);
  font-weight: 700;
  padding: 15px 12px;
  text-align: left;
  border-bottom: 2px solid #e1e5e9;
  white-space: nowrap;
}

/* Make specific headers match the themed header background */
.cl-th-companion,
.cl-th-description {
  background: #ececff !important;
}

.cl-th-actions {
  width: 120px;
  min-width: 120px;
  text-align: center;
}

.cl-companions-table td {
  padding: 12px;
  border-bottom: 1px solid #e1e5e9;
  vertical-align: top;
}

.cl-companions-table tbody tr:hover {
  background: #ffffff;
}

.cl-companions-table tbody tr:last-child td {
  border-bottom: none;
}

.cl-no-companions {
  text-align: center;
  color: #666;
  font-style: italic;
}

.cl-no-companions td {
  padding: 40px 20px;
}

.cl-companion-name {
  font-weight: 600;
  color: var(--cl-ink);
}

.cl-companion-status {
  background: var(--cl-brand);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.cl-companion-anniversary {
  color: #666;
  font-size: 13px;
}

.cl-companion-time {
  color: #28a745;
  font-weight: 600;
  font-size: 13px;
}

.cl-companion-description {
  color: #555;
  font-size: 13px;
  line-height: 1.4;
  max-width: 200px;
  word-wrap: break-word;
}

.cl-companion-actions {
  text-align: center;
}

.cl-companion-actions .cl-btn {
  padding: 6px 12px;
  font-size: 12px;
  margin: 0 2px 10px 2px;
}

.cl-btn-edit {
  background: #17a2b8;
  color: white;
  border: none;
}

.cl-btn-delete {
  background: #dc3545;
  color: white;
  border: none;
}

.cl-btn-edit:hover {
  background: #138496;
}

.cl-btn-delete:hover {
  background: #c82333;
}

.cl-current-avatar {
  margin-top: 10px;
}

/* Profile Layout */
.cl-profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.cl-profile-form {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--cl-radius);
  border: 1px solid rgba(204,204,255,0.3);
}

.cl-profile-info {
  position: sticky;
  top: 20px;
}

.cl-user-card {
  background: white;
  border-radius: var(--cl-radius);
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(204, 204, 255, 0.2);
  text-align: center;
}

.cl-user-avatar {
  margin-bottom: 20px;
}

.cl-user-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--cl-brand);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cl-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--cl-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cl-avatar-placeholder span {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.cl-user-details h3 {
  color: var(--cl-ink);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.cl-user-email {
  color: #666;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.cl-user-phone {
  color: #666;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.cl-user-description {
  color: #555;
  font-style: italic;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Certificate Generator */
.cl-certificate-generator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.cl-certificate-preview {
  background: #f8f9fa;
  padding: 20px;
  border-radius: var(--cl-radius);
  border: 2px dashed #ccc;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cl-certificate-template {
  background: #fefefe; /* Clean white background */
  border: 6px solid #d4af37; /* Outer gold border */
  border-radius: 0;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 100%;
  width: 100%;
  min-height: 500px;
  max-height: 600px;
  overflow: hidden;
  box-sizing: border-box;
  font-family: 'Times New Roman', serif;
}

/* Double border effect - inner border */
.cl-certificate-template::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid #d4af37;
  border-radius: 0;
  pointer-events: none;
}

.cl-certificate-title {
  font-family: 'Dancing Script', cursive, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a4d1a; /* Dark green */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  letter-spacing: 2px;
  line-height: 1.2;
}

.cl-certificate-content {
  margin: 30px 0;
}

.cl-certificate-names {
  margin-bottom: 25px;
}

.cl-name-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 30px;
}

.cl-line {
  height: 3px;
  background: #1a4d1a;
  flex: 1;
  max-width: 200px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cl-ampersand {
  font-family: 'Dancing Script', cursive, serif;
  font-size: 2.5rem;
  color: #1a4d1a;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cl-recognized-as {
  font-family: 'Dancing Script', cursive, serif;
  font-size: 1.8rem;
  color: #1a4d1a;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.cl-recognition-line {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.cl-recognition-line .cl-line {
  max-width: 300px;
  height: 3px;
  background: #1a4d1a;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cl-certificate-footer {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-end;
  position: relative;
  gap: 20px;
  padding-top: 20px;
}

.cl-date-section {
  text-align: left;
  justify-self: start;
}

.cl-logo-image {
  height: 32px;
  width: auto;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
}

.cl-serial-section {
  text-align: right;
  justify-self: end;
}

.cl-detail-line {
  width: 120px;
  height: 3px;
  background: #8b7355; /* Light brown */
  margin: 0 0 10px 0;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cl-detail-label {
  font-size: 0.9rem;
  color: #8b7355; /* Light brown */
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cl-certificate-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cl-certificate-actions .cl-btn {
  width: 100%;
  padding: 12px 20px;
}

/* Responsive design for certificate */
@media (max-width: 768px) {
  .cl-certificate-generator {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cl-certificate-template {
    padding: 30px 20px;
    min-height: 400px;
    max-height: 500px;
  }
  
  .cl-certificate-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .cl-certificate-content {
    margin: 20px 0;
  }
  
  .cl-certificate-names {
    margin-bottom: 15px;
  }
  
  .cl-name-line {
    margin-bottom: 15px;
  }
  
  .cl-line {
    max-width: 100px;
  }
  
  .cl-ampersand {
    font-size: 1.5rem;
    margin: 0 15px;
  }
  
  .cl-recognized-as {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .cl-recognition-line .cl-line {
    max-width: 200px;
  }
  
  .cl-certificate-footer {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .cl-date-section,
  .cl-serial-section {
    text-align: center;
    justify-self: center;
  }
  
  .cl-logo {
    justify-self: center;
  }
  
  .cl-detail-line {
    width: 80px;
    margin: 0 auto 8px;
  }
}

/* Generated Certificates Styling */
.cl-generated-certificate {
  background: #fefefe;
  border: 6px solid #d4af37;
  border-radius: 0;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 20px 0;
  font-family: 'Times New Roman', serif;
}

.cl-generated-certificate::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid #d4af37;
  border-radius: 0;
  pointer-events: none;
}

.cl-generated-title {
  font-family: 'Dancing Script', cursive, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  letter-spacing: 2px;
  line-height: 1.2;
}

.cl-generated-names {
  margin-bottom: 30px;
}

.cl-generated-name-text-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 30px;
}

.cl-generated-name-text-left,
.cl-generated-name-text-right {
  font-size: 1rem;
  color: #000;
  font-weight: 700;
  font-family: 'Arial', sans-serif;
  letter-spacing: 2px;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.cl-generated-name-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 30px;
}

.cl-generated-name-line {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 20px;
  margin-top: 0;
  padding-top: 0;
}

.cl-generated-name-text {
  font-size: 1.2rem;
  color: #2c2c2c;
  font-weight: 700;
  font-family: 'Arial', sans-serif;
  letter-spacing: 2px;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.cl-generated-ampersand {
  font-family: 'Dancing Script', cursive, serif;
  font-size: 2.5rem;
  color: #000;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cl-generated-name-underline {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  align-items: center;
}

.cl-generated-line {
  height: 3px;
  background: #000;
  flex: 1;
  max-width: 200px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cl-generated-line-large {
  height: 3px;
  max-width: 300px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cl-generated-recognized-as {
  font-family: 'Dancing Script', cursive, serif;
  font-size: 1.8rem;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.cl-generated-recognition-line {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.cl-generated-recognition-line .cl-generated-line {
  max-width: 300px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cl-generated-recognition-text {
  font-size: 1rem;
  color: #2c2c2c;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Arial', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.cl-generated-footer {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-end;
  position: relative;
  gap: 20px;
  padding-top: 20px;
}

.cl-generated-date-section {
  text-align: center;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cl-generated-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.cl-generated-logo-image {
  height: 38px;
  width: auto;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
}

.cl-generated-serial-section {
  text-align: center;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cl-generated-detail-line {
  width: 120px;
  height: 3px;
  background: #000;
  margin: 0 0 10px 0;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cl-generated-detail-label {
  font-size: 0.9rem;
  color: #000;
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

.cl-generated-date-text,
.cl-generated-serial-text {
  font-size: 0.9rem;
  color: #2c2c2c;
  font-weight: 600;

  text-align: center;
}

/* Certificate Modal Button Spacing */
#certificate-modal .cl-form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#certificate-modal .cl-form-actions .cl-btn {
  margin: 0;
  min-width: 140px;
}

.cl-form-actions-centered {
  justify-content: center;
}

/* Certificate Modal Select Styling */
#certificate-modal select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  color: #2c2c2c;
  transition: border-color 0.3s ease;
}

#certificate-modal select:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}

#certificate-modal select option {
  padding: 8px;
}

/* Companion Selection Toggle */
.cl-companion-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cl-selection-toggle {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.cl-toggle-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #2c2c2c;
  transition: color 0.3s ease;
}

.cl-toggle-option:hover {
  color: var(--cl-brand);
}

.cl-toggle-option input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--cl-brand);
}

.cl-toggle-option span {
  font-weight: 500;
}
.cl-footer .wrap {
  max-width: 100%;
}
.cl-footer-content {
  display: grid;
      width: 100%;
      justify-content: space-between;
      max-width: 100%;
  
}
#custom_companion_name {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  color: #2c2c2c;
  transition: border-color 0.3s ease;
}

#custom_companion_name:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}
.cl-brand {
  width: 273px;
}
/* Dashboard Table Styles */
.cl-th-certificate {
  background: #e8f5e8;
  color: #2d5a2d;
  font-weight: 600;
}

.cl-btn-download {
  background: #28a745;
  color: white;
  border: 1px solid #28a745;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-btn-download:hover {
  background: #218838;
  border-color: #218838;
}

.cl-companion-actions .cl-btn {
  display: block;
  margin: 10px 0;
  width: 100%;
  max-width: 100px;
  font-size: 11px;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Certificate Generator */
.cl-certificate-generator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cl-certificate-actions .cl-btn {
  padding: 12px 24px;
  font-size: 16px;
  min-width: 200px;
}

/* Memory Category Tag */
.cl-memory-category {
  background: var(--cl-brand);
  color: var(--cl-ink);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(47, 47, 99, 0.1);
  font-weight: 500;
  display: inline-block;
  margin-top: 8px;
}


/* Dashboard Header */
.cl-dashboard-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.cl-dashboard-welcome h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  color: var(--cl-ink);
}

.cl-dashboard-welcome p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.cl-dashboard-nav {
  display: flex;
  gap: 10px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.cl-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.cl-nav {
  gap: 40px;
}
.cl-nav-btn:hover {
  background: var(--cl-brand);
  border-color: var(--cl-brand);
  color: white;
}

.cl-nav-btn.active {
  background: var(--cl-brand);
  border-color: var(--cl-brand);
  color: white;
}

.cl-nav-icon {
  font-size: 16px;
}

/* Add Companion Section */
.cl-add-companion-section {
  text-align: center;
  padding: 40px 20px;
}

.cl-btn-large {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  min-width: 200px;
}

.cl-btn-icon {
  font-size: 20px;
  margin-right: 8px;
}

/* Dashboard Sections */
.cl-dashboard-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cl-dashboard-section h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: var(--cl-ink);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}

/* Profile Layout */
.cl-profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cl-user-card {
  background: #ffffff;
  border-radius: var(--cl-radius);
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(204,204,255,0.3);
  box-shadow: 0 2px 8px rgba(47,47,99,0.08);
}

.cl-user-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.cl-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cl-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
}

.cl-user-details h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: var(--cl-ink);
}

.cl-user-details p {
  margin: 4px 0;
  color: #666;
  font-size: 14px;
}

.cl-user-phone {
  margin: 4px 0;
  color: #666;
  font-size: 14px;
}

.cl-user-description {
  margin: 8px 0 0 0;
  color: #666;
  font-size: 14px;
  font-style: italic;
}

/* Form Styling */
.cl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cl-form-group {
  display: flex;
  flex-direction: column;
}

.cl-form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--cl-ink);
}

.cl-form-group input,
.cl-form-group select,
.cl-form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.cl-form-group input:focus,
.cl-form-group select:focus,
.cl-form-group textarea:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.1);
}

.cl-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cl-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-btn-primary {
  background: var(--cl-brand);
  color: white;
}

.cl-btn-primary:hover {
  background: #b7b7ff;
}

.cl-btn-secondary {
  background: #6c757d;
  color: white;
}

.cl-btn-secondary:hover {
  background: #5a6268;
}

.cl-btn-secondary.clicked {
  background: #495057;
  transform: translateY(0);
}

/* Table Styling */
.cl-companions-table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.cl-companions-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.cl-companions-table th {
  background: #f8f9fa;
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--cl-ink);
  border-bottom: 2px solid #e9ecef;
}

.cl-companions-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}

.cl-companions-table tr:hover {
  background: #f8f9fa;
}

/* Memory Grid */
.cl-memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 20px;
  align-items: start;
}

.cl-memory-item {
  background: white;
  border-radius: var(--cl-radius);
  padding: 18px;
  box-shadow: 0 2px 8px rgba(47, 47, 99, 0.08);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  border: 1px solid rgba(47, 47, 99, 0.1);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.cl-memory-item:hover {
  box-shadow: 0 8px 24px rgba(47, 47, 99, 0.15);
  border-color: var(--cl-brand);
}

.cl-memory-preview {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0;
  flex-shrink: 0;
  border: 1px solid rgba(47, 47, 99, 0.1);
  overflow: hidden;
}

.cl-memory-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.cl-memory-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.cl-memory-video {
  position: relative;
  cursor: pointer;
}

.cl-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ddd;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: #f0f0f0;
  display: block;
}

.cl-video-thumbnail.loaded {
  opacity: 1;
}

.cl-video-thumbnail::-webkit-media-controls {
  display: none !important;
}

.cl-video-thumbnail::-webkit-media-controls-panel {
  display: none !important;
}

.cl-video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}


.cl-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.3s ease;
  z-index: 2;
}

.cl-play-button {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-memory-video:hover .cl-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.cl-memory-video:hover .cl-play-button {
  background: white;
}


.cl-memory-preview-large {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.cl-memory-document {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px dashed var(--cl-brand);
  font-size: 48px;
  color: var(--cl-ink);
  border-radius: 8px;
  height: 180px;
  width: 100%;
  flex-shrink: 0;
}

.cl-memory-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
  justify-content: space-between;
  overflow: hidden;
}

.cl-memory-content h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: var(--cl-ink);
  font-weight: 600;
  line-height: 1.2;
  flex-shrink: 0;
  background: rgba(204, 204, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
}

/* Video cards without file names - adjust spacing */
.cl-memory-item:has(.cl-memory-video) .cl-memory-scrollable-content {
  padding-top: 8px;
}

.cl-memory-item:has(.cl-memory-video) .cl-memory-description {
  margin-top: 8px;
}

/* Logo styling improvements - Bigger sizes */
.cl-logo, .cl-hero-logo, .cl-footer-logo {
  height: 140px;
  width: auto;
  object-fit: contain;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-logo {
    max-height: 80px;
}

.cl-hero-logo {
  max-height: 350px;
  margin-bottom: 40px;
  max-width: 100%;
  margin-bottom: 0;
  margin-top: 40PX;
}

.cl-footer-logo {
  max-height: 100px;
  opacity: 0.9;
}

.cl-footer-logo:hover {
  opacity: 1;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .cl-logo {
    max-height: 100px;
  }
  
  .cl-hero-logo {
    max-height: 260px;
  }
  
  .cl-footer-logo {
    max-height: 90px;
  }
  .wrap {
    max-width: 100%;
    padding: 0;
  }
  .cl-generated-certificate {
    display: none !important;
  }
}

/* Memory content scrollable area */
.cl-memory-scrollable-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  margin-right: -5px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-height: 300px;
}

/* Blog Page Styles */
.cl-blog-page {
  padding: 60px 0;
  background: #f8f9fa;
  min-height: 100vh;
}

.cl-blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.cl-blog-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--cl-ink);
  margin-bottom: 20px;
}

.cl-blog-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.cl-blog-posts {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.cl-blog-post {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cl-blog-post:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cl-blog-post-content {
  display: flex;
  min-height: 200px;
}

.cl-blog-image {
  flex: 0 0 300px;
  overflow: hidden;
}

.cl-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.cl-blog-text {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cl-blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.cl-blog-author {
  font-weight: 600;
  color: var(--cl-ink);
}

.cl-blog-date {
  color: #999;
}

.cl-blog-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cl-ink);
  margin-bottom: 15px;
  line-height: 1.3;
}

.cl-blog-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cl-blog-actions {
  margin-top: auto;
}

.cl-btn-readmore {
  background: var(--cl-ink);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  display: flex;
  max-width: 40%;
}

.cl-btn-readmore:hover {
  background: #333;
  box-shadow: 0 4px 15px rgba(47, 47, 99, 0.3);
}

/* Single Blog Post Styles */
.cl-single-blog {
  padding: 60px 20px;
  background: white;
  min-height: 100vh;
}
.cl-blog-navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 20%;
    margin: 0 auto;
}
.cl-blog-post-header {
  margin-bottom: 50px;
}

.cl-blog-post-image {
  max-width: 781px;
  width: 100%;
  height: auto;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  overflow: hidden;
}

.cl-blog-post-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.cl-blog-post-meta {
  max-width: 800px;
  margin: 0 auto;
}

.cl-blog-meta-info {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.cl-blog-meta-info span {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.cl-blog-author {
  background: var(--cl-brand);
  color: var(--cl-ink);
}

.cl-blog-date {
  background: #f0f0f0;
  color: #666;
}

.cl-blog-category {
  background: var(--cl-ink);
  color: white;
}

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

.cl-blog-post-body {
  max-width: 800px;
  margin: 0 auto;
}

.cl-blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 50px;
}

.cl-blog-content p {
  margin-bottom: 20px;
}

.cl-blog-navigation {
  text-align: center;
  margin-top: 50px;
}

.cl-btn-secondary {
  background: #f8f9fa;
  color: var(--cl-ink);
  border: 2px solid var(--cl-ink);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  display: inline-block;
}

.cl-btn-secondary:hover {
  background: var(--cl-ink);
  color: white;
}

/* No posts message */
.cl-no-posts {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cl-no-posts p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
}

.cl-no-posts a {
  color: var(--cl-ink);
  text-decoration: none;
  font-weight: 600;
}

.cl-no-posts a:hover {
  text-decoration: underline;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .cl-blog-post-content {
    flex-direction: column;
  }
  
  .cl-blog-image {
    flex: none;
    height: 200px;
  }
  
  .cl-blog-text {
    padding: 20px;
  }
  
  .cl-blog-title {
    font-size: 1.5rem;
  }
  
  .cl-blog-post-title {
    font-size: 2rem;
  }
  
  .cl-blog-header h1 {
    font-size: 2.5rem;
  }
  
  .cl-blog-post-image {
    max-width: 100%;
    height: auto;
  }
  
}

.cl-memory-scrollable-content::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.cl-memory-scrollable-content::-webkit-scrollbar-thumb {
  background: transparent;
}

/* Video fallback styling */
.cl-video-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px dashed var(--cl-brand);
  font-size: 24px;
  color: var(--cl-brand);
  border-radius: 8px;
}

/* Video loading indicator */
.cl-video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cl-video-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Video hover effects */
.cl-memory-video:hover .cl-play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.cl-memory-video:hover .cl-play-button {
  background: white;
}

/* Scrollable content area for memory cards */
.cl-memory-scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  padding-right: 5px;
}

.cl-memory-scrollable::-webkit-scrollbar {
  width: 6px;
}

.cl-memory-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.cl-memory-scrollable::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.cl-memory-scrollable::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.cl-memory-description {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
}

.cl-memory-category {
  display: inline-block;
  background: var(--cl-brand);
  color: var(--cl-ink);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(47, 47, 99, 0.1);
  margin: 12px 0 8px 0;
  align-self: flex-start;
}


.cl-btn-view {
  background: #f8f9fa;
  color: #333;
  border-color: #ddd;
}

.cl-btn-view:hover {
  background: #e9ecef;
  color: #333;
}

.cl-btn-edit {
  background: #f8f9fa;
  color: #333;
  border-color: #ddd;
}

.cl-btn-edit:hover {
  background: #e9ecef;
  color: #333;
}

.cl-btn-download {
  background: #f8f9fa;
  color: #333;
  border-color: #ddd;
  margin-top: 5px;
}

.cl-btn-download:hover {
  background: #e9ecef;
  color: #333;
}

.cl-current-file {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.cl-current-file-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 4px;
}

.cl-memory-details {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.cl-memory-details h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: var(--cl-ink);
  font-weight: 600;
}

.cl-memory-details p {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}

.cl-memory-details p strong {
  color: var(--cl-ink);
  font-weight: 600;
}

/* Modal Styling */
.cl-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
}

.cl-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.cl-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
max-width: 550px;
  width: 90%;
  margin: 0 auto;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cl-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
}

.cl-modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--cl-ink);
}

.cl-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-modal-close:hover {
  color: var(--cl-ink);
}

.cl-modal-body {
  padding: 24px;
}

/* Form Messages */
.cl-form-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
  display: none;
}

.cl-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.cl-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Time Display */
.cl-time-display {
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}

.cl-time-text {
  color: #666;
  font-style: italic;
}

/* Memory Box */
.cl-memory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cl-memory-header h2 {
  margin: 0;
}

.cl-memory-header .cl-btn {
  background: var(--cl-ink);
  color: white;
  border: 1px solid var(--cl-ink);
  padding: 10px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cl-memory-header .cl-btn:hover {
  background: #1a1a4a;
  border-color: #1a1a4a;
  box-shadow: 0 4px 12px rgba(47, 47, 99, 0.2);
}

.cl-memory-header .cl-btn-icon {
  font-size: 16px;
}

.cl-memory-box {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cl-dashboard-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .cl-dashboard-nav {
    justify-content: center;
  }
  
  .cl-profile-layout {
    grid-template-columns: 1fr;
  }
  
  .cl-form-row {
    grid-template-columns: 1fr;
  }
  
  .cl-memory-box {
    grid-template-columns: 1fr;
  }
  
  .cl-companions-table-container {
    font-size: 14px;
  }
  
  .cl-companions-table th,
  .cl-companions-table td {
    padding: 8px 6px;
  }
  
  .cl-th-actions {
    width: 100px;
    min-width: 100px;
  }
  
  .cl-companion-actions .cl-btn {
    font-size: 10px;
    padding: 3px 4px;
    max-width: 90px;
  }
  
  .cl-memory-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .cl-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .cl-form-actions {
    flex-direction: column;
  }
  
  .cl-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cl-dashboard-section {
    padding: 16px;
    margin-bottom: 16px;
  }
  .cl-dashboard-section h2 {
    font-size: 20px;
  }
  
  .cl-memory-grid {
    grid-template-columns: 1fr;
  }
  
  .cl-companions-table {
    font-size: 12px;
  }
  
  .cl-companions-table th,
  .cl-companions-table td {
    padding: 6px 4px;
  }
  
  .cl-th-actions {
    width: 80px;
    min-width: 80px;
  }
  
  .cl-companion-actions .cl-btn {
    font-size: 9px;
    padding: 2px 3px;
    max-width: 75px;
  }
  
  .cl-memory-actions {
    flex-direction: column;
  }
  
  .cl-memory-actions .cl-btn {
    width: 100%;
  }
  
  .cl-memory-upload {
    padding: 16px;
  }
  
  .cl-memory-gallery {
    padding: 16px;
  }
  
  .cl-memory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cl-memory-upload {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e1e5e9;
}

.cl-memory-upload .cl-form-group {
  margin-bottom: 15px;
}

.cl-memory-upload .cl-form-group:last-child {
  margin-bottom: 0;
}

.cl-memory-upload label {
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
  display: block;
  font-size: 14px;
}

.cl-memory-upload input[type="file"] {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  width: 100%;
}

.cl-memory-upload textarea {
  resize: vertical;
  min-height: 60px;
}

.cl-memory-upload .cl-btn-primary {
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}

.cl-memory-gallery h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
}

.cl-memory-gallery {
  background: white;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e1e5e9;
}

.cl-memory-gallery .cl-btn-secondary {
  background: #6c757d;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.cl-memory-gallery .cl-btn-secondary:hover {
  background: #5a6268;
}

.cl-memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.cl-memory-grid:empty::before {
  content: 'No memories uploaded yet. Upload your first memory above!';
  display: block;
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 30px 15px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px dashed #ddd;
}

/* Memory Actions */
.cl-memory-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(47, 47, 99, 0.1);
  position: relative;
  z-index: 10;
  background: white;
}

.cl-memory-actions-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.cl-memory-actions-row .cl-btn {
  flex: 1;
  min-width: 0;
}

.cl-memory-actions .cl-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--cl-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  text-align: center;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-memory-actions .cl-btn:hover {
  box-shadow: 0 4px 12px rgba(47, 47, 99, 0.15);
}

.cl-memory-actions .cl-btn-view {
  background: var(--cl-brand);
  color: var(--cl-ink);
  border-color: var(--cl-brand);
}

.cl-memory-actions .cl-btn-view:hover {
  background: #b7b7ff;
  border-color: #b7b7ff;
}

.cl-memory-actions .cl-btn-edit {
  background: #fff3cd;
  color: #856404;
  border-color: #ffeaa7;
}

.cl-memory-actions .cl-btn-edit:hover {
  background: #ffeaa7;
  border-color: #fdcb6e;
}

.cl-memory-actions .cl-btn-download {
  background: var(--cl-ink);
  color: white;
  border-color: var(--cl-ink);
}

.cl-memory-actions .cl-btn-download:hover {
  background: #1a1a4a;
  border-color: #1a1a4a;
}

/* Large Modal */
.cl-modal-large .cl-modal-content {
  max-width: 800px;
  max-height: 90vh;
}

.cl-modal-large .cl-modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Edit Memory Modal specific styling */
#memory-edit-modal .cl-modal-content {
  max-width: 600px;
  max-height: 85vh;
}

#memory-edit-modal .cl-modal-body {
  max-height: 65vh;
  overflow-y: auto;
  padding: 20px;
}

/* Memory View Modal */
.cl-memory-preview-large {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
}

.cl-memory-preview-large video {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 8px;
  background: #000;
}

.cl-memory-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e1e5e9;
}

.cl-memory-details h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.2rem;
}

.cl-memory-details p {
  margin: 8px 0;
  color: #666;
}

.cl-memory-details strong {
  color: #333;
  font-weight: 600;
}

/* Video Modal Thumbnail Styles */
.cl-video-modal-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.cl-video-thumbnail-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-video-thumbnail-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.cl-video-thumbnail-large-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.cl-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  border-radius: 8px;
}

.cl-video-play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cl-video-thumbnail-container:hover .cl-video-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.cl-video-thumbnail-container:hover .cl-video-play-button {
  background: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.cl-video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 10;
}

.cl-video-player {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 8px;
  background: #000;
}

/* Responsive video modal styles */
@media (max-width: 768px) {
  .cl-video-thumbnail-container {
    height: 250px;
  }
  
  .cl-video-play-button {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
  
  .cl-video-player {
    max-height: 250px;
  }
}

/* Edit Memory Modal File Preview Styles */
.cl-current-file-container {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  max-height: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cl-current-file-container p {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: #333;
  flex-shrink: 0;
}

.cl-video-preview-container,
.cl-image-preview-container,
.cl-document-preview-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.cl-current-file-preview {
  width: 100%;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: white;
  display: block;
  margin: 0 auto;
}

.cl-current-file-preview video {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
}

.cl-current-file-preview img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
}

.cl-video-info,
.cl-image-info,
.cl-document-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  margin-top: 10px;
}

/* Scrollable preview container */
.cl-preview-scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 300px;
  padding: 5px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  background: white;
}

.cl-preview-scrollable::-webkit-scrollbar {
  width: 8px;
}

.cl-preview-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.cl-preview-scrollable::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.cl-preview-scrollable::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.cl-file-name {
  font-size: 14px;
  color: #666;
  word-break: break-word;
}

.cl-download-link {
  color: var(--cl-brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.cl-download-link:hover {
  text-decoration: underline;
}

.cl-form-help {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

/* File input styling */
#edit_memory_file {
  width: 100%;
  padding: 8px 12px;
  border: 2px dashed #ddd;
  border-radius: 6px;
  background: #fafafa;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

#edit_memory_file:hover {
  border-color: var(--cl-brand);
  background: #f8f9ff;
}

#edit_memory_file:focus {
  outline: none;
  border-color: var(--cl-brand);
  box-shadow: 0 0 0 3px rgba(47, 47, 99, 0.1);
}


/* Responsive Design for Dashboard */
@media (max-width: 768px) {
  .cl-dashboard-header {
    padding: 30px 0;
  }
  
  .cl-dashboard-welcome h1 {
    font-size: 2rem;
  }
  
  .cl-profile-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cl-profile-info {
    position: static;
    order: -1;
  }
  
  .cl-user-card {
    padding: 20px;
  }
  
  .cl-user-avatar img,
  .cl-avatar-placeholder {
    width: 100px;
    height: 100px;
  }
  
  /* Mobile responsive for edit memory modal */
  #memory-edit-modal .cl-modal-content {
    max-width: 95vw;
    margin: 10px;
  }
  
  #memory-edit-modal .cl-modal-body {
    max-height: 80vh;
    padding: 15px;
  }
  
  .cl-current-file-container {
    max-height: 300px;
  }
  
  .cl-preview-scrollable {
    max-height: 200px;
  }
  
  .cl-current-file-preview {
    max-height: 180px;
  }
  
  .cl-current-file-preview video {
    max-height: 180px;
  }
  
  .cl-current-file-preview img {
    max-height: 180px;
  }
  
  .cl-avatar-placeholder span {
    font-size: 1.5rem;
  }
  
  .cl-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cl-companion-form .cl-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cl-companion-form {
    padding: 20px;
  }
  
  .cl-certificate-generator {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cl-memory-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cl-memory-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .cl-memory-header .cl-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cl-memory-actions {
    gap: 6px;
  }
  
  .cl-memory-actions .cl-btn {
    padding: 6px 8px;
    font-size: 11px;
    min-height: 28px;
  }
  
  .cl-memory-actions-row {
    gap: 6px;
  }
  
  .cl-memory-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .cl-memory-item {
    min-height: 350px;
    max-height: 450px;
    padding: 14px;
  }
  
  .cl-memory-preview {
    height: 180px;
  }
  
  .cl-memory-document {
    height: 150px;
  }
  
  .cl-memory-scrollable-content {
    max-height: 100px;
  }
  
  .cl-memory-actions {
    padding-top: 8px;
  }
  
  .cl-memory-actions .cl-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .cl-memory-description {
    min-height: 50px;
    -webkit-line-clamp: 2;
  }
  
  .cl-dashboard-section {
    padding: 20px;
  }
  
  .cl-form-actions .cl-btn {
    margin: 5px;
    width: 100%;
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .cl-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .cl-modal-header {
    padding: 20px 24px 12px;
  }
  
  .cl-modal-header h2 {
    font-size: 20px;
  }
  
  .cl-modal-body {
    padding: 0 24px 24px;
  }
  
  .cl-tab-btn {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* Certificate Grid Layout */
.cl-generated-certificate {
  width: 100%;
  margin: 10px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  break-inside: avoid;
}

.cl-certificates-container {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 20px -22px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  min-height: 200px;
  padding: 20px;
  width: 100%;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  min-height: 200px;
}

/* Responsive certificate grid */
@media (max-width: 900px) {
  .cl-generated-certificate {
    max-width: 800px;
    scale: 1;

  }
}


/* Certificate Actions Styling */
.cl-certificates-heading {
  color: var(--cl-ink);
  margin-bottom: 25px;
  font-size: 1.8rem;
  padding: 0;
  text-align: center;
}

.cl-certificates-container {
  margin-top: 20px;
  padding: 20px;
  clear: both;
  box-sizing: border-box;
  margin-inline: auto;
}

#certificate-generator {
  margin-bottom: 40px;
}

.cl-certificate-wrapper {
  margin-bottom: 50px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: block !important;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 200px;
}

.cl-certificate-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 25px;
  padding: 25px 0 10px 0;
}

.cl-certificate-actions .cl-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid #2F2F63;
  background: #2F2F63;
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  min-width: 140px;
  box-shadow: 0 2px 4px rgba(47, 47, 99, 0.2);
}

.cl-certificate-actions .cl-btn:hover {
  background: white;
  color: #2F2F63;
  box-shadow: 0 6px 12px rgba(47, 47, 99, 0.3);
}

.cl-certificate-actions .cl-btn-share {
  background: #6c757d;
  border-color: #6c757d;
}

.cl-certificate-actions .cl-btn-share:hover {
  background: white;
  color: #6c757d;
  border-color: #6c757d;
  box-shadow: 0 6px 12px rgba(108, 117, 125, 0.3);
}

/* Responsive design for certificate actions */
@media (max-width: 768px) {
  .cl-certificates-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .cl-certificates-container {
    padding: 20px 10px;
    margin: 0 auto;
    max-width: 93%;
  }
  
  .cl-certificate-wrapper {
    margin-bottom: 40px;
    max-width: 100%;
  }
  
  .cl-certificate-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
  }
  
  .cl-certificate-actions .cl-btn {
    width: 200px;
    min-width: 200px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .cl-certificate-wrapper {
    margin-bottom: 30px;
  }
  
  .cl-certificate-actions .cl-btn {
    width: 180px;
    min-width: 180px;
    font-size: 13px;
  }
}

/* Profile Page Styles */
.cl-profile-page {
  min-height: 100vh;
  background: var(--cl-bg);
  padding: 20px;
}

.cl-profile-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 2px solid #f0f0f0;
  text-align: center;
}

.cl-profile-welcome h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  color: var(--cl-ink);
}

.cl-profile-welcome p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.cl-profile-nav {
  display: flex;
  gap: 10px;
}

.cl-profile-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cl-profile-section {
  background: white;
  border-radius: var(--cl-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(47,47,99,0.1);
  border: 1px solid rgba(47,47,99,0.05);
}

.cl-profile-section h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: var(--cl-ink);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}

/* Account Settings */
.cl-account-settings {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cl-setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--cl-radius);
  border: 1px solid rgba(204,204,255,0.3);
}

.cl-setting-info h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: var(--cl-ink);
}

.cl-setting-info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.cl-status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.cl-status-active {
  background: #d4edda;
  color: #155724;
}

.cl-member-since {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}


/* Responsive Design for Profile Page */
@media (max-width: 768px) {
  .cl-profile-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cl-profile-nav {
    justify-content: center;
  }
  
  .cl-setting-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Modal Styles */
.cl-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cl-modal.active {
  display: flex;
}

.cl-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.cl-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10001;
}

.cl-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
}

.cl-modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--cl-ink);
}

.cl-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.cl-modal-close:hover {
  background-color: #f0f0f0;
}

.cl-modal-body {
  padding: 24px;
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Form message styles */
.cl-form-message {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

.cl-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.cl-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.cl-form-message.loading {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
  display: block !important;
}

/* Password Input Styles */
.cl-password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.cl-password-input input {
  width: 100%;
  padding-right: 45px;
}

.cl-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.cl-password-toggle:hover {
  background-color: #f0f0f0;
}

.cl-eye-icon {
  font-size: 16px;
  user-select: none;
}

/* Password Strength Indicator */
.cl-password-strength {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
}

.strength-weak {
  color: #dc3545;
}

.strength-medium {
  color: #ffc107;
}

.strength-strong {
  color: #28a745;
}

.strength-error {
  color: #dc3545;
}

/* Password Match Indicator */
.cl-password-match {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
}

.match-success {
  color: #28a745;
}

.match-error {
  color: #dc3545;
}

/* Profile Page Styles */
.cl-profile-page {
  min-height: 100vh;
  background: var(--cl-bg);
  padding: 40px 20px;
}

.cl-profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  background: white;
  padding: 30px;
  border-radius: var(--cl-radius);
  box-shadow: 0 2px 8px rgba(47,47,99,0.1);
  border: 1px solid rgba(47,47,99,0.05);
  position: relative;
}

.cl-profile-title h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  color: var(--cl-ink);
  font-weight: 700;
  text-align: center !important;
}


.cl-profile-title p {
  margin: 0;
  color: #666;
  font-size: 16px;
  text-align: center;
}

.cl-profile-form-container {
  background: white;
  border-radius: var(--cl-radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(47,47,99,0.1);
  border: 1px solid rgba(47,47,99,0.05);
}

.cl-current-image {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

.cl-current-image a {
  color: var(--cl-brand);
  text-decoration: none;
}

.cl-current-image a:hover {
  text-decoration: underline;
}

/* Quick Actions */
.cl-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cl-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: #ffffff;
  border-radius: var(--cl-radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(204,204,255,0.3);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(47,47,99,0.08);
}

.cl-action-card:hover {
  box-shadow: 0 4px 16px rgba(47,47,99,0.15);
  text-decoration: none;
  color: inherit;
}

.cl-action-card.cl-action-logout {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
  border-color: rgba(255, 204, 204, 0.3);
}

.cl-action-card.cl-action-logout:hover {
  background: linear-gradient(135deg, #ffebeb 0%, #ffd6d6 100%);
}

.cl-action-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.cl-action-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: var(--cl-ink);
  font-weight: 600;
}

.cl-action-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Message styles for profile form */
.cl-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.cl-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.cl-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.cl-message.loading {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Responsive Design for Profile Page */
@media (max-width: 768px) {
  .cl-profile-page {
    padding: 20px;
  }
  
  .cl-profile-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .cl-profile-title h1 {
    font-size: 28px;
  }
  
  .cl-profile-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cl-quick-actions {
    grid-template-columns: 1fr;
  }
  
  .cl-form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive tweaks for memory grid */
@media (max-width: 1200px) {
  .cl-memory-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 768px) {
  .cl-memory-grid { grid-template-columns: 1fr; }
}

/* Reset Password Page Styles */
.cl-reset-password-page {
  min-height: 100vh;
  background: #ffffff;
  padding: 40px 0;
  display: flex;
  align-items: center;
}

.cl-reset-form-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: var(--cl-radius);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(47,47,99,0.15);
  border: 1px solid rgba(47,47,99,0.05);
}

.cl-reset-header {
  text-align: center;
  margin-bottom: 30px;
}

.cl-reset-header h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  color: var(--cl-ink);
  font-weight: 700;
}

.cl-reset-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.cl-reset-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.cl-reset-footer p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.cl-reset-footer a {
  color: var(--cl-brand);
  text-decoration: none;
  font-weight: 600;
}

.cl-reset-footer a:hover {
  text-decoration: underline;
}

.cl-btn-full {
  width: 100%;
  justify-content: center;
}

/* Responsive Design for Reset Password Page */
@media (max-width: 768px) {
  .cl-reset-password-page {
    padding: 20px;
  }
}

/* Comprehensive Responsive Improvements */

/* Container and Layout Responsiveness */
.wrap {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Section Padding Responsiveness */
.cl-about-wrap,
.cl-mission-wrap,
.cl-pricing-wrap,
.cl-faq {
  padding: var(--spacing-xl) var(--spacing-lg);
}

/* Responsive Text Alignment */
@media (max-width: 768px) {
  .cl-about-content,
  .cl-mission-grid,
  .cl-pricing {
    text-align: center;
  }
  .cl-profile-header {
    width: 100%;
  }
}

/* Enhanced Mobile Navigation */
@media (max-width: 1024px) {
  .cl-burger-menu {
    display: flex;
  }
  .cl-blog-navigation a {
    max-width: 36%;
  }
  
  .cl-nav,
  .cl-header-actions {
    display: none !important;
  }
  
  .cl-header-container {
    padding: var(--spacing-sm) 20px;
    justify-content: space-between;
    padding: 20px;
    margin: 0;
  }
  
  .cl-logo {
    height: clamp(30px, 5vw, 45px);
  }
  .cl-btn.cl-btn-primary{
    max-width: 100%;
  }
  .cl-btn.cl-btn-disabled{
    padding: 10px;
    font-size: 13px;
  }
  .cl-modal.active {
    display: flex;
  }
  .cl-btn.cl-btn-outline{
    max-width: 82%;
  }
}

@media (min-width: 1025px) {
  .cl-burger-menu {
    display: none;
  }
  
  .cl-nav,
  .cl-header-actions {
    display: flex !important;
  }
  
  .cl-header-container {
    justify-content: space-between;
  }
}

/* Additional responsive breakpoints for header */
@media (max-width: 480px) {
  .cl-header-container {
    padding: var(--spacing-xs) 20px;
    min-height: 60px;
    justify-content: space-between;
  }
  .cl-blog-navigation a {
    width: 100%;
    max-width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  .cl-logo {
    height: clamp(25px, 4vw, 35px);
  }
  
  .cl-burger-menu {
    padding: 6px;
  }
  
  .cl-burger-menu span {
    width: 20px;
    height: 2px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .cl-header-container {
    padding: var(--spacing-sm) 20px;
    min-height: 65px;
    justify-content: space-between;
  }
  
  .cl-logo {
    height: clamp(28px, 4.5vw, 40px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cl-header-container {
    padding: var(--spacing-sm) 20px;
    justify-content: space-between;
  }
  
  .cl-logo {
    height: clamp(32px, 5vw, 45px);
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .cl-header-container {
    padding: var(--spacing-sm) 20px;
    justify-content: space-between;
  }
  
  .cl-logo {
    height: clamp(35px, 5.5vw, 50px);
  }
  
  .cl-nav {
    gap: 40px;
  }
  
  .cl-nav a {
    font-size: clamp(13px, 1.8vw, 15px);
    padding: 0;
  }
}

@media (min-width: 1201px) {
  .cl-header-container {
    padding: var(--spacing-sm) 20px;
    justify-content: space-between;
  }
  
  .cl-logo {
    height: clamp(40px, 6vw, 55px);
  }
  
  .cl-nav {
    gap: var(--spacing-sm);
  }
  
  .cl-nav a {
    font-size: clamp(14px, 1.5vw, 16px);
    padding: 0;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .cl-btn,
  .cl-mobile-nav-link,
  .cl-close-menu {
    min-height: 44px;
    min-width: 44px;
  }
  
  .cl-nav a {
    padding: 0;
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .cl-logo,
  .cl-hero-logo,
  .cl-mobile-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .cl-site-header,
  .cl-burger-menu,
  .cl-mobile-nav,
  .cl-mobile-nav-overlay {
    display: none !important;
  }
  
  .cl-landing {
    padding-top: 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here if needed */
}

/* Focus improvements for accessibility */
.cl-btn:focus,
.cl-nav a:focus,
.cl-mobile-nav-link:focus,
.cl-close-menu:focus,
.cl-modal-close:focus {
  outline: 2px solid var(--cl-brand);
  outline-offset: 2px;
}

/* Skip to content link for accessibility */
.cl-skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--cl-ink);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  display:none;
}

.cl-skip-link:focus {
  top: 6px;
}
  
  .cl-reset-form-container {
    padding: 30px 20px;
  }
  
  .cl-reset-header h1 {
    font-size: 24px;
  }