/* container */
/* ========== CSS Variables & Reset ========== */
:root {
    --color-primary: #cdae77;
    --color-primary-dark: #b89a5e;
    --color-secondary: #173552;
    --color-dark: #171c3e;
    --color-dark-soft: #0f2540;
    --color-gray: #6b7280;
    --color-light-gray: #e5e7eb;
    --color-light: #f9fafb;
    --color-white: #ffffff;
    --color-black: #111827;
    
    --font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    --container-max-width: 1280px;
    --container-padding: 1.5rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --z-header: 100;
    --z-back-to-top: 90;
    --z-mobile-menu: 101;
}

#section-one {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    font-family: var(--font-family);
}
.section-container-one {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5% 6%;
}
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.left-content,
.carousel-section {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* ---------- LEFT COLUMN ---------- */
.left-content {
    position: sticky;
    top: 2rem;
}
.top-pagination {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2c38;
}
.pagination-number {
    font-weight: 700;
}
.pagination-line {
    flex: 1;
    height: 1px;
    background-color: #bbb;
}
.pagination-next {
    color: #888;
    letter-spacing: 1px;
}
.intro-text {
    font-size: 1rem;
    color: #3a3a4a;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 90%;
}
.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0a0b0;
    margin-bottom: 1rem;
}
.main-headline {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #0f0f15;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #0f0f15;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.8rem 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: #2c2c3a;
    transform: translateY(-2px);
}
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}
.lightning-svg {
    width: 16px;
    height: 16px;
    display: block;
}
/* ---------- RIGHT COLUMN (CAROUSEL: shows 2 cards at a time) ----------- */
.carousel-section {
    overflow: hidden;
    position: relative;
}
.carousel-wrapper {
    overflow: visible;
}
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}
.card {
    flex: 0 0 calc((100% - 24px) / 2);
    height: 500px;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.8rem;
    color: white;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
    border-radius: inherit;
    z-index: 0;
}
.card > * {
    position: relative;
    z-index: 2;
}
.watermark-number {
    position: absolute;
    bottom: 0.25rem;
    right: 0.75rem;
    font-size: 7rem;
    font-weight: 800;
    opacity: 0.2;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    color: white;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.top-text {
    font-size: 1.2rem;
    font-weight: 600;
    padding-right: 10px;
}
.italic-word {
    font-style: italic;
    font-weight: 700;
    margin-right: 0.2rem;
}
.sub-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}
.card-bottom {
    margin-bottom: 0.5rem;
}
.bottom-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.bottom-description {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1.2rem;
}
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background-color: rgba(30,30,40,0.85);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
    border: 0.5px solid rgba(255,255,255,0.2);
}
.learn-more-btn:hover {
    background-color: #1f1f2e;
}
.btn-icon-small {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}
.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.nav-arrow.right {
    background: #0f0f15;
}
.nav-arrow svg {
    width: 24px;
    height: 24px;
}
.nav-arrow.left svg {
    stroke: #0f0f15;
    stroke-width: 2;
    fill: none;
}
.nav-arrow.right svg {
    stroke: white;
    stroke-width: 2;
    fill: none;
}
.nav-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .two-col-grid {
        gap: 2rem;
    }
    .main-headline {
        font-size: 2.8rem;
    }
    .card {
        flex: 0 0 calc((100% - 20px) / 2);
        height: 440px;
    }
}
@media (max-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .left-content {
        position: static;
    }
    .main-headline {
        font-size: 2.4rem;
    }
    .card {
        flex: 0 0 100%;
        height: 480px;
    }
    .carousel-track {
        gap: 20px;
    }
}
@media (max-width: 480px) {
    .section-container-one {
        padding: 8% 5%;
    }
}

/* ---------- Section Data – Top headline and media cards ---------- */
#section-two {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.section-container-two {
    max-width: 1280px;
    width: 100%;
    background: white;
    border-radius: 40px;
    padding: 80px 5%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin: 2rem;   /* optional, but keeps container centered with space */
}

/* ---------- TOP HEADER (centered) ---------- */
.section-container-two .header-group {
    text-align: center;
    margin-bottom: 70px;
}

.section-container-two .section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 1rem;
}

.section-container-two .main-headline {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto;
}

.section-container-two .highlight-text {
    color: #111;
    font-weight: 700;
}

.section-container-two .muted-text {
    color: #999;
    font-weight: 400;
}

/* ---------- ASYMMETRICAL GRID (65% / 35%) ---------- */
.section-container-two .media-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* ---------- LEFT CARD (video) ---------- */
.section-container-two .video-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.section-container-two .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* Play button */
.section-container-two .play-button {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.section-container-two .play-button:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.95);
}
.section-container-two .play-icon {
    margin-left: 4px; /* optical alignment */
}

/* Floating tooltips */
.section-container-two .tooltip {
    position: absolute;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 40px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 3;
    white-space: nowrap;
}
.section-container-two .tooltip-name {
    top: 24px;
    left: 24px;
}
.section-container-two .tooltip-quote {
    bottom: 24px;
    left: 24px;
    font-size: 1rem;
}

/* ---------- RIGHT CARD (audio/testimonial) ---------- */
.section-container-two .audio-card {
    background: #f4f4f4;
    border-radius: 24px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.section-container-two .audio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}

.section-container-two .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.section-container-two .brand-name {
    font-weight: 600;
    color: #2c2c38;
}
.section-container-two .card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    text-decoration: underline;
    transition: color 0.2s;
}
.section-container-two .card-tag:hover {
    color: #111;
}

.section-container-two .card-middle {
    margin-bottom: 2rem;
}
.section-container-two .speaker-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f0f15;
}

/* waveform container (flex row with icon) */
.section-container-two .waveform-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.section-container-two .waveform-container:active {
    transform: scale(0.98);
}

/* waveform bars */
.section-container-two .waveform {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0; /* removed extra margin */
}
.section-container-two .wave-bar {
    width: 6px;
    background-color: #bcbcbc;
    border-radius: 4px;
    transition: background 0.2s, transform 0.1s;
}

/* hover effect on bars (when not playing) */
.section-container-two .audio-card:hover .wave-bar:not(.playing) {
    background-color: #cdae77;
}

/* playing animation */
.section-container-two .waveform.playing .wave-bar {
    background-color: #cdae77;
    animation: bounce 0.6s infinite ease alternate;
}
.section-container-two .waveform.playing .wave-bar:nth-child(1) { animation-delay: 0.0s; }
.section-container-two .waveform.playing .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.section-container-two .waveform.playing .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.section-container-two .waveform.playing .wave-bar:nth-child(4) { animation-delay: 0.3s; }
.section-container-two .waveform.playing .wave-bar:nth-child(5) { animation-delay: 0.4s; }
.section-container-two .waveform.playing .wave-bar:nth-child(6) { animation-delay: 0.5s; }
.section-container-two .waveform.playing .wave-bar:nth-child(7) { animation-delay: 0.6s; }
.section-container-two .waveform.playing .wave-bar:nth-child(8) { animation-delay: 0.7s; }
.section-container-two .waveform.playing .wave-bar:nth-child(9) { animation-delay: 0.8s; }

@keyframes bounce {
    0% { transform: scaleY(0.5); }
    100% { transform: scaleY(1.2); }
}

/* play/pause icon */
.section-container-two .play-pause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e0e2e5;
    border-radius: 50%;
    transition: background 0.2s, transform 0.1s;
}
.section-container-two .waveform-container:hover .play-pause-icon {
    background: #cdae77;
}
.section-container-two .play-pause-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* card bottom (unchanged) */
.section-container-two .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}
.section-container-two .testimonial-preview {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555;
    max-width: 70%;
}
.section-container-two .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* responsive adjustments if needed */
@media (max-width: 768px) {
    .section-container-two .card-middle {
        margin-bottom: 1rem;
    }
    .section-container-two .speaker-name {
        font-size: 1.5rem;
    }
}

/* ---------- BLINKING CURSOR (keyframes) ---------- */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ---------- RESPONSIVE (mobile) ---------- */
@media (max-width: 900px) {
    .section-container-two .media-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .section-container-two .main-headline {
        font-size: 32px;
    }
    .section-container-two {
        padding: 50px 5%;
    }
    .section-container-two .tooltip-quote {
        white-space: normal;
        max-width: calc(100% - 48px);
        font-size: 0.8rem;
    }
    .section-container-two .speaker-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .section-container-two .main-headline {
        font-size: 26px;
    }
    .section-container-two .card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-container-two .testimonial-preview {
        max-width: 100%;
    }
}

/* ---------- Section Stats ---------- */
#section-three {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

#section-three .stats-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5rem;
}

#section-three .stats-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- ROW CARD (white, rounded, spacious) ---------- */
#section-three .stats-row {
    background: white;
    border-radius: 32px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
#section-three .stats-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

/* ---------- LEFT: description ---------- */
#section-three .stats-description {
    font-size: 1.125rem;   /* ~18px */
    line-height: 1.5;
    color: #2c3e50;        /* muted dark gray */
    max-width: 50%;
    font-weight: 400;
}

/* ---------- RIGHT: statistic block ---------- */
#section-three .stats-number-wrapper {
    text-align: right;
    flex-shrink: 0;
}

#section-three .stat-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: #1e2a3a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

#section-three .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6c7a89;
    font-weight: 500;
}

/* ---------- RESPONSIVE (mobile: stack vertically) ---------- */
@media (max-width: 768px) {
    #section-three .stats-row {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
        gap: 24px;
    }
    #section-three .stats-row:last-child {
        margin-bottom: 30px !important;
    }
    #section-three .stats-description {
        max-width: 100%;
        font-size: 1rem;
    }
    #section-three .stats-number-wrapper {
        text-align: center;
    }
    #section-three .stat-number {
        font-size: 56px;
    }
}

@media (max-width: 480px) {
    #section-three .stat-number {
        font-size: 48px;
    }
}

/* ---------- About Slides ---------- */
#section-four {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

#section-four .split-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 60px;
}

#section-four .split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ---------- LEFT PANEL (white card) ---------- */
#section-four .left-panel {
    background: #ffffff;
    border-radius: 32px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

/* Top pagination */
#section-four .pagination-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}
#section-four .active-step {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e2a3a;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 40px;
}
#section-four .divider-line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
#section-four .next-steps {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 1px;
}

/* Intro text */
#section-four .intro-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #5a6a7a;
    max-width: 85%;
    margin-bottom: 20px;
}
#section-four .section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 16px;
}

/* Main headline (lowercase as specified) */
#section-four .main-headline {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
    max-width: 90%;
}

/* Details button */
#section-four .details-btn-wrapper {
    margin: 24px 0 32px;
}
#section-four .details-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #171c3e;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
#section-four .details-btn:hover {
    background: #cdae77;
    color: #171c3e;
    transform: translateY(-2px);
}

/* Navigation buttons */
#section-four .nav-buttons {
    display: flex;
    gap: 16px;
}
#section-four .nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}
#section-four .nav-btn svg {
    width: 24px;
    height: 24px;
}
#section-four .prev-btn svg {
    stroke: #888;
}
#section-four .next-btn {
    background: #0f172a;
    border: none;
}
#section-four .next-btn svg {
    stroke: white;
}
#section-four .prev-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
#section-four .nav-btn:not(.disabled):hover {
    transform: scale(1.05);
}

/* ---------- RIGHT PANEL (image + floating card) ---------- */
#section-four .right-panel {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background-color: #ddd;
    min-height: 600px;
}
#section-four .panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease-in-out;
}

/* Floating mini‑card */
#section-four .floating-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(40, 40, 40, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    min-width: 260px;
    transition: opacity 0.3s;
    z-index: 2;
}
#section-four .thumb-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
#section-four .thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#section-four .card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
#section-four .card-step {
    font-size: 0.7rem;
    color: #cdae77;
    letter-spacing: 1px;
}
#section-four .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}
#section-four .card-dots {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}
#section-four .card-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transition: background 0.2s;
}
#section-four .card-dots .dot.active {
    background: #cdae77;
}

/* ---------- RESPONSIVE (mobile) ---------- */
@media (max-width: 900px) {
    #section-four .split-container {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 0 32px;
    }
    #section-four .left-panel {
        padding: 40px 32px;
    }
    #section-four .main-headline {
        font-size: 2.2rem;
        max-width: 100%;
    }
    #section-four .intro-text {
        max-width: 100%;
    }
    #section-four .right-panel {
        min-height: 480px;
    }
}
@media (max-width: 480px) {
    #section-four .left-panel {
        padding: 32px 24px;
    }
    #section-four .main-headline {
        font-size: 1.8rem;
    }
    #section-four .floating-card {
        right: 16px;
        bottom: 16px;
        padding: 12px 16px;
        min-width: 220px;
    }
}