    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --font-main: 'Inter', sans-serif;
      --font-body: 'Inter', sans-serif;
      --dark-bg:   #040211;
      --header-h:  72px;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--dark-bg);
      color: #fff;
      overflow-x: hidden;
    }

    .sp-container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }
    @media (max-width: 768px) {
      .sp-container { padding: 0 16px; }
    }
    
        .dt-case-section {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.dt-case-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 90px 20px;
}

/* Breadcrumb */
.dt-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #9b9aa0;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.dt-breadcrumb a {
    color: #9b9aa0;
    text-decoration: none;
    transition: color 0.2s;
}
.dt-breadcrumb a:hover { color: #fff; }
.dt-breadcrumb span:last-child {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* Title — на всю ширину */
.dt-case-title {
    font-size: 90px;
    font-weight: 500;
    color: #f2f2f7;
    line-height: 1.05;
    margin: 0 0 40px;
    letter-spacing: -0.02em;
    width: 100%;
}

/* Bottom: слева текст, справа картинка */
.dt-case-bottom {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    align-items: start;
}

/* Left */
.dt-case-left {
    display: flex;
    flex-direction: column;
}

.dt-case-sphere {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #f2f2f7;
    margin-bottom: 16px;
}

.dt-case-intro {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin: 0 0 177px;
}

/* Task card */
.dt-task-card {
    border: 1px solid #b7b7b7;
    border-radius: 10px;
    padding: 28px 28px 32px;
}

.dt-task-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f2f2f7;
    margin: 0 0 14px;
}

.dt-task-card__text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0 0 20px;
}

/* Buttons */
.dt-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}
.dt-btn:last-child { margin-bottom: 0; }

.dt-btn--outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
}
.dt-btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.06);
}

.dt-btn--white {
    background: #fff;
    border: 1.5px solid #fff;
    color: #08081a;
}
.dt-btn--white:hover {
    background: rgba(255,255,255,0.88);
}

/* Right image */
.dt-case-image {
    grid-column: 2/-1;
    border-radius: 0.625rem;
    overflow: hidden;
    height: 37.5rem;
}
.dt-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DRAWER */
.dt-drawer {
    position: fixed;
    top: 0;
    right: -680px;
    width: 680px;
    max-width: 100vw;
    height: 100vh;
    background: #0f0f24;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.dt-drawer.dt-drawer--open { right: 0; }

.dt-drawer__inner { padding: 48px 48px 60px; }

.dt-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.dt-drawer__title {
    font-size: 2rem;
    font-weight: 700;
    color: #f2f2f7;
    margin: 0;
}

.dt-drawer__close {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.dt-drawer__close:hover { border-color: #fff; }

.dt-drawer__img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 32px;
}

.dt-drawer__body p {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin: 0 0 20px;
}
.dt-drawer__body p:last-child { margin-bottom: 0; }

/* Overlay */
.dt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.dt-overlay.dt-overlay--show {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 900px) {
    .dt-case-bottom {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    }
    .dt-case-image {
        height: 300px;
    }
    .dt-case-wrap { padding: 0 20px; }
    .dt-drawer__inner { padding: 32px 24px 40px; }
    .dt-drawer { width: 100vw; right: -100vw; }
    .dt-case-title {font-size:2rem;}
    .dt-case-intro { margin:0 0 25px;}
    
}

    .ai-steps {
    position: relative;
    overflow: hidden;
    padding: 72px 0 90px;
    color: #fff;
    z-index: 1;
}

.ai-steps .container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
}

.ai-steps__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
   
}

.ai-steps__head {
    display:flex;
    gap:420px;
    margin-bottom: 86px;
}

.ai-steps__label {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 28px;
}

.ai-steps__title {
    margin: 0;
    font-size: clamp(1.75rem, 0.5367647059rem + 5.3921568627vw, 3.125rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.ai-steps__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 58px;
    row-gap: 30px;
    padding-top: 74px;
}

.ai-steps__line {
    position: absolute;
    top: 11px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: rgba(212, 108, 255, 0.9);
    box-shadow: 0 0 8px rgba(212, 108, 255, 0.35);
}

.ai-steps__item {
    position: relative;
}

.ai-steps__dot {
    position: absolute;
    top: -74px;
    left: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d884ff 0%, #c95eff 38%, #9f34f1 68%, #8126d3 100%);
    box-shadow:
        0 0 0 8px rgba(201, 94, 255, 0.08),
        0 0 18px rgba(207, 101, 255, 0.95),
        0 0 34px rgba(171, 53, 255, 0.65);
}

.ai-steps__item-title {
    margin: 0 0 28px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.ai-steps__item-text {
    margin: 0;
    max-width: 270px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
}

/* tablet */
@media (max-width: 1199px) {
    .ai-steps {
        padding: 64px 0 80px;
    }

    .ai-steps .container {
        padding: 0 30px;
    }

    .ai-steps__title {
        font-size: 54px;
        max-width: 680px;
    }

    .ai-steps__timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 70px;
        column-gap: 40px;
        padding-top: 55px;
    }

    .ai-steps__line {
        left: 10px;
        right: 50%;
        top: 10px;
    }

    .ai-steps__dot {
        top: -56px;
    }

    .ai-steps__item-text {
        max-width: 100%;
    }
}

/* mobile */
@media (max-width: 767px) {
    .ai-steps {
        padding: 0px;
    }

    .ai-steps .container {
        padding: 0 20px;
    }

    .ai-steps__head {
        margin-bottom: 0px;
    }

    .ai-steps__label {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .ai-steps__title {
        max-width: 100%;
        font-size: 36px;
        line-height: 1.02;
    }

    .ai-steps__timeline {
        grid-template-columns: 1fr;
        row-gap: 44px;
        padding-top: 0;
    }

    .ai-steps__line {
        display: none;
    }

    .ai-steps__item {
        padding-left: 30px;
    }

    .ai-steps__dot {
        top: 2px;
        left: 0;
        width: 16px;
        height: 16px;
        box-shadow:
            0 0 0 6px rgba(201, 94, 255, 0.08),
            0 0 14px rgba(207, 101, 255, 0.95),
            0 0 24px rgba(171, 53, 255, 0.6);
    }

    .ai-steps__item-title {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .ai-steps__item-text {
        font-size: 15px;
        line-height: 1.5;
    }
}


#sp-chart {
  padding: 60px 0 80px;
  background: var(--dark-bg, #040211);
}

/* Легенда */
.sp-chart-legend {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.sp-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-legend-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sp-legend-dot--blue { background: #7c5ff5; }
.sp-legend-dot--pink { background: #e05cb0; }
.sp-legend-label {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

/* Обёртка графика */
.sp-chart-wrap {

  width: 100%;
}
#spRevenueChart {
  width: 100% !important;
  height: 360px !important;
}

/* Источник */
.sp-chart-source {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}



.iaf-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}



            .iaf-cold{
            display:grid;
            grid-template-columns:repeat(3,minmax(0,1fr));
            gap:0;
            border-top:1px solid rgba(255,255,255,.14);
        }

        .iaf-cold__item{
            padding:26px 30px 0 30px;
            border-left:1px solid rgba(255,255,255,.14);
            min-height:198px;
        }

        .iaf-cold__item:first-child{
            border-left:0;
        }

        .iaf-cold__num{
            font-size:104px;
            line-height:.86;
            color:rgba(255,255,255,.68);
            margin-bottom:28px;
            font-weight:400;
        }

        .iaf-cold__text{
            font-size:18px;
            line-height:1.35;
            max-width:240px;
            color:#ededf5;
        }
@media (max-width: 767px) {
    .iaf-cold {
        display: flex;
        flex-direction: column;
    }
    .iaf-cold__item {
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, .14);
    }
    .iaf-cold__item:first-child {
        border-left: 0;
    }
}       
        
    .ps-section {
    padding: 100px 0;
}

.ps-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.ps-title {
    font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 3.125rem);
    font-weight: 500;
    color: #f2f2f7;
    line-height: 1.1;
    margin: 0 0 48px;
    letter-spacing: -0.02em;
}

.ps-text {
    text-align: left;
    margin: 0 auto;
}

.ps-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin: 0 0 24px;
}
.ps-text p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .ps-wrap { padding: 0 20px; }
    .ps-section { padding: 60px 0; }
}

.qa-section {
    padding: 100px 0;
}

.qa-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

.qa-title {
    font-size: clamp(1.75rem, 0.5367647059rem + 5.3921568627vw, 3.125rem);
    font-weight: 500;
    color: #f2f2f7;
    line-height: 1.12;
    margin: 0 0 44px;
    letter-spacing: -0.02em;
    max-width: 860px;
}

.qa-btn {
    display: inline-block;
    padding: 18px 44px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.qa-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .qa-wrap { padding: 0 20px; }
    .qa-section { padding: 60px 0; }
    .qa-btn { width: 100%; text-align: center; }
    .ps-title {text-align:left;}
}


