    /* Header */
    .page-background {
      display: none; /* Removed gradient - using white background */
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 300px;
      background-image: url('/Assets/Images/Renatus-bgd.gif');
      background-size: 100% 300px;
      background-position: top center;
      background-repeat: no-repeat;
      z-index: -1;
    }
    
    /* Legacy header styles removed - using shared navbar.css */
    
    /* Hero Search - Ask Ren */
    .hero-search-container {
      display: flex !important;
      max-width: 500px;
      margin: var(--spacing-10) auto 40px;
      align-items: center;
      background: var(--white);
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-8);
      padding: var(--spacing-1) 16px;
      gap: 10px;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s ease;
    }
    
    .hero-search-container:focus-within {
      box-shadow: var(--shadow-md);
    }
    
    .hero-search-input {
      flex: 1;
      height: 42px;
      padding: 0;
      border: none;
      font-family: var(--font-family-base);
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-light);
      color: var(--black);
      outline: none;
      background: transparent;
    }
    
    .hero-search-input::placeholder {
      color: var(--gray-mid);
    }
    
    .share-btn-container {
      position: relative;
    }
    
    .header-share-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: var(--spacing-2) 12px;
      background: transparent;
      border: none;
      color: var(--black);
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: opacity 0.15s;
    }
    
    .header-share-btn:hover {
      opacity: 0.6;
    }
    
    .home-share-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      margin-top: var(--spacing-2);
      background: var(--white);
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-3);
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
      min-width: 180px;
      padding: var(--spacing-2) 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.2s;
      z-index: 1000;
    }
    
    .home-share-dropdown.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .home-share-option {
      display: flex;
      align-items: center;
      gap: var(--spacing-3);
      padding: var(--spacing-3) 16px;
      color: var(--black);
      text-decoration: none;
      font-size: var(--font-size-sm);
      transition: background 0.15s;
    }
    
    .home-share-option:hover {
      background: var(--gray-background);
    }
    
    .home-share-option svg {
      flex-shrink: 0;
      color: var(--gray-dark);
    }
    
    .user-icon {
      width: var(--spacing-6);
      height: var(--spacing-6);
      color: var(--black);
      cursor: pointer;
    }
    
    /* Main Content */
    .main {
      padding-top: 60px;
      min-height: 100vh;
      display: flex;
    }
    
    /* Split Panel Layout */
    .left-panel {
      width: 100%;
      overflow-y: auto;
      height: calc(100vh - 60px);
      transition: width 0.3s ease;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    
    .left-panel::-webkit-scrollbar {
      display: none;
    }
    
    .left-panel.panel-open {
      width: 60%;
    }
    
    .right-panel {
      width: 0;
      background: var(--white);
      height: calc(100vh - 60px);
      overflow: hidden;
      display: none;
      flex-direction: column;
      transition: width 0.3s ease;
      position: relative;
      border-top-left-radius: 50px;
      border-bottom-left-radius: 50px;
      box-shadow: -20px 0 60px rgba(0, 0, 0, 0.08);
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    
    .right-panel.resizing {
      transition: none;
    }
    
    .left-panel.resizing {
      transition: none;
    }
    
    .resize-handle {
      position: absolute;
      left: 0;
      top: 0;
      width: var(--spacing-2);
      height: 100%;
      cursor: ew-resize;
      z-index: 100;
      background: transparent;
    }
    
    .resize-handle:hover,
    .resize-handle.active {
      background: transparent;
    }
    
    .resize-handle::after {
      content: '';
      position: absolute;
      left: var(--spacing-0);
      top: 50%;
      transform: translateY(-50%);
      width: var(--spacing-1);
      height: var(--spacing-10);
      background: rgba(0, 0, 0, 0.1);
      border-radius: var(--spacing-0);
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    
    .resize-handle:hover::after,
    .resize-handle.active::after {
      opacity: 1;
    }
    
    .right-panel::-webkit-scrollbar {
      display: none;
    }
    
    .right-panel.open {
      width: 40%;
      display: flex;
      overflow: hidden;
    }
    
    .right-panel.empty {
      align-items: center;
      justify-content: center;
    }
    
    .right-panel-empty {
      text-align: center;
      color: var(--gray-mid);
      padding: var(--spacing-12);
    }
    
    .right-panel-empty svg {
      width: var(--spacing-12);
      height: var(--spacing-12);
      margin-bottom: var(--spacing-4);
      opacity: 0.4;
    }
    
    .right-panel-empty p {
      font-size: 0.95rem;
    }
    
    .right-panel-content {
      display: flex;
      flex-direction: column;
      height: 100%;
      position: relative;
    }
    
    .detail-header {
      padding: 60px 60px 16px 60px;
      flex-shrink: 0;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: var(--spacing-4);
    }
    
    .detail-header .detail-title {
      margin-bottom: 0;
      flex: 1;
    }
    
    .detail-body {
      padding: 0 60px 32px 60px;
      overflow-y: auto;
      flex: 1;
    }
    
    .detail-cta-container {
      display: flex;
      justify-content: flex-start;
      margin: -2px 0 24px 0;
    }

    .detail-cart-btn {
      background: var(--black);
      color: var(--white);
      border: none;
      padding: var(--spacing-3) var(--spacing-6);
      border-radius: var(--radius-full);
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-semibold);
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--spacing-2);
    }
    
    .detail-cart-btn:hover {
      background: var(--black);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    .detail-cart-btn:focus,
    .detail-cart-btn:active {
      outline: none;
    }
    
    .detail-cart-btn svg {
      width: 18px;
      height: 18px;
      stroke: var(--white);
    }
    
    .detail-cart-btn:hover svg {
      stroke: var(--white);
    }
    
    .detail-icon {
      width: 56px;
      height: 56px;
      background: transparent;
      border-radius: var(--spacing-3);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      border: none;
    }
    
    .detail-icon img {
      width: 28px;
      height: 28px;
    }
    
    .detail-title {
      font-size: var(--font-size-xl);
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      margin-bottom: var(--spacing-2);
    }
    
    .detail-intro {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-light);
      color: var(--black);
      line-height: var(--line-height-relaxed);
      margin-bottom: 0;
      padding-bottom: 25px;
    }
    
    .detail-price {
      font-size: var(--font-size-md);
      margin-bottom: var(--spacing-6);
    }
    
    .detail-price .original {
      text-decoration: line-through;
      color: var(--gray-mid);
      margin-right: var(--spacing-2);
    }
    
    .detail-price .current {
      font-weight: var(--font-weight-semibold);
      color: var(--fuchsia);
    }
    
    .detail-actions {
      display: flex;
      gap: var(--spacing-3);
      margin-bottom: var(--spacing-8);
    }
    
    .detail-actions .btn-primary {
      flex: 1;
    }
    
    .detail-preview {
      background: transparent;
      border-radius: var(--spacing-6);
      padding: 0;
      margin-top: 70px;
      overflow: visible;
    }
    
    .report-holder {
      width: 100%;
      background: transparent;
      border: none;
      border-radius: var(--spacing-6);
    }
    
    .report-holder iframe {
      width: 100%;
      border: none;
      display: block;
      overflow: hidden;
      pointer-events: none;
    }
    
    .report-holder-placeholder {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: var(--spacing-6);
      min-height: 200px;
      color: var(--gray-mid);
      font-size: 0.85rem;
    }
    
    .detail-preview-header {
      display: flex;
      align-items: center;
      justify-content: center;
      height: var(--spacing-12);
      margin: var(--spacing-12) 0 0 0;
      padding: 0 0 16px 0;
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-medium);
      color: rgba(15, 15, 15, 0.6);
      text-transform: uppercase;
      letter-spacing: 0;
      text-align: center;
      border-bottom: 1px solid var(--border-light, var(--gray-light));
      margin-bottom: 24px;
    }
    
    .detail-preview-content {
      padding: 0;
      font-size: var(--font-size-base);
      color: var(--gray-dark);
      line-height: var(--line-height-relaxed);
      text-align: center;
    }
    
    .detail-features {
      margin-bottom: var(--spacing-6);
    }
    
    .detail-feature {
      display: flex;
      align-items: flex-start;
      gap: var(--spacing-3);
      padding: var(--spacing-3) 0;
      border-bottom: 1px solid var(--gray-light);
    }
    
    .detail-feature:last-child {
      border-bottom: none;
    }
    
    .detail-feature-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      color: var(--fuchsia);
    }
    
    .detail-feature-text {
      font-size: var(--font-size-base);
      color: var(--gray-dark);
    }
    
    .detail-feature-title {
      font-weight: var(--font-weight-medium);
      color: var(--black);
    }
    
    /* Workshop Detail Styles */
    .detail-intro p {
      margin: 0 0 12px 0;
      line-height: var(--line-height-relaxed);
    }
    
    .detail-intro p:last-child {
      margin-bottom: 0;
    }
    
    .detail-intro strong {
      font-weight: var(--font-weight-semibold);
    }
    
    .workshop-price {
      display: flex;
      align-items: baseline;
      gap: var(--spacing-2);
      margin-bottom: 0;
    }
    
    .price-amount {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-medium);
      line-height: var(--line-height-relaxed);
      color: var(--black);
    }
    
    .price-note {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-light);
      line-height: var(--line-height-relaxed);
      color: var(--black);
    }
    
    .price-cta {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-light);
      line-height: var(--line-height-relaxed);
      color: var(--black);
      margin-top: 0;
      margin-bottom: 25px;
    }
    
    .price-cta a {
      color: var(--fuchsia);
      text-decoration: none;
      font-weight: var(--font-weight-light);
    }
    
    .price-cta a:hover {
      text-decoration: underline;
    }
    
    .workshop-cta-link {
      margin-top: var(--spacing-4);
    }
    
    .workshop-cta-link a {
      color: var(--fuchsia);
      text-decoration: none;
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-light);
      line-height: var(--line-height-relaxed);
    }
    
    .workshop-cta-link a:hover {
      text-decoration: underline;
    }
    
    .workshop-preview-container {
      background: var(--white);
      border-radius: var(--spacing-3);
      padding: var(--spacing-6) 48px 48px 48px;
    }
    
    .preview-section {
      margin-bottom: var(--spacing-6);
    }
    
    .preview-section:last-child {
      margin-bottom: 0;
    }
    
    .preview-section-title {
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-normal);
      color: var(--gray-mid);
      letter-spacing: 0;
      margin: var(--spacing-2) 0 4px 0 !important;
      padding: 0;
      text-align: left;
    }
    
    h4.preview-section-title {
      margin: var(--spacing-2) 0 4px 0 !important;
    }
    
    .preview-section-content {
      font-size: var(--font-size-sm);
      color: var(--black);
      line-height: var(--line-height-relaxed);
      text-align: left;
    }
    
    .preview-section-content p {
      margin: 0 0 12px 0 !important;
    }
    
    .preview-section-content p:last-child {
      margin-bottom: 0 !important;
    }
    
    /* Preview report content styles */
    .preview-report-content {
      padding: 0;
      transform: scale(1);
      transform-origin: top left;
      width: 100%;
    }

    .preview-report-content > * {
      background: transparent;
      box-shadow: none !important;
      border-radius: 0;
      overflow: hidden;
      text-align: left;
    }
    
    .preview-report-content {
      background: var(--white);
      border-radius: var(--spacing-6);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .preview-report-content .report-cover {
      transform: scale(0.9);
      transform-origin: top left;
      width: 111.11%;
    }
    
    .preview-report-content .report-container {
      box-shadow: none !important;
      border-radius: 0;
      padding-bottom: var(--spacing-10);
    }
    
    .view-sample-toggle {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--spacing-3);
      padding: 20px 0;
      cursor: pointer;
    }
    
    .view-sample-toggle::before {
      content: '';
      width: 100%;
      height: 1px;
      background: var(--gray-light);
    }
    
    .view-sample-toggle:hover .view-sample-text {
      text-decoration: underline;
    }
    
    .view-sample-text {
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      color: var(--black);
    }
    
    .view-sample-toggle svg {
      display: none;
    }
    
    .preview-fullscreen-link {
      display: block;
      margin-top: var(--spacing-4);
      color: var(--fuchsia);
      font-size: 0.85rem;
      text-decoration: none;
    }
    
    .preview-fullscreen-link:hover {
      text-decoration: underline;
    }
    
    .preview-report-link {
      display: inline-block;
      padding: var(--spacing-3) 20px;
      background: var(--fuchsia);
      color: white;
      text-decoration: none;
      border-radius: var(--spacing-2);
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-medium);
      transition: background 0.2s;
    }
    
    .preview-report-link:hover {
      background: var(--coral);
    }
    
    /* Survey Preview Styles */
    .detail-meta {
      margin-bottom: var(--spacing-6);
      padding-bottom: 20px;
      position: relative;
    }
    
    .detail-meta::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100px;
      height: 1px;
      background-color: var(--gray-light);
    }
    
    .detail-meta-item {
      font-size: var(--font-size-base);
      color: var(--black);
      font-weight: var(--font-weight-light);
      margin-bottom: 6px;
      line-height: var(--line-height-normal);
    }
    
    .detail-meta-item strong {
      color: var(--black);
      font-weight: var(--font-weight-semibold);
      position: relative;
      top: -1px;
    }
    
    .detail-meta-price {
      color: var(--fuchsia);
      font-weight: var(--font-weight-medium);
    }
    
    /* Ren Chat Interface */
    .right-panel-chat {
      display: none;
      flex-direction: column;
      height: 100%;
      padding: 0;
    }
    
    .chat-close-btn {
      position: absolute;
      top: var(--spacing-4);
      right: var(--spacing-4);
      background: none;
      border: none;
      cursor: pointer;
      padding: var(--spacing-2);
      color: var(--black);
      z-index: 10;
    }
    
    .chat-close-btn:hover {
      opacity: 0.7;
    }
    
    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: var(--spacing-6);
      padding-top: 60px;
      display: flex;
      flex-direction: column;
      gap: var(--spacing-4);
    }
    
    .chat-message {
      max-width: 85%;
      padding: var(--spacing-3) 16px;
      border-radius: var(--spacing-4);
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-light);
      line-height: var(--line-height-relaxed);
    }
    
    .chat-message.ren {
      background: transparent;
      color: var(--black);
      align-self: flex-start;
      border-bottom-left-radius: var(--spacing-1);
    }
    
    .chat-message.user {
      background: rgba(15, 15, 15, 0.08);
      color: var(--black);
      align-self: flex-end;
      border-bottom-right-radius: var(--spacing-1);
    }
    
    .chat-typing {
      display: flex;
      gap: var(--spacing-1);
      padding: var(--spacing-3) 16px;
      background: var(--gray-background);
      border-radius: var(--spacing-4);
      border-bottom-left-radius: var(--spacing-1);
      align-self: flex-start;
      max-width: 60px;
    }
    
    .chat-typing span {
      width: var(--spacing-2);
      height: var(--spacing-2);
      background: var(--gray-mid);
      border-radius: 50%;
      animation: chatTyping 1.4s infinite ease-in-out;
    }
    
    .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
    .chat-typing span:nth-child(3) { animation-delay: 0.4s; }
    
    @keyframes chatTyping {
      0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
      30% { transform: translateY(-4px); opacity: 1; }
    }
    
    .chat-product-card {
      background: white;
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-3);
      padding: var(--spacing-4);
      margin-top: var(--spacing-2);
      cursor: pointer;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    
    .chat-product-card:hover {
      border-color: var(--fuchsia);
      box-shadow: 0 2px 8px rgba(255, 56, 178, 0.1);
    }
    
    .chat-product-card-header {
      display: flex;
      align-items: center;
      gap: var(--spacing-3);
      margin-bottom: var(--spacing-2);
    }
    
    .chat-product-card-icon {
      width: var(--spacing-10);
      height: var(--spacing-10);
      background: var(--gray-background);
      border-radius: var(--spacing-2);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .chat-product-card-icon img {
      width: var(--spacing-6);
      height: var(--spacing-6);
    }
    
    .chat-product-card-title {
      font-weight: var(--font-weight-light);
      color: var(--black);
      font-size: var(--font-size-sm);
    }
    
    .chat-product-card-desc {
      font-size: var(--font-size-sm);
      color: var(--gray-dark);
      line-height: var(--line-height-normal);
      margin-bottom: var(--spacing-3);
    }
    
    .chat-product-card-action {
      display: inline-flex;
      align-items: center;
      gap: var(--spacing-1);
      font-size: 0.85rem;
      font-weight: var(--font-weight-medium);
      color: var(--fuchsia);
    }
    
    .chat-input-container {
      padding: var(--spacing-4) 24px;
    }
    
    .chat-input-wrapper {
      display: flex;
      align-items: flex-end;
      background: transparent;
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-6);
      padding: 20px 12px 12px 16px;
      height: 100px;
      transition: border-color 0.2s ease;
    }
    
    .chat-input-wrapper:focus-within {
      border-color: var(--gray-light);
    }
    
    .chat-input {
      flex: 1;
      padding: 0;
      border: none;
      font-size: 0.95rem;
      outline: none;
      background: transparent;
      align-self: flex-start;
      margin-top: var(--spacing-1);
    }
    
    .chat-send-btn {
      width: 36px;
      height: 36px;
      background: var(--black);
      border: none;
      border-radius: var(--spacing-3);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      transition: all 0.2s ease;
    }
    
    .chat-send-btn:hover {
      background: var(--fuchsia);
      transform: scale(1.05);
    }
    
    .chat-send-btn:active {
      transform: scale(0.95);
    }
    
    .chat-send-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }
    
    /* Hero Section */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--spacing-10);
      max-width: 1200px;
      margin: 0 auto;
      padding: 80px 48px 60px;
      align-items: center;
    }
    
    .hero-content h1 {
      font-size: 3.2rem;
      font-weight: var(--font-weight-medium);
      line-height: var(--line-height-tight);
      color: var(--black);
      margin-bottom: var(--spacing-6);
      letter-spacing: 0;
      max-width: 380px;
    }
    
    .hero-content p {
      font-size: var(--font-size-lg);
      font-weight: var(--font-weight-light);
      line-height: var(--line-height-relaxed);
      color: var(--gray-dark);
      margin-bottom: var(--spacing-8);
      max-width: 520px;
    }
    
    .hero-actions {
      display: flex;
      align-items: center;
      gap: var(--spacing-6);
    }
    
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 14px 24px;
      background: var(--black);
      color: white;
      border: none;
      border-radius: var(--spacing-6);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    
    .btn-primary:hover {
      background: var(--black);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    .btn-link {
      display: inline-flex;
      align-items: center;
      gap: var(--spacing-1);
      color: var(--black);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.2s;
    }
    
    .btn-link:hover {
      opacity: 0.8;
    }
    
    .contact-sales-link:hover {
      color: var(--fuchsia);
      opacity: 1;
    }
    
    /* Hero Preview Panel */
    .hero-preview {
      background: transparent;
      border-radius: var(--radius-full);
      overflow: hidden;
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    }
    
    .preview-container {
      display: grid;
      grid-template-columns: 180px 1fr;
    }
    
    /* Left sidebar */
    .preview-nav {
      background: var(--gray-background);
      border-right: 1px solid var(--gray-light);
      padding: var(--spacing-4) 12px;
    }
    
    .preview-nav-header {
      font-size: 0.65rem;
      font-weight: var(--font-weight-semibold);
      color: var(--gray-mid);
      text-transform: uppercase;
      letter-spacing: 0;
      padding: var(--spacing-2) 10px;
      margin-bottom: var(--spacing-1);
    }
    
    .preview-nav-item {
      font-size: 0.75rem;
      color: var(--gray-dark);
      padding: var(--spacing-2) 10px;
      border-radius: 6px;
      margin-bottom: var(--spacing-0);
    }
    
    .preview-nav-item.active {
      background: white;
      color: var(--black);
      font-weight: var(--font-weight-medium);
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    
    /* Right side - Ren interface */
    .preview-main {
      padding: var(--spacing-8) 28px;
      background: white;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .ren-greeting {
      text-align: center;
      margin-bottom: var(--spacing-6);
    }
    
    .ren-greeting h3 {
      font-size: 1.4rem;
      font-weight: var(--font-weight-bold);
      color: var(--black);
      margin-bottom: var(--spacing-2);
    }
    
    .ren-greeting p {
      font-size: var(--font-size-base);
      color: var(--gray-dark);
      font-weight: var(--font-weight-normal);
    }
    
    .ren-input-box {
      width: 100%;
      max-width: 320px;
      background: white;
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-3);
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: var(--spacing-6);
    }
    
    .ren-input-box span {
      font-size: 0.85rem;
      color: var(--gray-mid);
    }
    
    .ren-input-btn {
      width: 36px;
      height: 36px;
      background: var(--black);
      border-radius: var(--spacing-2);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .ren-input-btn svg {
      width: var(--spacing-4);
      height: var(--spacing-4);
      color: white;
    }
    
    /* Results section with color */
    .preview-results {
      width: 100%;
      max-width: 360px;
    }
    
    .preview-result-item {
      display: flex;
      align-items: center;
      gap: var(--spacing-3);
      padding: 10px 0;
      border-bottom: 1px solid var(--gray-background);
    }
    
    .preview-result-item:last-child {
      border-bottom: none;
    }
    
    .result-bar {
      width: 80px;
      height: var(--spacing-2);
      background: var(--gray-background);
      border-radius: var(--spacing-1);
      overflow: hidden;
    }
    
    .result-bar-fill {
      height: 100%;
      border-radius: var(--spacing-1);
    }
    
    .result-bar-fill.pink {
      background: linear-gradient(90deg, var(--fuchsia), var(--coral));
    }
    
    .result-bar-fill.blue {
      background: linear-gradient(90deg, var(--fuchsia), var(--coral));
    }
    
    .result-bar-fill.green {
      background: linear-gradient(90deg, var(--positive), var(--positive));
    }
    
    .result-title {
      flex: 1;
      font-size: 0.75rem;
      color: var(--black);
      font-weight: var(--font-weight-medium);
    }
    
    .result-value {
      font-size: 0.7rem;
      color: var(--gray-mid);
      font-weight: var(--font-weight-medium);
    }
    
    /* Products Section */
    .gradient-divider {
      width: 100%;
      height: 1px;
      background: var(--gray-light);
      margin-top: 80px;
    }
    
    .products-section {
      max-width: 1200px;
      margin: 20px auto 0;
      padding: 0 48px 100px;
    }
    
    .section-title {
      font-size: 1.5rem;
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      margin: 0 0 12px 0;
      padding-top: var(--spacing-10);
    }
    
    .section-title:first-child {
      padding-top: 0;
    }
    
    .section-subtitle {
      font-size: 15px;
      color: var(--black);
      margin: -16px 0 16px 0;
      font-weight: var(--font-weight-light);
    }
    
    /* Products Header with Tabs and Search */
    .products-header {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 0;
      margin-bottom: var(--spacing-6);
      padding-bottom: 0;
      border-bottom: none;
      position: relative;
    }
    
    .products-header::after {
      display: none;
    }
    
    .header-icons {
      display: flex;
      align-items: center;
      gap: 0;
    }
    
    .header-icon-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: var(--spacing-8);
      height: var(--spacing-8);
      border: none;
      border-radius: 50%;
      background: transparent;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .header-icon-btn:hover {
      background: var(--gray-background);
    }
    
    .header-icon-btn svg {
      stroke: var(--black);
    }
    
    .products-tabs {
      display: none;
      gap: var(--spacing-1);
      flex-wrap: nowrap;
      align-items: center;
      margin-left: var(--spacing-2);
      flex: 1;
    }
    
    .products-tabs.visible {
      display: flex;
    }
    
    .tab-btn {
      padding: var(--spacing-2) 12px;
      border: none;
      border-radius: 20px;
      background: transparent;
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-medium);
      color: var(--black);
      text-transform: uppercase;
      letter-spacing: 0;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    
    .tab-btn {
      position: relative;
    }
    
    .tab-btn::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: var(--spacing-3);
      right: var(--spacing-3);
      height: var(--spacing-0);
      background: transparent;
      border-radius: 1px;
      transition: background 0.2s ease;
    }
    
    .tab-btn:hover {
      background: transparent;
      font-weight: var(--font-weight-bold);
    }
    
    .tab-btn:hover::after {
      background: var(--black);
    }
    
    .tab-btn[data-tab="insight"]:hover::after {
      background: var(--fuchsia);
    }
    
    .tab-btn[data-tab="course"]:hover::after {
      background: var(--fuchsia);
    }
    
    .tab-btn[data-tab="quiz"]:hover::after {
      background: var(--fuchsia);
    }
    
    .tab-btn.active {
      font-weight: var(--font-weight-bold);
      background: transparent;
    }
    
    .tab-btn.active::after {
      background: var(--black);
    }
    
    .tab-btn[data-tab="insight"].active::after {
      background: var(--fuchsia);
    }
    
    .tab-btn[data-tab="course"].active::after {
      background: var(--fuchsia);
    }
    
    .tab-btn[data-tab="quiz"].active::after {
      background: var(--fuchsia);
    }
    
    .tab-btn[data-tab="favorites"].active::after {
      background: var(--fuchsia);
    }
    
    .tab-btn.favorites-icon-btn {
      margin-left: auto;
      padding: var(--spacing-2);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .tab-btn.favorites-icon-btn::after {
      display: none;
    }
    
    .tab-btn.favorites-icon-btn.active svg path,
    .tab-btn.favorites-icon-btn:hover svg path {
      fill: var(--fuchsia);
      stroke: var(--fuchsia);
    }
    
    .products-search {
      display: none;
      align-items: center;
      padding: 10px 16px;
      border: 1px solid var(--gray-light);
      border-radius: 20px;
      background: var(--white);
      flex: 1;
      max-width: 400px;
      margin-left: var(--spacing-2);
    }
    
    .products-search.visible {
      display: flex;
    }
    
    .products-search input {
      border: none;
      outline: none;
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-normal);
      color: var(--black);
      width: 100%;
      background: transparent;
    }
    
    .products-search input::placeholder {
      color: var(--gray-mid);
    }
    
    .products-count {
      display: none;
    }
    
    .tab-count {
      font-weight: var(--font-weight-normal);
      opacity: 0.6;
      margin-left: var(--spacing-0);
      display: none;
    }
    
    .tab-btn.active .tab-count {
      display: inline;
    }
    
    .carousel-container {
      position: relative;
      display: flex;
      align-items: center;
      gap: var(--spacing-4);
      margin-left: -58px;
      margin-right: -58px;
    }
    
    .carousel-wrapper {
      position: relative;
      flex: 1;
      overflow: hidden;
    }
    
    
    .carousel-arrow {
      flex-shrink: 0;
      width: var(--spacing-10);
      height: var(--spacing-10);
      border-radius: 50%;
      border: none;
      background: transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      z-index: 2;
    }
    
    .carousel-arrow:hover {
      background: var(--gray-background);
    }
    
    .carousel-arrow:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
    
    .carousel-arrow svg {
      width: var(--spacing-10);
      height: var(--spacing-10);
      stroke: var(--black);
    }
    
    .carousel-track {
      display: flex;
      gap: var(--spacing-6);
      overflow-x: auto;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: var(--spacing-2) 0;
    }
    
    .carousel-track::-webkit-scrollbar {
      display: none;
    }
    
    .carousel-track .product-card {
      flex: 0 0 260px;
      min-width: 260px;
      max-width: 260px;
    }
    
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 30px;
    }
    
    /* Desktop: Hide mobile-only elements */
    .product-card-mobile-thumb,
    .product-card-mobile-details {
      display: none;
    }
    
    .product-card-desktop {
      display: contents;
    }
    
    @media (max-width: 767px) {
      .products-header {
        flex-direction: column;
        align-items: stretch;
      }
      
      .products-search {
        min-width: unset;
      }
    }
    
    /* Desktop grid (above mobile breakpoint) */
    @media (min-width: 769px) {
      .products-grid .product-card {
        width: 100%;
        max-width: 320px;
      }
    }
    
    .products-empty {
      grid-column: 1 / -1;
      text-align: center;
      padding: var(--spacing-12) 24px;
      color: var(--gray-dark);
    }
    
    .products-empty svg {
      width: var(--spacing-12);
      height: var(--spacing-12);
      stroke: var(--gray-light);
      margin-bottom: var(--spacing-4);
    }
    
    .products-empty h3 {
      font-size: var(--font-size-lg);
      font-weight: var(--font-weight-medium);
      margin-bottom: var(--spacing-2);
      color: var(--black);
    }
    
    .products-empty p {
      font-size: var(--font-size-sm);
    }
    
    .product-card {
      cursor: pointer;
      display: grid;
      grid-template-rows: 118px auto auto 1fr auto;
      gap: 0;
      min-height: 360px;
      padding: 0 0 16px 0;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border-radius: var(--spacing-3);
      background: var(--white);
      border: none;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    
    /* Mobile: Lighter card shadows */
    @media (max-width: 767px) {
      .product-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      }
      .product-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      }
    }
    
    .product-card:hover .card-image-placeholder {
      transform: translateY(-2px);
    }
    
    .product-card:active {
      transform: translateY(0px);
    }
    
    .product-card.active,
    .product-card.selected {
      border-top: 1px solid var(--gray-mid);
      border-bottom: 1px solid var(--gray-mid);
    }
    
    /* Initial highlight - icon only, no borders */
    .product-card.initial-highlight {
      border-top: none;
      border-bottom: none;
    }
    
    /* Category-colored borders for active cards */
    .product-card.active[data-category="report"],
    .product-card.selected[data-category="report"] {
      border-top-color: var(--fuchsia);
      border-bottom-color: var(--fuchsia);
    }
    .product-card.active[data-category="workshop"],
    .product-card.selected[data-category="workshop"],
    .product-card.active[data-category="planning_tool"],
    .product-card.selected[data-category="planning_tool"] {
      border-top-color: var(--fuchsia);
      border-bottom-color: var(--fuchsia);
    }
    
    .product-card.coming-soon {
      opacity: 0.5;
      pointer-events: none;
    }
    
    /* FREE Corner Ribbon - Hidden */
    .free-ribbon {
      display: none;
    }
    
    /* FREE Hover Badge */
    .free-hover-badge {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      background: rgba(255, 255, 255, 0.5);
      color: var(--black);
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-bold);
      letter-spacing: 0;
      padding: 6px 16px;
      border-radius: var(--spacing-3);
      opacity: 0;
      transition: opacity 0.2s ease, transform 0.2s ease;
      pointer-events: none;
      z-index: 5;
    }
    
    .product-card.is-free:hover .free-hover-badge {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    
    /* ========================================
       MOBILE CARD LAYOUT (≤768px)
       Must come AFTER base .product-card styles
       ======================================== */
    @media (max-width: 768px) {
      .products-grid {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-4);
      }
      
      .products-grid .product-card {
        width: 100%;
        max-width: none;
      }
      
      .product-card {
        display: flex;
        flex-direction: row;
        min-height: auto;
        padding: var(--spacing-3);
        gap: var(--spacing-3);
        grid-template-rows: none;
      }
      
      .product-card:hover {
        transform: none;
      }
      
      /* Show mobile elements, hide desktop */
      .product-card-mobile-thumb {
        display: block;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        border-radius: var(--spacing-2);
        overflow: hidden;
        background: var(--gray-background);
      }
      
      .product-card-mobile-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .product-card-mobile-details {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        gap: var(--spacing-1);
      }
      
      .product-title-mobile {
        font-size: var(--font-size-sm);
        font-weight: var(--font-weight-semibold);
        color: var(--black);
        margin: 0;
        line-height: var(--line-height-tight);
      }
      
      .product-description-mobile {
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-normal);
        color: var(--gray-dark);
        margin: 0;
        line-height: var(--line-height-normal);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      
      .product-footer-mobile {
        display: flex;
        align-items: center;
        gap: var(--spacing-1);
        margin-top: auto;
        font-size: var(--font-size-xs);
      }
      
      .footer-category-name-mobile {
        font-weight: var(--font-weight-medium);
        color: var(--black);
      }
      
      .footer-time-mobile {
        color: var(--gray-dark);
      }
      
      .product-card-desktop {
        display: none;
      }
      
      /* Hide free ribbon and hover badge on mobile */
      .free-ribbon,
      .free-hover-badge {
        display: none;
      }
    }
    
    /* Row 1 - Icon + Badge */
    .product-row-badge {
      height: 20px;
      display: flex;
      align-items: center;
    }
    
    .product-badge-text {
      font-size: 0.85rem;
      font-weight: var(--font-weight-medium);
      color: var(--fuchsia);
    }
    
    .product-row-icon {
      height: 118px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(15, 15, 15, 0.04);
      overflow: hidden;
      position: relative;
      border-radius: var(--spacing-3) 12px 0 0;
    }
    
    .product-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      border-radius: var(--spacing-3) 12px 0 0;
    }
    
    
    .product-icon img {
      width: 100%;
      height: 100%;
      transition: filter 0.2s ease;
    }
    
    .product-card:hover .product-icon img {
      filter: brightness(0) invert(1);
    }
    
    /* Row 2 - Title (with badge) */
    .product-row-title {
      padding-top: 5px;
      padding-left: 15px;
      padding-right: 15px;
      padding-bottom: 0;
      margin-bottom: 0;
      overflow: hidden;
      min-width: 0;
      align-self: start;
    }
    
    .product-row-topics {
      padding: 0 15px 0;
      display: flex;
      flex-wrap: wrap;
      gap: var(--spacing-1);
    }
    
    .product-row-topics:empty {
      display: none;
    }
    
    .topic-tag {
      display: inline-block;
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-medium);
      color: var(--black);
      background: var(--gray-background);
      padding: var(--spacing-0) 8px;
      border-radius: 10px;
      white-space: nowrap;
    }
    
    .product-badge {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: var(--font-weight-semibold);
      color: var(--fuchsia);
    }
    
    .product-title {
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-light);
      text-transform: none;
      letter-spacing: 0;
      line-height: var(--line-height-tight);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
      color: var(--gray-dark);
      padding-top: 10px;
      margin: 0;
    }
    
    .free-badge {
      display: inline-flex;
      align-items: center;
      background: transparent;
      border: none;
      color: var(--fuchsia);
      font-size: 0.75rem;
      font-weight: var(--font-weight-semibold);
      letter-spacing: 0;
      padding: 0;
      border-radius: 0;
      margin-left: 10px;
      vertical-align: middle;
      text-transform: uppercase;
      box-shadow: none;
    }
    
    /* Row 3 - Body */
    .product-row-body {
      padding-top: 0;
      padding-bottom: var(--spacing-3);
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden;
      min-width: 0;
      margin-top: var(--spacing-2);
      align-self: start;
    }
    
    .product-description {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-semibold);
      line-height: var(--line-height-tight);
      color: var(--black);
      margin: 0;
      width: 85%;
    }
    
    .product-card:hover .product-description {
      text-decoration: underline;
    }
    
    /* Row 5 - Action Link */
    .product-row-action {
      padding: var(--spacing-2) 15px 0 15px;
    }
    
    .product-action-link {
      font-size: 0.85rem;
      font-weight: var(--font-weight-medium);
      text-decoration: none;
      cursor: pointer;
    }
    
    .product-row-action {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .product-action-link.get-started {
      color: var(--black);
      font-weight: var(--font-weight-light);
    }
    
    .product-action-link.get-started:hover {
      text-decoration: underline;
    }
    
    .product-favorite-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      padding: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0.9;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .product-favorite-btn svg {
      filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.4));
    }
    
    .product-favorite-btn:hover {
      opacity: 1;
      transform: scale(1.1);
    }
    
    .product-favorite-btn.favorited svg path {
      fill: white;
    }
    
    .product-action-link.coming-soon {
      color: var(--gray-mid);
      font-weight: var(--font-weight-normal);
    }
    
    /* Row 6 - Footer (3 columns) */
    .product-row-footer {
      display: flex;
      flex-direction: column;
      gap: var(--spacing-0);
      padding: 0 15px;
      margin-top: auto;
    }
    
    .footer-line-1 {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-semibold);
    }
    
    .footer-category-icon {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    
    .footer-category-icon svg {
      max-width: 20px;
      max-height: 20px;
      width: 20px;
      height: auto;
    }
    
    .footer-category-icon.insight { color: var(--fuchsia); }
    .footer-category-icon.course { color: var(--fuchsia); }
    .footer-category-icon.quiz { color: var(--fuchsia); }
    
    .footer-category-name {
      font-weight: var(--font-weight-semibold);
      color: var(--black);
    }
    
    .footer-dot {
      color: var(--gray-mid);
    }
    
    .footer-time {
      color: var(--black);
    }
    
    .footer-line-2 {
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-light);
      color: var(--gray-dark);
      margin-top: var(--spacing-1);
    }
    
    .footer-col-left {
      flex-shrink: 0;
      padding: 0;
      margin: 0;
      display: flex;
      align-items: center;
      gap: var(--spacing-2);
    }
    
    .footer-col-left .icon-btn {
      width: 18px;
      height: 18px;
      padding: 0;
      margin: 0;
    }
    
    .footer-col-center {
      flex: 1;
      text-align: left;
    }
    
    .footer-col-right {
      flex-shrink: 0;
    }
    
    .product-action {
      font-size: 0.85rem;
      font-weight: var(--font-weight-medium);
      color: var(--black);
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.2s;
      background: none;
      border: none;
      padding: 0;
    }
    
    .product-action.free-action {
      color: var(--fuchsia);
    }
    
    .product-action:hover {
      opacity: 0.8;
    }
    
    .product-action.btn-outline {
      padding: var(--spacing-2) 16px;
      border: 1px solid var(--gray-light);
      border-radius: 6px;
      color: var(--black);
      background: transparent;
    }
    
    .product-action.btn-outline:hover {
      border-color: var(--gray-mid);
    }
    
    .icon-btn {
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gray-mid);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .icon-btn:hover {
      color: var(--fuchsia);
      transform: scale(1.15);
    }
    
    .icon-btn:active {
      transform: scale(0.95);
    }
    
    .icon-btn svg {
      width: 18px;
      height: 18px;
    }
    
    /* Modal */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
    }
    
    .modal-container {
      display: flex;
      align-items: stretch;
      height: 90vh;
    }
    
    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    
    .modal {
      background: var(--white);
      border-radius: var(--spacing-4);
      max-width: 600px;
      width: 600px;
      height: 90vh;
      overflow-y: auto;
    }
    
    .modal.preview-open {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
    
    .modal-content {
      padding: var(--spacing-12) 32px 48px;
      position: relative;
    }
    
    .modal.preview-open .modal-content {
      padding-bottom: 20px;
    }
    
    .modal-close-btn {
      position: absolute;
      top: var(--spacing-4);
      right: var(--spacing-4);
      width: var(--spacing-8);
      height: var(--spacing-8);
      border: none;
      background: none;
      font-size: var(--spacing-6);
      color: var(--gray-mid);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--spacing-1);
      transition: all 0.2s ease;
    }
    
    .modal-close-btn:hover {
      color: var(--black);
      background: var(--gray-background);
    }
    
    .preview-link {
      display: block;
      font-size: 0.85rem;
      color: var(--fuchsia);
      text-decoration: none;
      margin-top: var(--spacing-2);
      margin-bottom: var(--spacing-2);
    }
    
    .preview-link:hover {
      text-decoration: underline;
    }
    
    .modal-category {
      font-size: 0.7rem;
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      text-transform: uppercase;
      letter-spacing: 0;
      margin-bottom: var(--spacing-3);
    }
    
    .modal-title {
      font-size: 1.5rem;
      font-weight: var(--font-weight-medium);
      color: var(--black);
      margin-bottom: var(--spacing-6);
      padding-bottom: 20px;
      max-width: 80%;
    }
    
    .modal-subtitle {
      font-size: 0.95rem;
      color: var(--gray-mid);
      margin-bottom: 20px;
    }
    
    .modal-features {
      margin-top: var(--spacing-6);
      margin-bottom: 20px;
    }
    
    .modal-heading {
      font-size: var(--font-size-lg);
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      margin-bottom: 20px;
    }
    
    .features-divider {
      height: 1px;
      background: var(--gray-light);
      margin: 20px 0;
    }
    
    .modal-tagline-bottom {
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-light);
      color: var(--black);
      margin-bottom: var(--spacing-2);
      line-height: var(--line-height-normal);
    }
    
    .features-header {
      font-size: 0.75rem;
      font-weight: var(--font-weight-medium);
      color: var(--gray-mid);
      letter-spacing: 0;
      margin-bottom: var(--spacing-4);
    }
    
    .feature-label {
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      color: var(--black);
      margin-bottom: var(--spacing-0);
    }
    
    .features-list {
      display: flex;
      flex-direction: column;
      gap: var(--spacing-4);
      margin-bottom: 20px;
    }
    
    .feature-item {
      display: flex;
      gap: var(--spacing-3);
      align-items: flex-start;
    }
    
    .feature-icon {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      color: var(--black);
      margin-top: var(--spacing-0);
    }
    
    .feature-icon svg {
      width: 100%;
      height: 100%;
    }
    
    .feature-content {
      flex: 1;
    }
    
    .feature-title {
      font-weight: var(--font-weight-light);
      color: var(--black);
      font-size: 0.85rem;
    }
    
    .feature-desc {
      font-size: var(--font-size-base);
      color: var(--black);
      line-height: var(--line-height-relaxed);
      font-weight: var(--font-weight-light);
    }
    
    .modal-tagline {
      font-size: 0.85rem;
      color: var(--black);
      padding-top: var(--spacing-4);
      border-top: 1px solid var(--gray-light);
    }
    
    .modal-description-simple {
      font-size: 0.95rem;
      color: var(--gray-dark);
      margin-bottom: var(--spacing-4);
    }
    
    .modal-description {
      font-size: 0.95rem;
      color: var(--gray-dark);
      line-height: var(--line-height-relaxed);
      margin-bottom: var(--spacing-6);
    }
    
    .modal-price {
      font-size: 1.2rem;
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      margin-bottom: var(--spacing-6);
    }
    
    .modal-actions {
      display: flex;
      gap: var(--spacing-3);
    }
    
    .modal-actions .btn-primary {
      flex: 1;
      justify-content: center;
    }
    
    .modal-actions .btn-secondary {
      padding: 14px 24px;
      background: transparent;
      color: var(--black);
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-6);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .modal-actions .btn-secondary:hover {
      background: var(--gray-background);
    }
    
    .btn-outline-pink {
      padding: 14px 24px;
      background: transparent;
      color: var(--fuchsia);
      border: 1px solid var(--fuchsia);
      border-radius: var(--spacing-6);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .btn-outline-pink:hover {
      background: rgba(255, 56, 178, 0.1);
    }
    
    .btn-outline-dark {
      padding: 14px 24px;
      background: transparent;
      color: var(--black);
      border: 1px solid var(--black);
      border-radius: var(--spacing-6);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .btn-outline-dark:hover {
      background: var(--black);
      color: var(--white);
    }
    
    .code-input-section {
      margin-bottom: var(--spacing-6);
      padding: 20px;
      background: var(--gray-background);
      border-radius: var(--spacing-3);
    }
    
    .code-input-wrapper {
      display: flex;
      gap: var(--spacing-3);
    }
    
    .code-input {
      flex: 1;
      padding: 14px 16px;
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-2);
      font-size: var(--font-size-base);
      font-family: var(--font-family-base);
      text-transform: uppercase;
      letter-spacing: 0;
    }
    
    .code-input::placeholder {
      text-transform: none;
      letter-spacing: 0;
      color: var(--gray-mid);
    }
    
    .code-input:focus {
      outline: none;
      border-color: var(--fuchsia);
    }
    
    .btn-verify {
      padding: 14px 24px;
      background: var(--black);
      color: white;
      border: none;
      border-radius: var(--spacing-2);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .btn-verify:hover {
      background: var(--black);
    }
    
    .code-error {
      margin-top: var(--spacing-3);
      margin-bottom: 0;
      color: var(--negative);
      font-size: var(--font-size-sm);
    }
    
    .code-hint {
      margin-top: var(--spacing-3);
      margin-bottom: 0;
      color: var(--gray-mid);
      font-size: 0.85rem;
    }
    
    /* Preview Modal */
    .preview-modal {
      width: 600px;
      max-width: 600px;
      height: 90vh;
      overflow: hidden;
      margin-left: 0;
      display: flex;
      flex-direction: column;
      position: relative;
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      border-left: 1px solid var(--gray-light);
      background: var(--white);
      border-top-right-radius: var(--spacing-4);
      border-bottom-right-radius: var(--spacing-4);
    }
    
    .preview-close-btn {
      position: absolute;
      top: var(--spacing-4);
      right: var(--spacing-4);
      width: var(--spacing-8);
      height: var(--spacing-8);
      background: none;
      border: none;
      font-size: var(--spacing-6);
      color: var(--gray-mid);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--spacing-1);
      transition: all 0.2s ease;
      z-index: 10;
    }
    
    .preview-close-btn:hover {
      color: var(--black);
      background: var(--gray-background);
    }
    
    .preview-modal-content {
      padding: 0;
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      min-height: 0;
      height: 100%;
      -webkit-overflow-scrolling: touch;
    }
    
    .preview-modal-content iframe {
      width: 100%;
      min-height: 100%;
      height: 3000px;
      border: none;
      display: block;
    }
    
    .preview-modal-content .loaded-preview {
      padding: 0;
      height: 100%;
    }
    
    .preview-section {
      margin-bottom: var(--spacing-6);
    }
    
    .preview-section:last-child {
      margin-bottom: 0;
    }
    
    .preview-section h4 {
      font-size: 0.95rem;
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      margin: 0 0 12px 0;
    }
    
    .preview-section p {
      font-size: 0.85rem;
      font-weight: var(--font-weight-light);
      color: var(--black);
      line-height: var(--line-height-relaxed);
      margin: 0;
    }
    
    .preview-metric {
      display: flex;
      justify-content: space-between;
      padding: var(--spacing-2) 0;
      border-bottom: 1px solid var(--gray-background);
    }
    
    .preview-metric:last-child {
      border-bottom: none;
    }
    
    .metric-label {
      font-size: 0.85rem;
      font-weight: var(--font-weight-light);
      color: var(--black);
    }
    
    .metric-value {
      font-size: 0.85rem;
      font-weight: var(--font-weight-medium);
      color: var(--fuchsia);
    }
    
    .preview-list {
      margin: 0;
      padding-left: 20px;
    }
    
    .preview-list li {
      font-size: 0.85rem;
      font-weight: var(--font-weight-light);
      color: var(--black);
      line-height: var(--line-height-relaxed);
      margin-bottom: var(--spacing-2);
    }
    
    .preview-list li:last-child {
      margin-bottom: 0;
    }
    
    .preview-sample-body {
      padding: var(--spacing-6);
    }
    
    .preview-section {
      margin-bottom: 20px;
    }
    
    .preview-section:last-child {
      margin-bottom: 0;
    }
    
    .preview-section h4 {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      margin: 0 0 8px 0;
    }
    
    .blurred-text {
      color: var(--gray-mid);
      font-size: 0.95rem;
      line-height: var(--line-height-relaxed);
      filter: blur(3px);
      user-select: none;
    }
    
    .blurred-list {
      color: var(--gray-mid);
      font-size: 0.95rem;
      line-height: var(--line-height-relaxed);
      filter: blur(3px);
      user-select: none;
      padding-left: 20px;
    }
    
    .preview-overlay {
      position: absolute;
      top: 50px;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.95) 50%);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .preview-unlock-prompt {
      text-align: center;
      padding: var(--spacing-8);
    }
    
    .preview-unlock-prompt svg {
      color: var(--fuchsia);
      margin-bottom: var(--spacing-4);
    }
    
    .preview-unlock-prompt p {
      color: var(--black);
      font-size: var(--font-size-base);
      margin: 0 0 20px 0;
    }
    
    .btn-unlock {
      background: var(--black);
      color: white;
      border: none;
      padding: 14px 28px;
      border-radius: var(--spacing-6);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .btn-unlock:hover {
      background: var(--black);
      transform: translateY(-2px);
    }
    
    /* Responsive */
    @media (max-width: 1024px) {
      .hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-12);
        padding: 60px 32px 80px;
      }
      
      .hero-content h1 {
        font-size: 2.5rem;
      }
      
      .hero-preview {
        display: none;
      }
      
      .products-section {
        padding: 0 32px 80px;
      }
    }
    
    /* Tablet only (769px-1024px) - excludes mobile */
    @media (min-width: 769px) and (max-width: 1024px) {
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-8) 24px;
      }
    }
    
    /* ============================================
       MOBILE RESPONSIVE STYLES (≤768px)
       ============================================ */
    
    /* Mobile Category Dropdown */
    .mobile-category-dropdown {
      display: none;
      position: relative;
      margin-left: var(--spacing-2);
    }
    
    .mobile-category-btn {
      display: flex;
      align-items: center;
      gap: var(--spacing-2);
      padding: var(--spacing-2) 16px;
      background: var(--white);
      border: 1px solid var(--gray-light);
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: var(--font-weight-medium);
      color: var(--black);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .mobile-category-btn:hover {
      border-color: var(--black);
    }
    
    .mobile-category-btn svg {
      transition: transform 0.2s ease;
    }
    
    .mobile-category-btn.open svg {
      transform: rotate(180deg);
    }
    
    .mobile-category-menu {
      position: absolute;
      top: 100%;
      left: 0;
      margin-top: var(--spacing-2);
      background: var(--white);
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-3);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      min-width: 180px;
      z-index: 100;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: all 0.2s ease;
    }
    
    .mobile-category-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .mobile-category-option {
      display: block;
      width: 100%;
      padding: var(--spacing-3) 16px;
      background: none;
      border: none;
      text-align: left;
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-normal);
      color: var(--black);
      cursor: pointer;
      transition: background 0.15s ease;
    }
    
    .mobile-category-option:first-child {
      border-radius: var(--spacing-3) 12px 0 0;
    }
    
    .mobile-category-option:last-child {
      border-radius: 0 0 12px 12px;
    }
    
    .mobile-category-option:hover {
      background: var(--gray-background);
    }
    
    .mobile-category-option.active {
      font-weight: var(--font-weight-semibold);
      color: var(--fuchsia);
    }
    
    /* Mobile Bottom Sheet for Preview */
    .mobile-preview-sheet {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1000;
    }
    
    .mobile-preview-scrim {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .mobile-preview-sheet.open {
      display: block;
    }
    
    .mobile-preview-sheet.open .mobile-preview-scrim {
      opacity: 1;
    }
    
    .mobile-preview-container {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      max-height: 90vh;
      background: var(--white);
      border-radius: var(--spacing-6) 24px 0 0;
      transform: translateY(100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    
    .mobile-preview-sheet.open .mobile-preview-container {
      transform: translateY(0);
    }
    
    .mobile-preview-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--spacing-4) 20px;
      border-bottom: 1px solid var(--gray-light);
      flex-shrink: 0;
    }
    
    .mobile-preview-handle {
      width: var(--spacing-10);
      height: var(--spacing-1);
      background: var(--gray-light);
      border-radius: var(--spacing-0);
      margin: 0 auto 12px;
    }
    
    .mobile-preview-close {
      width: var(--spacing-8);
      height: var(--spacing-8);
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--gray-background);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      color: var(--black);
      transition: background 0.2s ease;
    }
    
    .mobile-preview-close:hover {
      background: var(--gray-light);
    }
    
    .mobile-preview-title {
      font-size: var(--font-size-lg);
      font-weight: var(--font-weight-semibold);
      color: var(--black);
      flex: 1;
      text-align: center;
    }
    
    .mobile-preview-body {
      flex: 1;
      overflow-y: auto;
      padding: 20px;
      -webkit-overflow-scrolling: touch;
    }
    
    .mobile-preview-body .detail-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 20px;
    }
    
    .mobile-preview-body .detail-intro {
      font-size: 0.95rem;
      line-height: var(--line-height-relaxed);
      color: var(--black);
      margin-bottom: 20px;
    }
    
    .mobile-preview-body .detail-features {
      margin-bottom: 20px;
    }
    
    .mobile-preview-body .detail-preview-content {
      margin-top: 20px;
    }
    
    .mobile-preview-footer {
      padding: var(--spacing-4) 20px;
      border-top: 1px solid var(--gray-light);
      flex-shrink: 0;
      display: flex;
      gap: var(--spacing-3);
    }
    
    .mobile-preview-cta-secondary {
      flex: 1;
      padding: 14px 16px;
      background: var(--white);
      color: var(--black);
      border: 1px solid var(--gray-light);
      border-radius: var(--spacing-6);
      font-size: 0.95rem;
      font-weight: var(--font-weight-medium);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .mobile-preview-cta-secondary:hover {
      background: var(--gray-background);
      border-color: var(--black);
    }
    
    .mobile-preview-cta {
      flex: 1;
      padding: 14px 16px;
      background: var(--black);
      color: var(--white);
      border: none;
      border-radius: var(--radius-full);
      font-size: 0.95rem;
      font-weight: var(--font-weight-semibold);
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .mobile-preview-cta:hover {
      background: var(--black);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    /* Mobile Chat Overlay - Hidden on desktop */
    .mobile-chat-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--white);
      z-index: 2000;
      flex-direction: column;
    }
    
    .mobile-chat-overlay.open {
      display: flex;
    }
    
    .mobile-chat-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--spacing-3) 16px;
      border-bottom: 1px solid var(--gray-light);
      background: var(--white);
    }
    
    .mobile-chat-back,
    .mobile-chat-close {
      background: none;
      border: none;
      padding: var(--spacing-2);
      cursor: pointer;
      color: var(--black);
      border-radius: var(--spacing-2);
    }
    
    .mobile-chat-back:hover,
    .mobile-chat-close:hover {
      background: var(--gray-background);
    }
    
    .mobile-chat-title {
      font-size: var(--font-size-base);
      font-weight: var(--font-weight-semibold);
      color: var(--black);
    }
    
    .mobile-chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: var(--spacing-4);
      display: flex;
      flex-direction: column;
      gap: var(--spacing-3);
    }
    
    .mobile-chat-message {
      max-width: 85%;
      padding: var(--spacing-3) 16px;
      border-radius: var(--spacing-4);
      font-size: var(--font-size-sm);
      line-height: var(--line-height-normal);
    }
    
    .mobile-chat-message.ren {
      align-self: flex-start;
      background: transparent;
      color: var(--black);
    }
    
    .mobile-chat-message.user {
      align-self: flex-end;
      background: var(--gray-light);
      color: var(--black);
    }
    
    .mobile-chat-input-area {
      padding: var(--spacing-3) 16px;
      padding-bottom: max(12px, env(safe-area-inset-bottom));
      border-top: 1px solid var(--gray-light);
      background: var(--white);
    }
    
    .mobile-chat-input-wrapper {
      display: flex;
      align-items: center;
      background: var(--gray-background);
      border-radius: var(--spacing-6);
      padding: var(--spacing-2) 12px;
      gap: var(--spacing-2);
    }
    
    .mobile-chat-input {
      flex: 1;
      border: none;
      background: transparent;
      font-size: var(--font-size-base);
      color: var(--black);
      outline: none;
    }
    
    .mobile-chat-input::placeholder {
      color: var(--gray-mid);
    }
    
    .mobile-chat-send {
      background: var(--black);
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--white);
      flex-shrink: 0;
    }
    
    .mobile-chat-send:hover {
      background: var(--fuchsia);
    }
    
    .mobile-chat-message.typing {
      background: var(--gray-background);
    }
    
    .typing-dots {
      display: flex;
      gap: var(--spacing-1);
    }
    
    .typing-dots span {
      width: var(--spacing-2);
      height: var(--spacing-2);
      background: var(--gray-light);
      border-radius: 50%;
      animation: typingBounce 1.4s infinite;
    }
    
    .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
    .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
    
    @keyframes typingBounce {
      0%, 60%, 100% { transform: translateY(0); }
      30% { transform: translateY(-4px); }
    }
    
    /* Only show on mobile */
    @media (min-width: 769px) {
      .mobile-chat-overlay {
        display: none !important;
      }
    }
    
    /* Mobile-specific overrides */
    @media (max-width: 768px) {
      /* Hide Ask Ren input bar (using sparkle button instead) */
      .hero-search-container {
        display: none !important;
      }
      
      /* Hide desktop right panel */
      .right-panel {
        display: none !important;
      }
      
      /* Always full width on mobile */
      .left-panel {
        width: 100% !important;
      }
      
      .left-panel.panel-open {
        width: 100% !important;
      }
      
      /* Keep tabs visible on mobile (only 3 categories) */
      .products-tabs.visible {
        display: flex !important;
        gap: var(--spacing-0);
      }
      
      /* Smaller tabs on mobile */
      .tab-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
        letter-spacing: 0;
      }
      
      /* Hide mobile dropdown since tabs fit */
      .mobile-category-dropdown {
        display: none !important;
      }
      
      /* Mobile bottom sheet - shown via .open class, not always visible */
      .mobile-preview-sheet.open {
        display: block;
      }
      
      /* Hero adjustments */
      .hero-banner {
        padding: 0 20px !important;
        margin: var(--spacing-4) auto 40px !important;
      }
      
      .hero-banner > div:first-child {
        height: 180px !important;
        padding: var(--spacing-6) !important;
      }
      
      .hero-banner h1 {
        font-size: 1.75rem !important;
        max-width: 90% !important;
        margin-left: 10px !important;
      }
      
      .hero-banner > div:nth-child(2) {
        margin: var(--spacing-6) auto 24px !important;
        max-width: 100% !important;
      }
      
      /* Products section spacing */
      .products-section {
        padding: 0 20px 80px !important;
      }
      
      /* Header padding */
      .header {
        padding: 0 16px !important;
      }
      
      /* Products header layout - keep all on one line */
      .products-header {
        flex-wrap: nowrap;
        gap: var(--spacing-2);
        align-items: center;
      }
      
      .header-icons {
        display: none;
      }
      
      .products-tabs.visible {
        order: 2;
        flex: 1;
      }
      
      /* Hide search on mobile - can be added to a search icon later */
      .products-search {
        display: none;
      }
      
      .mobile-category-dropdown {
        display: none !important;
      }
    }
    
    /* Extra small screens */
    @media (max-width: 480px) {
      .hero-banner h1 {
        font-size: 1.5rem !important;
      }
      
      .mobile-preview-container {
        max-height: 95vh;
      }
      
      .mobile-preview-body {
        padding: var(--spacing-4);
      }
    }
    
    /* Preview Meta Box - for JavaScript templates */
    .preview-meta-box {
      margin: 0 0 20px 0;
      padding: var(--spacing-4);
      background: var(--gray-background);
      border-radius: var(--spacing-3);
    }
    
    .preview-meta-item {
      font-size: var(--font-size-sm);
      margin-bottom: var(--spacing-2);
    }
    
    .preview-meta-item:last-child {
      margin-bottom: 0;
    }
    
    .preview-intro-paragraph {
      font-size: var(--font-size-base);
      line-height: var(--line-height-relaxed);
      color: var(--black);
      margin-bottom: var(--spacing-3);
    }
    
    .preview-frameworks-text {
      font-size: var(--font-size-sm);
      margin-top: var(--spacing-4);
    }
    
    .preview-sample-note {
      color: var(--black);
      font-weight: var(--font-weight-normal);
    }
    
    /* Hero banner styles (hidden section) */
    .hero-banner {
      display: none;
      max-width: 1200px;
      margin: 20px auto 60px;
      padding: 0 48px;
    }
    
    .hero-banner-inner {
      width: 100%;
      height: 250px;
      background: var(--coral) url('/Assets/Images/Hero-marketplace.gif') center/cover no-repeat;
      border-radius: var(--spacing-6);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: var(--spacing-4);
      padding: var(--spacing-10);
    }
    
    .hero-banner-title {
      font-size: 3rem;
      font-weight: var(--font-weight-bold);
      color: var(--white);
      margin: 0;
      margin-left: 20px;
      letter-spacing: 0;
      max-width: 60%;
      line-height: var(--line-height-tight);
    }
    
    .hero-banner-title .text-medium {
      font-weight: var(--font-weight-medium);
    }
    
    .hero-banner-title .text-extrabold {
      font-weight: var(--font-weight-bold);
    }
    
    .icon-flex-shrink {
      flex-shrink: 0;
    }
    
    /* Placeholder card styles */
    .placeholder-card {
      opacity: 0.6;
    }
    
    .placeholder-icon {
      background: var(--gray-background);
    }
    
    .coming-soon-label {
      font-size: 0.7rem;
      color: var(--gray-mid);
      font-weight: var(--font-weight-normal);
    }
    
    /* Price display styles */
    .price-strikethrough {
      text-decoration: line-through;
      color: var(--gray-mid);
      font-weight: var(--font-weight-normal);
      font-size: var(--font-size-sm);
    }
    
    .price-free-large {
      font-size: 1.4rem;
    }
    
    .price-unlocked {
      color: var(--positive);
    }
    
    /* Mobile preview read more collapse */
    .preview-intro-collapsed {
      display: none;
    }
    
    .preview-read-more {
      background: none;
      border: none;
      font-family: inherit;
      font-size: var(--font-size-base);
      color: var(--black);
      font-weight: var(--font-weight-light);
      padding: 0;
      cursor: pointer;
      margin-top: var(--spacing-2);
    }
    
    .preview-read-more:hover {
      text-decoration: underline;
    }

/* Utility classes */
.spacer-32 {
  width: 32px;
}

.loading-message {
  text-align: center;
  padding: var(--spacing-5);
}

.preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.mt-4 {
  margin-top: var(--spacing-4);
}

.loading-preview-text {
  color: var(--gray-mid);
}

/* ============================================
   COURSE PAGE - Minimal additions
   Uses same layout as My Reports (.my-reports-page)
   ============================================ */

.course-page .course-content {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.course-header-compact {
  margin-bottom: 1.5rem;
}

.course-header-compact h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--black);
}

.course-header-compact p {
  color: var(--gray-dark);
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
}

.course-meta-compact {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-dark);
}

/* Course Progress Bar */
.course-progress-bar {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--gray-50, var(--off-white));
  border-radius: 12px;
}

.progress-track {
  height: 6px;
  background: var(--gray-200, var(--gray-light));
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--insights-primary, #2FA3FF);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.step-dot {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-200, var(--gray-light));
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: all 0.2s;
}

.progress-step.completed .step-dot {
  background: var(--insights-primary, #2FA3FF);
  color: white;
}

.progress-step.current .step-dot {
  background: white;
  border: 2px solid var(--insights-primary, #2FA3FF);
  color: var(--insights-primary, #2FA3FF);
}

.progress-step:hover .step-dot {
  transform: scale(1.1);
}

.progress-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-dark);
  margin: 0;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200, var(--gray-light));
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.session-item:hover {
  border-color: var(--insights-primary, #2FA3FF);
}

.session-item.selected {
  border-color: var(--insights-primary, #2FA3FF);
  background: rgba(47, 163, 255, 0.05);
}

.session-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100, var(--gray-background));
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
  color: var(--black);
}

.session-completed .session-number {
  background: var(--positive);
  color: white;
}

.session-info {
  flex: 1;
  min-width: 0;
}

.session-info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.125rem;
  color: var(--black);
}

.session-info p {
  font-size: 0.8125rem;
  color: var(--gray-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.session-time {
  font-size: 0.75rem;
  color: var(--gray-dark);
}

.session-badge.completed {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--positive);
  color: white;
  text-transform: uppercase;
}

.session-badge.in-progress {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--neutral);
  color: white;
  text-transform: uppercase;
}

.session-in-progress .session-number {
  background: var(--neutral);
  color: white;
}

.progress-step.in-progress .step-dot {
  background: var(--neutral);
  color: white;
  border-color: var(--neutral);
}

.sessions-empty {
  text-align: center;
  padding: 2rem;
  color: var(--gray-dark);
}

.course-progress-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-dark);
}

/* Course Preview Panel */
.course-page .session-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

.preview-header {
  margin-bottom: 1.5rem;
}

.preview-step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--insights-primary, #2FA3FF);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.preview-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--black);
}

.preview-body {
  flex: 1;
}

.preview-description {
  font-size: 1rem;
  color: var(--gray-dark);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.preview-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200, var(--gray-light));
}

.preview-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--gray-dark);
  text-transform: uppercase;
}

.meta-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--black);
}

.meta-value.status-completed {
  color: var(--positive);
}

.preview-context {
  margin-bottom: 2rem;
}

.preview-context h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 0.5rem;
}

.preview-context p {
  font-size: 0.9375rem;
  color: var(--gray-dark);
  margin: 0;
  line-height: 1.6;
}

.preview-actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.btn-start-session {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--insights-primary, #2FA3FF);
  color: white;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-start-session:hover {
  background: #1a8fe6;
}

.preview-next {
  margin-top: 1rem;
}

.btn-next-session {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gray-300, var(--gray-light));
  color: var(--black);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-next-session:hover {
  border-color: var(--insights-primary, #2FA3FF);
  background: rgba(47, 163, 255, 0.05);
}

/* Course Mobile */
@media (max-width: 768px) {
  .course-page .course-content {
    padding: 1rem;
  }
  
  .course-header-compact h1 {
    font-size: 1.25rem;
  }
  
  .session-time {
    display: none;
  }
}

.explore-show-more-row {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}

.explore-show-more-btn {
  background: none;
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 6px;
  padding: 8px 28px;
  font-size: 13px;
  color: var(--text-secondary, #666);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.explore-show-more-btn:hover {
  background: var(--bg-hover, #f5f5f5);
  color: var(--text-primary, #222);
}

.explore-show-more-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
