:root {
    --background: #0B0F17;
    --card-background: #131C2E;
    --primary-accent: #FF5722;
    --secondary-accent: #00E5FF;
    --text-primary-dark: #F8FAFC;
    --text-secondary-dark: #94A3B8;
    --border-color: #1E293B;
    --overlay-color: rgba(11, 15, 23, 0.8);
    --laser-glow: linear-gradient(135deg, #FF5722 0%, #FF8A00 100%);
    --surface-fade: linear-gradient(180deg, #131C2E 0%, #0B0F17 100%);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-primary-dark);
}

li.flex,
li.inline-flex {
    list-style: none;
}

li.flex::marker,
li.inline-flex::marker {
    content: "";
}

.text-muted {
    color: #94A3B8 !important;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.4);
    transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.7);
    transform: translateY(-2px);
}

/* ===== header ===== */
.tcm-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.tcm-header-block .font-\['Space_Grotesk' \] {
    font-family: 'Space Grotesk', sans-serif;
}

/* ===== hero ===== */
.trial-hero {
    background-color: #0B0F17;
}

.trial-hero .font-space-grotesk {
    font-family: 'Space Grotesk', sans-serif;
}

.trial-hero .font-plus-jakarta {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ===== founder-message ===== */
.founder-message-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.founder-message-block .font-header {
    font-family: 'Space Grotesk', sans-serif;
}

.founder-message-block .font-serif {
    font-family: Georgia, serif;
}

/* ===== what-is-included ===== */
.trial-scope-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trial-scope-block h2,
.trial-scope-block h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.trial-scope-block .js-view-btn {
    background-color: #131C2E;
    color: #94A3B8;
    border: 1px solid #1E293B;
}

.trial-scope-block .js-view-btn.active {
    background-color: #FF5722;
    color: #F8FAFC;
    border-color: #FF5722;
}

.trial-scope-block .js-tab-btn {
    background-color: #131C2E;
    color: #94A3B8;
    border-color: #1E293B;
}

.trial-scope-block .js-tab-btn.active {
    background-color: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
    border-color: #00E5FF;
}

.trial-scope-block .js-tab-btn[data-tab="excluded"].active {
    background-color: rgba(255, 87, 34, 0.1);
    color: #FF5722;
    border-color: #FF5722;
}

/* ===== glossary ===== */
.trial-glossary-section {
    background-color: #0B0F17;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trial-glossary-section .section-title {
    font-family: 'Space Grotesk', sans-serif;
}

.trial-glossary-section .js-glossary-search::placeholder {
    color: #94A3B8;
    opacity: 0.7;
}

.trial-glossary-section .js-glossary-tab.active {
    background-color: #FF5722;
    border-color: #FF5722;
    color: #F8FAFC;
}

.trial-glossary-section .glossary-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.trial-glossary-section .glossary-card:hover {
    border-color: #FF5722;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(255, 87, 34, 0.2);
}

/* ===== client-logos ===== */
.client-logos-section {
    font-family: 'Space Grotesk', sans-serif;
}

.client-logos-section .partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    cursor: default;
}

.client-logos-section .partner-item:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.client-logos-section .partner-icon {
    color: #94A3B8;
    transition: color 0.2s ease-out;
}

.client-logos-section .partner-item:hover .partner-icon {
    color: #FF5722;
}

.client-logos-section .partner-name {
    color: #94A3B8;
    transition: color 0.2s ease-out;
}

.client-logos-section .partner-item:hover .partner-name {
    color: #F8FAFC;
}

/* ===== behind-the-scenes ===== */
.behind-the-scenes-section .active-filter-btn {
    background-color: #FF5722;
    color: #F8FAFC;
    border-color: #FF5722;
}

.behind-the-scenes-section .inactive-filter-btn {
    background-color: #131C2E;
    color: #94A3B8;
    border-color: #1E293B;
}

.behind-the-scenes-section .inactive-filter-btn:hover {
    color: #F8FAFC;
    border-color: #FF5722;
}

.behind-the-scenes-section .is-hidden {
    display: none !important;
}

/* ===== main-materials ===== */
.main-materials-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.main-materials-section .font-header {
    font-family: 'Space Grotesk', sans-serif;
}

.main-materials-section input::placeholder {
    color: #475569;
    opacity: 1;
}

/* ===== consultation-form ===== */
.trial-consultation-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trial-consultation-section h2,
.trial-consultation-section h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.trial-consultation-section .trial-form-card {
    background-color: #131C2E;
    border: 1px solid #1E293B;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.trial-consultation-section .trial-form-card:hover {
    border-color: #FF5722;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.trial-consultation-section .trial-form-card input,
.trial-consultation-section .trial-form-card textarea {
    color: #F8FAFC !important;
    background-color: #0B0F17 !important;
    border-color: #1E293B !important;
}

.trial-consultation-section .trial-form-card input:focus,
.trial-consultation-section .trial-form-card textarea:focus {
    border-color: #FF5722 !important;
}

.trial-consultation-section .trial-form-card input::placeholder,
.trial-consultation-section .trial-form-card textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 0.7 !important;
}

/* ===== footer ===== */
.trial-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trial-footer h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.tcm-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.tcm-header-block span,
.tcm-header-block a {
    font-family: 'Space Grotesk', sans-serif;
}

.trial-hero {
    background-color: #0B0F17;
}

.trial-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
}

.trial-hero p,
.trial-hero span {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.category-grid-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.category-grid-block h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.category-grid-block .js-search-input::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.trial-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trial-footer h3 {
    font-family: 'Space Grotesk', sans-serif;
}

@media (max-width: 767px) {
    .category-grid-block .js-card-item h3 {
        font-size: 14px;
    }
}


/* ===== PAGE: ultimaker-cura ===== */
.cura-context-section .js-tab-trigger.active { border-color: #FF5722; box-shadow: 0 0 20px rgba(255, 87, 34, 0.2); }
.cura-context-section .js-tab-content.active { display: flex; }
.cura-context-section .js-tab-content.hidden { display: none; }
.cura-context-section .js-copy-link:active { transform: scale(0.95); }

/* ===== PAGE: about ===== */
.about-page-wrapper .object-fit-cover { object-fit: cover; }
.about-page-wrapper input::placeholder, .about-page-wrapper textarea::placeholder {
  color: #475569;
  opacity: 1;
}
.about-page-wrapper input:focus, .about-page-wrapper textarea:focus, .about-page-wrapper select:focus {
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}
.about-page-wrapper .about-content-section h2 {
  color: #F8FAFC !important;
}
.about-page-wrapper .about-content-section h3 {
  color: #FFFFFF !important;
}
.about-page-wrapper .contact-form-section h2 {
  color: #F8FAFC !important;
}
.about-page-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1.2rem;
}

/* ===== PAGE: privacy ===== */
.privacy-content-block .js-toc-link.active {
  color: #FF5722;
}
.privacy-content-block .js-toc-link.active .js-dot {
  background-color: #FF5722;
  box-shadow: 0 0 10px #FF5722;
}
.privacy-content-block .js-content-section {
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}
.privacy-content-block .js-content-section:hover {
  transform: scale(1.005);
  border-color: #FF5722;
}
@media (max-width: 767px) {
  .privacy-content-block p {
    hyphens: auto;
  }
}

/* ===== PAGE: terms ===== */
.terms-page .js-toc-link.active {
  color: #FF5722 !important;
  padding-left: 8px;
  border-left: 2px solid #FF5722;
}

.terms-page .js-toc-link {
  transition: all 0.2s ease-out;
}

.terms-page .js-content-section {
  scroll-margin-top: 120px;
}

.terms-page #contact a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

@media (max-width: 768px) {
  .terms-page h2 {
    font-size: 16px;
    line-height: 1.2;
  }
  .terms-page p, .terms-page li span {
    font-size: 14px;
    line-height: 1.6;
  }
  .terms-page #contact .flex-wrap {
    width: 100%;
  }
  .terms-page #contact a {
    width: 100%;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===== PAGE: disclaimer ===== */
.trial-disclaimer {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.trial-disclaimer h1, .trial-disclaimer h2 {
  font-family: 'Space Grotesk', sans-serif;
}
.trial-disclaimer .js-nav-link.active {
  color: #FF5722;
  border-color: #FF5722;
  background-color: rgba(255, 87, 34, 0.05);
}
.trial-disclaimer .scroll-mt-32 {
  scroll-margin-top: 8rem;
}
.trial-disclaimer .js-accept-btn:hover {
  box-shadow: 0 15px 30px rgba(255, 87, 34, 0.4);
}

.comment-card {
    transition: transform 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.comment-card:hover {
    transform: scale(1.01);
}

.comment-avatar {
    user-select: none;
    text-transform: uppercase;
    border: 2px solid rgba(255, 87, 34, 0.2);
}

.comment-card p {
    color: #94A3B8;
    font-size: 1rem;
}

.comment-card h4 {
    color: #F8FAFC;
}

.reply-wrapper {
    position: relative;
}

.reply-wrapper .comment-card {
    transform-origin: left;
}

.reply-wrapper .comment-avatar {
    background-color: #131C2E;
    border: 1px solid #00E5FF;
}

.reply-wrapper p {
    font-size: 0.875rem;
    color: #94A3B8;
}


/* ===== PAGE TEMPLATE: knowledge-base ===== */
.detail-content-area h1,
.detail-content-area h2,
.detail-content-area h3 {
    color: #F8FAFC;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-content-area h1 {
    font-size: 28px;
}

.detail-content-area h2 {
    font-size: 22px;
}

.detail-content-area h3 {
    font-size: 18px;
}

.detail-content-area p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.detail-content-area ul {
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.detail-content-area ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.detail-content-area ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FF5722;
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.4);
}

.detail-content-area ul li.flex,
.detail-content-area ol li.flex {
    padding-left: 0;
}

.detail-content-area ul li.flex::before,
.detail-content-area ol li.flex::before {
    display: none;
}

.detail-content-area strong {
    color: #F8FAFC;
    font-weight: 600;
}

.detail-content-area em {
    color: #00E5FF;
    font-style: normal;
}

.detail-content-area blockquote {
    border-left: 4px solid #FF5722;
    padding: 1.5rem 2rem;
    background: #131C2E;
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .detail-content-area h1 {
        font-size: 18px;
    }

    .detail-content-area h2 {
        font-size: 16px;
    }

    .detail-content-area h3 {
        font-size: 14px;
    }

    .detail-content-area {
        font-size: 14px;
    }
}

/* ===== PAGE TEMPLATE: test-reports ===== */
.detail-content-area h1,
.detail-content-area h2,
.detail-content-area h3 {
    color: #F8FAFC;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-content-area h1 {
    font-size: 28px;
}

.detail-content-area h2 {
    font-size: 22px;
}

.detail-content-area h3 {
    font-size: 18px;
}

.detail-content-area p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.detail-content-area ul {
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.detail-content-area ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.detail-content-area ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FF5722;
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.4);
}

.detail-content-area ul li.flex,
.detail-content-area ol li.flex {
    padding-left: 0;
}

.detail-content-area ul li.flex::before,
.detail-content-area ol li.flex::before {
    display: none;
}

.detail-content-area strong {
    color: #F8FAFC;
    font-weight: 600;
}

.detail-content-area em {
    color: #00E5FF;
    font-style: normal;
}

.detail-content-area blockquote {
    border-left: 4px solid #FF5722;
    padding: 1.5rem 2rem;
    background: #131C2E;
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .detail-content-area h1 {
        font-size: 18px;
    }

    .detail-content-area h2 {
        font-size: 16px;
    }

    .detail-content-area h3 {
        font-size: 14px;
    }

    .detail-content-area {
        font-size: 14px;
    }
}
