/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #32373c;
    --text-color: #333;
    --bg-color: #EEEEF1;
    --bg-alt: #f5f5f5;
    --spacing: 2rem;
    --max-width: 1200px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    padding-left: 120px;
}

/* Header */
.header {
    background-color: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Sticky header for all pages */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(238, 238, 241, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 80px;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.nav {
    margin-left: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
    background-color: rgba(67, 97, 238, 0.08);
    color: #1a1d20;
}

.logo {
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background-image: url('../media/Site_background_v2_noHover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../media/Site_background_v2_Hover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, filter 0.6s ease-in-out;
    filter: brightness(1);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

.hero:hover::before {
    opacity: 1;
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.hero:hover {
    filter: brightness(1.05);
}

.hero .container {
    position: relative;
    z-index: 3;
    padding-left: 120px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}



.hero-logo-text {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.1s forwards;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero-logo-text:hover {
    transform: translateY(0) scale(1.05);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin: 20px 0;
    font-size-adjust: 0.5;
    min-height: 1.2em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 10px 0 30px 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-logo {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.1s forwards;
}

.hero-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1a1d20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Sections */
.section {
    padding: 40px 0;
    background-color: var(--bg-color);
    position: relative;
}

.section-alt {
    padding: 40px 0;
    background-color: #1a1d20;
    color: #ffffff;
    position: relative;
}

/* Section Labels */
.section-label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 10;
    padding: 20px 10px;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 0 8px 8px 0;
}

/* Light background sections - dark label background */
.section .section-label {
    color: #ffffff;
    background-color: #1a1d20;
}

/* Dark background sections - light label background */
.section-alt .section-label {
    color: #1a1d20;
    background-color: #EEEEF1;
}

.hero .section-label {
    color: #ffffff;
    background-color: rgba(26, 29, 32, 0.8);
}

.main-content .section-label {
    color: #ffffff;
    background-color: #1a1d20;
}

.section:hover .section-label,
.section-alt:hover .section-label,
.hero:hover .section-label,
.main-content:hover .section-label {
    opacity: 1;
}

.main-content {
    position: relative;
}

.hero {
    position: relative;
}

.carousel-section {
    position: relative;
}

.section h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 700;
}

.section-alt h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-alt h2 {
    color: #ffffff;
}

.section h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-alt h4 {
    color: #ffffff;
}

.section h5 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 1.6;
}

.section-alt h5 {
    color: #ffffff;
}

.section h6 {
    font-size: 1rem;
    text-align: center;
    color: #666;
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.main-content h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
}

.content-text {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 15px;
}

/* Images */
.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.section-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
}

/* Volumetric Carousel */
.volumetric-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.volumetric-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.volumetric-text {
    max-width: 900px;
    margin: 0 auto;
}

/* Carousel */
.carousel-section {
    padding: 40px 0 0 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.carousel-section .container {
    padding-bottom: 20px;
}

.carousel-section h1 {
    margin-bottom: 20px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 120px 120px;
    box-sizing: border-box;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding: 0 50%;
}

.carousel-slide {
    scroll-snap-align: center;
}

.carousel-slides::-webkit-scrollbar {
    height: 8px;
}

.carousel-slides::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.carousel-slides::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.carousel-slides::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-slide {
    flex: 0 0 auto;
    width: auto;
    min-width: auto;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.carousel-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    transform-origin: center center;
}

.carousel-slide img {
    max-width: none;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-slide-text {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 400;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    max-width: 300px;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(238, 238, 241, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background-color: rgba(238, 238, 241, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: #EEEEF1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Lowlights cards – individual background colors */
.features-grid .feature-card:nth-child(1) {
    background-color: #AE345A;
}

.features-grid .feature-card:nth-child(2) {
    background-color: #088F4A;
}

.features-grid .feature-card:nth-child(3) {
    background-color: #EB7E01;
}

.features-grid .feature-card:nth-child(1) h2,
.features-grid .feature-card:nth-child(1) p,
.features-grid .feature-card:nth-child(2) h2,
.features-grid .feature-card:nth-child(2) p,
.features-grid .feature-card:nth-child(3) h2,
.features-grid .feature-card:nth-child(3) p {
    color: #ffffff;
}

.feature-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #666;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.highlight-card {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlight-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.highlight-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.highlight-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.highlight-card h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.highlight-card h5 {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.4rem;
}

.section-alt .feature-list li::before {
    color: #667eea;
}

.section-alt .feature-list li h4 {
    color: #ffffff;
}

/* === CONSULTING PAGE — MATRIX-STYLE FUTURISTIC LOOK === */
.consulting-hero {
    position: relative;
    background: radial-gradient(circle at top, #101322 0%, #05060b 55%, #020308 100%);
    color: #e6e9ff;
    padding: 150px 0;
    min-height: 800px;
    overflow: hidden;
}

.consulting-hero .container {
    position: relative;
    z-index: 2;
    padding-left: 120px;
}

.consulting-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.consulting-hero .hero-logo-text {
    font-size: 3.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e0e4ff;
    text-shadow: 0 0 14px rgba(120, 249, 255, 0.45);
}

.consulting-hero .hero-title {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #7ef9ff 50%, #4cc9f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.consulting-hero .hero-tagline {
    max-width: 720px;
    font-size: 1.25rem;
    color: #c5d2ff;
}

.consulting-matrix {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(90deg, rgba(0,255,157,0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0,255,157,0.18) 1px, transparent 1px);
    background-size: 40px 100%, 100% 24px;
    mix-blend-mode: screen;
    opacity: 0.6;
    animation: consultingMatrixDrift 24s linear infinite;
}

.consulting-matrix::before,
.consulting-matrix::after {
    content: "";
    position: absolute;
    inset: -20%;
    background-image: 
        repeating-linear-gradient(
            180deg,
            rgba(0,255,157,0.0) 0,
            rgba(0,255,157,0.35) 2px,
            rgba(0,255,157,0.0) 4px
        );
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: consultingMatrixRain 16s linear infinite;
}

.consulting-matrix::after {
    animation-duration: 22s;
    animation-direction: reverse;
    opacity: 0.22;
}

@keyframes consultingMatrixDrift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-40px, 24px, 0); }
}

@keyframes consultingMatrixRain {
    0% { transform: translate3d(0, -10%, 0); }
    100% { transform: translate3d(0, 10%, 0); }
}

/* Dark, futuristic sections for consulting */
section#interpretation,
section#quality-control,
section#storage-digitization,
section#services,
section#contact {
    background: #05060b !important;
    color: #e0e6ff !important;
    border-top: 1px solid rgba(76, 201, 240, 0.15);
    border-bottom: 1px solid rgba(76, 201, 240, 0.15);
}

/* Dark, futuristic sections for training */
section#basic-training,
section#wellbore-imagers,
section#training-formats {
    background: #05060b !important;
    color: #e0e6ff !important;
    border-top: 1px solid rgba(76, 201, 240, 0.15);
    border-bottom: 1px solid rgba(76, 201, 240, 0.15);
}

section#interpretation h1,
section#quality-control h1,
section#storage-digitization h1,
section#services h1,
section#contact h1,
section#basic-training h1,
section#wellbore-imagers h1,
section#training-formats h1 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

section#interpretation .content-text,
section#quality-control .content-text,
section#storage-digitization .content-text,
section#services .content-text,
section#contact .content-text,
section#basic-training .content-text,
section#wellbore-imagers .content-text,
section#training-formats .content-text {
    max-width: 880px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c3c9f0;
}

section#interpretation .content-text p strong,
section#quality-control .content-text p strong,
section#storage-digitization .content-text p strong,
section#services .content-text p strong,
section#basic-training .content-text p strong,
section#wellbore-imagers .content-text p strong,
section#training-formats .content-text p strong {
    color: #ffffff;
}

/* Interpretation plates */
.interpretation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.interpretation-card {
    position: relative;
    padding: 22px 20px;
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(76, 201, 240, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(138, 155, 255, 0.18), transparent 55%),
                rgba(9, 12, 30, 0.95);
    border: 1px solid rgba(76, 201, 240, 0.45);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.interpretation-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg, rgba(76, 201, 240, 0.0), rgba(76, 201, 240, 0.35), rgba(138, 155, 255, 0.0));
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(-20%, -20%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.interpretation-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.interpretation-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #f5f7ff;
}

.interpretation-card p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #c3c9f0;
}

@media (max-width: 768px) {
    .interpretation-grid {
        grid-template-columns: 1fr;
    }
}

/* QC plates – higher contrast vs interpretation */
.qc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.qc-card {
    position: relative;
    padding: 22px 20px;
    border-radius: 14px;
    background: radial-gradient(circle at top right, rgba(255, 214, 102, 0.18), transparent 55%),
                radial-gradient(circle at bottom left, rgba(252, 129, 129, 0.22), transparent 55%),
                rgba(9, 9, 20, 0.98);
    border: 1px solid rgba(255, 214, 102, 0.6);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.qc-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, rgba(255, 214, 102, 0.0), rgba(255, 214, 102, 0.5), rgba(252, 129, 129, 0.0));
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(20%, 20%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.qc-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.qc-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff7d6;
}

.qc-card p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #f8f4ff;
}

@media (max-width: 768px) {
    .qc-grid {
        grid-template-columns: 1fr;
    }
}

/* Digitization plates – cyan / magenta futuristic style */
.digitization-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.digitization-card {
    position: relative;
    padding: 22px 20px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(76, 201, 240, 0.22), transparent 55%),
        radial-gradient(circle at bottom right, rgba(214, 51, 132, 0.22), transparent 55%),
        rgba(8, 10, 26, 0.98);
    border: 1px solid rgba(148, 233, 255, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.digitization-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(
            from 90deg,
            rgba(148, 233, 255, 0.0),
            rgba(148, 233, 255, 0.5),
            rgba(214, 51, 132, 0.0)
        );
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(-15%, 15%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.digitization-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.digitization-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #e4f9ff;
}

.digitization-card p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #c7ddff;
}

@media (max-width: 768px) {
    .digitization-grid {
        grid-template-columns: 1fr;
    }
}

/* Data section plates – green / teal “AI engine” look */
.data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.data-card {
    position: relative;
    padding: 22px 20px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 55%),
        radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.22), transparent 55%),
        rgba(5, 18, 18, 0.98);
    border: 1px solid rgba(45, 212, 191, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.data-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(
            from 180deg,
            rgba(16, 185, 129, 0.0),
            rgba(16, 185, 129, 0.55),
            rgba(45, 212, 191, 0.0)
        );
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(15%, -15%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.data-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.data-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #e6fffa;
}

.data-card p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #ccfbf1;
}

@media (max-width: 768px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}

/* Training page – Basic training cards (purple/magenta theme) */
.training-basic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.training-basic-card {
    position: relative;
    padding: 26px 22px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.22), transparent 55%),
        rgba(12, 8, 20, 0.98);
    border: 1px solid rgba(168, 85, 247, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.training-basic-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(
            from 180deg,
            rgba(139, 92, 246, 0.0),
            rgba(168, 85, 247, 0.55),
            rgba(236, 72, 153, 0.0)
        );
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(15%, -15%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.training-basic-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.training-basic-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #f3e8ff;
    font-weight: 700;
}

.training-basic-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e9d5ff;
    margin-bottom: 16px;
}

.training-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-topics li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d8b4fe;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.training-topics li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
}

/* Training page – Advanced imagers cards (orange/red theme) */
.training-advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.training-advanced-card {
    position: relative;
    padding: 24px 20px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.22), transparent 55%),
        rgba(20, 8, 8, 0.98);
    border: 1px solid rgba(251, 146, 60, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
    text-align: center;
}

.training-advanced-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(
            from 180deg,
            rgba(249, 115, 22, 0.0),
            rgba(251, 146, 60, 0.55),
            rgba(239, 68, 68, 0.0)
        );
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(15%, -15%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.training-advanced-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.training-card-img {
    width: 100%;
    max-width: 500px;
    height: 280px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.training-advanced-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: #fff7ed;
    font-weight: 700;
}

.training-advanced-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #fed7aa;
}

/* Training page – Formats cards (blue/cyan theme) */
.training-formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.training-formats-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.22), transparent 55%),
        rgba(8, 12, 20, 0.98);
    border: 1px solid rgba(96, 165, 250, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
    text-align: center;
}

.training-formats-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(
            from 180deg,
            rgba(59, 130, 246, 0.0),
            rgba(96, 165, 250, 0.55),
            rgba(34, 211, 238, 0.0)
        );
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(15%, -15%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.training-formats-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.training-formats-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #eff6ff;
    font-weight: 700;
}

.training-formats-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #dbeafe;
}

@media (max-width: 768px) {
    .training-basic-grid,
    .training-advanced-grid,
    .training-formats-grid {
        grid-template-columns: 1fr;
    }
    
    .training-card-img {
        height: 220px;
    }
}

/* Cases page – Case study cards */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.case-card {
    position: relative;
    padding: 26px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.case-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(15%, -15%, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.case-card:hover::before {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
}

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.case-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Case 1 - Blue theme */
.case-card-blue {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.22), transparent 55%),
        rgba(8, 12, 20, 0.98);
    border: 1px solid rgba(96, 165, 250, 0.65);
}

.case-card-blue::before {
    background:
        conic-gradient(
            from 180deg,
            rgba(59, 130, 246, 0.0),
            rgba(96, 165, 250, 0.55),
            rgba(34, 211, 238, 0.0)
        );
}

.case-card-blue h3 {
    color: #eff6ff;
}

.case-card-blue p {
    color: #dbeafe;
}

/* Case 2 - Green theme */
.case-card-green {
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.22), transparent 55%),
        rgba(5, 18, 18, 0.98);
    border: 1px solid rgba(45, 212, 191, 0.65);
}

.case-card-green::before {
    background:
        conic-gradient(
            from 180deg,
            rgba(16, 185, 129, 0.0),
            rgba(45, 212, 191, 0.55),
            rgba(34, 211, 238, 0.0)
        );
}

.case-card-green h3 {
    color: #e6fffa;
}

.case-card-green p {
    color: #ccfbf1;
}

/* Case 3 - Purple theme */
.case-card-purple {
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.22), transparent 55%),
        rgba(12, 8, 20, 0.98);
    border: 1px solid rgba(168, 85, 247, 0.65);
}

.case-card-purple::before {
    background:
        conic-gradient(
            from 180deg,
            rgba(139, 92, 246, 0.0),
            rgba(168, 85, 247, 0.55),
            rgba(236, 72, 153, 0.0)
        );
}

.case-card-purple h3 {
    color: #f3e8ff;
}

.case-card-purple p {
    color: #e9d5ff;
}

/* Case 4 - Orange theme */
.case-card-orange {
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.22), transparent 55%),
        rgba(20, 8, 8, 0.98);
    border: 1px solid rgba(251, 146, 60, 0.65);
}

.case-card-orange::before {
    background:
        conic-gradient(
            from 180deg,
            rgba(249, 115, 22, 0.0),
            rgba(251, 146, 60, 0.55),
            rgba(239, 68, 68, 0.0)
        );
}

.case-card-orange h3 {
    color: #fff7ed;
}

.case-card-orange p {
    color: #fed7aa;
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* Cases page section labels and backgrounds */
section#case-1,
section#case-2,
section#case-3,
section#case-4 {
    background: #05060b !important;
    color: #e0e6ff !important;
    border-top: 1px solid rgba(76, 201, 240, 0.15);
    border-bottom: 1px solid rgba(76, 201, 240, 0.15);
}

section#case-1 h1,
section#case-2 h1,
section#case-3 h1,
section#case-4 h1 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

section#case-1 .section-label,
section#case-2 .section-label,
section#case-3 .section-label,
section#case-4 .section-label {
    color: #05060b;
    background-color: #4cc9f0;
}

section#interpretation .section-label,
section#quality-control .section-label,
section#storage-digitization .section-label,
section#services .section-label,
section#contact .section-label {
    color: #05060b;
    background-color: #4cc9f0;
}

/* Training page section labels */
section#basic-training .section-label,
section#wellbore-imagers .section-label,
section#training-formats .section-label {
    color: #05060b;
    background-color: #4cc9f0;
}

@media (max-width: 768px) {
    .consulting-hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Developers Grid */
.developers-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.developers-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Contact Section */
.contact-info {
    padding: 20px 0;
}

.contact-info h5 {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* CTA Logo */
.cta-logo {
    max-width: 461px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Footer */
.footer {
    background-color: #1a1d20;
    padding: 40px 0;
    text-align: center;
    color: #ffffff;
}

.footer h6 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

/* Processing Carousel */
.processing-carousel-container {
    width: 100%;
    margin: 30px 0;
    position: relative;
}

.processing-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.processing-carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.processing-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}

.processing-carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    visibility: visible;
}

.processing-carousel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.processing-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
}

.processing-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(238, 238, 241, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.processing-carousel-btn:hover {
    background-color: rgba(238, 238, 241, 1);
    transform: translateY(-50%) scale(1.1);
}

.processing-carousel-btn-prev {
    left: 20px;
}

.processing-carousel-btn-next {
    right: 20px;
}

.processing-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.processing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.processing-dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.processing-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* Spacer */
.spacer {
    height: 20px;
}

/* Fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes for text elements */
.section h1,
.section-alt h1,
.main-content h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section h1.visible,
.section-alt h1.visible,
.main-content h1.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-text,
.section-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-text.visible,
.section-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-text p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-text p.visible {
    opacity: 1;
    transform: translateY(0);
}

.two-column .column {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.two-column .column.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-grid .feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlights-grid .highlight-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.highlights-grid .highlight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section h1 {
        font-size: 2rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .developers-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        flex-direction: column !important;
        text-align: center;
    }

    .highlight-image {
        margin-bottom: 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .section, .section-alt {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .section h1 {
        font-size: 1.7rem;
    }

    .container {
        padding: 0 15px;
    }
}
/* === FUTURISTIC HERO WITH DASHED NEON GRID === */
.hero {
    background: #0a0a0f !important;
    color: #ffffff !important;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Override hero background image */
.hero::before,
.hero::after {
    display: none !important;
}

.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.neon-grid line {
    stroke: #4361ee;
    stroke-width: 1.2;
    stroke-dasharray: 10, 14; /* Прерывистые линии */
    opacity: 0.5;
    animation: neonPulse 3.6s infinite ease-in-out;
}

/* Staggered delays for organic rhythm */
.neon-grid line:nth-child(1) { animation-delay: 0.0s; }
.neon-grid line:nth-child(2) { animation-delay: 0.7s; }
.neon-grid line:nth-child(3) { animation-delay: 1.3s; }
.neon-grid line:nth-child(4) { animation-delay: 1.9s; }
.neon-grid line:nth-child(5) { animation-delay: 2.5s; }
.neon-grid line:nth-child(6) { animation-delay: 0.3s; }
.neon-grid line:nth-child(7) { animation-delay: 0.9s; }
.neon-grid line:nth-child(8) { animation-delay: 1.5s; }
.neon-grid line:nth-child(9) { animation-delay: 2.1s; }
.neon-grid line:nth-child(10) { animation-delay: 2.8s; }

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.25;
        filter: drop-shadow(0 0 4px rgba(67, 97, 238, 0.5));
    }
    10% {
        opacity: 0.9;
        filter: 
            drop-shadow(0 0 8px #4361ee)
            drop-shadow(0 0 18px rgba(67, 97, 238, 0.8));
        transform: scale(1);
    }
    12% {
        transform: scale(1.03); /* subtle thump */
    }
    14% {
        transform: scale(1);
    }
    50%, 90% {
        opacity: 0.2;
    }
}

/* Center content */
.hero .container {
    position: relative;
    z-index: 2;
    padding-left: 120px; /* match your layout */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-logo-text {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e0e0ff;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin: 20px 0;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-height: 1.2em;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    line-height: 1.5;
    margin: 0 auto;
}

/* Button matches your style but updated text */
.btn-primary.hero-btn {
    background-color: #4361ee;
    color: white;
    padding: 12px 36px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary.hero-btn:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);
}

/* Section label on dark background */
.hero .section-label {
    color: #fff;
    background-color: rgba(26, 29, 32, 0.85);
}
/* === FUTURISTIC OVERVIEW — Welldata Ecosystem === */
.main-content {
    background: #0d0d16;
    color: #e6e9ff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(67, 97, 238, 0.2);
    border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}

.main-content h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.1);
}

.main-content .content-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #c8d0f0;
}

.main-content .content-text p {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.main-content .content-text strong {
    color: #ffffff;
    font-weight: 600;
}

.main-content .section-label {
    color: #0d0d16;
    background-color: #4cc9f0;
    opacity: 1;
    font-weight: 800;
}

/* === 3 ТОЧКИ-ИСТОЧНИКА С ПУЛЬСИРУЮЩИМИ КОНТУРАМИ === */
.contour-ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}

.ripple-source {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Точка-ядро */
.ripple-source::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 5px;
    height: 5px;
    background: #4cc9f0;
    border-radius: 50%;
    box-shadow: 0 0 8px #4cc9f0, 0 0 16px rgba(76, 201, 240, 0.6);
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Пульсирующий круг */
.ripple-source::after {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(67, 97, 238, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: ripplePulse 22s infinite ease-out;
    animation-delay: var(--delay);
    z-index: 2;
}

/* Дополнительные круги для плотности */
.ripple-source div {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: ripplePulse 22s infinite ease-out;
    animation-delay: calc(var(--delay) + 11s);
    z-index: 2;
}

.ripple-source div:nth-child(2) {
    border-color: rgba(138, 155, 255, 0.25);
    animation-delay: calc(var(--delay) + 16s);
}

/* Основная анимация волны */
@keyframes ripplePulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.1);
    }
    10% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }
    25% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(2);
    }
    50% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(4);
    }
    80%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(6);
    }
}

/* Для мобильных — чуть тише */
@media (max-width: 768px) {
    .contour-ripples {
        opacity: 0.3;
    }
    .ripple-source::before {
        width: 4px;
        height: 4px;
    }
}
.main-content .container {
    position: relative;
    z-index: 2;
    padding-left: 120px;
}
/* === OVERVIEW PILLARS — 4 колонки, футуристический стиль === */
.contrast-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.pillar {
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(67, 97, 238, 0.25);
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    transition: all 0.35s ease;
    backdrop-filter: blur(4px);
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.5);
    background: rgba(25, 25, 50, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
    font-size: 2.1rem;
    margin-bottom: 16px;
    display: block;
    background: linear-gradient(135deg, #4cc9f0, #8a9bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pillar h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.pillar p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #c2c9e6;
    margin: 0;
    font-weight: 400;
}

/* CTA */
.overview-cta .btn {
    background: #4361ee;
    color: white;
    padding: 13px 38px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.35);
    transition: all 0.3s ease;
}

.overview-cta .btn:hover {
    background: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.5);
}
/* === FUTURISTIC FULL SCOPE — с SVG-сеткой и плотной рамкой === */

.carousel-section {
    background: #0a0a0f !important;
    color: #e0e6ff !important;
    padding: 60px 0 80px 0;
    overflow: hidden;
    height: auto !important;
    min-height: 80vh;
    position: relative;
}

/* Используем тот же .neon-grid, что и в hero */
.carousel-section .neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Стили линий — копия из hero */
.carousel-section .neon-grid line {
    stroke: #4361ee;
    stroke-width: 1.2;
    stroke-dasharray: 10, 14;
    opacity: 0.5;
    animation: neonPulse 3.6s infinite ease-in-out;
}

/* Задержки — как в hero */
.carousel-section .neon-grid line:nth-child(1) { animation-delay: 0.0s; }
.carousel-section .neon-grid line:nth-child(2) { animation-delay: 0.7s; }
.carousel-section .neon-grid line:nth-child(3) { animation-delay: 1.3s; }
.carousel-section .neon-grid line:nth-child(4) { animation-delay: 1.9s; }
.carousel-section .neon-grid line:nth-child(5) { animation-delay: 2.5s; }
.carousel-section .neon-grid line:nth-child(6) { animation-delay: 0.3s; }
.carousel-section .neon-grid line:nth-child(7) { animation-delay: 0.9s; }
.carousel-section .neon-grid line:nth-child(8) { animation-delay: 1.5s; }
.carousel-section .neon-grid line:nth-child(9) { animation-delay: 2.1s; }
.carousel-section .neon-grid line:nth-child(10) { animation-delay: 2.8s; }

/* Контент поверх сетки */
.carousel-section > .container,
.carousel-section > .carousel-container {
    position: relative;
    z-index: 2;
}

.carousel-section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff, #a0a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.1);
}

.carousel-container {
    padding: 40px 20px 60px 120px !important;
}

/* Карточка слайда */
.carousel-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 16px;
    background: rgba(15, 15, 35, 0.5);
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-radius: 16px;
    width: 330px;
    backdrop-filter: blur(6px);
    transition: all 0.4s ease;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.carousel-slide-content:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.6);
    box-shadow: 0 8px 26px rgba(67, 97, 238, 0.4);
}

.module-image-frame {
    position: relative;
    /* Убираем max-width — позволим контейнеру быть по размеру картинки */
    display: inline-block; /* ← КЛЮЧЕВОЕ */
    margin: 0;
    padding: 0;
}

.module-image-frame img {
    display: block;
    width: auto;   /* ← Сохраняем пропорции */
    height: auto;
    max-width: 100%; /* ← Но не вылезаем за пределы карточки */
    margin: 0;
    padding: 0;
    border-radius: 10px;
}

/* Рамка строится вокруг реального размера изображения */
.module-image-frame::before,
.module-image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.module-image-frame::before {
    border: 2px solid rgba(76, 201, 240, 0.6);
    box-shadow: 0 0 8px rgba(67, 97, 238, 0.4);
}

.module-image-frame::after {
    border: 1px solid rgba(67, 97, 238, 0.4);
}
.carousel-slide-content:hover .module-image-frame::before {
    border-color: rgba(76, 201, 240, 1);
    box-shadow: 0 0 16px rgba(67, 97, 238, 0.6);
}

.carousel-slide-content:hover .module-image-frame::after {
    border-color: rgba(67, 97, 238, 0.8);
}

.carousel-slide-content:hover .module-image-frame img {
    filter: brightness(1.1) contrast(1.15);
}

/* Текст */
.carousel-slide-text {
    color: #c8d4f5;
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    max-width: 290px;
    padding: 0 6px;
}

/* Управление */
.carousel-dots { bottom: 25px !important; z-index: 3; }
.dot { width: 11px; height: 11px; background: rgba(138, 155, 255, 0.5); }
.dot.active { background: #4cc9f0; transform: scale(1.3); }

.carousel-btn {
    background: rgba(15, 15, 35, 0.65) !important;
    color: #4cc9f0 !important;
    border: 1px solid rgba(76, 201, 240, 0.4);
    backdrop-filter: blur(4px);
    width: 48px !important;
    height: 48px !important;
    font-size: 1.8rem !important;
    z-index: 3;
}

.carousel-btn:hover {
    background: rgba(30, 30, 60, 0.85) !important;
    border-color: rgba(76, 201, 240, 0.8);
    transform: translateY(-50%) scale(1.12) !important;
}

.carousel-section .section-label {
    color: #0a0a0f;
    background-color: #4cc9f0;
    font-weight: 800;
    z-index: 3;
}
.carousel-slide-content img {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    border: none !important;
    border-radius: 10px !important;
}
/* === FUTURISTIC LOWLIGHTS SECTION === */
.section {
    background: #0c0c14 !important;
    color: #e0e6ff !important;
    padding: 70px 0;
}

.section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff, #a0a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 30px;
}

.section .content-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #c8d0f0;
}

.section .content-text p {
    margin-bottom: 20px;
}

/* Feature cards — dark futuristic */
.features-grid .feature-card {
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(67, 97, 238, 0.25);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    transition: all 0.35s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.features-grid .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.5);
    background: rgba(25, 25, 50, 0.6);
}

.features-grid .feature-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(67, 97, 238, 0.3);
}

.features-grid .feature-card h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.features-grid .feature-card p {
    font-size: 1.05rem;
    color: #b8c4e0;
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.lowlights-cta p {
    font-weight: 500;
    text-shadow: 0 0 8px rgba(160, 160, 255, 0.2);
}

.lowlights-cta .btn {
    background: #4361ee;
    color: white;
    padding: 13px 38px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.35);
    transition: all 0.3s ease;
}

.lowlights-cta .btn:hover {
    background: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.5);
}

/* Section label */
.section .section-label {
    color: #0c0c14;
    background-color: #ff6b8a; /* красный акцент для "проблемы" */
    font-weight: 800;
}
/* === FUTURISTIC LOWLIGHTS SECTION === */
.section {
    background: #0c0c14 !important;
    color: #e0e6ff !important;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff, #a0a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.1);
}

.section .content-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #c8d0f0;
}

.section .content-text p {
    margin-bottom: 20px;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Feature Card Base */
.features-grid .feature-card {
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(67, 97, 238, 0.25);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    transition: all 0.35s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-grid .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.5);
    background: rgba(25, 25, 50, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Individual background colors for Lowights */
.features-grid .feature-card:nth-child(1) {
    background-color: #AE345A; /* Deep red */
    border-color: rgba(174, 52, 90, 0.6);
}
.features-grid .feature-card:nth-child(2) {
    background-color: #088F4A; /* Green */
    border-color: rgba(8, 143, 74, 0.6);
}
.features-grid .feature-card:nth-child(3) {
    background-color: #EB7E01; /* Orange */
    border-color: rgba(235, 126, 1, 0.6);
}

/* White text on colored cards */
.features-grid .feature-card:nth-child(1) h2,
.features-grid .feature-card:nth-child(1) p,
.features-grid .feature-card:nth-child(2) h2,
.features-grid .feature-card:nth-child(2) p,
.features-grid .feature-card:nth-child(3) h2,
.features-grid .feature-card:nth-child(3) p {
    color: #ffffff !important;
}

/* Images */
.features-grid .feature-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.features-grid .feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.features-grid .feature-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.lowlights-cta p {
    font-weight: 500;
    text-shadow: 0 0 8px rgba(160, 160, 255, 0.2);
}

.lowlights-cta .btn {
    background: #4361ee;
    color: white;
    padding: 13px 38px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.35);
    transition: all 0.3s ease;
}

.lowlights-cta .btn:hover {
    background: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.5);
}

/* Section Label — Red for "problem" theme */
.section .section-label {
    color: #0c0c14;
    background-color: #ff6b8a; /* Warm red */
    font-weight: 800;
    opacity: 0.9;
}

.section:hover .section-label {
    opacity: 1;
}
/* === LOWLIGHTS SECTION — Unified with Overview (ripples + dark bg) === */
.lowlights-section {
    background: #0d0d16 !important;
    color: #e6e9ff !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(67, 97, 238, 0.2);
    border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}

/* Reuse ripple styles from Overview */
.lowlights-section .contour-ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}

.lowlights-section .ripple-source {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lowlights-section .ripple-source::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 5px;
    height: 5px;
    background: #4cc9f0;
    border-radius: 50%;
    box-shadow: 0 0 8px #4cc9f0, 0 0 16px rgba(76, 201, 240, 0.6);
    transform: translate(-50%, -50%);
    z-index: 3;
}

.lowlights-section .ripple-source::after {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(67, 97, 238, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: ripplePulse 22s infinite ease-out;
    animation-delay: var(--delay);
    z-index: 2;
}

.lowlights-section .ripple-source div {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: ripplePulse 22s infinite ease-out;
    animation-delay: calc(var(--delay) + 11s);
    z-index: 2;
}

.lowlights-section .ripple-source div:nth-child(2) {
    border-color: rgba(138, 155, 255, 0.25);
    animation-delay: calc(var(--delay) + 16s);
}

/* Ensure content is above ripples */
.lowlights-section > .container {
    position: relative;
    z-index: 2;
    padding-left: 120px; /* match your layout */
}

/* Headings */
.lowlights-section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff, #a0a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.1);
}

/* Text */
.lowlights-section .content-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #c8d0f0;
}

.lowlights-section .content-text p {
    margin-bottom: 20px;
}

/* Legacy vs Wellbore.AI comparison grid */
.legacy-vs-grid {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.legacy-vs-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1.4px;
    font-weight: 700;
}

.legacy-col-label,
.wb-col-label,
.feature-col-label,
.advantage-col-label {
    padding: 10px 14px;
    border-radius: 999px;
    text-align: center;
    background: rgba(11, 11, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-col-label {
    color: #a0a4ff;
    box-shadow: 0 0 18px rgba(160, 164, 255, 0.25);
}

.legacy-col-label {
    color: #ff6b8a;
    box-shadow: 0 0 18px rgba(255, 107, 138, 0.25);
}

.wb-col-label {
    color: #4cc9f0;
    box-shadow: 0 0 18px rgba(76, 201, 240, 0.25);
}

.advantage-col-label {
    color: #4ade80;
    box-shadow: 0 0 18px rgba(74, 222, 128, 0.25);
}

.legacy-vs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

.feature-header {
    grid-column: 1 / -1;
    margin-bottom: 18px;
    text-align: left;
    width: 100%;
}

.legacy-vs-cta-row .wb-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.legacy-vs-cta-row .wb-cta .btn {
    padding: 12px 34px;
}

.legacy-box,
.wb-box,
.feature-box,
.advantage-box {
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid rgba(160, 164, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.feature-box {
    background: radial-gradient(circle at top left, rgba(160, 164, 255, 0.32), rgba(10, 10, 25, 0.95));
}

.feature-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

.feature-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.legacy-box {
    background: radial-gradient(circle at top left, rgba(255, 107, 138, 0.32), rgba(10, 10, 25, 0.95));
}

.wb-box {
    background: radial-gradient(circle at top right, rgba(76, 201, 240, 0.32), rgba(10, 10, 25, 0.95));
}

.advantage-box {
    background: radial-gradient(circle at top right, rgba(74, 222, 128, 0.32), rgba(10, 10, 25, 0.95));
}

.legacy-box h3,
.wb-box h3,
.feature-box h3,
.advantage-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.legacy-box p,
.wb-box p,
.feature-box p,
.advantage-box p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #d2dafb;
    margin: 0;
}

@media (max-width: 900px) {
    .legacy-vs-header,
    .legacy-vs-row {
        grid-template-columns: 1fr;
    }
    
    .feature-header {
        grid-column: 1;
    }
}

/* Feature cards — keep colored backgrounds */
.features-grid .feature-card:nth-child(1) { background-color: #AE345A; }
.features-grid .feature-card:nth-child(2) { background-color: #088F4A; }
.features-grid .feature-card:nth-child(3) { background-color: #EB7E01; }

.features-grid .feature-card:nth-child(1) h2,
.features-grid .feature-card:nth-child(1) p,
.features-grid .feature-card:nth-child(2) h2,
.features-grid .feature-card:nth-child(2) p,
.features-grid .feature-card:nth-child(3) h2,
.features-grid .feature-card:nth-child(3) p {
    color: #ffffff !important;
}

/* Section label — red for problem theme */
.lowlights-section .section-label {
    color: #0d0d16;
    background-color: #ff6b8a;
    font-weight: 800;
    opacity: 0.9;
}

.lowlights-section:hover .section-label {
    opacity: 1;
}

/* Reuse ripple animation (ensure it's defined once in global CSS) */
@keyframes ripplePulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.1);
    }
    10% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }
    25% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(2);
    }
    50% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(4);
    }
    80%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(6);
    }
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .lowlights-section .contour-ripples {
        opacity: 0.3;
    }
    .lowlights-section .ripple-source::before {
        width: 4px;
        height: 4px;
    }
    .lowlights-section > .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.highlights-cta .btn {
    background: #4361ee;
    color: white;
    padding: 13px 38px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.35);
    transition: all 0.3s ease;
}
.highlights-cta .btn:hover {
    background: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.5);
}
/* === FUTURISTIC HIGHLIGHTS — стиль как в Hero === */
.highlights-futuristic {
    background: #0a0a0f !important;
    color: #e0e6ff !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(67, 97, 238, 0.2);
    border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}
.highlights-futuristic .neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.highlights-futuristic .neon-grid line {
    stroke: #4361ee;
    stroke-width: 1.2;
    stroke-dasharray: 10, 14;
    opacity: 0.5;
    animation: neonPulse 3.6s infinite ease-in-out;
}
/* Те же задержки, что и в Hero/Carousel */
.highlights-futuristic .neon-grid line:nth-child(1) { animation-delay: 0.0s; }
.highlights-futuristic .neon-grid line:nth-child(2) { animation-delay: 0.7s; }
.highlights-futuristic .neon-grid line:nth-child(3) { animation-delay: 1.3s; }
.highlights-futuristic .neon-grid line:nth-child(4) { animation-delay: 1.9s; }
.highlights-futuristic .neon-grid line:nth-child(5) { animation-delay: 2.5s; }
.highlights-futuristic .neon-grid line:nth-child(6) { animation-delay: 0.3s; }
.highlights-futuristic .neon-grid line:nth-child(7) { animation-delay: 0.9s; }
.highlights-futuristic .neon-grid line:nth-child(8) { animation-delay: 1.5s; }
.highlights-futuristic .neon-grid line:nth-child(9) { animation-delay: 2.1s; }
.highlights-futuristic .neon-grid line:nth-child(10) { animation-delay: 2.8s; }

/* Контент поверх сетки */
.highlights-futuristic > .container {
    position: relative;
    z-index: 2;
    padding-left: 120px;
}

/* Градиентный заголовок — как в Hero и Overview */
.highlights-futuristic h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff, #a0a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.1);
}

/* Highlights Grid — адаптирован под тёмную тему */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.highlight-card {
    padding: 30px;
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(67, 97, 238, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease;
}
.highlight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.6);
    background: rgba(25, 25, 50, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.highlight-text {
    flex: 1;
    margin-bottom: 20px;
}
.highlight-card h2 {
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}
.highlight-card h5 {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #c2c9e6;
}
.highlight-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(67, 97, 238, 0.3);
}

/* CTA кнопка — как в Hero */
.highlights-cta .btn {
    background: #4361ee;
    color: white;
    padding: 13px 38px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.35);
    transition: all 0.3s ease;
}
.highlights-cta .btn:hover {
    background: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.5);
}

/* Section label — белый текст на тёмно-синем фоне */
.highlights-futuristic .section-label {
    color: #0a0a0f;
    background-color: #4cc9f0;
    font-weight: 800;
    opacity: 0.9;
}
.highlights-futuristic:hover .section-label {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .highlights-futuristic > .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Global scroll behavior (no full-screen snapping) */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* === HYBRID APPROACH SECTION === */
.hybrid-approach-section {
    background: #0c0c14 !important;
    color: #e0e6ff !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(67, 97, 238, 0.2);
    border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}

.hybrid-approach-section .container {
    position: relative;
    z-index: 2;
    padding-left: 120px;
}

.hybrid-content {
    max-width: 900px;
    margin: 0 auto;
}

.hybrid-thesis {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #c8d0f0;
    margin-bottom: 30px;
    font-style: italic;
    text-align: center;
}

.hybrid-signature {
    font-size: 1.1rem;
    color: #a0a0ff;
    text-align: center;
    font-weight: 500;
}

/* Animated red lines */
.hybrid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b8a, transparent);
    z-index: 1;
    opacity: 0.6;
    animation: hybridLinePulse 3s ease-in-out infinite;
}

.hybrid-line-top {
    top: 0;
    animation-delay: 0s;
}

.hybrid-line-bottom {
    bottom: 0;
    animation-delay: 1.5s;
}

@keyframes hybridLinePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1);
        box-shadow: 0 0 20px rgba(255, 107, 138, 0.5);
    }
}

.hybrid-approach-section .section-label {
    color: #0c0c14;
    background-color: #ff6b8a;
    font-weight: 800;
    opacity: 0.9;
}

.hybrid-approach-section:hover .section-label {
    opacity: 1;
}

@media (max-width: 768px) {
    .hybrid-approach-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hybrid-thesis {
        font-size: 1.2rem;
    }
}

/* === WHY PLATFORM SECTION === */
.why-platform-section {
    background: #0d0d16 !important;
    color: #e6e9ff !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(67, 97, 238, 0.2);
    border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}

.why-platform-section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.1);
}

.why-platform-section .content-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #c8d0f0;
}

.why-platform-section .content-text p {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.why-platform-section .container {
    position: relative;
    z-index: 2;
    padding-left: 120px;
}

.why-platform-section .section-label {
    color: #0d0d16;
    background-color: #7ef9ff;
    opacity: 1;
    font-weight: 800;
}

/* Platform features grid */
.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.platform-feature {
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(67, 97, 238, 0.25);
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    transition: all 0.35s ease;
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.platform-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 249, 255, 0.5);
    background: rgba(25, 25, 50, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.1rem;
    margin-bottom: 16px;
    display: block;
}

.platform-feature h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.platform-feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #c8d0f0;
    margin: 0;
}

/* Red border lines animation for platform-feature cards */
.feature-border-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #ff4444, transparent);
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.6), 0 0 16px rgba(255, 68, 68, 0.4);
    opacity: 0;
    z-index: 2;
}

.feature-line-top {
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    transform-origin: left;
}

.feature-line-right {
    top: 0;
    right: 0;
    width: 2px;
    height: 0;
    transform-origin: top;
}

.feature-line-bottom {
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    transform-origin: right;
}

.feature-line-left {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
    transform-origin: bottom;
}

/* Animation for border lines */
@keyframes drawLineTop {
    0% {
        width: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0;
    }
}

@keyframes drawLineRight {
    0% {
        height: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        height: 100%;
        opacity: 0;
    }
}

@keyframes drawLineBottom {
    0% {
        width: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0;
    }
}

@keyframes drawLineLeft {
    0% {
        height: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        height: 100%;
        opacity: 0;
    }
}

/* Trigger animation when section is visible */
.why-platform-section.animate .platform-feature .feature-line-top {
    animation: drawLineTop 0.6s ease-out forwards;
    animation-delay: 0s;
}

.why-platform-section.animate .platform-feature .feature-line-right {
    animation: drawLineRight 0.6s ease-out forwards;
    animation-delay: 0.15s;
}

.why-platform-section.animate .platform-feature .feature-line-bottom {
    animation: drawLineBottom 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.why-platform-section.animate .platform-feature .feature-line-left {
    animation: drawLineLeft 0.6s ease-out forwards;
    animation-delay: 0.45s;
}

/* Stagger animation for each card */
.why-platform-section.animate .platform-feature:nth-child(1) .feature-line-top {
    animation-delay: 0s;
}

.why-platform-section.animate .platform-feature:nth-child(1) .feature-line-right {
    animation-delay: 0.15s;
}

.why-platform-section.animate .platform-feature:nth-child(1) .feature-line-bottom {
    animation-delay: 0.3s;
}

.why-platform-section.animate .platform-feature:nth-child(1) .feature-line-left {
    animation-delay: 0.45s;
}

.why-platform-section.animate .platform-feature:nth-child(2) .feature-line-top {
    animation-delay: 0.1s;
}

.why-platform-section.animate .platform-feature:nth-child(2) .feature-line-right {
    animation-delay: 0.25s;
}

.why-platform-section.animate .platform-feature:nth-child(2) .feature-line-bottom {
    animation-delay: 0.4s;
}

.why-platform-section.animate .platform-feature:nth-child(2) .feature-line-left {
    animation-delay: 0.55s;
}

.why-platform-section.animate .platform-feature:nth-child(3) .feature-line-top {
    animation-delay: 0.2s;
}

.why-platform-section.animate .platform-feature:nth-child(3) .feature-line-right {
    animation-delay: 0.35s;
}

.why-platform-section.animate .platform-feature:nth-child(3) .feature-line-bottom {
    animation-delay: 0.5s;
}

.why-platform-section.animate .platform-feature:nth-child(3) .feature-line-left {
    animation-delay: 0.65s;
}

.why-platform-section.animate .platform-feature:nth-child(4) .feature-line-top {
    animation-delay: 0.3s;
}

.why-platform-section.animate .platform-feature:nth-child(4) .feature-line-right {
    animation-delay: 0.45s;
}

.why-platform-section.animate .platform-feature:nth-child(4) .feature-line-bottom {
    animation-delay: 0.6s;
}

.why-platform-section.animate .platform-feature:nth-child(4) .feature-line-left {
    animation-delay: 0.75s;
}

/* Ripple animation for why-platform-section */
.why-platform-section .contour-ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}

.why-platform-section .ripple-source {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.why-platform-section .ripple-source::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 5px;
    height: 5px;
    background: #4cc9f0;
    border-radius: 50%;
    box-shadow: 0 0 8px #4cc9f0, 0 0 16px rgba(76, 201, 240, 0.6);
    transform: translate(-50%, -50%);
    z-index: 3;
}

.why-platform-section .ripple-source::after {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(67, 97, 238, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: ripplePulse 22s infinite ease-out;
    animation-delay: var(--delay);
    z-index: 2;
}

.why-platform-section .ripple-source div {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: ripplePulse 22s infinite ease-out;
    animation-delay: calc(var(--delay) + 11s);
    z-index: 2;
}

.why-platform-section .ripple-source div:nth-child(2) {
    border-color: rgba(138, 155, 255, 0.25);
    animation-delay: calc(var(--delay) + 16s);
}

@media (max-width: 768px) {
    .why-platform-section {
        padding: 40px 0;
    }
    
    .why-platform-section h1 {
        font-size: 2rem;
    }
    
    .why-platform-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .platform-features {
        grid-template-columns: 1fr;
    }
}