/* ==========================================================================
   Homepage Styles - CaseLaw E-Library
   Design System extracted from Figma
   ========================================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
    --cl-primary: #6a0d32;
    --cl-primary-900: #550a28;
    --cl-secondary-100: #f7f3e5;
    --cl-text-dark: #374957;
    --cl-text-muted: #7a7878;
    --cl-text-light: #716f6f;
    --cl-text-placeholder: #b3b2b2;
    --cl-bg-light: #f5f5f5;
    --cl-bg-card: #f0f3f4;
    --cl-bg-dark: #1a1a2e;
    --cl-white: #ffffff;
    --cl-black: #000000;
    --cl-border: #f0f3f4;
    --cl-radius-sm: 4px;
    --cl-radius-md: 8px;
    --cl-radius-lg: 12px;
    --cl-radius-xl: 16px;
    --cl-radius-2xl: 24px;
    --cl-font-primary: 'Inter', sans-serif;
}

/* ---------- Typography ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Navbar Override ---------- */
.cl-navbar {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    max-width: 1209px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--cl-radius-xl);
    padding: 12px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--cl-font-primary);
}

.cl-navbar__logo img {
    height: 32px;
    width: auto;
}

.cl-navbar__menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cl-navbar__menu li a {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--cl-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.cl-navbar__menu li a:hover,
.cl-navbar__menu li a.active {
    color: var(--cl-primary);
    font-weight: 500;
}

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

.cl-btn {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    padding: 8px 24px;
    border-radius: 8.48px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.cl-btn--signup {
    background-color: var(--cl-secondary-100);
    color: var(--cl-text-dark);
}

.cl-btn--signup:hover {
    background-color: #ede8d3;
    color: var(--cl-text-dark);
    text-decoration: none;
}

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

.cl-btn--login:hover {
    background-color: var(--cl-primary);
    color: var(--cl-white);
    text-decoration: none;
}

.cl-btn--primary {
    background-color: var(--cl-primary);
    color: var(--cl-white);
    border-radius: var(--cl-radius-md);
    padding: 10px 24px;
}

.cl-btn--primary:hover {
    background-color: var(--cl-primary-900);
    color: var(--cl-white);
    text-decoration: none;
}

.cl-btn--outline {
    background: transparent;
    color: var(--cl-primary);
    border: 1px solid var(--cl-primary);
    border-radius: var(--cl-radius-md);
    padding: 10px 24px;
}

.cl-btn--outline:hover {
    background-color: var(--cl-primary);
    color: var(--cl-white);
    text-decoration: none;
}

/* ---------- Hero Section ---------- */
.cl-hero {
    position: relative;
    min-height: 800px;
    background: linear-gradient(135deg, #f9f5f7 0%, #fdf8fa 50%, #f5f0f2 100%);
    overflow: hidden;
    padding-top: 100px;
    font-family: var(--cl-font-primary);
}

.cl-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.cl-hero__blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.cl-hero__blob--1 {
    width: 500px;
    height: 350px;
    background: var(--cl-primary);
    top: -100px;
    left: -150px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.cl-hero__blob--2 {
    width: 400px;
    height: 280px;
    background: var(--cl-primary);
    bottom: -50px;
    left: 100px;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}

.cl-hero__blob--3 {
    width: 400px;
    height: 260px;
    background: var(--cl-primary);
    bottom: -30px;
    right: 100px;
    border-radius: 50% 50% 40% 60% / 40% 60% 40% 60%;
}

.cl-hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(106, 13, 50, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 13, 50, 0.03) 1px, transparent 1px);
    background-size: 70px 70px;
}

.cl-hero__grid-blocks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cl-hero__grid-block {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(106, 13, 50, 0.04);
    border-radius: var(--cl-radius-sm);
}

.cl-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 60px;
}

.cl-hero__circle {
    position: absolute;
    border: 2px solid rgba(106, 13, 50, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.cl-hero__circle--1 {
    width: 174px;
    height: 175px;
    top: 96px;
    left: 56px;
}

.cl-hero__circle--2 {
    width: 153px;
    height: 154px;
    top: 161px;
    right: 60px;
}

.cl-hero__circle--3 {
    width: 490px;
    height: 496px;
    bottom: -100px;
    left: 295px;
    opacity: 0.4;
}

.cl-hero__title {
    font-family: var(--cl-font-primary);
    font-size: 48px;
    font-weight: 600;
    color: var(--cl-primary);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* ---------- Search Panel ---------- */
.cl-search-panel {
    position: relative;
    z-index: 3;
    max-width: 1168px;
    margin: 0 auto;
    background-color: var(--cl-bg-light);
    border-radius: var(--cl-radius-xl);
    padding: 0;
    overflow: visible;
    font-family: var(--cl-font-primary);
}

.cl-search-panel__top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    position: relative;
}

.cl-search-panel__logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cl-search-panel__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cl-search-panel__input-wrap {
    flex: 1;
    position: relative;
}

.cl-search-panel__input {
    width: 100%;
    height: 48px;
    background: var(--cl-white);
    border: none;
    border-radius: var(--cl-radius-md);
    padding: 12px 22px 12px 40px;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    outline: none;
}

.cl-search-panel__input::placeholder {
    color: var(--cl-text-placeholder);
}

.cl-search-panel__input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cl-text-placeholder);
    font-size: 14px;
}

.cl-search-panel__dates {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cl-search-panel__date {
    background: var(--cl-white);
    border: none;
    border-radius: var(--cl-radius-md);
    padding: 12px 20px;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    outline: none;
}

.cl-search-panel__date i {
    color: var(--cl-primary);
}

.cl-search-panel__date-arrow {
    color: var(--cl-text-dark);
    font-size: 14px;
}

.cl-search-panel__body {
    display: flex;
    min-height: 350px;
}

.cl-search-panel__sidebar {
    width: 200px;
    padding: 12px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cl-search-panel__sidebar-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    cursor: pointer;
    border-radius: var(--cl-radius-md);
    transition: all 0.2s;
}

.cl-search-panel__sidebar-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.cl-search-panel__sidebar-item.active {
    background: var(--cl-white);
    font-weight: 500;
    color: var(--cl-black);
}

.cl-search-panel__main {
    flex: 1;
    background: var(--cl-white);
    border-radius: var(--cl-radius-md);
    padding: 24px 32px;
    margin: 0 16px 16px 0;
    position: relative;
}

.cl-search-panel__section-title {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--cl-text-dark);
    margin-bottom: 12px;
}

.cl-search-panel__doc-types {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.cl-search-panel__doc-type {
    padding: 8px 32px;
    border-radius: var(--cl-radius-md);
    border: 1px solid var(--cl-border);
    background: var(--cl-white);
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.cl-search-panel__doc-type:hover {
    border-color: var(--cl-primary);
}

.cl-search-panel__doc-type.active {
    background: var(--cl-primary);
    color: var(--cl-white);
    border-color: var(--cl-primary);
}

.cl-search-panel__filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cl-search-panel__filter {
    background: var(--cl-bg-light);
    border: none;
    border-radius: var(--cl-radius-md);
    padding: 9px 15px;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-light);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23716f6f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
    cursor: pointer;
}

.cl-search-panel__filter--text {
    background-image: none;
    padding-right: 15px;
}

.cl-search-panel__case-note {
    width: 100%;
    min-height: 56px;
    background: var(--cl-bg-light);
    border: none;
    border-radius: var(--cl-radius-md);
    padding: 12px 15px;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    outline: none;
    resize: vertical;
    margin-bottom: 16px;
}

.cl-search-panel__case-note::placeholder {
    color: var(--cl-text-light);
}

.cl-search-panel__submit {
    display: flex;
    justify-content: flex-end;
}

/* Search Panel Actions Bar (Advance Search + Search button) */
.cl-search-panel__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.cl-search-panel__advance-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--cl-primary);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--cl-radius-md);
    transition: all 0.2s;
}

.cl-search-panel__advance-toggle:hover {
    background: rgba(106, 13, 50, 0.05);
}

.cl-search-panel__advance-toggle.active {
    color: var(--cl-primary-900);
}

.cl-search-panel__advance-toggle i {
    font-size: 12px;
    transition: transform 0.3s;
}

.cl-search-panel__advance-toggle.active i {
    transform: rotate(180deg);
}

/* ---------- All Recent Search & Trending ---------- */
.cl-trending {
    padding: 60px 0 40px;
    font-family: var(--cl-font-primary);
}

.cl-trending__header {
    text-align: center;
    margin-bottom: 12px;
}

.cl-trending__title {
    font-family: var(--cl-font-primary);
    font-size: 42px;
    font-weight: 600;
    color: var(--cl-black);
    margin-bottom: 8px;
}

.cl-trending__subtitle {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    color: var(--cl-text-muted);
    margin-bottom: 30px;
}

/* ---------- Trending & Popular Searches ---------- */
.cl-popular {
    padding: 40px 0 60px;
    font-family: var(--cl-font-primary);
}

.cl-popular__wrapper {
    background: var(--cl-bg-light);
    border-radius: var(--cl-radius-2xl);
    padding: 16px;
    display: flex;
    gap: 16px;
    min-height: 525px;
}

.cl-popular__sidebar {
    width: 279px;
    background: var(--cl-white);
    border: 1px solid var(--cl-border);
    border-radius: var(--cl-radius-lg);
    padding: 12px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cl-popular__sidebar-title {
    font-family: var(--cl-font-primary);
    font-size: 22px;
    font-weight: 600;
    color: var(--cl-text-muted);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cl-popular__sidebar-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-family: var(--cl-font-primary);
    font-size: 16px;
    color: var(--cl-text-dark);
    cursor: pointer;
    border-radius: var(--cl-radius-md);
    transition: all 0.2s;
}

.cl-popular__sidebar-item:hover {
    background: var(--cl-bg-light);
}

.cl-popular__sidebar-item.active {
    background: #d9d9d9;
    font-weight: 500;
    color: var(--cl-black);
}

.cl-popular__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cl-popular__card {
    background: var(--cl-bg-card);
    border: 1px solid var(--cl-border);
    border-radius: var(--cl-radius-md);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.2s;
}

.cl-popular__card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cl-popular__card-title {
    font-family: var(--cl-font-primary);
    font-size: 22px;
    font-weight: 600;
    color: var(--cl-black);
    margin-bottom: 8px;
}

.cl-popular__card-text {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    color: var(--cl-text-dark);
    line-height: 1.5;
}

.cl-popular__card-arrow {
    width: 32px;
    height: 32px;
    background: var(--cl-white);
    border-radius: var(--cl-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
    color: var(--cl-text-dark);
    font-size: 14px;
    transform: rotate(-45deg);
}

/* ---------- Features Section ---------- */
.cl-features {
    padding: 60px 0;
    font-family: var(--cl-font-primary);
}

.cl-section-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cl-section-indicator__bar {
    width: 3px;
    height: 38px;
    background: var(--cl-primary);
    border-radius: 2px;
}

.cl-section-indicator__title {
    font-family: var(--cl-font-primary);
    font-size: 42px;
    font-weight: 600;
    color: var(--cl-black);
}

.cl-features__subtitle {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    color: var(--cl-text-muted);
    margin-bottom: 30px;
    max-width: 625px;
}

.cl-features__cards {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.cl-features__card {
    background: var(--cl-white);
    border: 1px solid #eee;
    border-radius: var(--cl-radius-lg);
    padding: 24px;
    flex: 1;
}

.cl-features__card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.cl-features__card-icon {
    width: 32px;
    height: 32px;
    background: var(--cl-bg-light);
    border-radius: var(--cl-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cl-primary);
    font-size: 16px;
}

.cl-features__card-name {
    font-family: var(--cl-font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--cl-black);
}

.cl-features__card-text {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-muted);
    line-height: 1.6;
}

/* Notifications Bar */
.cl-notifications {
    background: var(--cl-white);
    border: 1px solid #eee;
    border-radius: var(--cl-radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
}

.cl-notifications__label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cl-notifications__icon {
    width: 32px;
    height: 32px;
    background: var(--cl-bg-light);
    border-radius: var(--cl-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cl-primary);
    font-size: 14px;
}

.cl-notifications__title {
    font-family: var(--cl-font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--cl-black);
    white-space: nowrap;
}

.cl-notifications__items {
    display: flex;
    gap: 16px;
    flex: 1;
    overflow-x: auto;
}

.cl-notifications__item {
    background: var(--cl-bg-light);
    border-radius: var(--cl-radius-md);
    padding: 12px 16px;
    min-width: 250px;
    flex-shrink: 0;
}

.cl-notifications__item-text {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    line-height: 1.5;
}

.cl-notifications__item-link {
    color: var(--cl-primary);
    font-weight: 500;
    text-decoration: none;
}

/* ---------- Statistics Section ---------- */
.cl-statistics {
    padding: 60px 0;
    font-family: var(--cl-font-primary);
}

.cl-statistics__wrapper {
    background: var(--cl-bg-light);
    border-radius: var(--cl-radius-2xl);
    padding: 40px;
    min-height: 500px;
}

.cl-statistics__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    height: 100%;
}

.cl-statistics__item {
    position: relative;
}

.cl-statistics__item-title {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    font-weight: 500;
    color: var(--cl-text-dark);
    margin-bottom: 16px;
}

.cl-statistics__chart-placeholder,
.cl-statistics__chart {
    background: var(--cl-white);
    border-radius: var(--cl-radius-md);
    padding: 24px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cl-text-placeholder);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.cl-statistics__svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
}

.cl-statistics__chart-value {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cl-statistics__number {
    font-family: var(--cl-font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--cl-primary);
}

.cl-statistics__label {
    font-family: var(--cl-font-primary);
    font-size: 12px;
    color: var(--cl-text-muted);
    margin-top: 4px;
}

.cl-statistics__bars {
    position: absolute;
    bottom: 16px;
    left: 24px;
    right: 24px;
    height: 60%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.cl-statistics__bar {
    flex: 1;
    background: linear-gradient(to top, var(--cl-primary), #c0547a);
    border-radius: 4px 4px 0 0;
    opacity: 0.25;
}

.cl-statistics__bar:nth-child(even) {
    opacity: 0.4;
}

.cl-statistics__donut {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cl-statistics__donut-svg {
    width: 100%;
    height: 100%;
}

.cl-statistics__chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 20px;
}

.cl-statistics__chart-legend span {
    font-family: var(--cl-font-primary);
    font-size: 12px;
    color: var(--cl-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cl-statistics__chart-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* ---------- Pricing Section ---------- */
.cl-pricing {
    padding: 60px 0;
    font-family: var(--cl-font-primary);
}

.cl-pricing__header {
    text-align: center;
    margin-bottom: 16px;
}

.cl-pricing__indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cl-pricing__title {
    font-family: var(--cl-font-primary);
    font-size: 36px;
    font-weight: 600;
    color: var(--cl-black);
    margin-bottom: 8px;
}

.cl-pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.cl-pricing__toggle-btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.cl-pricing__toggle-btn:not(.active) {
    background: var(--cl-bg-light);
    color: var(--cl-text-dark);
}

.cl-pricing__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cl-pricing__card {
    background: var(--cl-white);
    border: 1px solid var(--cl-border);
    border-radius: var(--cl-radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.cl-pricing__card--popular {
    border-color: var(--cl-primary);
    box-shadow: 0 4px 20px rgba(106, 13, 50, 0.1);
}

.cl-pricing__plan-name {
    font-family: var(--cl-font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--cl-black);
    margin-bottom: 8px;
}

.cl-pricing__plan-desc {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cl-pricing__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cl-pricing__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
}

.cl-pricing__feature i {
    color: var(--cl-primary);
    font-size: 12px;
    width: 20px;
    height: 20px;
    background: rgba(106, 13, 50, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cl-pricing__price {
    margin-top: auto;
    margin-bottom: 20px;
    text-align: center;
}

.cl-pricing__amount {
    font-family: var(--cl-font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--cl-black);
}

.cl-pricing__period {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    color: var(--cl-text-muted);
}

.cl-pricing__cta {
    text-align: center;
}

/* ---------- Testimonials Section ---------- */
.cl-testimonials {
    padding: 60px 0;
    font-family: var(--cl-font-primary);
}

.cl-testimonials__wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cl-testimonials__info {
    max-width: 300px;
    flex-shrink: 0;
}

.cl-testimonials__quote {
    font-family: var(--cl-font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--cl-black);
    line-height: 1.3;
    margin-bottom: 16px;
}

.cl-testimonials__desc {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cl-testimonials__nav {
    display: flex;
    gap: 8px;
}

.cl-testimonials__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--cl-border);
    background: var(--cl-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--cl-text-dark);
}

.cl-testimonials__nav-btn:hover {
    background: var(--cl-primary);
    border-color: var(--cl-primary);
    color: var(--cl-white);
}

.cl-testimonials__cards {
    display: flex;
    gap: 20px;
    flex: 1;
    overflow-x: auto;
}

.cl-testimonials__card {
    background: var(--cl-white);
    border: 1px solid var(--cl-border);
    border-radius: var(--cl-radius-lg);
    padding: 24px;
    min-width: 380px;
    flex-shrink: 0;
}

.cl-testimonials__card-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 16px;
}

.cl-testimonials__card-text {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cl-testimonials__card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cl-testimonials__card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cl-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cl-primary);
    font-weight: 600;
    font-size: 16px;
}

.cl-testimonials__card-name {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--cl-black);
}

.cl-testimonials__card-role {
    font-family: var(--cl-font-primary);
    font-size: 12px;
    color: var(--cl-text-muted);
}

/* ---------- How It Works Section ---------- */
.cl-how-it-works {
    padding: 80px 0;
    background: var(--cl-bg-dark);
    font-family: var(--cl-font-primary);
}

.cl-how-it-works__title {
    font-family: var(--cl-font-primary);
    font-size: 36px;
    font-weight: 600;
    color: var(--cl-white);
    text-align: center;
    margin-bottom: 40px;
}

.cl-how-it-works__video {
    max-width: 924px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--cl-radius-xl);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cl-how-it-works__play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cl-white);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cl-how-it-works__play-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* ---------- Blog & News Section ---------- */
.cl-blog {
    padding: 60px 0;
    font-family: var(--cl-font-primary);
}

.cl-blog__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.cl-blog__card {
    background: var(--cl-white);
    border: 1px solid var(--cl-border);
    border-radius: var(--cl-radius-lg);
    overflow: hidden;
    padding: 16px;
    transition: all 0.2s;
}

.cl-blog__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cl-blog__card-image {
    width: 100%;
    height: 200px;
    background: var(--cl-bg-light);
    border-radius: var(--cl-radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cl-blog__card-image--1 {
    background: linear-gradient(135deg, #f9e8ef 0%, #fdf5f8 50%, #f0e4ea 100%);
}

.cl-blog__card-image--2 {
    background: linear-gradient(135deg, #f5efe8 0%, #faf7f3 50%, #ede5db 100%);
}

.cl-blog__card-image--3 {
    background: linear-gradient(135deg, #e8edf5 0%, #f3f5fa 50%, #dbe2f0 100%);
}

.cl-blog__card-image-icon {
    font-size: 40px;
    color: var(--cl-primary);
    opacity: 0.3;
}

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

.cl-blog__card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cl-blog__card-tag {
    font-family: var(--cl-font-primary);
    font-size: 10px;
    color: var(--cl-text-dark);
    background: var(--cl-bg-light);
    padding: 2px 8px;
    border-radius: var(--cl-radius-sm);
}

.cl-blog__card-time {
    font-family: var(--cl-font-primary);
    font-size: 12px;
    color: var(--cl-text-muted);
}

.cl-blog__card-title {
    font-family: var(--cl-font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--cl-black);
    line-height: 1.4;
    margin-bottom: 8px;
}

.cl-blog__card-text {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-text-muted);
    line-height: 1.5;
}

/* ---------- Products / CTA Section ---------- */
.cl-products {
    padding: 60px 0;
    font-family: var(--cl-font-primary);
}

.cl-products__wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cl-products__info {
    flex: 1;
}

.cl-products__title {
    font-family: var(--cl-font-primary);
    font-size: 32px;
    font-weight: 600;
    color: var(--cl-black);
    margin-bottom: 16px;
}

.cl-products__desc {
    font-family: var(--cl-font-primary);
    font-size: 16px;
    color: var(--cl-text-muted);
    line-height: 1.6;
}

.cl-products__cta {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cl-products__cta-text {
    font-family: var(--cl-font-primary);
    font-size: 24px;
    font-weight: 600;
    color: var(--cl-black);
    margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.cl-footer {
    background: var(--cl-black);
    color: var(--cl-white);
    padding: 56px 0;
    font-family: var(--cl-font-primary);
}

.cl-footer__wrapper {
    display: flex;
    gap: 80px;
}

.cl-footer__left {
    max-width: 420px;
}

.cl-footer__logo {
    margin-bottom: 24px;
}

.cl-footer__logo img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.cl-footer__desc {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 8px;
}

.cl-footer__more {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: var(--cl-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.cl-footer__more:hover {
    color: var(--cl-secondary-100);
}

.cl-footer__more-dot {
    width: 10px;
    height: 10px;
    background: var(--cl-primary);
    border-radius: 50%;
    display: inline-block;
}

.cl-footer__social {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.cl-footer__social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--cl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
}

.cl-footer__social-link:hover {
    background: var(--cl-primary);
    border-color: var(--cl-primary);
    color: var(--cl-white);
}

.cl-footer__right {
    flex: 1;
}

.cl-footer__nav {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    flex-wrap: wrap;
}

.cl-footer__nav li a {
    font-family: var(--cl-font-primary);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.cl-footer__nav li a:hover {
    color: var(--cl-white);
}

.cl-footer__contact {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.cl-footer__contact-group h4 {
    font-family: var(--cl-font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--cl-white);
    margin-bottom: 12px;
}

.cl-footer__contact-group p,
.cl-footer__contact-group a {
    font-family: var(--cl-font-primary);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    text-decoration: none;
}

.cl-footer__contact-group a:hover {
    color: var(--cl-white);
}

.cl-footer__languages h5 {
    font-family: var(--cl-font-primary);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    text-align: right;
}

.cl-footer__languages-list {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cl-footer__languages-list li a {
    font-family: var(--cl-font-primary);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.cl-footer__languages-list li a:hover,
.cl-footer__languages-list li a.active {
    color: var(--cl-white);
}

.cl-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.cl-footer__copyright {
    font-family: var(--cl-font-primary);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
}

/* ---------- Section View All ---------- */
.cl-section__view-all {
    text-align: center;
    margin-top: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .cl-pricing__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cl-popular__wrapper {
        flex-direction: column;
    }

    .cl-popular__sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cl-search-panel__filters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .cl-navbar {
        width: calc(100% - 40px);
        top: 10px;
        padding: 10px 16px;
    }

    .cl-navbar__menu {
        display: none;
    }

    .cl-hero__title {
        font-size: 36px;
    }

    .cl-hero {
        padding-top: 80px;
        min-height: auto;
    }

    .cl-search-panel__body {
        flex-direction: column;
    }

    .cl-search-panel__sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }

    .cl-search-panel__main {
        margin: 0 16px 16px 16px;
    }

    .cl-search-panel__top {
        flex-wrap: wrap;
    }

    .cl-search-panel__dates {
        width: 100%;
        justify-content: flex-end;
    }

    .cl-features__cards {
        flex-direction: column;
    }

    .cl-testimonials__wrapper {
        flex-direction: column;
    }

    .cl-testimonials__info {
        max-width: 100%;
    }

    .cl-blog__cards {
        grid-template-columns: 1fr;
    }

    .cl-products__wrapper {
        flex-direction: column;
    }

    .cl-footer__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .cl-statistics__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .cl-hero__title {
        font-size: 28px;
    }

    .cl-search-panel__filters {
        grid-template-columns: 1fr;
    }

    .cl-pricing__cards {
        grid-template-columns: 1fr;
    }

    .cl-trending__title,
    .cl-section-indicator__title {
        font-size: 28px;
    }

    .cl-pricing__title {
        font-size: 28px;
    }

    .cl-hero__circle {
        display: none;
    }

    .cl-footer__contact {
        gap: 30px;
    }

    .cl-popular__sidebar-item {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* ---------- Mobile Hamburger ---------- */
.cl-navbar__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cl-text-dark);
    cursor: pointer;
}

@media (max-width: 991px) {
    .cl-navbar__toggle {
        display: block;
    }
}