/*
Theme Name: Hello Elementor Child – Cliqpic
Template: hello-elementor
Version: 5.3
*/

/* ── Brand tokens ─────────────────────────────────────────── */
:root {
  --clq-bg:          #0B0620;
  --clq-dark:        #100027;
  --clq-purple:      #7C3AED;
  --clq-purple-hi:   #8537BD;
  --clq-purple-mid:  #481D86;
  --clq-purple-light:#A78BFA;
  --clq-lavender:    #7C3AED;
  --clq-muted:       #C4B5FD;
  --clq-grey:        #6B7280;
  --clq-red:         #EF4444;
  --clq-radius:      12px;
  --clq-ease:        0.25s ease;
  /* dark gradient — buttons */
  --clq-grad:        linear-gradient(270deg, #6D28D9 0%, #9B28D9 100%);
  --clq-grad-hover:  linear-gradient(270deg, #4F2098 0%, #6F1F9B 100%);
  /* lighter gradient — toggles / active states */
  --clq-grad-light:  linear-gradient(135deg, #A855F7, #7C3AED);
  /* nav: dark left → lighter purple right */
  --clq-grad-nav:    linear-gradient(to right, #100027 0%, #1A0040 20%, #481D86 55%, #6A2F6E 100%);
}

/* ── Resets ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  background: #100127 !important;
  background-image: linear-gradient(180deg, #100127 11%, #220156 45%, #12002E 96%) !important;
  background-attachment: fixed !important;
  color: #fff;
  font-family: 'Inter', sans-serif;
  margin: 0;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Comfortaa', cursive; font-weight: 600; text-transform: lowercase; margin: 0; }
a { text-decoration: none; transition: opacity var(--clq-ease); }
/* Kill Elementor/Hello theme pink hover globally */
a:hover, button:hover { color: inherit; }
/* Global link hover — fade, no underline */
a:hover { opacity: 0.7; text-decoration: none; }
/* Buttons and interactive elements keep their own hover styles */
.clq-btn-purple:hover, .clq-btn-how-secondary:hover, .clq-nav-cta:hover,
.clq-nav-logo:hover, .clq-acc-icon, .clq-caret,
button:hover { opacity: 1; }
.elementor-section, .e-container { max-width: 100% !important; }
.elementor-widget-container { padding: 0 !important; }

/* ── Sticky nav ───────────────────────────────────────────── */
.clq-nav-section.elementor-section,
.elementor-location-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: transparent !important;
  padding: 0 !important;
}
.clq-nav-section .elementor-container,
.clq-nav-section .elementor-column,
.clq-nav-section .elementor-widget-wrap,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-column,
.elementor-location-header .elementor-widget-wrap {
  background: transparent !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Nav bar ──────────────────────────────────────────────── */
.clq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  height: 72px;
  background: linear-gradient(267deg, #8537BD 0%, #481D86 25%, #100027 70%);
  border-radius: 8px;
  box-shadow: none;
  margin: 0;
  width: 100%;
}
.clq-nav-logo {
  font-family: 'Comfortaa', cursive;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}
.clq-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.clq-nav-links a {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: opacity var(--clq-ease);
}
.clq-nav-links a:hover { opacity: 0.7; color: #fff; text-decoration: none; }
.clq-nav-actions { display: flex; align-items: center; gap: 20px; }
.clq-nav-login {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: opacity var(--clq-ease);
}
.clq-nav-login:hover { color: #fff !important; opacity: 0.7; text-decoration: none; }
.clq-nav-cta {
  padding: 10px 22px;
  background: linear-gradient(270deg, #6D28D9 0%, #9B28D9 100%);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--clq-ease), color var(--clq-ease);
  display: inline-block;
}
.clq-nav-cta:hover { background: linear-gradient(270deg, #4F2098 0%, #6F1F9B 100%); color: #fff; }

/* ── Shared CTA button styles ─────────────────────────────── */
/* All gradient CTAs are rectangular-rounded, hover → white/purple */
/* Primary gradient button — become a customer, how it works, annual subscribe */
.clq-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 197px;
  height: 56px;
  background: var(--clq-grad);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--clq-ease);
  text-align: center;
  white-space: nowrap;
}
.clq-btn-hero:hover { background: var(--clq-grad-hover); color: #fff; }

/* Secondary outline button — become a creator */
.clq-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 197px;
  height: 56px;
  background: #fff;
  color: #6D28D9;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: 1.5px solid #6D28D9;
  cursor: pointer;
  transition: background var(--clq-ease);
  text-align: center;
  white-space: nowrap;
}
.clq-btn-hero-secondary:hover { background: #D3C8FF; color: #401286; }

.clq-btn-purple {
  display: inline-block;
  padding: 12px 28px;
  background: var(--clq-grad);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--clq-ease);
}
.clq-btn-purple:hover { background: var(--clq-grad-hover); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────── */
.clq-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clq-bg);
  isolation: isolate; /* contain z-index stacking so children don't bleed over subsequent sections */
}
.clq-hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 8px;
  padding: 0 8px;   /* no top/bottom padding — columns extend past viewport edge */
  pointer-events: none;
  overflow: hidden;
}
.clq-hero-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start; /* intrinsic height = full image stack, not 100vh */
  animation: clq-vert 686s linear infinite;
  will-change: transform;
}
/* Masonry stagger via margin-top — deterministic offsets so columns
   never accidentally align regardless of image heights or timing */
.clq-hero-col:nth-child(1) { margin-top:    0px; }
.clq-hero-col:nth-child(2) { margin-top: -160px; }
.clq-hero-col:nth-child(3) { margin-top:  -60px; }
.clq-hero-col:nth-child(4) { margin-top: -220px; }
.clq-hero-col:nth-child(5) { margin-top: -100px; }
.clq-hero-col img {
  width: 100%;
  aspect-ratio: 2/3;   /* lock portrait ratio so all images same height */
  object-fit: cover;
  border-radius: 10px !important;
  display: block;
  flex-shrink: 0;
  opacity: 0.40;
}
@keyframes clq-vert {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.clq-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(106,47,110,0) 37%,
    rgba(99,43,104,0.08) 47%,
    rgba(16,1,39,1) 76%
  );
}
/* Bottom fade → dissolves into Why Cliqpic, no hard dark edge */
.clq-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(to bottom, transparent 0%, rgba(16,0,39,.55) 55%, rgba(16,0,39,.82) 100%);
  z-index: 3;
  pointer-events: none;
}
.clq-hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 100px 32px 56px;
  max-width: 860px;
  width: 100%;
}
.clq-logo {
  font-family: 'Comfortaa', cursive;
  font-size: 193px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -6px;
  text-transform: lowercase;
  background: linear-gradient(90deg, #8025CE 0%, #6C25CE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.6));
  display: inline-block;
}
.clq-hero-h1 {
  font-family: 'Comfortaa', cursive;
  font-size: 54px;
  font-weight: 600;
  color: #fff;
  margin-top: 40px;
  white-space: nowrap;
  text-transform: lowercase;
  line-height: 1.1;
}
.clq-hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  line-height: 1.35;
  margin: 20px auto 36px;
  max-width: 520px;
}
.clq-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Anchor scroll offset — keep headings below sticky nav ─ */
#how-it-works, #pricing, #licensing, #faq, #library, #why {
  scroll-margin-top: 88px;
}

/* ── Why Cliqpic — static dark bg, seamless from hero ────── */
.clq-why-section {
  background: var(--clq-dark);
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* faded photo-column background — static masonry grid, no scroll */
.clq-why-bg {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 8px;
  padding: 0 8px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* Static columns — disable the hero scroll animation */
.clq-why-bg .clq-hero-col {
  animation: none;
  transform: none;
  will-change: auto;
}
/* top gradient: dissolves photo columns in from the hero above */
.clq-why-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, var(--clq-dark) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
/* bottom gradient: fades out and bleeds into How It Works */
.clq-why-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent 0%, rgba(16,0,39,.6) 50%, var(--clq-dark) 80%, var(--clq-dark) 100%);
  z-index: 1;
  pointer-events: none;
}
.clq-why-inner { max-width: 860px; margin: 0 auto; padding: 0 60px; text-align: center; }
.clq-features { list-style: none; padding: 0; margin: 40px 0 0; }
.clq-features li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 18px 0;
  align-items: start;
}
.clq-feat-name {
  font-family: 'Comfortaa', cursive;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-transform: lowercase;
  line-height: 1.25;
  text-align: right;           /* right-aligned per Figma */
}
.clq-feat-desc {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.65;
  text-align: left;
}
.clq-feat-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.clq-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--clq-purple-light);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 4px;
  text-decoration: none;
  transition: opacity var(--clq-ease);
}
.clq-feat-link:hover { color: var(--clq-purple-light); opacity: 0.7; text-decoration: none; }

/* ── How It Works — plain bg, no scrolling columns ───────── */
.clq-how-section {
  background: var(--clq-dark);
  padding: 56px 0;
}
.clq-how-overlay { display: none; }
.clq-how-bg-grid { display: none; }
.clq-how-bg-col { display: none; }
.clq-how-content { position: relative; z-index: 2; }
.clq-how-inner { max-width: 1100px; margin: 0 auto; padding: 0 60px; text-align: center; }
.clq-how-grid {
  display: grid;
  grid-template-columns: 530px 530px;
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}
.clq-how-card {
  border-radius: var(--clq-radius);
  padding: 40px 36px;
  text-align: center;
  background: rgba(10,5,30,.72);
  position: relative;
  display: flex;
  flex-direction: column;
}
.clq-how-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--clq-radius);
  padding: 1.5px;
  background: linear-gradient(270deg, rgba(99,82,178,0.2) 0%, rgba(99,82,178,0.9) 50%, rgba(99,82,178,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.clq-how-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-transform: lowercase;
  margin: 0 0 16px;
}
.clq-how-card-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #fff !important;
  font-style: normal !important;
  margin: 0 0 14px;
  line-height: 1.45;
}
.clq-how-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin: 0 0 auto;
  padding-bottom: 28px;
}
.clq-how-card .clq-btn-purple,
.clq-how-card .clq-btn-how-secondary {
  margin-top: auto;
  align-self: center;
  width: 180px;
  height: 56px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.clq-btn-how-secondary {
  background: #fff;
  color: #6D28D9;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: 1.5px solid #6D28D9;
  cursor: pointer;
  transition: background var(--clq-ease), color var(--clq-ease);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
.clq-btn-how-secondary:hover { background: #D3C8FF; color: #401286; border-color: #6D28D9; }

/* ── Shared section heading ───────────────────────────────── */
.clq-section-h2 {
  font-family: 'Comfortaa', cursive;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-transform: lowercase;
  margin: 0 0 24px;
}

/* ── Licensing ────────────────────────────────────────────── */
.clq-lic-outer { background: var(--clq-dark); padding: 56px 0; }
.clq-lic-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; font-family: 'Inter', sans-serif; }

.clq-lic-sub {
  font-family: 'Comfortaa', cursive;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-align: center;
  text-transform: lowercase;
  margin: 16px 0 24px;
}
.clq-lic-intro-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}
.clq-lic-table-heading {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  text-align: center;
  margin: 40px 0 28px;
}
.clq-lic-table-heading strong { font-weight: 700; }

/* Licensing table */
.clq-lic-table { display: flex; flex-direction: column; gap: 0; }
.clq-lic-header {
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  padding: 16px 20px;
  background: #401286;
  border: none;
  border-radius: 10px;
  margin-bottom: 8px;
  align-items: center;
}
.clq-lic-header-cell {
  font-family: 'Comfortaa', cursive;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-transform: lowercase;
}
.clq-lic-header-cell:not(:first-child) { text-align: center; }

/* Group = parent card that contains parent row + children */
.clq-lic-rows { display: flex; flex-direction: column; gap: 6px; }
.clq-lic-group {
  background: #401286;
  border-radius: 10px;
  overflow: hidden;
}
.clq-lic-group:hover { background: #4e1699; }
.clq-lic-row {
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  padding: 13px 20px;
  background: #401286;
  border: none;
  border-radius: 10px;
  align-items: center;
  transition: background var(--clq-ease);
  cursor: default;
}
/* Parent row inside group inherits group background */
.clq-lic-group .clq-lic-row.parent {
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}
/* Simple rows still self-contained */
.clq-lic-row:not(.parent):not(.child):hover { background: #4e1699; }
.clq-lic-row.child {
  background: #401286;
  border-radius: 0;
  padding-left: 34px;
}
.clq-lic-children {
  background: #401286;
  border-radius: 0 0 10px 10px;
}
/* Icons wrapper — flex row of two icon cells */
.clq-lic-icons {
  display: flex;
  align-items: center;
}
.clq-lic-icon {
  flex: 0 0 200px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Info icon + tooltip */
.clq-lic-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: default;
}
.clq-lic-tooltip { display: none; } /* handled by JS to escape overflow:hidden */

/* Children container */
.clq-lic-children {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 6px;
}
.clq-lic-children[hidden] { display: none; }

.clq-lic-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.clq-lic-label-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.clq-lic-row-note {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.clq-lic-row-note a { color: var(--clq-purple-light); text-decoration: none; transition: opacity var(--clq-ease); }
.clq-lic-row-note a:hover { color: var(--clq-purple-light); opacity: 0.7; text-decoration: none; }
.clq-lic-row.child .clq-lic-label { color: rgba(255,255,255,.88); }
.clq-caret {
  color: #fff;
  flex-shrink: 0;
  transition: transform .2s ease;
  display: flex;
  align-items: center;
  align-self: center;
  margin-top: 0;
  line-height: 1;
}
.clq-lic-row.parent[aria-expanded="true"] .clq-caret { transform: rotate(180deg); }

/* Terms row at bottom of table */
.clq-lic-terms-row {
  text-align: center;
  padding: 15px 20px;
  background: #401286;
  border: none;
  border-radius: 10px;
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.clq-lic-terms-row a { color: var(--clq-purple-light); text-decoration: none; transition: opacity var(--clq-ease); }
.clq-lic-terms-row a:hover { color: var(--clq-purple-light); text-decoration: none; opacity: 0.7; }

/* Divider between ToS row and prohibited uses */
.clq-prohibited-divider {
  border: none !important;
  border-top: 1px solid rgba(255,255,255,.2) !important;
  margin: 24px 0 !important;
  width: 100%;
}

/* Prohibited uses — collapsible accordion item */
.clq-prohibited {
  background: #401286 !important;
  border: none !important;
  border-radius: 10px;
  overflow: hidden;
}
.clq-prohibited-trigger {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  color: #fff !important;
  font-family: 'Comfortaa', cursive;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: lowercase;
  text-align: center;
  cursor: pointer;
}
.clq-prohibited-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin: 0;
  padding: 0 22px 20px;
  display: none;
}
.clq-prohibited-body.open { display: block; }

/* ── Plan toggle (pricing AND faq share these) ────────────── */
.clq-toggle-wrap { text-align: center; }
.clq-plan-toggle {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 40px;
  border: 1.5px solid rgba(133,55,189,.45);
}
.clq-plan-toggle button {
  padding: 10px 36px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--clq-grey);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--clq-ease);
  flex: 1;
  white-space: nowrap;
}
.clq-plan-toggle button.active {
  background: var(--clq-grad-light);
  color: #fff !important;
}
/* Kill Elementor's global pink button hover across all our interactive buttons */
.clq-plan-toggle button:hover,
.clq-faq-tabs button:hover,
.clq-credit-btns button:hover,
.clq-accordion-trigger:hover,
.clq-prohibited-trigger:hover {
  background-color: transparent !important;
  background-image: none !important;
}
.clq-plan-toggle button:hover:not(.active) { color: var(--clq-purple) !important; }
.clq-plan-toggle button.active:hover       { color: #fff !important; background: var(--clq-grad-light) !important; }
.clq-faq-tabs button:hover:not(.active)    { color: var(--clq-grey) !important; }
.clq-faq-tabs button.active:hover          { color: #fff !important; background: var(--clq-grad-light) !important; }
.clq-credit-btns button:hover              { border-color: var(--clq-purple) !important; color: #fff !important; }
.clq-credit-btns button.active:hover       { background: var(--clq-lavender) !important; }

/* ── Pricing ──────────────────────────────────────────────── */
.clq-pricing-outer { background: var(--clq-dark); padding: 56px 0; }
.clq-pricing-inner { max-width: 960px; margin: 0 auto; padding: 0 40px; font-family: 'Inter', sans-serif; }
.clq-pricing-h2 {
  font-family: 'Comfortaa', cursive;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-transform: lowercase;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 960px;
}

/* Cards */
.clq-pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.clq-pricing-card {
  background: rgba(10,5,30,.85);
  border: 2px solid rgba(133,55,189,.25);
  border-radius: var(--clq-radius);
  padding: 36px 32px;
  text-align: center;
  transition: border-color var(--clq-ease), box-shadow var(--clq-ease);
  cursor: pointer;
}
.clq-pricing-card.active {
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px #9B28D9, 0 0 50px rgba(133,55,189,.2);
}
/* Block interaction on inactive cards — credit buttons and subscribe link */
.clq-pricing-card:not(.active) .clq-credit-btns,
.clq-pricing-card:not(.active) .clq-subscribe-btn {
  pointer-events: none;
  cursor: default;
}
.clq-pricing-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  text-transform: lowercase;
  margin: 0 0 8px;
}
.clq-pricing-card:not(.active) h3 { color: rgba(255,255,255,.4); }
.clq-price-amount {
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  margin: 16px 0 4px;
  color: #fff;
}
.clq-pricing-card:not(.active) .clq-price-amount { color: rgba(255,255,255,.25); }
.clq-price-amount sup { font-size: 40px; font-weight: 800; vertical-align: baseline; line-height: 1; }
.clq-price-amount .clq-per { font-size: 18px; font-weight: 400; color: rgba(255,255,255,.55); }
.clq-price-note { font-size: 13px; color: rgba(255,255,255,.4); margin: 0 0 24px; }
.clq-credits-label {
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.clq-pricing-card.active .clq-credits-label { color: rgba(255,255,255,.85); }

.clq-credit-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: center;
}
.clq-credit-btns button {
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(133,55,189,.2);
  background: transparent;
  color: rgba(255,255,255,.2);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--clq-ease);
}
.clq-pricing-card.active .clq-credit-btns button {
  border-color: rgba(133,55,189,.5);
  color: rgba(255,255,255,.7);
}
.clq-pricing-card.active .clq-credit-btns button.active {
  background: var(--clq-lavender);  /* solid lavender, no gradient */
  border-color: transparent;
  color: #fff;
}

/* Subscribe buttons */
.clq-subscribe-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity var(--clq-ease);
  text-decoration: none;
}
.clq-subscribe-btn:hover { opacity: .8; }
/* active card: white bg, medium-purple text */
/* Month-to-month card: secondary outline style when active */
.clq-sub-white {
  background: #fff;
  color: #6D28D9;
  border: 1.5px solid #6D28D9;
}
.clq-sub-white:hover { background: #D3C8FF; color: #401286; }
/* Annual card: primary gradient when active */
.clq-sub-purple {
  background: var(--clq-grad);
  color: #fff;
  border: none;
}
.clq-sub-purple:hover { background: var(--clq-grad-hover); color: #fff; }
/* Inactive card subscribe button: dim purple text on white, keep colors readable */
.clq-pricing-card:not(.active) .clq-subscribe-btn {
  opacity: 1;
}
.clq-pricing-card:not(.active) .clq-sub-white {
  color: rgba(109,40,217,.4) !important;
  border-color: rgba(109,40,217,.3) !important;
}
.clq-pricing-card:not(.active) .clq-sub-purple {
  color: rgba(255,255,255,.4) !important;
}

/* ── Library marquee ──────────────────────────────────────── */
.clq-lib-outer { background: var(--clq-dark); padding: 40px 0 56px; }
.clq-lib-inner { max-width: 100%; }
.clq-lib-inner .clq-section-h2 { text-align: center; padding: 0 40px; margin-bottom: 48px; }
.clq-lib-marquee { overflow: hidden; }
.clq-lib-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: clq-marquee 100s linear infinite;
}
.clq-lib-marquee:hover .clq-lib-track { animation-play-state: paused; }
.clq-lib-track img {
  width: 270px;
  height: 360px;
  aspect-ratio: 3 / 4;
  border-radius: var(--clq-radius) !important;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
@keyframes clq-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.clq-faq-outer { background: var(--clq-dark); padding: 56px 0; }
.clq-faq-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; font-family: 'Inter', sans-serif; }
#faq-heading { text-transform: uppercase !important; letter-spacing: .05em; text-align: center; margin-bottom: 32px; }

/* FAQ toggle — identical to plan toggle */
.clq-faq-tabs {
  display: inline-flex;
  max-width: 100%;   /* never wider than its container */
  background: #fff;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 32px;
  border: 1.5px solid rgba(133,55,189,.45);
  box-sizing: border-box;
}
.clq-faq-tabs button {
  flex: 1;           /* share available width equally */
  min-width: 0;      /* allow shrinking below content size */
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--clq-grey);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--clq-ease);
  white-space: nowrap;
}
.clq-faq-tabs button.active { background: var(--clq-grad-light); color: #fff; }
.clq-faq-tabs-wrap { text-align: center; }

.clq-faq-panel { display: none; }
.clq-faq-panel.active { display: block; }

/* Accordion — lighter purple boxes */
.clq-accordion-item {
  background: #401286 !important;
  border: none !important;
  border-radius: var(--clq-radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.clq-accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.clq-acc-icon {
  flex-shrink: 0;
  margin-left: 16px;
  color: #fff;
  line-height: 1;
  transition: transform var(--clq-ease);
  display: flex;
  align-items: center;
}
.clq-accordion-trigger[aria-expanded="true"] .clq-acc-icon { transform: rotate(180deg); }
.clq-accordion-body {
  display: none;
  padding: 0 22px 18px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.75;
}
.clq-accordion-body.open { display: block; }
.clq-accordion-body a { color: var(--clq-purple-light); text-decoration: none; transition: opacity var(--clq-ease); }
.clq-accordion-body a:hover { color: var(--clq-purple-light); text-decoration: none; opacity: 0.7; }
.clq-accordion-body ul { padding-left: 20px; margin: 8px 0 0; }
.clq-accordion-body li { margin-bottom: 4px; }

/* ── Footer ───────────────────────────────────────────────── */
.clq-footer {
  background: #000;
  padding: 28px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Inter', sans-serif;
}
.clq-footer-socials { display: flex; gap: 20px; align-items: center; }
.clq-footer-socials a { color: #fff; }
.clq-footer-socials svg { width: 28px; height: 28px; }
.clq-footer-meta { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; color: #fff; font-size: 14px; }
.clq-footer-meta a { color: #fff; text-decoration: none; }
.clq-footer-meta a:hover { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 3px; }
.clq-footer-contact { color: #fff; font-size: 14px; }
.clq-footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.clq-footer-contact a:hover { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 3px; }

/* ── Terms Page ───────────────────────────────────────────── */
.clq-terms-h1 .elementor-heading-title {
  font-family: 'Comfortaa', cursive !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: lowercase !important;
  line-height: 1.1 !important;
  margin-bottom: 8px !important;
}
.clq-terms-date p { color: #9580c8 !important; margin-bottom: 40px !important; font-size: 15px !important; }
/* Part headings get a top border rule */
.clq-terms-h2 {
  border-top: 1px solid #3730a3;
  margin-top: 56px !important;
  padding-top: 0 !important;
}
.clq-terms-h2 .elementor-heading-title {
  font-family: 'Comfortaa', cursive !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: none !important;
  padding-top: 24px !important;
  margin: 0 !important;
}
.clq-terms-h3 .elementor-heading-title {
  font-family: 'Comfortaa', cursive !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-transform: none !important;
}
.clq-terms-h4 .elementor-heading-title {
  font-family: 'Comfortaa', cursive !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #a78bfa !important;
  text-transform: none !important;
}
.clq-terms-body .elementor-text-editor,
.clq-terms-body .elementor-widget-text-editor {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #E5E5E5;
  line-height: 1.8;
}
.clq-terms-body .elementor-text-editor p  { margin-bottom: 14px; }
.clq-terms-body .elementor-text-editor ul { padding-left: 24px; margin: 14px 0; }
.clq-terms-body .elementor-text-editor li { margin-bottom: 8px; }
.clq-terms-body .elementor-text-editor strong { color: #fff; }
.clq-terms-body .elementor-text-editor a { color: #a78bfa; }
.clq-terms-footer .elementor-text-editor {
  border-top: 1px solid #3730a3;
  padding-top: 24px;
  color: #9580c8 !important;
  font-size: 13px !important;
}

/* ── Terms & Privacy widget ───────────────────────────────── */
.clq-tos-outer { background: var(--clq-dark); padding: 56px 0; }
.clq-tos-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; font-family: 'Inter', sans-serif; }

.clq-tos-panel { display: none; }
.clq-tos-panel.active { display: block; }

/* Linked tab variant — <span> (active) and <a> (link) styled like buttons */
.clq-faq-tabs--linked { cursor: default; }
.clq-faq-tabs--linked span,
.clq-faq-tabs--linked a {
  flex: 1;
  min-width: 0;
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--clq-grey);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  display: block;
  text-decoration: none;
  transition: all var(--clq-ease);
  cursor: pointer;
}
.clq-faq-tabs--linked span.active {
  background: var(--clq-grad-light);
  color: #fff;
  cursor: default;
}
.clq-faq-tabs--linked a:hover { color: var(--clq-grey); }

/* Reuse .clq-faq-tabs-wrap for tab strip — no extra CSS needed */
.clq-tos-inner .clq-faq-tabs-wrap { margin-bottom: 48px; }

.clq-tos-h1 {
  font-family: 'Comfortaa', cursive;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  text-transform: lowercase;
  line-height: 1.1;
  margin: 0 0 8px;
}
.clq-tos-date {
  color: #9580c8;
  font-size: 15px;
  margin: 0 0 32px;
}
.clq-tos-intro p {
  color: #E5E5E5;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.clq-tos-part {
  border-top: 1px solid #3730a3;
  margin-top: 48px;
  padding-top: 32px;
}
.clq-tos-part-heading {
  font-family: 'Comfortaa', cursive;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.clq-tos-part-intro {
  color: #E5E5E5;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 24px;
}
.clq-tos-section { margin-bottom: 32px; scroll-margin-top: 120px; }
.clq-tos-part    { scroll-margin-top: 120px; }
.clq-tos-h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.clq-tos-body p  { color: #E5E5E5; font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.clq-tos-body ul { padding-left: 24px; margin: 0 0 14px; }
.clq-tos-body li { color: #E5E5E5; font-size: 15px; line-height: 1.8; margin-bottom: 8px; }
.clq-tos-body strong { color: #fff; }
.clq-tos-body a  { color: #fff; text-decoration: none; transition: opacity var(--clq-ease); }
.clq-tos-body a:hover { opacity: 0.7; text-decoration: none; }
.clq-tos-footer-note {
  border-top: 1px solid #3730a3;
  margin-top: 48px;
  padding-top: 24px;
  color: #9580c8;
  font-size: 13px;
}

/* ── TOS Table of Contents ─────────────────────────────────── */
.clq-tos-toc {
  background: rgba(99,82,178,0.12);
  border: 1px solid rgba(99,82,178,0.3);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.clq-tos-toc-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.clq-tos-toc-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.clq-tos-toc-list li { color: #E5E5E5; font-size: 14px; }
.clq-tos-toc-list > li { margin-bottom: 4px; }
.clq-tos-toc-list ol {
  padding-left: 18px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style-type: lower-alpha;
}
.clq-tos-toc-list a {
  color: var(--clq-purple-light);
  text-decoration: none;
  transition: opacity var(--clq-ease);
}
.clq-tos-toc-list a:hover { color: var(--clq-purple-light); opacity: 0.7; text-decoration: none; }

/* ── Plain English Summary callout ────────────────────────── */
.clq-tos-summary {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid rgba(99,82,178,0.6);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-top: 18px;
  color: #bbb;
  font-size: 13.5px;
  line-height: 1.7;
}
.clq-tos-summary strong { color: var(--clq-purple-light); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .clq-features li,
  .clq-pricing-cards { grid-template-columns: 1fr; }
  .clq-how-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .clq-how-card { padding: 32px 28px; }
  .clq-how-card-sub { font-size: 15px !important; }
  .clq-how-card .clq-btn-purple,
  .clq-how-card .clq-btn-how-secondary { width: 100%; max-width: 180px; height: 48px; font-size: 14px; }
  .clq-footer { flex-direction: column; padding: 28px 24px; text-align: center; }
  .clq-footer-meta { justify-content: center; }
  .clq-logo { font-size: 100px; letter-spacing: -3px; }
  .clq-nav-logo { font-size: 26px; }
  .clq-hero-h1 { font-size: 28px; white-space: normal; margin-top: 20px; }
  .clq-hero-sub { display: none; }
  .clq-hero-btns { flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
  .clq-btn-hero { width: 220px; }
  /* rows: icon columns stay compact */
  /* Licensing mobile — Figma node 14075:745 */
  .clq-lic-outer { padding: 0; }
  .clq-lic-inner { padding: 48px 16px; }
  .clq-lic-sub { font-size: 18px; }
  .clq-lic-intro-body { font-size: 13px; }
  .clq-lic-table-heading { font-size: 16px; margin: 24px 0 16px; }
  .clq-lic-rows { gap: 4px; }
  /* header row */
  .clq-lic-header { display: flex; grid-template-columns: unset; padding: 10px; gap: 12px; align-items: center; font-size: 12px; }
  .clq-lic-header-cell { font-size: 12px; white-space: nowrap; line-height: 1.3; }
  .clq-lic-header-cell:first-child { flex: 1; white-space: normal; font-size: 12px; }
  .clq-lic-header-cell:not(:first-child) { text-align: center; font-weight: 700; }
  /* data rows */
  .clq-lic-row { display: flex; grid-template-columns: unset; align-items: flex-start; padding: 10px; gap: 34px; }
  .clq-lic-row.child { padding-left: 10px; }
  .clq-lic-label { font-size: 12px; flex: 1; }
  .clq-lic-row.child .clq-lic-label { font-size: 12px; }
  .clq-lic-icons { gap: 60px; grid-column: unset; flex-shrink: 0; }
  .clq-lic-icon { width: 20px; flex: 0 0 20px; }
  .clq-lic-children { gap: 4px; padding-bottom: 4px; }
  .clq-nav { padding: 0 20px; }
  .clq-nav-links { display: none; }
  .clq-why-section { padding: 40px 0 60px; }
  .clq-why-inner { padding: 0 24px; }
  .clq-how-section { padding: 32px 0; }
  .clq-how-inner { padding: 0 24px; }
  .clq-pricing-outer { padding: 32px 0; }
  .clq-pricing-h2 { font-size: 32px; margin-bottom: 24px; }
  .clq-credit-btns { gap: 6px; flex-wrap: nowrap; }
  .clq-credit-btns button { width: auto; height: auto; padding: 10px 10px; font-size: 13px; border-radius: 8px; flex: 1; }
  .clq-subscribe-btn { font-size: 13px; white-space: nowrap; padding: 12px 8px; }
  .clq-feat-name { font-size: 26px; text-align: left; }
  .clq-feat-desc { font-size: 15px; }
  .clq-features li { gap: 8px; padding: 24px 0; }
  .clq-hero-section { min-height: 0; }
  .clq-hero-content { padding: 80px 24px 80px; }
  /* FAQ tabs: fit within mobile viewport */
  .clq-faq-tabs-wrap { display: flex; justify-content: center; padding: 0 16px; }
  .clq-faq-tabs { display: flex; width: 100%; box-sizing: border-box; justify-content: center; }
  .clq-faq-tabs button { flex: 1; padding: 10px 8px; font-size: 13px; text-align: center; }
}

/* Licensing: grid-column span only applies on desktop */
@media (min-width: 901px) {
  .clq-lic-icons { grid-column: span 2; }
}
