* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.chapter-header {
    padding: 40px 0 10px; /* add breathing room at top, keep tight below */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    overflow: hidden;                 /* скролл только в контейнере */
    background-color: #2c3e35;
    color: #333;
}

/* главный скроллер */
.horizontal-scroll-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;    /* снап по оси X */
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    scrollbar-gutter: stable both-edges;
}

/* Updated Intro Section Styles */
.intro-section-new {
    min-height: 100vh;
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    
    scroll-snap-align: start;
    scroll-snap-stop: always;
    
    opacity: 1;
    transform: none;
    transition: none;
    overscroll-behavior: contain;
    
    /* Fullscreen clouds background with tint applied via ::before */
    background-color: #2c3e35;
    background-image: url('pictures/intro-clouds.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    color: white;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
}

.intro-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Soft tint over the base */
    background-color: rgba(10, 28, 26, 0.45);
    backdrop-filter: blur(5px);
    z-index: 1;
}


.intro-section-new > * {
    position: relative;
    z-index: 2;
}

.header {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon img {
    height: 30px;
}

.logo-text {
    font-size: 1.2em;
    font-weight: bold;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

.intro-content-new {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
}

.intro-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #ddd;
    margin-bottom: 20px;
}

.intro-title {
    font-size: 4em;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.intro-description {
    font-size: 1.2em;
    color: #b0b0b0;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.intro-images {
    display: flex;
    gap: 30px;
    padding-bottom: 50px;
}

.intro-image-container {
    width: 400px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #ffffff; /* changed from green to white */
    transition: transform 0.3s ease;
}

.intro-image-container:hover {
    transform: translateY(-10px);
}

.intro-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- HORIZONTAL TIMELINE --- */
.timeline-container {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    height: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: auto; /* кликабельны */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-line {
    /* Background for the timeline */
    background-color: #333;
    border-radius: 4px;
    height: 100%;
    width: 100%;
}

.timeline-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    transform: translateY(-50%) scale(0.9);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.5s ease-in-out;
    cursor: pointer;
}

.timeline-dot:hover {
    transform: translateY(-50%) scale(1.1);
}


/* Old intro styles, removed in favor of the new design */
.intro-section {
    display: none;
}

/* --- REST OF YOUR CSS FILE BELOW --- */

.slides-container {
    position: relative;
    z-index: 5;
    background-color: transparent;
    display: flex;
    width: 100%;
}

.slide {
    min-height: 100vh;
    width: 100vw;
    flex: 0 0 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    opacity: 1;
    transform: none;
    transition: none;
    overscroll-behavior: contain;     /* не отдавать инерцию наружу */
    flex-shrink: 0;
}

.slide.active { 
    opacity: 1; 
    transform: none; 
}


.slide-content {
    background: white;
    padding: 2em 3em;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.slide-content h2 {
    font-size: 2em;
    color: #1a237e;
}

/* === BARTER SLIDE STYLES === */
.barter-slide {
    background-color: #2c3e35;
    padding: 90px 30px 30px;
    align-items: flex-start;
    overflow-y: auto;
    color: white;
}

.barter-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    height: 100%;
}

.barter-sidebar {
    width: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid #4CAF50;
}

.main-section {
    border-left: 3px solid #fff;
}

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

.section-header .icon {
    font-size: 16px;
}

.section-header h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    margin: 0;
}

.timeline-info {
    margin-top: 10px;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-row:last-child {
    border-bottom: none;
}

.timeline-row .label {
    color: #ccc;
    font-size: 14px;
}

.timeline-row .date {
    color: #4CAF50;
    font-weight: 500;
    font-size: 14px;
}

.section-description {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.detail-item {
    margin-bottom: 16px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 0;
}

.detail-item p {
    color: #999;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.barter-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.main-image-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.main-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-card:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
}

.image-overlay h4 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}

.image-overlay p {
    font-size: 16px;
    color: #ddd;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.image-caption {
    font-size: 14px;
    color: #bbb;
    font-style: italic;
    margin: 0;
}

.status-bar {
    display: none;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #bbb;
}

.status-right {
    font-size: 14px;
    color: #bbb;
}

.info-dot {
    opacity: 0.7;
    font-size: 12px;
}

.bottom-description {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-description p {
    color: #ccc;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
    text-align: justify;
}

/* === CRYPTO SLIDE STYLES === */
.crypto-slide {
    background-color: #2c3e35;
    padding: 40px 20px;
    align-items: flex-start;
    overflow-y: auto;
}

.crypto-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    color: white;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 30px;
    color: #a0a0a0;
}

.breadcrumb .separator {
    margin: 0 10px;
}

.breadcrumb .active {
    color: white;
    font-weight: bold;
}

.main-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 2px 30px 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.main-header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.main-header p {
    font-size: 1.1em;
    color: #b0b0b0;
    margin: 0;
}

.crypto-timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.crypto-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #4CAF50, #666);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    background: #2c3e35;
    padding: 0 15px;
}

.timeline-item.active {
    color: #4CAF50;
    font-weight: bold;
}

.timeline-item.next-phase {
    color: #888;
}

.genesis-banner {
    background: linear-gradient(135deg, #8B4513, #CD853F);
    background-image: url('pictures/crypto-background.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.genesis-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.genesis-banner > * {
    position: relative;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.genesis-banner h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.banner-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.banner-features span {
    font-size: 16px;
    color: #f0f0f0;
    position: relative;
}

.banner-features span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -18px;
    color: #ccc;
}

.cards-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    z-index: 1;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.bitcoin-card::before {
    background-image: url('pictures/bitcoin-coin.jpg');
}

.stablecoin-card::before {
    background-image: url('pictures/stablecoin-cards.jpg');
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    display: none;
}

.card-content {
    position: relative;
    z-index: 3;
    text-align: left;
}

.card-content h3 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-feature {
    color: #4CAF50;
    font-weight: bold;
    font-size: 14px;
}

.crypto-footer {
    text-align: center;
    color: #b0b0b0;
    line-height: 1.6;
    padding-bottom: 120px;
}

.crypto-footer p:last-child {
    color: white;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .barter-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .barter-sidebar {
        width: 100%;
        order: 2;
    }
    
    .barter-main {
        order: 1;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    .intro-images {
        flex-direction: column;
        align-items: center;
    }
    .intro-image-container {
        width: 90%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .crypto-container {
        padding: 0 10px;
    }
    
    .barter-slide {
        padding: 40px 15px 20px;
    }
    
    .barter-container {
        gap: 20px;
    }
    
    .section {
        padding: 16px;
    }
    
    .main-image-card {
        height: 320px;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        text-align: left;
    }
    
    .bottom-description {
        padding: 20px;
    }
    
    .main-header h1 {
        font-size: 2em;
    }
    
    .genesis-banner h2 {
        font-size: 1.5em;
    }
    
    .cards-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        height: 200px;
    }
    
    .banner-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-features span::after {
        display: none;
    }
    .intro-title {
        font-size: 2.5em;
    }
    .header {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links a {
        margin: 0 10px;
    }
}

/* === COINS SLIDE STYLES === */
.coins-slide {
    background-color: #2c3e35;
    padding: 90px 30px 30px;
    align-items: flex-start;
    overflow-y: auto;
    color: white;
}

.coins-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    height: 100%;
}

.coins-sidebar {
    width: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coins-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 0;
}

.coins-main .image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.coins-main .main-image-card {
    height: 420px;
}

/* === CRYPTO SLIDE STYLES === */

/* === BANKING SLIDE STYLES === */
.banking-slide {
    background-color: #2c3e35;
    padding: 90px 30px 30px;
    align-items: flex-start;
    overflow-y: auto;
    color: white;
}

.banking-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    height: 100%;
}

.banking-sidebar {
    width: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banking-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 0;
}

/* Special grid layout for banking slide with 3 images */
.banking-slide .image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    height: auto;
}

/* --- REVISED SELECTORS FOR BANKING SLIDE --- */
/*
  These selectors have been updated to use specific classes instead of
  :nth-child. You must add the corresponding classes (card-one, card-two,
  card-three) to your HTML elements.
*/
.banking-slide .main-image-card,
.banking-slide .card-one,
.banking-slide .card-two,
.banking-slide .card-three {
    grid-column: auto;
    grid-row: auto;
    height: 420px;
}

/* --- OLD SELECTORS (REMOVED) ---
.banking-slide .main-image-card:first-child {
    grid-column: 1;
    grid-row: 1;
}

.banking-slide .main-image-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.banking-slide .main-image-card:nth-child(3) {
    grid-column: 1 / span 2;
    grid-row: 2;
    height: 200px;
}
*/


/* Responsive adjustments for banking slide */
@media (max-width: 1024px) {
    .banking-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .banking-sidebar {
        width: 100%;
        order: 2;
    }
    
    .banking-main {
        order: 1;
    }
    
    .banking-slide .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 300px);
        height: auto;
    }
    
    .banking-slide .main-image-card,
    .banking-slide .card-one,
    .banking-slide .card-two,
    .banking-slide .card-three {
        grid-column: 1;
        grid-row: auto;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .banking-slide {
        padding: 40px 15px 20px;
    }
    
    .banking-container {
        gap: 20px;
    }
    
    .banking-slide .image-grid {
        grid-template-rows: repeat(3, 250px);
    }
    
    .banking-slide .main-image-card,
    .banking-slide .card-one,
    .banking-slide .card-two,
    .banking-slide .card-three {
        height: 250px;
    }
}

/* Add scroll indicator to crypto footer */
.scroll-indicator {
    margin-top: 30px;
    text-align: center;
}

.scroll-indicator p {
    color: #4CAF50;
    font-size: 16px;
    margin-bottom: 10px;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    font-size: 24px;
    color: #4CAF50;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* === STABLECOINS VERTICAL SECTION STYLES === */
.stablecoins-vertical-slide {
    background-color: #f8f9fa;
    padding: 0;
    align-items: flex-start;
    overflow-y: auto;
    color: #333;
    scroll-snap-align: start;
    scroll-behavior: smooth;
}

.stablecoins-vertical-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.stablecoins-section {
    min-height: auto; /* match compact sections like the future section */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 40px; /* same as .future-section for consistent spacing */
    box-sizing: border-box;
}

.origins-section {
    background-color: #f8f9fa;
}

.how-work-section {
    background-color: #f8f9fa;
}

.fast-borderless-section {
    background-color: #f8f9fa;
}

.defi-backbone-section {
    background-color: #f8f9fa;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    max-width: 500px;
}

.image-content {
    flex: 1;
    max-width: 600px;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.section-tag span {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.section-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.section-text p:last-child {
    margin-bottom: 0;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.section-header-center {
    text-align: center;
    margin-bottom: 60px; /* slightly tighter spacing */
}

/* Tighter header spacing specifically within the last slide */
.stablecoins-vertical-slide .section-header-center {
    margin: 40px 0; /* reduce space above/below headers in the chapter */
}

.section-header-center h2 {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Remove old work-grid/item styles; use shared section-content/text/image styles */

/* Responsive Design for Stablecoins Section */
@media (max-width: 1024px) {
    .section-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .section-content.reverse {
        flex-direction: column;
    }
    
    .work-item {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .text-content,
    .image-content,
    .work-image,
    .work-content {
        max-width: 100%;
    }
    
    .stablecoins-section {
        padding: 60px 20px;
    }
    
    .how-work-section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .section-tag span {
        font-size: 20px;
    }
    
    .section-header-center h2 {
        font-size: 28px;
    }
    
    .section-text p {
        font-size: 15px;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .work-image .image-placeholder {
        height: 200px;
    }
    
    .stablecoins-section {
        padding: 40px 15px;
    }
    
    .section-content {
        gap: 30px;
    }
    
    .work-item {
        gap: 30px;
    }
}

/* === FUTURE SECTION STYLES === */
.future-section {
    background-color: #f8f9fa;
    padding: 70px 40px; /* reduced to bring it closer to previous section */
    flex-direction: column;
    min-height: auto;
}

.future-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.future-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.regulation-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    padding: 60px;
    border-radius: 15px;
    overflow: hidden;
    background-image: url('pictures/regulation-timeline.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.regulation-item .future-visual .timeline-visual {
    display: none; /* Hide the image since it's now a background */
}

.regulation-item .future-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}

.regulation-item .future-visual {
    display: none; /* Hide the visual container since image is now background */
}

/* Optional: Add overlay for better text readability */
.regulation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1); /* Light overlay */
    border-radius: 15px;
    z-index: 1;
}

.transparency-item {
    text-align: center;
}

.transparency-item .future-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.transparency-item .future-visual {
    margin: 0 auto;
}

.cooperation-item .future-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.future-tag {
    display: inline-block;
    background: rgba(107, 142, 90, 0.1);
    border: 1px solid rgba(107, 142, 90, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #6b8e5a;
    font-weight: 500;
    margin-bottom: 20px;
}

.future-item h3 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0 0 25px 0;
    line-height: 1.2;
}

.future-item p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.timeline-visual,
.transparency-visual {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-visual img,
.transparency-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cooperation-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.company-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
}

.company-logo {
    width: 100%;
    height: 220px; /* Increased from 120px to 180px */
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stripe-logo {
    background-color: #635bff;
    color: white;
}

.company-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.3;
}

.company-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.cooperation-conclusion {
    font-style: italic;
    color: #666;
    margin-top: 30px;
    font-size: 16px;
}

/* Final CTA Section */
.future-cta {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Changed from 0.7 to 0.3 for less darkness */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Changed from space-between to flex-end */
    padding: 40px; /* Added consistent padding all around */
    color: white;
}

.cta-overlay h2 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
}

.cta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.plasma-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plasma-branding img {
    height: 30px;
    width: auto;
}

.branding-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.branding-text span:first-child {
    font-weight: bold;
}

.cta-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 18px;
}

.social-icons i {
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #4CAF50;
}

/* Responsive Design for Future Section */
@media (max-width: 1024px) {
    .regulation-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cooperation-cards {
        grid-template-columns: 1fr;
    }
    
    .future-item h3 {
        font-size: 30px;
    }
    
    .cta-overlay h2 {
        font-size: 36px;
    }
    
    .cta-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta-links {
        order: -1;
    }
}

@media (max-width: 768px) {
    .future-section {
        padding: 60px 20px;
    }
    
    .future-container {
        gap: 60px;
    }
    
    .future-item h3 {
        font-size: 24px;
    }
    
    .future-item p {
        font-size: 16px;
    }
    
    .timeline-visual,
    .transparency-visual {
        height: 200px;
    }
    
    .company-card {
        padding: 20px;
    }
    
    .company-logo {
        height: 80px;
    }
    
    .future-cta {
        height: 300px;
    }
    
    .cta-overlay {
        padding: 40px 20px 20px;
    }
    
    .cta-overlay h2 {
        font-size: 24px;
    }
}

/* Video styling for CTA background - replace the existing .cta-background img rule */
.cta-background img,
.cta-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}