/* ==========================================================================
   FEATURE PAGES TEMPLATE
   ========================================================================== */

.feature-page-wrapper {
    background-color: #060608;
    color: #f1f1f1;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Global background: dark-blue gradient left+right, transparent center */
.feature-page-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 100% at left center, rgba(15, 35, 130, 0.55) 0%, transparent 65%),
        radial-gradient(ellipse 55% 100% at right center, rgba(15, 35, 130, 0.55) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Global grid overlay */
.feature-page-wrapper::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Ensure all sections sit above the fixed bg layers */
.feature-page-wrapper>* {
    position: relative;
    z-index: 1;
}

/* 1. Hero Section */
.feature-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 40px;
    overflow: hidden;
    background: #050505;
    /* RGB rainbow border at the bottom */
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg,
            #ff0080 0%,
            #ff6b00 16%,
            #ffff00 33%,
            #00ff88 50%,
            #0088ff 66%,
            #8800ff 83%,
            #ff0080 100%) 1;
    border-image-slice: 1;
}

.feature-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Center glow */
        radial-gradient(ellipse 60% 50% at center 50%, rgba(20, 30, 100, 0.25) 0%, transparent 70%),
        /* Left glow */
        radial-gradient(ellipse 35% 80% at 0% 50%, rgba(60, 40, 180, 0.45) 0%, transparent 65%),
        /* Right glow */
        radial-gradient(ellipse 35% 80% at 100% 50%, rgba(60, 40, 180, 0.45) 0%, transparent 65%);
    z-index: 1;
}

.feature-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center bottom;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 10%, black 50%, transparent 90%);
    mask-image: linear-gradient(to bottom, transparent 10%, black 50%, transparent 90%);
}

.feature-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-hero-content .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-hero-content .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.ai-preview-note {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background: linear-gradient(180deg, rgba(10, 20, 38, 0.82), rgba(7, 12, 24, 0.9));
    box-shadow: 0 20px 50px rgba(3, 8, 18, 0.3);
}

.ai-preview-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: rgba(59, 130, 246, 0.1);
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.92);
}

.ai-preview-text {
    margin: 0.95rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.ai-preview-chips {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.ai-preview-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-hero-ai-preview {
    min-height: auto;
    padding-bottom: 118px;
}

.feature-hero-ai-preview .feature-hero-content {
    padding-bottom: 1rem;
}

.feature-breadcrumb {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Space Mono', monospace;
    background: rgba(255, 255, 255, 0.03);
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.bc-sep {
    color: rgba(255, 255, 255, 0.2);
}

.feature-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-breadcrumb a:hover {
    color: #1abc9c;
}

.feature-breadcrumb .current {
    color: #1abc9c;
}

/* 2. General Sections */
.feature-section {
    padding: 100px 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(26, 188, 156, 0.1);
    color: #1abc9c;
    border: 1px solid rgba(26, 188, 156, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 40px;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 3. Layouts */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.two-col-layout.align-center {
    align-items: center;
}

.two-col-layout.align-stretch {
    align-items: stretch;
}

.article-layout-tech {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.article-layout-usecase {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.sticky-col {
    position: sticky;
    top: 120px;
}

/* Cards */
.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Problem section: 30 / 70 layout — styled as one big horizontal card */
.problem-layout {
    display: grid;
    /* Use minmax so padding is respected and columns don't overflow */
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    gap: 40px;
    align-items: start;
    /* Solid deep-blue gradient background */
    background: linear-gradient(135deg, #0a0e2a 0%, #060818 60%, #050610 100%);
    border: 1px solid rgba(80, 100, 220, 0.15);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(100, 120, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Subtle top-edge highlight inside the card */
.problem-layout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 120, 255, 0.3), transparent);
    pointer-events: none;
}

.problem-col-right {
    width: 100%;
}

/* 3 cards in one horizontal row */
.problem-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Problem cards: taller and top-aligned */
.problem-cards-row .feature-card {
    min-height: 310px;
    justify-content: flex-start;
}

/* 3D Gamut: App Window wrapper — styled like a dark desktop app */
.gamut-app-window {
    width: 100%;
    margin: 3rem 0;
    border-radius: 16px;
    overflow: hidden;
    background: #0d0d11;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Title bar */
.gamut-app-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #111117;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    user-select: none;
}

.gamut-app-dots {
    display: flex;
    gap: 6px;
}

.gamut-app-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.gamut-app-dots .dot-red {
    background: #ff5f57;
}

.gamut-app-dots .dot-yellow {
    background: #febc2e;
}

.gamut-app-dots .dot-green {
    background: #28c840;
}

.gamut-app-title {
    flex: 1;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-right: 38px;
    /* offset dots optical balance */
}

/* Viewer layout */
.gamut-app-body {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 560px;
}

.gamut-control-panel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.96), rgba(4, 6, 12, 0.92));
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.gamut-preview-panel {
    display: flex;
    min-height: 560px;
    background:
        radial-gradient(circle at top, rgba(44, 84, 146, 0.18), transparent 42%),
        linear-gradient(180deg, #05070d 0%, #080b12 100%);
}

/* Canvas area */
#gamut-3d-container {
    width: 100%;
    min-height: 560px;
    background:
        radial-gradient(circle at top, rgba(44, 84, 146, 0.18), transparent 42%),
        linear-gradient(180deg, #05070d 0%, #080b12 100%);
    position: relative;
    cursor: grab;
    flex: 1;
}

#gamut-3d-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#gamut-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(228, 236, 252, 0.62);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    z-index: 1;
    user-select: none;
}

.gamut-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem 1.1rem 0.9rem;
    background: transparent;
}

.gamut-toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.gamut-toolbar-group label {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

.gamut-select {
    width: 100%;
    height: 42px;
    padding: 0 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.gamut-select:hover,
.gamut-select:focus {
    border-color: rgba(52, 152, 219, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.gamut-select option {
    color: #fff;
    background: #0b1020;
}

.gamut-reset-btn {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.28);
    background: rgba(52, 152, 219, 0.12);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gamut-reset-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(52, 152, 219, 0.48);
    background: rgba(52, 152, 219, 0.18);
}

.gamut-toolbar-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0 1.1rem 1.1rem;
    margin-top: auto;
    background: transparent;
}

.gamut-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gamut-meta-primary {
    background: rgba(54, 162, 255, 0.12);
}

.gamut-meta-compare {
    background: rgba(255, 99, 99, 0.12);
}

.gamut-meta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .gamut-app-body {
        grid-template-columns: 300px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .gamut-app-body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gamut-control-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .gamut-preview-panel,
    #gamut-3d-container {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    .gamut-preview-panel,
    #gamut-3d-container {
        min-height: 380px;
    }
}

.feature-card {
    background: #0b0b0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    /* Single clean transition — no blip */
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.card-purple:hover {
    box-shadow: 0 16px 40px rgba(138, 43, 226, 0.18), 0 0 0 1px rgba(138, 43, 226, 0.15);
}

.card-blue:hover {
    box-shadow: 0 16px 40px rgba(50, 150, 255, 0.18), 0 0 0 1px rgba(50, 150, 255, 0.15);
}

.card-green:hover {
    box-shadow: 0 16px 40px rgba(100, 255, 100, 0.18), 0 0 0 1px rgba(100, 255, 100, 0.15);
}

/* Linear top glow border via pseudo */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Glow pseudo — static, no hover animation (avoids blip) */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
    z-index: 3;
}

/* Grid lines in background */
.card-grid-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 15px 15px;
    background-position: center bottom;
    z-index: -1;
    transform: perspective(100px) rotateX(45deg) translateY(10px);
    transform-origin: bottom;
    opacity: 0.5;
}

/* Specific Card Colors */
.card-purple {
    border-color: rgba(138, 43, 226, 0.1);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.02);
}

.card-purple::before {
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.6), transparent 80%);
}

.card-purple::after {
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
}

.card-blue {
    border-color: rgba(50, 150, 255, 0.1);
    box-shadow: 0 0 20px rgba(50, 150, 255, 0.02);
}

.card-blue::before {
    background: linear-gradient(180deg, rgba(50, 150, 255, 0.6), transparent 80%);
}

.card-blue::after {
    background: radial-gradient(circle, rgba(50, 150, 255, 0.15) 0%, transparent 70%);
}

.card-green {
    border-color: rgba(100, 255, 100, 0.1);
    box-shadow: 0 0 20px rgba(100, 255, 100, 0.02);
}

.card-green::before {
    background: linear-gradient(180deg, rgba(100, 255, 100, 0.6), transparent 80%);
}

.card-green::after {
    background: radial-gradient(circle, rgba(100, 255, 100, 0.15) 0%, transparent 70%);
}

/* (hover already defined per color class above) */

/* Icon wrapper — transparent, no background circle */
.card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    z-index: 2;
    /* No background, no border, no shadow — clean icon */
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.card-icon svg {
    stroke: url(#silver-gradient);
    fill: none;
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Solution Points */
.point-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.point-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.point-icon {
    width: 24px;
    height: 24px;
    stroke: url(#silver-gradient);
    flex-shrink: 0;
    margin-top: 4px;
}

.point-list li strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.point-list li span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Browser/Image Mockup */
.browser-mockup {
    background: #111;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.smart-preset-browser {
    background: linear-gradient(180deg, rgba(13, 18, 30, 0.98), rgba(8, 11, 19, 0.98));
    border-radius: 24px;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
    display: flex;
    flex-direction: column;
}

.smart-preset-browser__screenshot-wrap {
    padding: 18px 18px 0;
}

.smart-preset-browser__screenshot {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b111c;
}

.smart-preset-browser--image-only .smart-preset-browser__screenshot-wrap {
    padding: 18px;
}

.smart-preset-browser--control {
    min-height: 100%;
}

.smart-preset-demo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    min-height: 0;
}

.smart-preset-demo__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.smart-preset-demo__eyebrow,
.smart-preset-demo__device {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-preset-demo__eyebrow {
    color: rgba(255, 255, 255, 0.46);
    font-weight: 600;
}

.smart-preset-demo__device {
    color: rgba(255, 255, 255, 0.3);
}

.smart-preset-demo__workspace {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.smart-preset-demo__field {
    position: relative;
}

.smart-preset-demo__field [hidden] {
    display: none !important;
}

.smart-preset-demo__field-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-preset-demo__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.smart-preset-demo__trigger:hover,
.smart-preset-demo__trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(43, 199, 255, 0.34);
}

.smart-preset-demo__trigger-text {
    font-size: 1rem;
    font-weight: 600;
}

.smart-preset-demo__trigger svg {
    color: rgba(255, 255, 255, 0.48);
    flex: 0 0 auto;
}

.smart-preset-demo__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 14, 24, 0.98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.smart-preset-demo__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0.85rem 0.9rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.56);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.smart-preset-demo__option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
}

.smart-preset-demo__option.is-active {
    background: rgba(0, 180, 216, 0.12);
    color: #fff;
}

.smart-preset-demo__option-check {
    color: rgba(0, 180, 216, 0.92);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.smart-preset-demo__option.is-active .smart-preset-demo__option-check {
    opacity: 1;
}

.smart-preset-demo__summary {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.smart-preset-demo__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.smart-preset-demo__chip {
    padding: 14px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.smart-preset-demo__chip-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 600;
}

.smart-preset-demo__chip-value {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.smart-preset-demo__description {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    min-height: 5.4em;
}

.smart-preset-demo__statusbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.smart-preset-demo__status {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1;
}

.smart-presets-reading {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.smart-presets-reading .section-pill {
    margin-left: auto;
    margin-right: auto;
}

.smart-presets-reading__body {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.smart-presets-reading__body p {
    margin-left: auto;
    margin-right: auto;
}

.smart-presets-switcher-section .col-left {
    max-width: 560px;
}

.article-illustration-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: stretch;
    height: 100%;
}

.article-illustration-card {
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding: 14px;
    display: flex;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(17, 23, 37, 0.94), rgba(11, 15, 24, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

.article-illustration-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
}

.measurement-article-illustration-col {
    align-self: start;
    height: auto;
}

.measurement-article-illustration-card {
    flex: 0 0 auto;
    align-self: start;
    display: block;
    min-height: 0;
    padding: 18px;
}

.measurement-article-illustration-card .article-illustration-image {
    display: block;
    width: 100%;
    height: auto;
}

.solution-screenshot {
    width: 100%;
    display: block;
    height: auto;
}

/* Benefit Grid — 2x2 */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Benefit Grid — 1x4 horizontal */
.benefit-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Modern silver section divider with fade-to-transparent on sides */
.section-divider {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(160, 160, 180, 0.12) 15%,
            rgba(200, 200, 220, 0.45) 40%,
            rgba(220, 220, 240, 0.6) 50%,
            rgba(200, 200, 220, 0.45) 60%,
            rgba(160, 160, 180, 0.12) 85%,
            transparent 100%);
    position: relative;
    z-index: 2;
}

/* FAQ minimalist 2 column layout */
.faq-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding-top: 60px;
}

.faq-content {
    flex: 1;
    max-width: 400px;
    position: sticky;
    top: 120px;
}

.faq-accordion {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    display: flex;
    flex-direction: column;
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.faq-question {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0 !important;
}

.faq-toggle {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    margin-left: 20px;
}

.faq-answer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 16px;
    display: block;
    /* Typically toggled via JS but left visible if no JS attached */
}

/* Final CTA */
.feature-cta {
    background: radial-gradient(circle at center, rgba(26, 188, 156, 0.05) 0%, transparent 70%);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.mt-4 {
    margin-top: 40px;
}

/* Responsive adjustments for Feature Pages */
@media (max-width: 992px) {
    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-col {
        position: relative;
        top: 0;
    }

    .feature-hero-content .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .feature-hero-content .hero-title {
        font-size: 2.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading {
        font-size: 2rem;
    }

    .article-illustration-card {
        min-height: 360px;
        padding: 12px;
    }

    .smart-preset-demo {
        padding: 18px;
    }

    .smart-preset-browser__screenshot-wrap {
        padding: 14px 14px 0;
    }

    .smart-preset-demo__topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .smart-preset-demo__chips {
        grid-template-columns: 1fr;
    }

    .smart-preset-demo__description {
        min-height: 0;
    }

    .feature-hero-ai-preview {
        padding-bottom: 128px;
    }

    .feature-hero-ai-preview .feature-breadcrumb {
        max-width: calc(100% - 32px);
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
}
